Xbee® Wi-Fi RF Module
Total Page:16
File Type:pdf, Size:1020Kb
XBee® Wi-Fi RF Module WiFi RF Modules by Digi International Firmware version: 102x 11001 Bren Road East Minnetonka, MN 55343 877 912‐3444 or 952 912‐3444 http://www.digi.com 90002124_ D XBee® Wi‐Fi RF Modules © 2011 Digi International, Inc. All rights reserved No part of the contents of this manual may be transmitted or reproduced in any form or by any means without the written permission of Digi International, Inc. XBee® is a registered trademark of Digi International, Inc. Technical Support Phone: (866) 765‐9885 toll‐free U.S.A. & Canada (801) 765‐9885 Worldwide 8:00 am ‐ 5:00 pm [U.S. Mountain Time] Online Support: http://www.digi.com/support/eservice/login.jsp Email: rf‐[email protected] © 2011 Digi International, Inc. 2 XBee® Wi‐Fi RF Modules Contents XBee® Wi‐Fi RF Module .......................................................................................................................... 1 1.Overview.............................................................................................................................................. 7 Specifications ...................................................................................................................................... 8 General Specifications .................................................................................................................... 8 RF Specifications ............................................................................................................................. 8 Electrical Specifications ................................................................................................................ 10 Serial Communications Specifications .......................................................................................... 11 UART ............................................................................................................................................. 11 SPI ................................................................................................................................................. 11 GPIO Specifications ........................................................................................................................... 12 Agency Approvals ............................................................................................................................. 13 Pin Signals ......................................................................................................................................... 13 Design Notes ..................................................................................................................................... 14 Power Supply ................................................................................................................................ 14 Recommended Pin Connections .................................................................................................. 14 Board Layout ................................................................................................................................ 15 Mounting Considerations ............................................................................................................. 17 2. RF Module Operation ....................................................................................................................... 18 Serial Communications ..................................................................................................................... 18 UART Communications ................................................................................................................. 18 SPI Communications ..................................................................................................................... 19 Serial Buffers .................................................................................................................................... 20 Serial Receive Buffer ..................................................................................................................... 21 Serial Transmit Buffer ................................................................................................................... 21 UART Flow Control ....................................................................................................................... 21 Serial Interface Protocols ................................................................................................................. 22 Transparent Operation ................................................................................................................. 23 API Operation ............................................................................................................................... 23 A Comparison of Transparent and API Operation ........................................................................ 24 Modes of Operation ......................................................................................................................... 24 Idle Mode ..................................................................................................................................... 24 Transmit Mode ............................................................................................................................. 25 Receive Mode ............................................................................................................................... 25 Command Mode ........................................................................................................................... 25 © 2011 Digi International, Inc. 3 XBee® Wi‐Fi RF Modules Sleep Mode ....................................................................................................................................... 26 3. 802.11 bgn Networks ....................................................................................................................... 27 Infrastructure Networks ................................................................................................................... 27 Ad Hoc Networks .............................................................................................................................. 27 Network Basics ................................................................................................................................. 28 XBee® Wi‐Fi Standards ..................................................................................................................... 28 Encryption ........................................................................................................................................ 29 Channels ........................................................................................................................................... 29 4. XBee IP Services ................................................................................................................................ 31 XBee Application Service .................................................................................................................. 31 Local Host ..................................................................................................................................... 31 Network Client .............................................................................................................................. 32 Serial Communication Service .......................................................................................................... 34 Transparent mode ........................................................................................................................ 34 API mode ...................................................................................................................................... 35 5. Sleep ................................................................................................................................................. 36 Sleeping with the UART .................................................................................................................... 36 Sleeping with the SPI ........................................................................................................................ 36 Sleep Options ................................................................................................................................... 37 AP Associated sleep ...................................................................................................................... 37 Deep sleep (non‐associated sleep) ............................................................................................... 38 Sampling data using sleep modes .................................................................................................... 38 Sample Rate (ATIR) ....................................................................................................................... 38 Wake Host .................................................................................................................................... 38 6. XBee Analog and Digital IO Lines ...................................................................................................... 39 IO Sampling ....................................................................................................................................... 40 Queried Sampling ........................................................................................................................