This project is a sample of a webserver with micro-python and the esp8266. This webserver receive a get request and send data through the serial port to arduino to turn on or turn off a specific light color.
- USB Adapter Serial Cp2102
- ESP8266
- Male Jumpers x Female
- Female Jumpers x Female
- Traffic Light Module 8 mm
Images are from MasterWalk.
$ pipenv install
- Download and flashing your micro-python firmware.
- Set your ssid and password in the boot.py file.
- You can change the port of connection in the main.py
- Send lib, boot.py and main.py to esp8266.
- Send your sketch to arduíno.
- Make connection between arduíno and esp8266.
- Choose your own output pins in arduíno and have fun!