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 page. And for more, we're on twitter and Google+, so follow us for news and product updates as well.