Hey! This thing is still a Work in Progress. Files, instructions, and other stuff might change!

ESP8266 IoT Traffic Light

by uvwxy Aug 1, 2017
Download All Files

Thing Apps Enabled

Please Login to Comment

Hi there awsome work. I saw your project last week since I need a traffic light for one of my university projects. I've never done anything like this before and I'm not really sure how to make it work. Do you think you can give me some more details on how to set up the wifi module and how to connect the LEDs? It's probably just me but I can't figure out much with the pictures you uploaded. Would really appreciate that.

Thank you :)

As you can take form the github code snippet the LEDs are connected with a resistor (to make sure the current is less than 12mA, see specs of ESP8266) to pins D5,D6,D7. The order is not important as we can change this in the software ;)

In my example its:
D5 -> 200 Ohm Resistor -> RED-LED -> GND
D6 -> 200 Ohm Resistor -> YELLOW-LED -> GND
D7 -> 200 Ohm Resistor -> GREEN-LED -> GND

All three GND connections of the LEDS are joined by a singled cable, sth. only four cables run through the pole of the lamp.

What do you mean by "set up the wifi module"? If you mean compiling and flashing the module, the code example is written for the Arduino IDE: https://www.arduino.cc/en/Main/Software.

I'm pretty sure we can figure this out ;)