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

19671 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

The configuration of your XBee.

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

The configuration of your XBee.

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

Assembling Hardware

Assembling Hardware

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

Assembling Hardware

Assembling Hardware

Installing X-CTU

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

Installing X-CTU

The configuration of your XBee.

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

The configuration of your XBee.

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

Documentation

Components Required

Components Required

Components Required

Components Required

Comments

Only logged in users can leave comments

Fouad_Roboticist

0 Followers

0 Projects

Table of contents

Intro

6

0