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:
- Arduino Uno
- Wires/Cables
- USB connector for the Arduino
- Ultrasonic Sensor
- 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: