Copyright 2018 Moddable Tech, Inc.
Revised: December 11, 2018
Size | 144 LED strip (5mm x 5mm LEDs) |
Type | ADA102 LED |
Interface | SPI |
Drivers | dotstar |
Availability | Adafruit DotStar |
Description | Adafruit uses the ADA102 LED's in their DotStar digital LEDs. This allows individual LED control with 2 wire SPI. These LEDs are not strictly a display, but they can be seen as one row of a display. There are options to purchase them in a organized in a rectangular grid, which is like a display. |
The dotstar example works with a 144 LED strip. It scans through an image one row at a time to update the pixels on the DotStar string.
cd $MODDABLE/examples/drivers/dotstar
mcconfig -d -m -p esp
Note: Dotstar requires 5V data signals so signal lines must be run through a logic converter to boost them to 5V. The 74AHCT125 or a similar shifter will work.
Dotstar Display | ESP8266 | ESP8266 Devboard label |
---|---|---|
5V | N/A (connect to 5V supply) | |
GND | GND | |
CI | GPIO 14/SCLK | D5 |
DI | GPIO 13/MOSI | D7 |