PiPlanter | Moisture detector and a few other updates

Long time viewers will remember when this idea was conceived two Novembers ago, but essentially it’s a way to detect the relative moisture of a substance.

The principal is the same as in the above post, but this time, I made it bigger and attached it to a Raspberry Pi. The reason this is essential, is because I recently purchased a 12v DC pump capable of moving water. I will be able to sense the relative moisture in the plant, and then the plant will be able to water “itself”.

That will be done in python with the same basic technique I’ve been using all along, but in addition to gathering data about the plant every hour or so, it will be able to see if the plant needs water (by checking hopefully an array of moisture sensors) and then turning on the pump and watering it. I will also eventually integrate twitter and a webcam, but those cosmetic editions come once I know the system works.

To test it, I’ve added another set of data to the graph as seen in the last post and created a testing environment in my windowsill.

Basically I’ve put some dirt and 100mL of water into a container and inserted the sensor and am monitoring the moisture level over the next n hours, here are some pictures:

And here is a graph of some of the data:

I will make another post later today illustrating the process of plating the seeds.

Hey! This post was written a long time ago, but I'm leaving it up on the off-chance it may help someone. Proceed with caution. It may not be a good idea to blindly integrate this code or work into your project, but instead use it as a starting point.


      1. You don’t have a better server. If you use a thumbnails and/or external image host, it can be better performance. And if you use a “Read more…” links it’s can load faster.
        First time, i visited your site the pictures aren’t load and i wrote previous message. I hope, I could help with your server…

        I like to read posts, thy =)
        PS.: Sorry for my english

          1. I used to Picasa, before Google+ on my blog. The Google+ has changed Picasa’s image share, but if you logged in to Picasa, shows the link to old Picasa, and you’ll found links and embed. And provide thumbnails if you need.
            I think, the WordPress can handle these services via plugins.
            In comparison, the Picasa can store 15 GB opposite Flickr’s 1 TB 🙂 These solutions I use and recommend.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.