In many of our textile sensor videos and examples we use an arduino programmed to read analog sensor values and send them over serial to a computer running a visualization written in processing. We have taken our code from the following examples:
“Arduino meets Processing” Potentiometer example
Our variation
We have modified it to visualize multiple inputs and also to threshold the data. The thresholds can be set in the code.
Arduino code >> https://github.com/plusea/CODE/blob/master/Arduino%20code/a_readAnalogInputs_k3/a_readAnalogInputs_k3.pde
Processing code >> https://github.com/plusea/CODE/tree/master/Processing%20code/p_Graph6AnalogIN_k3
Processing code >> https://github.com/plusea/CODE/tree/master/Processing%20code/p_Graph6AnalogIN_k3
Tom Igoe’s “Serial Graphing Sketch”
In the following post you’ll find Arduino and Processing code from Tom Igoe for visualizing analog sensor input over time:
>> http://processing.org/exhibition/features/igoe/
Our variation
1 Comment so far
why p_Graph6AnalogIN_k3.pde in my processing demonstrat cannot find class or typed named ”ThresholdGraph” ?