In many of our textile sensor videos and examples we use anprogrammed 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
We have modified it to visualize multiple inputs and also to threshold the data. The thresholds can be set in the code.
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:
Processing code >> https://github.com/plusea/CODE/tree/master/Processing%20code/p_Graph6AnalogIn_igoe