SmartWatering – Arduino plant watering

SmartWatering

Particle Core based project in charge of taking care of my green plants

This readme is subject to evolve.

SmartWatering – Arduino plant watering

Basically, I am using 5 parts and a few meters of water hose

The program (at the time of writing, version is 1.0.0 ) does some kind of trivial task:

    1. Initialize the hardware
    1. Wait some time
    1. Proceed to a moisture measurement
    1. if moisture under threshold, goto 2), else goto 5)
    1. Turn the pump ON, wait until the desired quantity of water has been watered AND check that timeout did not happen
    1. Turn the pump OFF, goto 2)

Modifying the Particle

The water pump will not work with a voltage under 5V. In order to power it, I soldered a wire straight on the VUSB pin of the USB header. The following picture illustrates where to solder the wire on the former Arduino Nano. You can do the same with the Particle Core diode (black component between the USB header and the VIN pin).

Connecting everything

Actually the wiring is straightforward. Remember that on the Arduinos as well as on the Particle Core, you can not use any pin in interrupt mode. Here, I used D3 to count the pulses coming out the water flow meter. You will also notice the 2 10k pull-up resistors on the I2C bus. They are mandatory, do not forget them.

When the electric wiring is done, you can now assemble the parts along the water hose (5mm think, respective to the diameter of the Water pump and flow sensor). (Note, you can pick up some hose on Amazon like this one) .

Read more: SmartWatering – Arduino plant watering


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top