XBee/Arduino into Max via SimpleMessageSystem? Other way to get serial data?
I have several sensors attached to an arduino and I've had great luck using SimpleMessageSystem to read data into Max. SMS reads and writes directly to pins on the arduino with the help of metro. Is there a good way to do this wirelessly? I'd have thought XBee would be great but I don't get how that would work, Is there a better method for sending sensor data wirelessly to Max?
Below is the example code for SMS
It's actually easy to work with XBee once you get the hang of it. Be sure to check this tutorial on XBee:
http://tronixstuff.wordpress.com/2010/08/06/moving-forward-with-arduino-chapter-14-xbee-introduction/
There is also the possibility to send data wirelessly via Bluetooth, WiFi with additional shields or modules.
I'd say that sending info via XBee is the easiest solution.
Cheers,
ygreq
xbees is perhaps the most reliable way to do wireless data, you can do wirels data within a good range. to setup xbees the firstime is abit complex if you do not have a support group ( aka doit yourself ) to stablish a peer to peer network is actually fun to setup.
once you have the xbees setup properly you can connect the xbee receiver to your machine and run your patch and just choose the port that xbee is connected and viola,
if you are in a mac this patch will give you a good start.
if you are windows it may give you ideas on how to make a windows version.
to set up xbees I have a simple tutorial on my web
sorry
I notice that the previous patch had a small problem
this should work
@balam,
Thanks! This is really helpful. I now have XBee figured out! One trick was that I had the UART/DLINE switch in the wrong position. Really XBee is remarkably simple. I'm excited to do more with it. Cheers!
glad to hear that you figure it out.
If you have a feedback I will really happy to hear it.
specially from the xbee tutorial.
best