Plot Data from Arduino

Arduino doesn’t have much in terms of debug and analysis capability built in, so it can be very useful to have a facility to plot data that’s sent from Arduino over the Serial Port.

There are several ways to do that including Processing, Python + Matplotlib etc… but none of these methods work effectively with very little setup and offer expected features such as Zoom, Scroll, Write to File, Save Setup etc.

Bridge Control Panel released as a part of Cypress Semiconductor’s PSOC Programming Utilities can be very effective for data plotting, analysis etc… It’s a general purpose program to process UART signals. Get it here :

You need to write the Arduino Data over the Serial Port one byte at a time. For an int data type that would look as follows:

// RX8 @1Key1 @0Key1
Serial.write(data>>8 );
We Signal that we’re sending a data byte then send each byte of the int.
The command to Read Data is: RX8 @1Key1 @0Key1
RX8 is the read command
means the next valid byte is “C” in ASCII
then the High Byte of Key1
then the Low Byte of Key1
See Full details in my Instructable.