Main Content

ESP-01 ESP8266 can be used as a stand-alone device to control a RGB led cube 4x4x4.

Today, I’d like to share how ESP-01 ESP8266 can be used as a stand-alone device to control a RGB led cube 4x4x4 via SPI protocol & B.A.M process.

My RGB led cube 4x4x4 includes 64pcs x 10mm RGB LEDs arranged in 04 x LAYERS and each LAYER arranged in 04 x ROWS and 04 x COLUMNS.

04 x LAYERS are controlled by 01pcs x 74HC595 + 04pcs x NPN Transistor 2N3904 + 04pcs x PNP Transistor TIP42C. Outputs of TIP42C are connected to LED ANODES, so the layer needs to be HIGH for an individual LED to turn on. The TIP42C can carry maximum current about 6A.
Each LAYER has 16 x RGB LED arranged in 04 x ROWS and 04 x COLUMNS, which are controlled by 06pcs x TPIC6B595N. Outputs of TPIC6B595N are connected to RED-GREEN-BLUE CATHODES PIN through current limiting resistors R100, so each color pin needs to be LOW to turn on. The TPIC6B595N is high power drains, able to sink 150mA per pin and it cannot source current so they should be connected to LED CATHODES. Each RGB LED has 3 colors and each color of 16pcs x RGB LEDs on a layer is controlled by 2pcs x TPIC6B595N.
RED COLOR: 02pcs x TPIC6B595N.
GREEN COLOR: 02pcs x TPIC6B595N.
BLUE COLOR: 02pcs x TPIC6B595N.
ESP-01 ESP8266 is including modes slide switch, reset button, programming header, SPI header and AMS1117 power module for converting from 5V to 3.3V.”

Link to article