Does this project spark your interest?

Become a member to follow this project and don't miss any updates

Plant Friends

Plant Friends is a wireless plant environmental monitor system. It uses the Raspberry Pi and the Moteino and comes with an Android app!

Similar projects worth following

This project was created on 07/21/2014 and last updated 8 months ago.

What is Plant Friends?

Plant Friends is a plant environmental monitor system. It monitors the soil moisture, air temperature, and air humidity of your indoor plant(s) and will alert you via email and SMS when your plants are thirsty. The system is battery operated, wireless, Arduino and Raspberry Pi based and comes with an Android app. The app enables you to look at the real-time and historical data (temperature, humidity, soil moisture) on your phone.

Plant Friends is based on my original proof-of-concept project which you can see here:

Follow me and I'll show you how you can build your own Plant Friends system! Beginners welcome!

This is what finished system looks like.

The Sensor Node

The Base Station

The App

How does it work?

The (many) sensor nodes consists of a Moteino (an Arduino clone with an RF transceiver), a soil moisture sensor, a humidity sensor, temperature sensor and a battery meter. Once the sensor node collects the sensor readings, it transmits the data via the transceiver over the 915mhz ISM band to the base station.

The base station houses another Moteino, which acts as a gateway to recieve the RF signals, and a Raspberry Pi where the data is logged into a MySQL database and serves the data to the Plant Friends mobile app. The Plant Friends app is an Android app, written in Processing, that displays the senor node data in a pretty way. :)

I love plants! Lets do this!

AWESOME! This tutorial is aimed at users slightly above the beginner level. I'll assume you have some basic experience with Arduino hardware and Arduino IDE (like making LEDs blink, installing libraries, etc.), basic knowledge of the Raspberry Pi (install Raspbian OS, etc.), and you know how to handle a soldering iron!

Before I send you off on a shopping spree, lets outline some goals for the system as it will dictate how the system operates. For my Plant Friends system, I wanted the following things:

1. Remind me to water my plants. Alert me via email and/or SMS.

2. Be able to monitor multiple plants. I have plants in different rooms in my home so I'd like to be able to monitor all of them at once.

3. I like to shuffle my plants around so the system needs to move freely. This means minimal wires and reasonable size. To do that, the system needs to run on batteries which leads to my next point.

4. The system needs to be low power. I want the system to run on a set of batteries as long as possible so I don't have change them out often. Because, lazy. I feel 4 – 6 months between each battery swap is reasonable.

5. Android app. Because even bathroom scales have one nowadays. I'm kind of a stats junkie so being able to look at the data from my phone is a plus.

7. Low maintenance! Again, lazy.

8. Some sort of enclosure to organize and protect the electronics.

  • 1 × Plant Friends bamboo enclosures. I designed these enclosures! They are constructed out of laser cut bamboo. I designed it so all the pieces snap together and does not require any glue. The sensor node enclosure houses the Moteino, the sensors and the batteries. The base station enclosure houses the Raspberry Pi and gateway Moteino. Buy it here:
  • 2 × Moteino with RF Transceiver I am using an earlier version of Moteino with the RFM12B - 915mhz transceiver. You'll need at least two of these for Plant Friends. One will be the sensor node, the other will reside with the Pi which will act as a gateway. If you want to make more sensor nodes, buy more.
  • 1 × Protoboard 3cm x 7cm I am using 3cm x 7cm green protoboards that I got off of eBay for the sensor nodes. They are surprisingly good quality and work very well. The components that make up the sensor node, including the Moteino, will sit on this board.
  • 1 × Soil Probe These This is just a PCB with exposed traces. You can use two nails if you wish but getting this will simplify things. Some of them come with an opamp circuit and seems to be cheaper than getting just the probes alone. We don't need that part for Plant Friends but you can save it for another project. WARNING: These probes might contain LEAD. If you are growing food, I suggest you use nails as the probe. I won't be covering that method in this article, so Google is your friend! Price: $1-2.
  • 1 × Raspberry Pi Model B We are going to use a USB WiFi adapter for this project so either model A or B will work fine. I recommend the B because it has more RAM and the Ethernet port will give you some flexibility.
  • 1 × USB WiFi Adapter for The Pi
  • 1 × DHT11 Humidity and Temperature Sensor. This is an air temperature sensor and air humidity sensor in one. You'll need one for each sensor node. If you are making multiple sensor nodes, get more.
  • 1 × AA Battery Holder (holds 4 AA batteries) The Plant Friends sensor nodes uses 4 AA batteries in series configuration. I am using this type. You'll need one for each sensor node.
  • 1 × AA Rechargeable Batteries I recommend using rechargeable batteries because it is better for the environment. Sanyo/Panasonic Eneloops win hands down.
  • 2 × LEDs, Any Color, 5mm Size I personally like white LEDs but you can pick any colour. We'll need two, one for the sensor node and one for the gateway.

