If you never used an ESP8266 WiFi module, first read this tutorial which teaches how the ESP8266 works and how to establish a serial communication.
This project requires that you flash your ESP8266 with the NodeMCU firmware, if you don't know how to flash your ESP8266 with NodeMCU you can follow this blog post: Flashing NodeMCU Firmware on the ESP8266.
To finish this project you only need to grab a few components, follow the schematics and upload the code presented below!
After you complete this project you can visit my blog for more tutorials and if you're interested in learning more about the ESP8266 you can download my eBook called: Home Automation Using ESP8266
Comments