Project 3, Programming: Arduino and Processing

Upon creating the assets, the next key stage was to start to code the sketches required to allow the prototype to be able to function as intended. The premise behind the sketches was to use the Arduino IDE to create a sketch which outputs the sensor values from either the LDR, Thermistor (or any other potential sensor) to the Serial Monitor. This could then be read by the Processing sketch to trigger specific content to display, depending on the values processed from the sensors.

An Excerpt from the LDR Arduino and Processing Sketches
An Excerpt from the Thermistor Arduino and Processing Sketches

Click here to download the above sketches.

Leave a Reply

Your email address will not be published. Required fields are marked *