Professional Documents
Culture Documents
www.logicsupply.com
info@logicsupply.com
+1 802 861 2300
1
Description
The XBee cape makes it easy to use an XBee or other compatible radio with your BeagleBone or BeagleBone Black
projects. It provides an XBee footprint, general prototyping area, and footprints for 2x LEDs and 2x tactile switches.
Features
Architecture
Signal name
UART2_TXD
UART2_RXD
Header Pin
P9_21
P9_22
Pin Mode
UART2 TX
UART2 RX
Comments
Serial data out to radio
Serial data in from radio
www.logicsupply.com
info@logicsupply.com
+1 802 861 2300
2
Getting Started
1. Solder the supplied 2x23 headers to the outer footprints labeled P8 and P9. The easiest way to make sure
theyre lined up correctly is to plug the headers into a powered off BeagleBone, place the cape on the
headers, then solder it in place
2. Solder the supplied 2mm female headers in the XBee footprint
3. Install the cape and insert your radio module while the BeagleBone is powered off
4. Power up your BeagleBone and youre ready to go!
www.logicsupply.com
info@logicsupply.com
+1 802 861 2300
3
Name
Pin 1
Pin 2
Pin 3
Pin 5
Pin 6
Pin 7
Pin 10
Pin 12
Pin 15
Pin 16
VDD
Serial out
Serial in
RESET
RSSI
DIO11
GND
CTS
Assoc.
RTS
Description
Radio supply, connected to output of the 3.3V regulator
Connected to UART2 RX by default
Connected to UART2 TX by default
Active low radio reset, connected to RST via
XBee signal strength, may be connected through R4 to LED2
Connected to P7 via, DIO11 on XBee
Connected to BeagleBone GND
Connected to P12 via, CTS or DIO7 on XBee
XBee associate indicator, may be connected through R3 to LED1
Connected to P16 via, RTS or DIO6 on XBee
www.logicsupply.com
info@logicsupply.com
+1 802 861 2300
4
www.logicsupply.com
info@logicsupply.com
+1 802 861 2300
5
You can confirm that the overlay loaded successfully by reading the contents of the slots file:
root@beaglebone:~#cat/sys/devices/bone_capemgr.*/slots
0:54:PF
1:55:PF
2:56:PF
3:57:PF
4:ff:POLBoneLTeMMC2G,00A0,TexasInstrument,BBBONEEMMC2G
5:ff:POLBoneBlackHDMI,00A0,TexasInstrument,BBBONELTHDMI
7:ff:POLOverrideBoardName,00A0,OverrideManuf,BBUART2
fromxbeeimportXBee
importserial
ser=serial.Serial('/dev/ttyO2',9600)#UseUART2serialport
xbee=XBee(ser)
#Continuouslyreadandprintpackets
whileTrue:
try:
response=xbee.wait_read_frame()
printresponse
exceptKeyboardInterrupt:
break
ser.close()
www.logicsupply.com
info@logicsupply.com
+1 802 861 2300
6
License
This work is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported License. To view a copy of
this license, visit
http://creativecommons.org/licenses/by-sa/3.0/
or send a letter to Creative Commons, 171 Second
Street, Suite 300, San Francisco, California, 94105, USA.
All derivative works are to be attributed to Logic Supply, Inc.
The BeagleBone, BeagleBone Black and Beagleboard remains the property of beaglebone.org. All references to
BeagleBone, BeagleBone Black, Beagleboard are licensed under a Creative Commons Attribution-Share Alike 3.0
License. All references to CircuitCo remain the property of CircuitCo and are not affiliated to Logic Supply, Inc. in any
way.
Change History
06/03/2014
Version 1.0
Initial Release
More Information
For more information, see
www.logicsupply.com
Google+
Follow us on Google+ for product updates.
www.logicsupply.com
info@logicsupply.com
+1 802 861 2300
7