November 27, 2013

Handling continuous Arduino Events in Java

Continuing from his previous tutorial about controlling an Arduino or compatible board via Java, Eric Bruno now discusses how to work with constant streams of data from an Arduino board and how to deal with it in Java apps. He creates an event handler that once again communicates with the Arduino via the USB/serial lines, and then demonstrates the code by creating a near temperature gauge that uses a simple temperature sensor which sends the data back via the Arduino board. This results with the following professional and readable display:

Eric's tutorial will be of interest to any Java programmers curious about embedded hardware and the Arduino platform in general. To get started, visit Eric's tutorial pageAnd for more, we're on twitter and Google+, so follow us for news and product updates as well.

If you're looking for an Arduino Uno-compatible board to work with Java and more, choose what thousands of others have done and use our Freetronics Eleven - the Arduino-Uno compatible with low-profile USB socket, onboard prototyping space and easy to view LEDs: 

Leave a comment

Comments have to be approved before showing up.