Wireless Arduino Programming With ZigBee

ZigBee is a low-power communication system using digital radios. It’s intended to be easier to work with than Bluetooth. Adafruit recently added an adapter board for Digi’s XBee product line and has put together a great how-to to show the devices potential. Using two XBee radios and adapters you can wirelessly program an Arduino board. This would be great if your Arduino was installed in an inaccessible area or maybe it’s over 100feet away from where you’re working. The radios do serial communication just fine. What the how-to covers is getting the reset line working so the Arduino can restart automatically after you program it. Once the radio pair is configured properly, it will pass the RTS line state directly from one device to the other.

18 thoughts on “Wireless Arduino Programming With ZigBee

  1. man, i did that like a year ago… then fried one of the xbees by putting it in backwards. :( and 80 bucks for that shield… shit myself! arduino boards are for pussy’s anyways. miss limor is a cool bean though. guess i must make something myself for you to write about…

  2. try a search for rfm12, which is a tranceiver module for 5 euro ($6), those zigbees seems very expensive for the job. separate reveiver (rfm01) or transmitter (rfm02) are 3.50 euro, or $4.

  3. @ charlie
    well if you want to go there the arduino its self is sort of a pussy way to get things done almost but its the simplest (unless you want to dust off the old basic stamp 2) and it gets most basic things done

  4. @biozz the xbee shield is neat but its not going to be cheaper, there’s also no real easy way to pass along the reset signal without adding more messy components :)

    @fartface/ragnar: 433 & 900 mhz modules have a spot in my heart, but by the time you add error correction, retransmit, sleep mode, packetization, addressing, a/d inputs, point2multipoint, baud rate control, etc. its about $20 each ;) if you Just Want It To Work then I rather like the xbee’s

  5. Can anyone point to projects using the zigbee / xbee for anything other than serial cable emulation? zigbee makes a terribly expensive serial cable in my humble opinion.

    Lets see some mesh networking projects done on simple hardware!

  6. @justdiy
    at burning man this year there was an impressive example of mesh netowrking in action using arduinos and xbee transceivers. You can see the artist’s site here:
    basically each pod has it’s on xbee/aruduino, multiple directional pressure sensors, and 24 color led’s. If someone steps on the pod; the pod lights up, and the arduino sends a signal to its neighboring pods who in turn light up and pass on the signal. the result is beautiful ripples =)

  7. @justdiy
    Hi, we at libelium (www.libelium.com) use arduino+xbee to create open hardware sensor networks.
    We have developed squidbee (www.squidbee.com) so anybody can use it for their own developments. And is a growing community that develop with squidbee as you can see in http://www.sensor-networks.org

    I hope this info can be usefull.

  8. Has anyone published a tutorial like this for bluetooth? The bluetooth boards are rather expensive, and I’m really just looking to getting data through bluetooth, not reprogramming the arduino remotely.

  9. can anyone tell me how to use the xbee in
    an ad hoc mode? it seems to always in
    a “Personal Area Network” mode, configured
    to their own way of doing mesh. i’d like
    to be able to receive any kind of zigbee
    msg and send any kind of zigbee msg.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.