How to get your plant talk: Difference between revisions

From Hackers & Designers
Line 11: Line 11:
* Twitter account
* Twitter account


 
'''Step 1''' <br>
'''Step 1'''
 
Connect your plant via a simple circuit to an Arduino.   
Connect your plant via a simple circuit to an Arduino.   


[[File:Arduino-plant.png|400px|Arduino and plant]]   
[[File:Arduino-plant.png|400px|Arduino and plant]]   


 
'''Step 2''' <br>    
'''Step 2'''   
 
Upload these lines of code to the Arduino via the computer
Upload these lines of code to the Arduino via the computer


Line 28: Line 24:




'''Step 3'''
'''Step 3''' <br>  
   
Run the Processing plant tweet sketch on the computer.   
Run the Processing plant tweet sketch on the computer.   
   
   
Line 37: Line 32:




'''Step 4'''
'''Step 4''' <br>
Water your plant in case it tweets ''Hey man I'm thirsty as hell #watermeplease''.   
Water your plant in case it tweets ''Hey man I'm thirsty as hell #watermeplease''.   




The Arduino and Processing [https://github.com/arjan/talkingplant github.com/arjan/talkingplant]
The Arduino and Processing [https://github.com/arjan/talkingplant github.com/arjan/talkingplant]

Revision as of 16:55, 16 December 2015

Give your plants a voice!

To make your plant tweet when it needs water you need the following:

  • Plant
  • Arduino; the microcontroller, a small computer you can program.
  • Computer
  • Some electronic parts for a simple circuit
  • Arduino software
  • Processing software
  • Internet connection
  • Twitter account

Step 1
Connect your plant via a simple circuit to an Arduino.

Arduino and plant

Step 2
Upload these lines of code to the Arduino via the computer

copy this code (available on Github)

The Arduino code can be found at https://github.com/arjan/talkingplant/blob/master/PlantArduino/PlantArduino.ino


Step 3
Run the Processing plant tweet sketch on the computer.

copy this code (available on Github)

The Processing sketch can be found at https://github.com/arjan/talkingplant/tree/master/PlantProcessing


Step 4
Water your plant in case it tweets Hey man I'm thirsty as hell #watermeplease.


The Arduino and Processing github.com/arjan/talkingplant