ESP8266 WiFI water leak sensor

In this tutorial we will show how to build ESP8266 WiFi water leak sensor with ESP8266, Arduino and EasyIoT server. We can also use this sensor as soil moisture sensor or as rain sensor. You can add more different sensor to EasyIoT server (see other my instructables).

Step 1: Materials

ESP8266 WiFI water leak sensor
ESP8266 WiFI water leak sensor

Arduino

Water sensor

ESP8266 module

EasyIoT server (Raspberry Pi or Windows computer)

Step 2: Build sensor

We connect Arduino and ESP8266 module. If we use 5V Arduino, then we follow connect ESP8266 and 5V Arduino. If we use 3.3V arduino, we follow connect ESP8266 and 3.3V Arduino.

Next we connect Ardino and water sensor. We connect Arduino VCC and GND to water sensor VCC and GND. Arduino digital Pin 2 is connected to digital out pin of water sensor.

After we connect wires we load program to Arduino. Program is available on GitHub ESP8266 Water leak sensor. Don't forget to set server IP, AP and AP username and password in Esp8266EasyIoTConfig.h.

Step 3: Build EasyIoT server

For EasyIoT server we need RaspberryPi or Windows computer. If we use Raspberry Pi, we can download image link and store to SD card. If we use Windows machine we simply copy server files in folder on Windows computer and execute EasyIoT.exe. Latest EasyIoT server can be found here.

Step 4: Configure EasyIoT server

ESP8266 WiFI water leak sensor

Last step is to configure EasyIoT server. We add new sensor to EasyIoT server. In browser we enter IP address of EasyIoT server. Use default username admin and password test. Then we go to Configuration->Drivers->ESP8266 and AddNode. Then we switch on new sensor node. If everything is OK sensor will be added to EasyIoT server. New sensor we add also to group to see on front page.

 
 

Tag cloud

make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel