The NeoSlider has STEMMA QT connectors on it which make getting started with it super simple, but it also has header pins available for breadboard use. This page details the features of the NeoSlider.
On the top of the NeoSlider is the 75mm long linear slide potentiometer. It is on pin 18 of the ATtiny microcontroller.
Along the bottom, under the slide potentiometer, are four RGB NeoPixel LEDs. They are reverse-mount, and attached to the bottom pointed upward to shine through the board and potentiometer. They are on pin 14 on the ATtiny microcontroller.
On the bottom of the board, located one-third of the way from each end of the board, are two STEMMA QT connectors. These allow you to connect to development boards with STEMMA QT connectors or to other breakouts using various associated accessories.
The NeoSlider breakout uses an ATtiny817 microcontroller to take I2C commands and converts them to analog reads (of the potentiometer) and for NeoPixel control.
In the center of the board, on each edge, are a set of six through-hole pads for use with header pins and a solderless breadboard. They are labeled on the top and the bottom of the board for easy identification.
When viewed from the of the top of the board:
- VIN - This is the power pin. Since the chip can use 3 or 5 VDC. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V microcontroller like Arduino, use 5V.
- GND - This is the ground pin. It is the common ground for power and logic.
- SCL - This is the I2C clock pin. Connect to your microcontroller I2C clock line. This pin can use 3-5V logic, and there's a 10K pullup on this pin to VIN.
- SDA - This is the I2C data pin. Connect to your microcontroller I2C data line. This pin can use 3-5V logic, and there's a 10K pullup on this pin to VIN.
- INT - This is the interrupt pin. The Seesaw allows for setting GPIO interrupts. This pin will go low when a button is pressed.
- UPDI - This is the single-pin Unified Program and Debug Interface for the ATtiny817. This pin is for external programming or on-chip-debugging.
In the center of the back of the board are four address jumpers. These jumpers allow you to chain up to 16 of these boards on the same pair of I2C clock and data pins. To do so, you cut the traces between the the two pads.
The default I2C address is 0x30. The other address options can be calculated by “adding” the A0/A1/A2/A3 to the base of 0x30.
A0 sets the lowest bit with a value of 1, A1 sets the next bit with a value of 2, A2 sets the next bit with a value of 4, and A3 sets the high bit with a value of 8. The final address is 0x30 + A3 + A2 + A1 + A0 which would be 0x3F.
- If only A0 is cut, the address is 0x30 + 1 = 0x31
- If only A1 is cut, the address is 0x30 + 2 = 0x32
- If only A2 is cut, the address is 0x30 + 4 = 0x34
- If only A3 is cut, the address is 0x30 + 8 = 0x38
So for example if A2 is cut and A0 is cut, the address is 0x30 + 4 + 1 = 0x35.
The table below shows all possible addresses, and whether the pin should be high (cut) or low (closed).
In the lower left corner, on the back of the board, is the power LED, labeled on. To the left of the LED is the power LED jumper pad, which defaults to closed. Cut the trace to disable the power LED. Once cut, you can solder it closed again to enable the LED.