I'm attempting to see if I can capture an incoming stream of data being transmitted remotely from an arduino device into Mathematica.
The plan is to connect some temperature probes to the Arduino, connect it to a Kamado Grill (i.e. Big Gren Egg). The Arduino has an XBEE modem that will be coupled via WiFi to my computer. By reading the temperature profile and output that will control the air intake I'll hope to play around with the control systems functionality of Mathematica, plot temperature profile of the grill/smoker and meat in real time, communicate back to the grill and change target temperature, all from the comfort of the living room.
In the picture below I have tested the connection between the Arduino and the computer and have succeeded in reading the data flow via a terminal connected 19200,N,8,1. Im reading in this case the distance read from an ultrasonic sensor, which is being transmitted back to the computer every 5 seconds.
What is the best way to capture the data stream? Is there a specific existing function to use?