instructables
ESP8266 Tutorial: Build an Automatic Plant Watering System
by Jaychouu
Recently, I saw many people creating smart-home Xbee USB adapter
equipment on the Internet, which aroused my interest,
and then I created an automatic watering artifact (FTDI ready) EcoDuino - An Auto Planting Kit
which could surf the Internet. Programming of my
device is based on DFRobot automatic watering kit. 12 Battery
With ESP8266 module, the flower-watering kit could
realize real time monitoring. As for mobile phone software, I used Blynk which is
deasy to build up and providing Arduino library.
Required hardware: Throughout the communication, ESP8266 WiFi Bee
module was used as communication module. Arduino
ESP8266 Wifi Bee (Arduino Compatible) is the main controller here.
ESP8266 Tutorial: Build an Automatic Plant Watering System: Page 1
Step 1: Create a Blynk Item
Create A Blynk Item
Open Blynk software.
Add the following controls:
Value Display * 2 LED * 2 Slider * 1 Gauge * 1
Adjust the size and arrangement of controls, and then set their parameters respectively, as follows pic1:
Interface after adjustment is as follows pic2:
Channels (pins) used in controls are virtual, which transmit data to ESP8266, and then ESP8266 transfers data to
watering kit motherboard.
Step 2: Download Program to ESP8266
Program source code can be found here. Switch WiFi follows:
Bee SEP module to UART port, and plug it into Sbee
USB Adapter board to connect with the computer. After downloading, switch WiFi Bee ESP module to
Select FireBeetle-ESP8266 on Arduino IDE (Click BOOT port.
here to link to the installation tutorial of FireBeetle- Note: before downloading program, you need to
ESP8266). change your WiFi and password as well as the
corresponding AUTHTOKENS code.
Download program to WiFi Bee ESP module, as
ESP8266 Tutorial: Build an Automatic Plant Watering System: Page 2
Step 3: Download Program to Watering Kit Motherboard
Program source code can be found here. Open Arduino programmer, select Leonrdo motherboard and download
source program to motherboard:
ESP8266 Tutorial: Build an Automatic Plant Watering System: Page 3
Step 4:
Hardware Connecting
Plug WiFi Bee ESP module into watering kit motherboard in right direction:
Connect each sensor according to the silk screen of connection mode on motherboard:
Assemble the watering kit:
Check the effect of watering…
ESP8266 Tutorial: Build an Automatic Plant Watering System: Page 4
ESP8266 Tutorial: Build an Automatic Plant Watering System: Page 5
ESP8266 Tutorial: Build an Automatic Plant Watering System: Page 6