Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.42 KB

wiring-guide-dotstar.md

File metadata and controls

38 lines (28 loc) · 1.42 KB

DotStar Wiring Guide

Copyright 2018 Moddable Tech, Inc.
Revised: December 11, 2018

Generic SPI Display

Specs

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.

Moddable example code

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

ESP8266 Pinout

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

ESP32 - Generic 2.4"-2.8" wiring