Skip to content

lefty01/ESP32_TTGO_Smart-Traffic-Light

Repository files navigation

ESP32_TTGO_Smart-Traffic-Light

arduino sample sketch for ESP32 (here: LILYGO TTGO-T w. color oled) to control three 8x8 RGB-Led matrices (WS2812B)

Current Hardware:

LED Martix Arrangement

              Din
 _ _ _ _ _ _ _ _
|_|_|_|_|_|_|_|_| 0 TOP
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| 7
 _ _ _ _ _ _ _ _
|_|_|_|_|_|_|_|_|64 MIDDLE
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|71
 _ _ _ _ _ _ _ _
|_|_|_|_|_|_|_|_|128 BOTTOM
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|135

Requirements / Dependencies

Features / Ideas

Initial idea was to have kind of a "busy" or "on-air" signal while working at home, for example show red light while in a web conference. Basically its just another toy project to experiment with this ESP32 module and mqtt/tls, ... Since the kids needed some traffic light as well it features some automatic mode to cycle through red-red/yellow-green-yellow sequence. Other ideas are some kind of mood light or "disco" mode, to light up LEDs at random pattern. Or trigger patterns via mqtt command. OTA is now working and makes use of the LEDs to indicate update progress.

OTA

Issue: OTA failed: no response from device Fix: firewall rules $ sudo iptables -I INPUT -s 192.168.1.123 -j ACCEPT $ sudo iptables -I OUTPUT -d 192.168.1.123 -j ACCEPT

Menu Control

FIXMEs/TODOs/Improvements

Video

video

Pictures

breadboard powersupply inside almostcomplete complete

About

arduino sample sketch for ESP32 (here: LILYGO TTGO-T w. color oled) to control three 8x8 RGB-Led matrices (WS2812B)

Topics

Resources

License

Stars

Watchers

Forks