Data graphing program that saves to a file

This Processing sketch takes data from the serial port, graphs it, and writes it to a text file with a time stamp if there’s a significant change in any of the incoming values. It expects five values between 0-255 in ASCII, separated by tabs, and ended by a carriage return and newline.

The text file it generates is tab-delimited, and can be read easily in a spreadsheet.

A Wiring/Arduino program to send data to this sketch follows at the end.

Continue reading “Data graphing program that saves to a file”

XBee Radio Received Signal Strength Graphing Program

This Processing program takes a string of values in the serial port. It assumes the string is the API string from a Maxstream XBee radio. It parses the string and graphs the signal strength. See the XBee product manual for more info on the protocol.

The XBee radio in this program is attached to the computer’s serial port using an FTDI USB-to-serial module like this one from Spark Fun.

Technorati Tags: , ,


Continue reading “XBee Radio Received Signal Strength Graphing Program”

Xbee Radio Received Signal Strength and Data Graphing Program

This Processing program takes a string of values in the serial port. It assumes the string is the API string from a Maxstream XBee radio. It parses the string and graphs the signal strength and the analog values represented in the string. See the XBee product manual for more info on the protocol.

The XBee radio in this program is attached to the computer’s serial port using an FTDI USB-to-serial module like this one from Spark Fun.

Technorati Tags: , ,


Continue reading “Xbee Radio Received Signal Strength and Data Graphing Program”

Serial Server for Flash, etc.

I got tired of the problems with the various serial server solutions for Flash, so I wrote this Processing sketch to do the job. It’s functional, but I still need to tweak it a bit. But it will allow you to connect a Flash movie to a serial port by making an XML socket to localhost in order to access the serial port. Sample test ActionScript code is at the bottom.

Thanks to Shawn van Every for the latest updates, and Actionscript 3 code.

Continue reading “Serial Server for Flash, etc.”