Among the wealth of helpful info over at Tom Igoe’s site, I ran across this handy strategy for graphing sensor data in OS X –
I’ve been looking for simple ways to graph the data from a sensor attached to a microcontroller lately, because it’s such a necessary activity if you want to look at sensor data over time. Using Apples Grapher program, which comes with OSX, I found a simple way that involves only four lines of code on an Arduino or Wiring microcontroller
The process involves using ‘screen’ in Terminal, to collect the data but the Arduino IDE’s serial monitor could also be used to copy the data into a text file. OS X’s Grapher app proves to be quite the useful tool once again. – Sensor graphing with 3 lines of code!
ADVERTISEMENT