See all components

Project logs
  • Sensor Node Custom PCB

    8 months ago • 0 comments

    I am about to deploy a bunch of sensor nodes for my plants (sunflowers, basil, mint etc). The problem is, making the sensor nodes on protoboard becomes a chore. To ease the process, I designed a custom PCB.

    This is what it looks like fully assembled. The Moteino sits on the female headers.

    The back side of the board.

    The layout follows what I came up with on the protoboard version already. That means it fits into the sensor node enclosures perfectly. I stuck with using through hole parts because it is easy to solder. This took me less than 5 min to put together.

    I have a couple of these boards for sale. You can grab them at my shop:

  • Soil Probe Update

    8 months ago • 0 comments

    About the soil probes on ebay, I don't know if they use the lead-free tin type or the leaded type for the finishing hence in my article I mentioned they 'might' contain lead. And frankly, I don't really trust the eBay sellers to provide me with correct information so for everybody's safety sake I had to mention that it might contain lead. Also, after 6 months of use, those eBay probes started to corrode.

    Since I want to use Plant Friends for my basil plants as well, I need a probe that is lead free. I was thinking of using two nails as the probe but that is not good against corrosion. So, I designed my own.

    This probe is gold plated which will withstand corrosion much better than the eBay ones. I also made it longer (82mm / 3.25 inch) so it can better gauge the moisture when using larger/deeper planting pots. I tested these already and they work extremely well.

    Here is a side by side comparison of my custom probe and the eBay version. You can see the eBay probe looks pretty bad after 6 months of use.

    I still have a few of these custom probes and you can pick them up from my shop:

    Shipping internationally. ;)

  • Plant Friends Admin Interface

    8 months ago • 0 comments

    Thanks to Mário Santos (gadelhas) over on GitHub for rewriting the Plant Friends admin interface. 1000x better than what I had. Definitely a nice surprise!

View all 5 project logs

Build instructions
  • 1

    I wrote an extensive how-to-tutorial-instructable so beginners can have a stab at building a Plant Friends system of their own. I commented almost every line of code so there is a lot of information on how the system works.

    The how-to tutorial instructable on my website:

See all instructions


Ben Nortier wrote a month ago point

Wow, this is beautiful!

Are you sure? [yes] / [no]

Eric K wrote 8 months ago point
Saw this project over on and I have to say this is awesome. The enclosures are great too, very good wife approval factor there.

Are you sure? [yes] / [no]

dickson wrote 8 months ago point
Thank you Eric! You are the 5th person to mention Plant Friends could have the potential to enhance their relationship with their spouse / significant other. So awesome. :)

Are you sure? [yes] / [no]

jeromekelty wrote 8 months ago point
Awesome project! Going to share this today with a few of my friends. :)

Are you sure? [yes] / [no]

dickson wrote 8 months ago point
Thank you!

Are you sure? [yes] / [no]

Łukasz Przeniosło wrote 8 months ago point
This is great! An usefull peace of hardware that looks like a cute critter. Even ones gf would be please by this solution :D. Is it possible for you to sell some cases?

Are you sure? [yes] / [no]

dickson wrote 8 months ago point
Thank you bremenpl! Yes I sell my bamboo cases here:

Are you sure? [yes] / [no]

David Cook wrote 8 months ago point
Very nice user interface!

Are you sure? [yes] / [no]

dickson wrote 8 months ago point
Thank you!

Are you sure? [yes] / [no]

dickson wrote 8 months ago point
And thank you again for the skull :)

Are you sure? [yes] / [no]

Similar projects