O'Reilly logo

Building Wireless Sensor Networks by Robert Faludi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Prepare the Twitter Reader Board

Your base station radio will use a breadboard connected to an Arduino board.

Connect power from Arduino to breadboard

  1. Hook up a red wire from the 5 V output of the Arduino to one of the power rails on the breadboard. This is a higher voltage than we used in previous projects. The 5-volt supply is required for running the LCD screen. We will send the XBee 3.3 volts separately, directly from the Arduino as described below.

  2. Hook up a black wire from either ground (GND) connection on the Arduino to a ground rail on the breadboard.

  3. Hook up power and ground across the breadboard so that the rails on both sides are live.

    Warning

    Make sure you are using 5 V power to supply the main breadboard.

XBee connection to Arduino

  1. With the router XBee mounted on its breakout board, position the breakout board toward one end of your large breadboard so that the two rows of male header pins are inserted on opposite sides of the center trough. Leave enough free space on the breadboard for the LCD screen!

  2. Use a long red hookup wire to connect pin 1 (VCC) of the XBee directly to the Arduino board’s 3.3-volt output.

    Warning

    Make sure you are supplying 3.3 V power to the XBee.

  3. Use black hookup wire to connect pin 10 (GND) of the XBee to ground.

  4. Use yellow (or another color) hookup wire to connect pin 2 (TX/DOUT) of the XBee to digital pin 6 on your Arduino.

    Note

    This project does not use the Arduino’s hardware serial pins (0 and 1) because it employs the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required