digipot11 2.1.0.0
|
DIGI POT 11 Click is a compact add-on board representing a digitally controlled potentiometer. This board features a double pack of the MAX5387, a dual, 256-tap, volatile, low-voltage linear taper digital potentiometer from Analog Devices. This way, four digitally I2C-controlled potentiometers are realized with end-to-end resistance values of 50kΩ. Operating from a single +3.3V power supply, this device provides a low 35ppm/ºC end-to-end temperature coefficient.
We provide a library for the DIGI POT 11 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 11 Click driver.
digipot11_cfg_setup
Config Object Initialization function. digipot11_init
Initialization function. digipot11_set_u1_wiper
This function sets the position of the selected wiper of U1 device by using I2C serial interface. digipot11_set_u2_wiper
This function sets the position of the selected wiper of U2 device by using I2C serial interface. This example demonstrates the use of DIGI POT 11 click board by changing the wipers position of both U1 and U2 devices.
The demo application is composed of two sections :
Initializes the driver and logger.
Iterates through the entire wiper range and sets the wipers position of both U1 and U2 devices once per second. The current wiper position will be displayed on the USB UART.
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.