digipot14 2.1.0.0
|
DIGI POT 14 Click is a compact add-on board that contains a digitally controlled potentiometer. This board features the TPL0102, a dual-channel digital potentiometer with non-volatile memory from Texas Instruments. It is a 100K resistance end-to-end potentiometer with a 256-position resolution, where the wiper position can be stored in EEPROM. It can operate from both 3.3V and 5V power supplies and provides a typical 92ppm/ºC end-to-end nominal resistance temperature coefficient and only 4ppm/ºC ratiometric.
We provide a library for the DIGI POT 14 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for DIGI POT 14 Click driver.
digipot14_cfg_setup
Config Object Initialization function. digipot14_init
Initialization function. digipot14_default_cfg
Click Default Configuration function. digipot14_reg_write
DIGI POT 14 register write function. digipot14_set_pot_a_wiper
DIGI POT 14 set the wiper position of potentiometer A function. digipot14_set_pot_b_wiper
DIGI POT 14 set the wiper position of potentiometer B function. This library contains API for DIGI POT 14 Click driver. The demo application uses a digital potentiometer to change the resistance values.
The demo application is composed of two sections :
The initialization of I2C module, log UART, and additional pins. After the driver init, the app executes a default configuration.
This example demonstrates the use of the DIGI POT 14 Click board™. The demo application iterates through the entire wiper range. Results are being sent to the UART Terminal, where you can track their changes.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.