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 www.statsinsound.org.uk.  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!

Step 1: Prepare the WIFLY Shield

The WIFLY shield is a WIFI card that you can use to let your arduino talk to the internet with relative ease.  It comes without any headers on it so the first thing you'll want to do it solder those on, as in the picture below.

We will need to enable the Arduino to turn the WIFLY on and off so that it can be reset via the software.  This prevents having to manually rest the device if there are any problems.  In order to do this, we need to bend out or cut off  the ' Vin' pin of the shield so that it is not attached to the Arduino.  Instead we will use a relay / transistor circuit to use a digital pin on the arduino to turn it on and off.

The next few steps will describe the major components before we look at the circuit diagram.
<p>Hello, I try to construct a device like this one, but instead of touching plant, I want to use the potential difference between the root and the leave. Can you help me to do that ? It will be inspired of the work of Damanhur.</p>
<p>Hey man, did you accomplished what you intended ? i am interested in that method too...</p>
<p>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</p>
<p>Hey Akin,</p><p>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.. https://developers.google.com/google-apps/documents-list/) 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!</p>
<p>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 <a href="https://productforums.google.com/forum/#!topic/docs/f4hJKF1OQOw" rel="nofollow">great posts</a> that people did do it, but like you said it seems way harder...</p>
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.
impressive :o
You said &quot;First, add the DHT22 and Wifly libraries to Arduino (if unsure how check here).&quot; <br>But there's no link. I think you intended on a link. Do you have it? <br>This is exciting, and making me want to try using Arduino for the first time. <br>Thanks.
Ahh sorry, yes I just forgot to post the link. Here it is: <br> <br>http://www.arduino.cc/en/Hacking/Libraries <br> <br>I've updated the instructable too. <br> <br>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. <br> <br>It's quite an advanced project for a beginner!! Good luck :)
Can you add a MP3? <br> <br>If YES, please PM me when done, I would like to hear that sounds.
I've attached a wav sample to the first page of the instructable :)
Thanks, it sounds nice. <br> <br>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?
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. :) <br>

About This Instructable




More by mattomatto:Hear your plant make music! - Ethernet version Hear your plants play music!  (WIFI version) 
Add instructable to: