Okay, so a quick run down of what I’m trying to accomplish. I have a robot with a proximity sensor hooked up to an Arduino. When it approaches a wall, I need the Arduino to send a message to my computer (like “STOP” or something), which will then relay back a command (like “Turn Right”, except more like ‘set servo on pin 6 for 90 degrees’).
The prox sensor will be on an analog in pin.
I think I can figure out how to setup the XBee on the Fio and the XBee on my USB Explorer, but i’m not sure about the proper programming calls I need to make. I’m going to be communicating via my laptop in Processing through OSC.
Could someone please summarize how I would program this? I’m not sure how to send serial communications wirelessly. I pretty much just need the equivalent of “Hello World” in wireless Arduino programming. Thanks a lot, guys.