From MikroElektonika Documentation
Part | Datasheet |
---|---|
![]() |
MIKROE-2332 (pdf) |
PDF Datasheet Preview |
---|
DIGI POT 2 click From MikroElektonika Documentation DIGI POT 2 click is a mikroBUS add-on board with a single channel digital potentiometer TPL0501 with 256 wiper positions. The IC has 100 kilo Ohms end-to-end resistance, with ±20% tolerance. The board features two pairs of screw terminals for interfacing with the IC DIGI POT 2 click communicates with the target MCU through the mikroBUS SPI pins MISO, MOSI, SCK, CS . The board is designed to use either a or a 5V power supply. Features and usage notes DIGI POT 2 click Digital potentiometers are mixed signal devices intended as replacements for mechanical potentiometers. They can be used for consumer electronics, adjustable power supplies, precision calibration and sensor trimming. The device has three terminals High termianl, low terminal and a wiper terminal which is in-between. The wiper terminal is adjusted through SPI, moving through the specified 256 steps. Schematic also available in PDF Rheostat mode B DIGI POT click can operate in several configurations: Voltage Divider mode Rheostat mode A More details on each one can be found in the TPL0501 data sheet. Digital potentiomenters can be have any kind of interface. Not just knobs like mechanical potentiometers, but also buttons, capacitive inputs etc . Another advantage of digital potentiometers is that you can create any desirable sweep profile linear, digital or any other function . DIGI POT 2 click IC/Module Texas Instruments TPL0501 Interface SPI MISO, MOSI, SCK, CS Power supply 3.3V, 5V Website The operating temperature of TPL0501 is between -40ºC to 125ºC. ESD performance is tested per JESD 22 requirements human body model . DIGI POT 2 click can be used both with a 3.3V or a 5V power supply, as determined by the position of the onboard jumper soldered to 3.3V position by default . Programming The following code snippet shows a larger part of the DIGI POT 2 click example we supply: 1 void main 3 Delay_ms 100 ; 5 while 1 // Endless loop DigPot_CS = 0; // Select PotentioMeter chip SPI1_Write 0 ; SPI1_Write counter ; SPI1_Write 0x20 ; SPI1_Write counter ; DigPot_CS = 1; // Deselect PotentioMeter chip adc_value = ADC_Read 1 ; // Get 10-bit results of AD conversion PORTD = unsigned char adc_value >> 2 ; if PINB2_bit // Press PB2 to decrease resistance between W and L |
More datasheets: IS62WV2568BLL-70BI | IS62WV2568BLL-70HI | IS62WV2568BLL-55BLI-TR | IS62WV2568BLL-55BLI | IRAC11662-100W | APTGF25H120T1G | IDTZTM202C-A | ACSC56-41QWA/D-F01 | DEMZ-5C1S-N-A197 | MDM-51PBRM7 |
Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MIKROE-2332 Datasheet file may be downloaded here without warranties.