This is the ESP32 code dedicated to the taking in the stoplight information from the web and translating it into the LEDs.
- Within the
/lib/folder, copy the_Private.hfile and rename the new copy intoPrivate.h - Fill up
Private.hwith the appropriate credentials of the WiFi, Websocket URL, and other necessary information. - Connect ESP32 to the device that you are using
- Press the "upload" button for PlatformIO
- You may need to press the boot button on the ESP32 as the terminal says "Connecting..." after pressing the upload button
- Connect the correct pins to their slots on the breadboard (if using LEDs) or to the channel relay module (if using light bulbs)
This project was developed in fulfillment of the requirements for CS145.
The following are the developers of the project: