![]() ![]() The ESP-01S ESP8266, 74HC595 & TPIC6B595N are connected together as follows:įor layer scanning (anodes), because my led cube module has 4 layers, so we need to shift out 1 byte to 74HC595 with order from 0 ~ 3, as following anode array below. The project code is available at my GitHub. In my program, ESP-01S ESP8266 is used as a stand-alone device to control a RGB led cube 4x4x4. In order for uploading the program from Arduino IDE, I can easily plug FTDI programmer into this header, remove SPI header, switch S2 to GND position and ensure the external power is supplied to ESP-01S. The 6 PIN FEMALE PROGRAMMING HEADER was soldered on control board.AMS1117 power module is used for supplying 3.3V to ESP-01.In normal operation mode, ESP-01S control 4x4x4 RGB led cube by 4 GPIO pins as follows:.The slide switch - S2 - allows switching between program and normal operation modes.The button - S1 - is used to reset ESP-01.The schematic below is shown how the ESP-01S can boot up in program mode and normal operation mode: 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.Each RGB LED has 3 colors and each color of 16pcs x RGB LEDs on a layer is controlled by 2pcs x TPIC6B595N. 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. 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. Each LAYER has 16 x RGB LED arranged in 04 x ROWS and 04 x COLUMNS, which are controlled by 06pcs x TPIC6B595N. ![]() The TIP42C can carry maximum current about 6A. Outputs of TIP42C are connected to LED ANODES, so the layer needs to be HIGH for an individual LED to turn on. 04 x LAYERS are controlled by 01pcs x 74HC595 + 04pcs x NPN Transistor 2N3904 + 04pcs x PNP Transistor TIP42C.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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |