Interfacing yor robot to your PC using Gobetwino (can work with any MCU)
April 30, 2012
I am currently working on a project where I need to teach my robot to "see" using an ultrasound sensor. In particular it must find and collect drink cans on a playfield and return them to a specific location.
To make the programming easier I wanted to take the sensor output from the robot and display it on the computer as a chart. As I am a terrible programmer I did a quick google search and came up with Gobetwino.
Although as the name suggest, it was written with Arduino in mind, non-arduino users should note that this program only monitors a serial port on your computer/laptop and will work with any MCU (picaxe, propeller, FEZ) programmed to spit out the right sequence of serial commands.
The software provides a simple method for your robot to interface with the PC and perform functions such as running programs, writing emails, data logging to a spread sheet etc.
At this point it is still only a beta version and has only really been tested on windows XP but it does have a reasonably detailed manual and some sample code (Arduino based).
After a quick glance through the manual and cutting/pasting a few lines of sample code into my robots code I was able to get my sensor data onto an Excel spreadsheet where I could use the chart functions to make the data easier for me to interperate.
Although only a simple program at this point I think this program has great potential. I have attached the arduino code I used to scan with the ultrasound and send it to the Excel spreadsheet. Note: for this to work you must configure a few commands in "Gobetwino" and create a blank spreadsheet with the correct name. In my case it was simply scandata.xls with A1-A30 ploted as a line chart.
If you know of other programs that can perform a similar function then please tell me about them.