Introduction to Processing and Arduino

The concept was to use the ultrasonic distance sensor to create a flight game. The processing code creates a backdrop of a skyline with a plane flying through the clouds. The objective of the game is to fly through without hitting the clouds and get the balloons. Everytime the plane hits a cloud, points get deducted.

mithunbaghyakaushik_2

mithunbaghyakaushik_4

The Arduino card sends data only when the player moves their hand over the sensor.
A new distance value is sent and the processing sketch checks the new value and applies it to the height variable and meanwhile the game continues.

mithunbaghyakaushik_3

 

AIRLIFT is a project of IaaC, Institute for Advanced Architecture of Catalonia developed at Master in Advanced Architecture – 01 in 2016/2017 by: Mithun Basil Parakandathil,Baghya Venkataramani,Kaushik Raghuraman

Faculty: Angelos Chronis, Angel Muño