XBee Arduino Interfacing

Recently I’m getting a lot of queries regarding XBee, In this tutorial, I'm going to show you how to interface XBee with Arduino.

Nov 12, 2019

24867 views

6 respects

Components and supplies

1

Xbee Pro S1

1

Arduino UNO

Tools and machines

1

Premium Female/Male Extension Jumper Wires, 40 x 6" (150mm)

Apps and platforms

1

Arduino IDE

1

X-CTU

Project description

Code

XbeeArduino.ino

arduino

XbeeArduino.ino

arduino

Downloadable files

After Uploading The Code

1/ Open the Arduino's Serial Monitor. Make sure the baud rate is set to 9600. 2/ On your X-CTU click on console mode. 3/ Type something in the console view, it should show up on the Serial Monitor. 4/Now try typing something into the Arduino's Serial Monitor , then press send ,it should show up in the console view.

After Uploading The Code

Immagine

The configuration of your XBee.

Channel = C PAN ID = 3332 DH = 0 DL = 0 MY = 0

The configuration of your XBee.

Immagine

Proteus Circuit Diagram

Gnd Xbee - Gnd Arduino Vcc Xbee - 3.3V Arduino Tx - Rx pin D0 Arduino Rx - Tx pin D1 Arduino

Proteus Circuit Diagram

Add Your Xbee

Add Your Xbee

Immagine

Assembling Hardware

Assembling Hardware

Immagine

After Uploading The Code

1/ Open the Arduino's Serial Monitor. Make sure the baud rate is set to 9600. 2/ On your X-CTU click on console mode. 3/ Type something in the console view, it should show up on the Serial Monitor. 4/Now try typing something into the Arduino's Serial Monitor , then press send ,it should show up in the console view.

After Uploading The Code

Immagine

Assembling Hardware

Assembling Hardware

Immagine

Installing X-CTU

https://www.digi.com/resources/documentation/digidocs/90001526/tasks/t_download_and_install_xctu.htm

Installing X-CTU

Immagine

The configuration of your XBee.

Channel = C PAN ID = 3332 DH = 0 DL = 0 MY = 0

The configuration of your XBee.

Immagine

Proteus Circuit Diagram

Gnd Xbee - Gnd Arduino Vcc Xbee - 3.3V Arduino Tx - Rx pin D0 Arduino Rx - Tx pin D1 Arduino

Proteus Circuit Diagram

Add Your Xbee

Add Your Xbee

Immagine

Documentation

Components Required

Components Required

Immagine

Components Required

Components Required

Immagine

Comments

Only logged in users can leave comments