We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › SimpleSerialization - communication with Arduino
Page Index Toggle Pages: 1
SimpleSerialization - communication with Arduino (Read 1367 times)
SimpleSerialization - communication with Arduino
Jun 13th, 2009, 2:52am
 
I was searching for a way to exchange data (strings, integers, floats) between Processing and an Arduino. There are already several solutions to do this but none of them really met my requirements of simplicity and reliability. So I decided to write a library that implements a mechanism called serialization/deserialization. The now called SimpleSerialization library allows you to define a data structure (or object) that will be converted into a stream which then can be sent via a serial connection.

Project page:
code.google.com/p/simpleserialization/
Download:
simpleserialization.googlecode.com/files/SimpleSerialization-1.0.zip

What you can do with it
- remote control an Arduino
- debug an Arduino application in a very convenient way
- setup a hardware-in-the-loop simulation
- and more

Some basic example applications are included in the distribution.

Requirements
- Processing or any other Java IDE (e.g. NetBeans or Eclipse)
- the Arduino IDE
- an Arduino
- a serial connection from a PC to the Arduino
Re: SimpleSerialization - communication with Arduino
Reply #1 - Jun 18th, 2009, 6:17am
 
cool
Page Index Toggle Pages: 1