It is great having fresh vegetables just a few steps away from the kitchen, but it takes work to keep those plants healthy.
The author found this out the hard way after returning from vacation to find his tomato plant withering away so he decided to put an end to this problem by building his own solar powered plant watering system. An Arduino serves as the brain of the system. It’s programmed to check a photo resistor every ten minutes; the Arduino will decide how much to water the plants based on the amount of sunlight it detected throughout the day. This allows the system to water the plants just the right amount.
The power from the battery is stepped down to the appropriate 5V required for the Arduino. After all of that you can now power the watering system from the very same energy source that plants use to grow.