EasyManuals Logo

XBee Shield User Manual

XBee Shield
24 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #14 background imageLoading...
Page #14 background image
Arduino Arduino
Warning for Users NOT Using the Arduino Serial Monitor! If you are using Digi's X-CTU or a
serial terminal to configure or connect to an XBee by using a RedBoard/Arduino Uno as a serial
passthrough, you may need to add a jumper wire between the RST and 5V pin to prevent the
Arduino from resetting.
Basically when the XCTU or serial terminal opens a COM port to the Arduino, computer resets the
microcontroller while looking for the XBee. Therefore, it can’t communicate with the XBee because
the Arduino is rebooting.
Hardware Serial Passthrough
This example is for those trying to use the hardware UART on an ATmega32U4-based Arduino.
Copy and upload the sketch below. You can also download it here.
language:c
/*****************************************************************
Leonardo_XBee_Serial_Passthrough.ino
Set up a serial port to pass data between an XBee Shield
and the serial monitor.
Hardware Hookup:
The XBee Shield makes all of the connections you'll need
between Arduino and XBee. If you have the shield make
sure the SWITCH IS IN THE "UART" POSITION. That will connect
the XBee's DOUT and DIN pins to Arduino pins 0 and 1.
*****************************************************************/
// Leonardo Serial is the USB port
// Leonardo Serial1 is pins 0 and 1
Page 14 of 24

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the XBee Shield and is the answer not in the manual?

XBee Shield Specifications

General IconGeneral
BrandXBee
ModelShield
CategoryComputer Hardware
LanguageEnglish