Carte à clic DIGI POT 12
Carte à clic DIGI POT 12
Key Features:
- Double canal, résolution de 256 positions, résistance nominale de 10 kΩ, interface compatible I2C, mémoire non volatile stockant les paramètres d'essuie-glace, 50 ans de conservation typique des données, et plus encore
- Basé sur l'AD5142A - potentiomètre numérique d'Analog Devices
- Peut être utilisé pour le développement de remplacements de potentiomètres mécaniques, de conversions tension-courant, de réglage du gain et du décalage et de nombreuses autres applications
- mikroBUS : interface I2C
La carte DIGI POT 12 Click Board™ est une carte complémentaire innovante conçue pour révolutionner le contrôle des potentiomètres. Avec sa taille compacte et ses fonctionnalités avancées, cette carte est un incontournable pour tout passionné ou professionnel de l'électronique.
Libérez la puissance de la technologie du potentiomètre numérique
Au cœur de la carte DIGI POT 12 Click Board™ se trouve le potentiomètre numérique de pointe AD5142A d'Analog Devices. Ce potentiomètre numérique non volatil à deux canaux et 256 positions offre une précision et des performances inégalées. Cette carte garantit une fiabilité et une précision exceptionnelles avec une résistance de bout en bout impressionnante de 10 KΩ et une résistance de curseur de seulement 40 Ω.
La polyvalence à portée de main
Avec la carte DIGI POT 12 Click Board™, vous pouvez accéder à deux potentiomètres à commande numérique facilement réglables via l'interface I2C. Que vous ayez besoin d'un potentiomètre ou de modes de gain linéaire, cette carte est là pour vous. Dites adieu aux potentiomètres mécaniques et adoptez une solution de contrôle plus efficace et plus précise.
Des possibilités infinies pour vos projets
Libérez tout le potentiel de vos projets électroniques avec la carte Click Board™ DIGI POT 12. Cette carte polyvalente est parfaite pour développer une large gamme d'applications, notamment :
Remplacement de potentiomètre mécanique Conversions tension-courant Réglages de gain et de décalage Et bien plus encore !Découvrez un contrôle et une flexibilité inégalés avec le DIGI POT 12 Click Board™.
Développement de logiciels simplifié
Développer des logiciels pour la carte DIGI POT 12 Click Board™ n'a jamais été aussi simple. Grâce à la bibliothèque compatible mikroSDK, vous avez accès à un ensemble complet de fonctions qui simplifient le processus de développement. Dites adieu au codage complexe et bonjour au développement logiciel efficace.
Prêt pour une intégration immédiate
La carte DIGI POT 12 Click Board™ est entièrement testée et prête à être intégrée à votre système. Équipée du célèbre socket mikroBUS™, cette carte se connecte parfaitement à votre configuration existante sans aucun problème. Branchez-la simplement et laissez la carte DIGI POT 12 Click Board™ porter vos projets vers de nouveaux sommets.
Améliorez votre contrôle de potentiomètre dès aujourd'hui avec le DIGI POT 12 Click Board™. Commandez maintenant et découvrez l'avenir du contrôle de précision.
How Does The DIGI POT 12 Click Board™ Work?
The DIGI POT 12 Click Board™ is based on the AD5142A, a dual-channel, 256-position nonvolatile digital potentiometer from Analog Devices. The RDAC register contents determine the resistor wiper position, that act as a scratchpad register, allowing unlimited changes of resistance settings. The scratchpad register can be programmed with any position setting using the standard I2C interface by loading the 16-bit data word. The nominal resistance of the RDAC between terminals A and terminals B (RAB) is 10KΩ with 8-bit RDAC latch data decoded to select one of the 256 possible wiper settings. When a desired position is found, this value can be stored in the onboard EEPROM memory; thus, the wiper position is always restored for subsequent power-ups. The EEPROM data can be read back, written independently, and protected by software.
This Click board™ communicates with MCU through a standard 2-Wire I2C interface and operates at Standard (100KHz) and Fast (400KHz) data transfer modes. The I2C address can be selected via the ADDR SEL jumpers with 0 selected by default. There is an RST pin for resetting the digital potentiometers RDAC registers from EEPROM, with active LOW logic. In addition, this Click board™ comes with the INDEP SEL jumper that allows you to choose between the potentiometer and the linear gain setting mode, with the potentiometer mode set by default (0).
The linear gain setting mode of operation can control the potentiometer as two independent rheostats connected at a single point. Once the jumper is set, it can not be disabled by software. In addition, there is a burst mode in which multiple data bytes can be sent to the host MCU. The Shutdown mode places the RDAC in a zero power consumption while the data in EEPROM remains. There is no polarity constraint between the B, W, and A on both terminals, but they can not be higher than the VCC (5V maximum) nor lower than the VSS (0V).
The DIGI POT 12 Click Board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Digital potentiometer |
Applications | It can be used for the development of mechanical potentiometer replacements, voltage-to-current conversions, gain and offset adjustment, and many other applications |
On-board modules | AD5142A - digital potentiometer from Analog Devices |
Key Features | Dual-channel, 256-position resolution, 10kΩ nominal resistance, I2C-compatible interface, nonvolatile memory stores wiper settings, 50 years of typical data retention, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the DIGI POT 12 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
Reset | RST | 2 | RST | INT | 15 | NC | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Power/Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | INDEP SEL | Left | Operating Mode Selection 0/1: Left position 0, Right position 1 |
JP3-JP4 | ADDR SEL | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
DIGI POT 12 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Nominal Resistance | - | 10 | - | kΩ |
Number of Taps | - | - | 256 | - |
Resolution | 8 | - | - | bits |
Software Support
We provide a library for the DIGI POT 12 Click Board™ as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the DIGI POT 12 Click Board™ driver.
Key functions
-
digipot12_set_resistance
DIGI POT 12 set the resistance function. -
digipot12_get_resistance
DIGI POT 12 get the resistance function.
Example Description
This library contains API for the DIGI POT 12 Click Board™ driver. The demo application uses a digital potentiometer to change the resistance values of both channels.
void application_task ( void )
{
static float res_kohm;
for ( uint8_t n_cnt = DIGIPOT12_RES_0_KOHM; n_cnt <= DIGIPOT12_RES_10_KOHM; n_cnt++ )
{
if ( DIGIPOT12_OK == digipot12_set_resistance( &digipot12, DIGIPOT12_WIPER_SEL_1, ( float ) n_cnt ) )
{
if ( DIGIPOT12_OK == digipot12_get_resistance( &digipot12, DIGIPOT12_WIPER_SEL_1, &res_kohm ) )
{
log_printf( &logger, " Rwb1 : %.2f kOhmrn", res_kohm );
Delay_ms( 100 );
}
}
if ( DIGIPOT12_OK == digipot12_set_resistance( &digipot12, DIGIPOT12_WIPER_SEL_2, ( float ) ( DIGIPOT12_RES_10_KOHM - n_cnt ) ) )
{
if ( DIGIPOT12_OK == digipot12_get_resistance( &digipot12, DIGIPOT12_WIPER_SEL_2, &res_kohm ) )
{
log_printf( &logger, " Rwb2 : %.2f kOhmrn", res_kohm );
Delay_ms( 100 );
}
}
log_printf( &logger, " ----------------------------rn" );
Delay_ms( 5000 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.DIGIPOT12
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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 MIKROE compilers.
MIKROSDK
The DIGI POT 12 Click Board™ is supported with mikroSDK - MIKROE Software Development Kit, which needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Carte à clic DIGI POT 12
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.