Tutorial 9 for Arduino: Wireless Communication


This tutorial was featured on the official Arduino blog on 3/9/2011

This week, we go wireless! We’ll be using a set of arduino Unos, XBee shields, and XBee Transceivers that will create a Personal Area Network (PAN) for wireless serial communication. By the end of the episode, we will be able to turn a potentiometer on one arduino, and have it adjust a motor connected to a another arduino – all wirelessly! I suggest you pick up one of these Sparkfun XBee USB Breakout Boards to get your XBee addresses set up. Enjoy the video :)

Serial.flush() has changed in Arduino 1.0. You can use the following instead:

You can download the files associated with this episode here:

GNU GPL License Distributed under the GNU General Public (Open-Source) License.
Please Attribute and Share-Alike.


  1. Hi Jeremy, we intend to use XBee in both broadcast and unicast mode with switching possible at runtime (i.e switching from co-ordinator to end node and vice-versa at runtime). Is it possible to do so using arduino or any other board

  2. Hi,
    I need to get the values from MPL3115a2 altitude sensor to my other Xbee module at a distance. I have got the Xbee explorer dongle too. I am a bit confused with the code and the hardware connection of the explorer dongle with the arduino. It will be helpful if u make a video on that or give some suggestions

  3. Hii,
    Can u please upload the video of interfacing esp8266 wifi module with arduino for wireless communications…

Leave a Reply

Required fields are marked *.

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