Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 2.2 KB

README.md

File metadata and controls

42 lines (34 loc) · 2.2 KB

Garden_AuTomate_ESP8266

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

Compile and push the code on your ESP8266

  • 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

Test the result with Azure IoT Explorer

  • 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:
    turnOn1:
    wait for it... wait for it ...
    turnOff1:

References