Picture of Hear your plants play music!  (WIFI version)
This walk-through will show you how to build a sensor to monitor your plant's environment and use Stats in Sound's ERC-20 app to turn this data into music, allowing you to listen to your plant's reaction to it's environment.  For more information on this project, please visit  Below is a sample recording of the music generated by the ERC-20, monitoring  sensor attched to a happy healthy chilli plant.

You will need some basic experience with soldering, breadboarding and using the Arduino platform for this tutorial.

This particular instructable is for a sensor that will upload it's data via a WIFI connection. If you house it correctly, you can keep it outside. If this seems a bit adventurous for you, check out the ethernet version here.

To build a plant sensor, you will need the following:

] 1 x Arduino Uno
] 1 x WIfly shield + headers
] 1 x USB A>B cable
] 1 x 5v Relay
] 1 x ZTX605 -type transisitor
] 1 x DHT22 Temperature + Humidity sensor
] 1 x LDR (Light dependent resistor)
] 4 x 10Kohm resistors
] 2 x Nails  (Any nails will do for now)
] Plenty of hook up wire (single core wire)
] A Soldering iron & plenty of solder
] A Mac or windows computer

Once you think you have everything, you can continue to the next step to get started!
Remove these adsRemove these ads by Signing Up
Akin Yildiz9 months ago

this is exactly what I am trying to accomplish, but in my case I just need the plant to upload sensor data online, preferably to google docs. any idea on how to do that? will wifly work to post on google docs? thank you

mattomatto (author)  Akin Yildiz9 months ago

Hey Akin,

Any particular reason why you are using google docs? Looks like Cosm has moved on now sadly, but there will definately be a relevant platform out there for you. Once your Arduino is connected to the internet it will be able to post data to various website APIs using the POST command, as it does in my code. You just need to look in the documentation for the API you are hoping to use (In your case good docs.. and see if there's anything in there that mentions being able to update a spreadsheet via an http post command. Can't help but think there's a better way though!

well my reason is that i feel like google docs would be the most worldwide applicable way to post it. assuming most people already have google accounts and it's all free. but honestly i haven't seen many people give this a try. everyone uses a webpage that i've never heard of before, like cosm in your case. that's why i was wondering if it was even possible. i did come across some great posts that people did do it, but like you said it seems way harder...

mattomatto (author) 1 year ago
Ok, Cheers. I just googled DHT22 and used one of the pics!
DHT-22's have a white case. Although they function the same way, what you have shown with the blue case is apparently a DHT-11, a cheaper, less accurate version of the temperature / humidity sensor.
grgbpm2 years ago
impressive :o
jldindc2 years ago
You said "First, add the DHT22 and Wifly libraries to Arduino (if unsure how check here)."
But there's no link. I think you intended on a link. Do you have it?
This is exciting, and making me want to try using Arduino for the first time.
mattomatto (author)  jldindc2 years ago
Ahh sorry, yes I just forgot to post the link. Here it is:

I've updated the instructable too.

I would suggest that if this is your first arduino project, you try to get each bit working separately fist and really understand it all, so that you can better troubleshoot it if something goes wrong.

It's quite an advanced project for a beginner!! Good luck :)
rimar20002 years ago
Can you add a MP3?

If YES, please PM me when done, I would like to hear that sounds.
mattomatto (author)  rimar20002 years ago
I've attached a wav sample to the first page of the instructable :)
Thanks, it sounds nice.

But please help me to understand (consider I don't speak English, too): there is a musical background, and it changes depending on the state of the plant? Or is the plant who generates ALL that music?
mattomatto (author)  rimar20002 years ago
The application has lots of music pre-recorded and chopped up. The data from the plant is used to select elements of the music, mix them and add effects to create an overall soundscape. So yes there is a musical background that changes depending on the sate of the plant. :)