Data communicated to an Arduino serial port is easily displayed graphically using the open-source program, Processing. This program and examples and tutorials for it are available at www.processing.org.
We have used a simple Processing program to display the orientation of a two axis accelerometer on a computer screen, as shown at the right. In this demonstration, our miniature Arduino is connected to an ADXL335 accelerometer and an Anaren wireless module. A second Arduino and wireless module receives the wireless signal and sends the information through the computer serial port to the Processing display.
Source code for the interface and display is available upon request.
Orientation of the red ellipse follows the orientation of the hand-held accelerometer.