Notifying Water Bowl
Make sure your pets water bowl is full with this amazing device! Using just an Arduino, water sensor and a few cables you can be notified when your pets bowl is dry from anywhere!
Hardware
For the hardware you will need:
- NodeMCU Esp8266 - https://www.amazon.com/HiLetgo-Internet-Developme...
- Female/Female Jumper Wires - https://www.amazon.com/GenBasic-Female-Solderless...
To connect the water sensor follow the chart above. The red letters represent the water sensor and the black sensors represent the Arduino. The different colored lines are the wires.
Downloads
You will need to download and install the Arduino IDE based on your OS. Next create an account on the Blynk Website. You will also have install the Blynk app on a compatible device.
Setting Up NodeMCU
This tutorial will help you set up the esp8266 NodeMCU: https://www.youtube.com/watch?v=G6CqvhXpBKM
You will need to do the following:
- Install the Drivers
- Install the Library
- Test the NodeMCU
Note: I will not be going over this step in depth because there are already a lot of great tutorials out there.
Installing the Blynk Library
Installing the Blynk library is really simple just follow the Blynk tutorial.
Creating a Blynk Project
- On the Blynk app select "New Project" and name the project. Next, in the new device panel select "ESP8266 (Wi-Fi)" and then select create.
- After you have created your project swipe from the right to left to open up the widgets menu.
- Scroll down and select "Level V" next click on the widget and under the "INPUT" navigate to PIN> Analog> adc0.
Uploading Code
Plug in the NodeMCU to your computer. Download the Water_Bowl1.ino file here on GitHub. Next open the code in the Arduino IDE and paste the Blynk auth token where it is indicated. Type in your WiFi name and password then select upload. After the code is uploaded you can test it out by putting the water sensor in some water. The Blynk app should show that the device is connected and the widget should display the water value if everything went correctly.
Note: I also have this tutorial on the GitHub page. It is not on my account it is on my mentors since I did this through an internship.
Device Applications
This could not only be used to notify you about a water bowl, but it could also notify you about the overflow of a septic tank or to monitor a fish tanks water level. Thanks for looking at my instructable, I hope you enjoyed it!
Note: In the future I would like to make a 3d printed case to insure the water sensor does not get splashed on to improve it's accuracy.