If you want your plants to stay healthy, you need to make sure they stay watered. [Dimbit] decided to build his own solar powered circuit to help automatically keep his plants healthy. Like many things, there is more than one way to skin this cat. [Dimbit] had seen other similar projects before, but he wanted to make his smarter than the average watering project. He also wanted it to use very little energy.
[Dimbit] first tackled the power supply. He suspected he wouldn’t need much more than 5V for his project. He was able to build his own solar power supply by using four off-the-shelf solar garden lamps. These lamps each have their own low quality solar panel and AAA NiMH cell. [Dimbit] designed and 3D printed his own plastic stand to hold all of the solar cells in place. All of the cells and batteries are connected in series to increase the voltage.
Next [Dimbit] needed an electronically controllable water valve. He looked around but was unable to find anything readily available that would work with very little energy. He tried all different combinations of custom parts and off-the-shelf parts but just couldn’t make something with a perfect seal. The solution came from an unlikely source.
One day, when [Dimbit] ran out of laundry detergent, he noticed that the detergent bottle cap had a perfect hole that should be sealable with a steel ball bearing. He then designed his own electromagnet using a bolt, some magnet wire, and a custom 3D printed housing. This all fit together with the detergent cap to make a functional low power water valve.
The actual circuit runs on a Microchip PIC microcontroller. The system is designed to sleep for approximately nine minutes at a time. After the sleep cycle, it wakes up and tests a probe that sits in the soil. If the resistance is low enough, the PIC knows that the plants need water. It then opens the custom valve to release about two teaspoons of water from a gravity-fed system. After a few cycles, even very dry soil can reach the correct moisture level. Be sure to watch the video of the functioning system below.