How to get your plant talk: Difference between revisions
No edit summary |
|||
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Give your plants a voice! | ==Give your plants a voice!== | ||
<br> <br> <br> | |||
To make your plant tweet when it needs water you need the following: | To make your plant tweet when it needs water you need the following: | ||
* Plant | * Plant | ||
* Arduino | * Arduino; the microcontroller, a small computer you can program. | ||
* Computer | * Computer | ||
* Some electronic parts for a simple circuit | * Some electronic parts for a simple circuit | ||
Line 10: | Line 11: | ||
* Twitter account | * Twitter account | ||
'''Step 1''' <br> | |||
Connect your plant via a simple circuit to an Arduino. | |||
[[File:Arduino-plant.png|400px|Arduino and plant]] | |||
[[File:Arduino-plant.png|400px]] | |||
Step 2 | '''Step 2''' <br> | ||
Upload these lines of code to the Arduino via the computer | Upload these lines of code to the Arduino via the computer | ||
[[File:Arduino-plant-code.png|400px|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''' <br> | ||
Run the Processing plant tweet sketch on the computer. | |||
[[File:Processing.png|400px|copy this code (available on Github)]] | |||
The Processing sketch can be found at https://github.com/arjan/talkingplant/tree/master/PlantProcessing | |||
'''Step 4''' <br> | |||
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] |
Latest revision as of 16:57, 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.
Step 2
Upload these lines of code to the Arduino via the computer
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.
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