Guid to help you make generative art using the electrical activity in plants 🎨🌱
Guide / tools for including plants and their electrical signals in your generative art using arduino + processing 3
If you follow this readme you'll be able to use the electrical noise found in your houseplants to help make generative art with the processing programming language, like the image below.
arduino board for voltage (if you already have one, i'm pretty sure any type with analog ports will work)
3.5mm cables for the electrodes (Make sure the 3.5mm ones are selected!)
A house plant with big leaves (please try to pick your plant up locally; a lot of the times they don't ship plants right and they end up getting hurt :( - if you can't get anything locally, this plant seems like a good bet.)
Get the cable with the 3.5mm female end, and cut off the male end. Splice it and attach the two leads to the arduino's "A2" and "GND" ports.
You might want to cut two wires that fit nicely into the arduino, and splice one of these onto each lead, just so you can plug it into the arduino easier. The end result should look like this:
Next, plug a 3.5mm cable for the electrodes into the female 3.5mm port we just spliced in, and attach both of the snapping button ends to an electrode.
Place the electrodes on a plant, try to put them on different, but nearby leaves. If they're on the same leaf, you won't get very interesting results.
Download + install the arduino IDE
voltage.inoon your board - you will have to use the "tools" dropdown menu and select the right serial port (usually /dev/ttyUSB0)
Download + install the processing 3 IDE
read_voltage.pdeto help you read/graph the voltage from processing. If it's working, you should see a slightly noisy function that hangs around a constant value for the most part.
template.pdeas a base program for your artwork; while in the
drawloop, you can get the value of the plant anytime through the variable
plantValue(which is a float).
Here is what
sample_circle.pdegenerates while attached to one of my Snake plants (Sansevieria Laurentii) - note that it isn't the same algorithm from the first picture; just a really quick sample one I threw together to publish publicly.
More sample artworks
Use of a voltage booster for more accurate readings
Differences between plots during the night and during the day
More stuff dealing with pen-plotting (I use an axidraw to get my plots on paper)