Touch Me Not | Arduino and Processing

Creativity and Computation Lab

Arduino Uno and Processing

Create an interaction between Arduino and Processing

 

Elements Used:

In this assign, I used the following elements:

  1. Arduino Uno
  2. Wires/Cables
  3. USB connector for the Arduino
  4. Ultrasonic Sensor
  5. Processing

 

Logic:

When the user hovers over the ultrasonic sensor, the Processing window makes it looks like the user is lowering their hand close to the thorns. And, when they touch the thorns, the color changes to red.

I have used the distance element from the ultrasonic sensor and played with that in Processing.

 

Video (Demonstration):

 

Video (Screen View):

 

Photos:

 

Code:

github Link

Leave a reply

Skip to toolbar