This is a simple watering scheduler project based on a cheap ESP8266 that you can control from anywhere, thanks to Azure IoT Hub.
This project is the new iteration of my very first project in computer science:
First version | New Version | |
---|---|---|
Hardware | Raspberry Pi | ESP8266 |
Language | Python | C / C++ |
Environment | Local (LAN) | Cloud (WAN) |
Technology | Flask | Azure IoT Hub |
- Open the .ino file in your arduino environment
- Setup your ESP8266 in the arduino environment
- Inside config.h, setup your local internet connection and your Azure IoT Hub connections settings
- Ensure you have the proper drivers CH340 OR cp210x
- Select the adequate COM port in <Tools -> Port -> COM{x}> menu bar
- Push the code in the ESP8266
- Connect LEDs to the 3 output pins
- Open the serial monitor from the Arduino IDE after you pushed the code on the device
- Install and settup Azure IoT Explorer
- Send these commands:
wait for it... wait for it ...
turnOn1:
turnOff1: