Serial sensor data can be sent through an Arduino board to a computer, where it can be further processed by Arduino’s own Wiring programming environment, or alternative software environments such as Processing.

Below are the results of such process for two different sensors. In both cases, the binary data received from the sensor was mapped to an appropriate range in Processing (0 to height of window), and graphed as a time-series.

The first sensor is a force sensor whose returned values had a nice, expansive range due to its nuanced responsiveness to applied force.

669436.44

816304.75323532.03611160.7562932.44443994.03

 

 

 

 

 

 

 

Compare this to the x-axis readings of an accelerometer, below.
 

251795.34242564.2221143.979215.1166277.38232491.4146
 

 

 

 

 

 

 
The results are not as varied as those of the force sensor mainly because of the inclination of the accelerometer’s reading to be of a broad set of ranges that are difficult to map appropriately to the Processing’s sketch screen.
 

Leave a Comment

Error: Please check your entries!