Our new website is available at new.dizzy.co.za :-).

X
+27 (0)11 022 5323 +27 (0)64 681 8495
Basket/Checkout
R
- -
MagnifierSearch:
Slider click (Go to Parent Category)

Slider click

Slider click features a mechanical slide action potentiometer - a slider, which gives a nice feeling when actuating, along with 16 SMD LEDs, that can be used for any kind of visual feedback. The onboard high-resolution 22-bit ADC can detect even the smallest move, faithfully capturing the smoothness of the slider movement, while digitizing its position. The 16 onboard SMD LEDs can give a nice visual feedback of the slider position, but those LEDs can also be used for other purposes since they are not hardwired to the slider.

Slider click can be used to control various digital applications with an accurate and comfortable slider potentiometer, while the LEDs can be used to display the desired information in a form of a bar or a position. For example, Slider click can be used to control a quad digital potentiometer, such as the one that can be found on DIGIPOT 5 click, while displaying the position of the selected digital wiper on the LEDs.

R735  Qty:
Price ex. VAT. Weight: 30g. Stock: Lead-time applicable [i]. mikroE Icon
  • Description

Slider click features a mechanical slide action potentiometer - a slider, which gives a nice feeling when actuating, along with 16 SMD LEDs, that can be used for any kind of visual feedback. The onboard high-resolution 22-bit ADC can detect even the smallest move, faithfully capturing the smoothness of the slider movement, while digitizing its position. The 16 onboard SMD LEDs can give a nice visual feedback of the slider position, but those LEDs can also be used for other purposes since they are not hardwired to the slider.

Slider click can be used to control various digital applications with an accurate and comfortable slider potentiometer, while the LEDs can be used to display the desired information in a form of a bar or a position. For example, Slider click can be used to control a quad digital potentiometer, such as the one that can be found on DIGIPOT 5 click, while displaying the position of the selected digital wiper on the LEDs.

How does it work?

Slider click consists of two sections: the first section is the slider section itself, with the sliding potentiometer end terminals connected between GND and the VCC, and the wiper connected to the MCP3551 IC, which is a low-power, single-channel 22-bit delta-sigma ADC from Microchip. The slider acts as a voltage divider so that the voltage between the GND and the wiper position is determined by the slider position. This voltage is then applied to the input pin of the 22bit ADC converter and converted to a digital value. The MCP3551 has its SPI lines routed to the mikroBUS™ so that the values can be read easily by the MCU.

The second section of this click board™ consists of the MAX6969, a well know 16-port, constant-current LED driver from Maxim Integrated, used to control the SMD LEDs. The MAX6969 IC uses the same SPI lines as the ADC, but to avoid data collision, different chip select (CS) line is used. While the ADC uses the CS line routed to the CS pin of the mikroBUS™, the LED driver uses the RST line of the mikroBUS™ as the chip select input. This allows to work with both ICs independently. MAX6969 output enable (OE) pin is routed to the AN pin of the mikroBUS™, making it easy to completely turn off the output stage of the MAX6969, by setting this pin to a HIGH logic state. If left floating, this pin will be pulled down to the GND by the 10K resistor. The output LED current is constant and it is set to around 20mA by the resistor on the SET pin of the MAX6969.

This click board™ can work with both 3.3V and 5V, depending on the used MCU capabilities. This can be done by switching the VCC SEL SMD jumper to the desired position.

Specifications

Type LED Segment,Potentiometer
Applications It can be used to control various digital applications with an accurate and comfortable slider potentiometer, such as the PWM ratio for the lighting, digital volume for the audio amplifiers, BLDC motor speed control and similar.
On-board modules MCP3551 - a single channel 22bit delta-sigma ADC from Microchip, MAX6969 - a 16 segment LED driver from Maxim Integrated
Key Features It features a smooth action slider pot, that can be used to control any digital application. The onboard 22bit ADC allows a very precise and faithful capture of the slider movement. 16 LEDs can be used independently for a visual feedback.
Interface GPIO,SPI
Input Voltage 3.3V or 5V
Click board size L (57.15 x 25.4 mm)

Pinout diagram

This table shows how the pinout on Slider click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

NotesPin Mikrobus logo.pngPinNotes
LED Driver Output Enable OE 1 AN PWM 16 NC
LED Driver SPI CS CSL 2 RST INT 15 NC
AD Converter SPI CS CSA 3 CS RX 14 NC
SPI Clock SCK 4 SCK TX 13 NC
SPI Data Out SDO 5 MISO SCL 12 NC
SPI Data In SDI 6 MOSI SDA 11 NC
Power Supply +3.3V 7 3.3V 5V 10 +5V Power Supply
Ground GND 8 GND GND 9 GND Ground


Onboard settings and indicators

LabelNameDefaultDescription
LD0 PWR - Power LED indicator
JP1 VCC SEL Left Power supply voltage selection: left position 3V3, right position 5V
P1 P1 - On-board slide potentiometer
LD1-LD16 LD1-LD16 - Array of 16 SMD LEDs

Software support

We provide a library for Slider click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided click library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.

Examples Description

This example shows how to read ADC value from MCP3551, and usage of LED Driver MAX6969 via SPI. When user changes the position of the slider, the LEDs on the click will turn ON and OFF accordingly.

The application is composed of two sections :

  • System Initialization - Initializes GPIO pins, SPI peripheral used for MCP3551 and MAX6363
  • Application Task - Sequentially reads ADC value from MCP3551 and show measurement using Slider click built-in bar graph.
void applicationInit()
{
// READ ADC MCP3551
    adcValue = MCP3551_Read() / DIVIDER;

// RECALCULATE VALUE
    if (adcValue > 99)
    {
        adcValue = 100;
    }
    adcValue = adcValue / 6;

// SHOW MEASUREMENTS USING SLIDER BARGRAPH
    bargraph( adcValue );
}

The full application code, and ready to use projects can be found on our LibStock page.

Other MikroElektronika Libraries used in the example:

  • SPI

mikroSDK

This click board is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.

For more information about mikroSDK, visit the official page.

Downloads