• MIKROE DIGI POT 3 Click - COM-19991
  • MIKROE DIGI POT 3 Click - COM-19991
  • MIKROE DIGI POT 3 Click - COM-19991

MIKROE DIGI POT 3 Click

Item #: COM-19991
Bin:
There are no reviews yet Write a review
Price: $51.80 inc GST
    The product is in stock Availability: Out of Stock
    Out of Stock Quantity: 0

    DIGI POT 3 Click is a versatile and feature-rich digital potentiometer Click with 1024 steps and an internal non-volatile memory (EEMEM), which can be used for storing the wiper position, but also for storing various user data. The user EEMEM area has 14 words, each with 16bit length. The Click board™ can be used with both unipolar and bipolar signals, selectable by onboard SMD jumpers. The wiper position can be increased or decreased linearly or by the logarithmic scale (6db/step) with a single command. A special scratch register allows direct programming of the wiper position. It can be stored in the non-volatile memory and on the power on, it is automatically restored. This means that the device restores its last position after the power on - just like its mechanical counterpart.

    The main advantage of the digital potentiometers over the mechanical ones is that they can never wear out. The wiper position can be precisely programmed, and the wiper contact with the resistive coating can never be compromised by the influence of dirt or moisture. Due to its low THD and good bandwidth, it can be used for digital volume control or a precise gain and offset adjustment. It can also be used as the LCD digital contrast control, and generally - whenever a precise digital potentiometer is required.

    This Click board™ carries the AD5231, a 1024-position (10bit) digital potentiometer with a non-volatile memory (EEMEM), from Analog Devices. As already mentioned, this digital potentiometer has many features that make it a superior choice over the classic, mechanical potentiometers. It offers the solid state reliability, high precision, an additional storage non-volatile (NV) memory cells and most importantly - it can be digitally controlled by an MCU via the high-speed SPI interface, with its pins routed to the mikroBUS™. Analog Devices Inc. offer several sub-types of the same IC, but the DIGI POT 3 Click uses the one labeled as AD5231BRUZ10, meaning that it has 10KΩ of resistance between the potentiometer end-points.

    One of its distinctive features is to refresh its wiper register (called RDAC in the device datasheet) after the power on, making it possible to restore the wiper position on power-up, just like the mechanical counterpart. The wiper position register (RDAC) is not automatically written to the EEMEM because this type of memory has a limited number of write cycles, which is the limitation of the technology itself. For this reason, once the position has been established, it can be stored to EEMEM by a command (Command 0x2 - Store RDAC setting to EEMEM). The AD5231 IC is factory pre-programmed to set the wiper at the middle position after the power-on, but this can be overwritten by storing a custom position with the aforementioned command.

    Besides storing the RDAC register to the EEMEM, it is possible to store 14 more words, each 16 bits long. This EEMEM area can be used for any purpose - lookup tables, data for other components, or system identification information. Writing to EEMEM takes some time, during which the AD5231 IC is non-responsive. This time is about 25ms and the end of this operation is signaled by the RDY pin of the AD5231 IC, routed to the INT pin of the mikroBUS™ - labeled as the RDY. When the read to, or write from EEMEM cycle is done, this pin pulses to a LOW logic level. It is otherwise pulled to a HIGH logic level by an on-board pull-up resistor.

    For the complete list of commands and addresses, please refer to the AD5231 datasheet. However, MikroElektronika provides a library that contains functions compatible with the MikroElektronika compilers, which can be used for simplified programming of the DIGI POT 3 Click. The library also contains an example application, which demonstrates its use. This example application can be used as a reference for custom designs.

    The Click board™ is equipped with an edge screw terminals, which are used to connect the Click board™ to the external electrical circuit. They offer a secure connection to the external electrical circuit. A small print of a potentiometer electrical symbol illustrates how to connect these terminals properly: Inputs labeled as A and B are the endpoints of the digital potentiometer, while W is the wiper. Lastly, the GND symbol is for connecting the ground of the circuit where the potentiometer will be used.

    DIGI POT 3 Click allows using of both unipolar and bipolar signals. The potential across the positive and the negative power supply pins define the boundary conditions for a proper digital potentiometer operation. Supply signals present on the A, B, and W terminals that exceed this range are clamped by the internal forward-biased diodes. Since this Click board™ is intended to be used on the mikroBUS™, the power supply voltage of the AD5231 is +3.3V or +5V, selectable by an onboard SMD jumper labeled as VCC SEL. This makes it possible to work with the voltage range between 0 and VCC. By utilizing an additional circuitry, it is also possible to work with the bipolar signals, which can be useful for interfacing the digipot to an audio source.

    Since there are no negative power supplies available on the mikroBUS™, the Click board™ uses the MCP6022, a rail-to-rail, 10 MHz onboard operational amplifier from Microchip, in order to support operation with bipolar signals. It is used as a non-inverting amplifier with a unity gain - a buffer. There are several onboard SMD jumpers, used to route the signal so it passes through the buffer, instead of being fed directly to the AD5231 IC. A group of SMD jumpers labeled as SIGNAL POLARITY is used to patch the signal to a proper route: setting all these jumpers to the LEFT position will connect the terminal inputs directly to the AD5231 IC, allowing unipolar signals ranging from 0 to VCC to be connected. Moving all these jumpers to the RIGHT position will route the input signal through the decoupling capacitor and the buffer, allowing bipolar signals to be used, introducing an offset of VCC/2. This allows signal to swing between VCC/2 and GND for the negative half-cycle, and between VCC/2 and VCC for the positive half-cycle. The offset is then removed by a decoupling capacitor at the W terminal. The SMD jumpers should be all moved either to the LEFT or to the RIGHT position, as leaving some of them in the opposite position than the others may render the device unresponsive.

    The AN pin can be used as an auxiliary wiper output if routing of the wiper back to the mikroBUS™ is required. This pin can be completely disconnected from the mikroBUS™ by moving the appropriate SMD jumper, labeled as AN to the RIGHT position. This will not affect the presence of the wiper output on the output terminal.

    Features:

    • Interface: Analog, SPI
    • Compatibility: mikroBUS™
    • Dimensions: 42.9 x 25.4mm
    • Input Voltage: 3.3V or 5V

    Documents:

    Videos