This project automates the process of watering small plants in your home. This solution allows you to control the pump even if you are away from the house (assuming your WiFi router and ESP8266 module are on).
A solar cell is used to power the submersible pump to ensure safety (didn't want to use Mains Power in contact with water). It also ensures availability of pump for use during the day.
Ample sunlight and any ESP8266-based WiFi module are essential items to execute this project. I am using water collected from the air-conditioning drain.
I paired a 3W Solar panel with a 6V DC Submersible pump.
CircuitFollow below steps for connecting the circuit:
1. Connect +ve wire from solar panel to +ve wire of pump.
2. Connect -ve of Solar panel to "Common" terminal of single channel Relay.
3. Connect -ve of Pump to "NO" terminal of Relay.
4. Connect V-in and Ground pins of Relay to 3.3V Pin and Gnd Pin respectively.
5. Connect D3 Pin of NODEMCU module with Signal Pin of Relay.
6. Power NODEMCU module via micro-USB cable connected to a 2500 mAh Power bank.
7. Custom Build Lua firmware with MQTT and basic modules using the Cloud Build service at this link: https://nodemcu-build.com/.
8. Follow instructions in the following video for flashing the Firmware and getting started with Esplorer:
9. Flash code attached.
10. Water distribution setup: Connect a small hose to the pump (pneumatic hose 4mm O.D can be used). Use small tees and route hose to your plants in the balcony.
Depending on the sunlight received, the pump will start pushing water through the hose. Remove any air bubbles at the tee if water flow is stopped. Adjust slope of the hose to facilitate flow. This pump creates enough static pressure for 3 to 5 plants.
Comments