Example of XBee Communication.
Recommended Reference about XBee:
XBee & RF Solutions: http://www.digi.com/products/xbee-rf-solutions
XBee Product Details: www.digi.com/lp/xbee or www.digi.com/support/productdetail?pid= ... umentation
XBee Example getting starting guide - Chat: http://examples.digi.com/get-started/ba ... gbee-chat/
Communication between Android and Raspberry Pi
https://www.b4x.com/android/forum/threa ... 4/#content
Communication between Arduino and PC
https://www.b4x.com/android/forum/threa ... 362/page-5
To set the XBee up, use the DIGI software XCTU:
http://www.digi.com/products/xbee-rf-so ... tware/xctu
Communication between an Arduino and PC using XBees.
The XBee connected to the Arduino via the XBee Shield is configured as Coordinator.
(Configure this in XCTU, Port like COM4 as recognised by discovering XBees).
The XBee connected to the PC via the XBee Explorer USB is configured as Router.
(Configure this in XCTU, Port like COM5 as recognised by discovering XBees).
The communication mode is AT.
Arduino Uploading Programs (Sketches) IMPORTANT
To be able to upload, the XBee must be in USB mode.
This is done by setting the jumpers to the outer side of the shield.
Unplug the USB cable or Power Supply prior changing the jumpers.
The software can be uploaded via the Arduino IDE or B4R.
After uploading the software, take of the Arduino Power, change the jumpers to XBee mode (towards the inner side of the shield), and power up again.
The XBee is ready. The red LED is flasing.
Download Source Code
• Experiment is completed.
Experiments & prototyping with the Arduino.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests