GMU:Bioelectronics, aesthetics and other interesting things/Philipp Schmalfuß: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 1: Line 1:
==Self-defence system for plants==
=Self-defence system for plants=


* Using Martin Howse circuit for plant sensing.  
'''Self defence system for plants'''
* Experiments with different plants
 
* To make the circuit as sensible as possible, eg to detect bee or fly landing on the plant
 
* Further experiments with pure data
The goal of this project was to use a houseplant as a touch sensor via meassuring resistance changes inside the plant. When it gets touched by any other living organism an attached motor will rock the plantpot.
* To apply motor to arduino in order to spin around the plant and make it moving
This sudden reaction is likely to shake off any potential predator. 
 
'''Materials'''
 
plant and plantpot, sponges, motor (DC Motor Johnson - NF), cupper plate, cables and wires, 220 Ohm resistor, transistor BDX 53 C, Arduino
 
 
 
'''Project details'''
 
I started experimenting with Martin Howse's [https://www.uni-weimar.de/medien/wiki/GMU:Bioelectronics,_aesthetics_and_other_interesting_things/Plant_sensing circuit for microvoltage resistance measurement] and displaying the outcome with the help of a simple Pure Data patch.
 
[[File:Pd1.jpg]]
 
The "arduino" object used in this patch is part of the [https://puredata.info/downloads/pduino pduino] project.
 
Martin Howse's circuit:
 
[[File:MartinH.jpg]]
 
 
Although there was a certain reaction to the enviroment the received data was so chaotic and unpredictable that it was not possible for me to logicaly seperate the meassured reactions to touch from the rest.
 
After some further experiments i ended up with a rather simple circut, ignoring all i've learned about voltage dividers.
 
[[File:ppschem.jpg]]
 
An cupper plate electrode is plunged in the soil beneath the plant and a needle, sticked in a branch of the plant is connected to one of arduinos analog inputs.
The received data is stable enough to set thresholds for simple if-else conditions in the arduino code, but with the disadvantage that it has to be adjusted form time to time.
 
void setup() {
pinMode(13, OUTPUT);
 
Serial.begin(9600);
}
 
void loop() {
 
  int plant = analogRead(A0);
 
  Serial.println(plant);
 
  if(plant < 900 && plant > 850) {
   
  digitalWrite(13, HIGH);
  delay(10);
  digitalWrite(13, LOW);
  }
  else {
    digitalWrite(13, LOW);
    }
    }
 
 
Pin 13 is switching the motor on when the plant gets touched. The motor is out of balance and attached to the plantpot (a motor directly attached to the plant would eventually break it).
 
 
[[File:ppquer.jpg]]
 
 
A sponge underneath the plantpot will let the whole thing slightly move around.
 
 
 
[[File:shl_ps_pic2.jpg]]
 
[[File:shl_ps_pic1.jpg]]

Revision as of 10:34, 15 July 2016

Self-defence system for plants

Self defence system for plants


The goal of this project was to use a houseplant as a touch sensor via meassuring resistance changes inside the plant. When it gets touched by any other living organism an attached motor will rock the plantpot. This sudden reaction is likely to shake off any potential predator.

Materials

plant and plantpot, sponges, motor (DC Motor Johnson - NF), cupper plate, cables and wires, 220 Ohm resistor, transistor BDX 53 C, Arduino


Project details

I started experimenting with Martin Howse's circuit for microvoltage resistance measurement and displaying the outcome with the help of a simple Pure Data patch.

Pd1.jpg

The "arduino" object used in this patch is part of the pduino project.

Martin Howse's circuit:

MartinH.jpg


Although there was a certain reaction to the enviroment the received data was so chaotic and unpredictable that it was not possible for me to logicaly seperate the meassured reactions to touch from the rest.

After some further experiments i ended up with a rather simple circut, ignoring all i've learned about voltage dividers.

Ppschem.jpg

An cupper plate electrode is plunged in the soil beneath the plant and a needle, sticked in a branch of the plant is connected to one of arduinos analog inputs. The received data is stable enough to set thresholds for simple if-else conditions in the arduino code, but with the disadvantage that it has to be adjusted form time to time.

void setup() { pinMode(13, OUTPUT);

Serial.begin(9600); }

void loop() {

 int plant = analogRead(A0);
 
 Serial.println(plant);
 
 if(plant < 900 && plant > 850) {
   
 digitalWrite(13, HIGH);
 delay(10);
 digitalWrite(13, LOW);
 }
 else {
   digitalWrite(13, LOW);
   }
   }


Pin 13 is switching the motor on when the plant gets touched. The motor is out of balance and attached to the plantpot (a motor directly attached to the plant would eventually break it).


Ppquer.jpg


A sponge underneath the plantpot will let the whole thing slightly move around.


Shl ps pic2.jpg

Shl ps pic1.jpg