Assignment: Write an application that interfaces with an input and/or output device that you made
What I did: I decided to do an interface that will show me if there is some motion inside the nests of my birdhouse. For this I have 1 motion sensor in each nest of my birdhouse. The display is a box showing the 6 nests of my birdhouse
I'm using Processing with following libraries: ControlP5, processing.serial, cc.arduino, org.firmata
After installing Processing softwarewe need to install few libraries
|
Notably library ControlP5but also others like: processing.serial, cc.arduino, org.firmata
|
The sketch StandardFirmata is loaded on the Satshakitusing an Arduino Uno as ISP programmer
|
Here is my programtested and validated with 1 motion sensor connected
|
Here is the display when there is some motionin the Nest1
|
And here is the display when there is no motionin the Nest1
|
Here is the wire connection for the test and validation
|
Putting a box on the sensor to simulate a "no motion" situation
|