XBee. Wireless Communication. Hans- Petter Halvorsen, M.Sc.

Similar documents
XBee USB Adapter Board (#32400)

Using Xbee in Serial Communication

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

Raspberry Pi. Hans- Petter Halvorsen, M.Sc.

Web Site: Forums: forums.parallax.com Sales: Technical:

TOSR0X-D. USB/Wireless Timer Relay Module. User Manual. Tinysine 2013 Version 1.0

Getting Started with XBee RF Modules

Cisco Aironet Wireless Bridges FAQ

DESIGN AND IMPLEMENTATION OF A WIRELESS ZIGBEE MESH NETWORK

Waspmote. Quickstart Guide

Teaching Application Development for RFID/ZigBee Networks using Open Source Hardware

GETTING STARTED GUIDE

HOME ALARM MONITORING NETWORK GOH SWEE TIAN

PN532 NFC RFID Module User Guide

802.11n Wireless Router. Datasheet. Models: AR, AR-HP. Fast Wireless Speed Up to 150 Mbps. Long Range Up to 200+ Meters

MeshBee Open Source ZigBee RF Module CookBook

A Wireless Sensor Network for Weather and Disaster Alarm Systems

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Setting Up the ZigBee Ethernet Gateway

RN-52 Bluetooth Hookup Guide

USB-Link 2 Installation and Setup Manual

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

Bluetooth Installation

MANUAL FOR RX700 LR and NR

Surveillance System Using Wireless Sensor Networks

Bluetooth to Serial Adapter

RS-232 Communications Using BobCAD-CAM. RS-232 Introduction

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

User Manual Revision English Converter / Adapter Ethernet to RS232 / RS485 (Order Code: HD HD M HD HD M)

2.4G Bluetooth Datalink & ipad Ground Station User Guide V1.02

How to setup a serial Bluetooth adapter Master Guide

2.4G Bluetooth Datalink & ipad Ground Station User Guide V1.12

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

s!nus-elektrotechnikai bt. Industrial IT & Automation

Datasheet n Wireless Router Models: AR, AR-HP. Fast 150 Mbps Wireless Speed. Long Range Up to 200+ Meters

CYPRESS SEMICONDUCTOR CORPORATION Internal Correspondence. Frequently Asked Questions. Contents. TITLE: Cypress s WUSB-NX Solutions for HID NPI

INTERNET CONNECTIVITY

Long Reach PoE over Coaxial Extender Kit

Plc Based Monitoring and Controlling System Using Wi-Fi Device

Accessories: 6-pin to 9-pin adapter cable.

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

We are Legion: Pentesting with an Army of Low-power Low-cost Devices

RC2200DK Demonstration Kit User Manual

Step-by-Step Tutorial For Using LinkSprite UART- WIFI Module Model LS_UART_WIFI

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Bluetooth to serial HC-06 wireless module

CAN-Bus Shield Hookup Guide

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

1 Technical Description Lokal-200PC

Guide for Remote Control PDA

SB-1000 Link-All-3.0 USB Radio interface Operating Manual CG Antenna Co. Ltd.

How to setup the UCW232C Serial WiFi adapter

Radiocrafts Embedded Wireless Solutions

SB-2000 USB Radio Interface Operating Manual CG Antenna Co. Ltd.

24 GHz Point-to-Point 1.4+ Gbps Radio. Datasheet. Model: AF24. High Performance Wireless Backhaul. Long Range of 13+ km

Bluetooth UART/RS232 Module

Flight Controller. Mini Fun Fly

The Wireless LAN (Local Area Network) USB adapter can be operated in one of the two following networking configurations :

Advanced Data Capture and Control Systems

Microchip Technology. February 2008 Valerio Moretto Slide 1

E-Blocks Easy Internet Bundle

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

Wireless LANs vs. Wireless WANs

Contents Chapter 1: Introduction... 3 Chapter 2: Ethernet (LAN)... 5 Chapter 3: ZigBee Wireless Connection Options... 7

Disclaimers. Important Notice

Fractus Compact Reach Xtend

Intro to Intel Galileo - IoT Apps GERARDO CARMONA

Inserting the SIM card in the MobiGater device. Connecting the MobiGater Device

Serial to Bluetooth Adapter

Smarthome SELECT Bluetooth Wireless Stereo Audio Receiver and Amplifier INTRODUCTION

USER GUIDE WIRELESS USB TO AUDIO KIT. Model: 29594

Zlinx Wireless I/O. Peer-to-Peer and Modbus I/O B&B ELECTRONICS PRODUCT INFORMATION

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Using the Parani SD1000U/SD1000 with Carlson SurvCE

SCREENLOGIC INTERFACE WIRELESS CONNECTION KIT

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

USB Driver Installation for Windows XP

ENET-710. ENET Ethernet Module ENET-710 JAN / 06 FOUNDATION

Intelligent Street lighting management using ZigBee. Martin SCHULTE-HOBEIN Field Application Engineer, EMEA Digi International

Synapse s SNAP Network Operating System

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers

Testing Robots Using the VEXnet Upgrade

Bluetooth HC-06 with serial port module Easy guide

2014 GSM SHIELD COMPATIBLE WITH ARDUINO GSM SHIELD USING SIMCOMM (SIM900A)

Introduction. Getting familiar with chipkit Pi

DiCE INSTALLATION INSTRUCTION

ScanWin Installation and Windows 7-64 bit operating system

iloq P10S.10/20 Programming device User's Guide

Implementation of Wireless Gateway for Smart Home

RN-131-PICTAIL & RN-171-PICTAIL Web-Server Demo Application

XBEE PROTOCOL COMPARISON

Intel Compute Stick STCK1A32WFC User Guide. Intel Compute Stick STCK1A32WFC

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

LDG DTS-4/4R Desktop Coaxial Switch / Remote

IMMS-CCC. IMMS-CCC Hardwire Central Interface. Installation Instructions

IDD-213T User Manual. (Rev. 1.0) China Aerospace Telecommunications Limited

Data Acquisition in LabVIEW

ETHERNET WEATHER STATION CONNECTIONS Application Note 33

telstra.com/mbb visit a telstra store or partner GETTING TO KNOW YOUR TELSTRA WI-FI 4GX ADVANCED III

Transcription:

XBee Wireless Communication Hans- Petter Halvorsen, M.Sc.

www.digi.com/xbee/ XBee - Wireless Communication https://en.wikipedia.org/wiki/xbee XBee Module XBee USB Adapter Board XBee 5V/3.3V Adapter Board XBee SIP Adapter Board Arduino Tutorial: Let s make XBee talk!: http://www.norwegiancreations.com/2013/10/arduino- tutorial- 1- lets- make- xbee- talk/ Making Things Talk, 2nd Edition (ebook available at Safari Books Online): http://proquest.safaribooksonline.com/book/hardware- and- gadgets/9781449314668 Exploring XBees and XCTU: https://learn.sparkfun.com/tutorials/exploring- xbees- and- xctu?_ga=1.116328385.696451024.1434708629

What is XBee? XBees are hugely popular wireless transceivers for a number of reasons. They re flexible they send and receive data over a serial port, which means they re compatible with both computers and microcontrollers (like Arduino). They are highly configurable you can have meshed networks with dozens of XBees, or just a pair swapping data. You can use them to remotely control your robot, or arrange them all over your house to monitor temperatures or lighting conditions in every room. https://learn.sparkfun.com/tutorials/exploring- xbees- and- xctu?_ga=1.116328385.696451024.1434708629

XBee XBee is the brand name from Digi International for a family of form factor compatible radio modules. XBees are tiny blue chips that can communicate wirelessly with each other These modules use the IEEE 802.15.4 networking protocol for fast point- to- multipoint or peer- to- peer networking. XBee uses the Zigbee standard and adds to it and wraps it up in their own neat little package. http://www.zigbee.org/. Most of the Xbee modules operate at 2.4GHz https://en.wikipedia.org/wiki/xbee https://www.sparkfun.com/pages/xbee_guide 4

Wireless Communication Wi- Fi (IEEE 802.11) Bluetooth (IEEE 802.15.1) XBee/ZigBee (IEEE 802.15.4) etc. 5

XBee Hardware You need 2 things: 1. XBee Modules, lots of different types exists 2. XBee Adapter Boards: XBee USB Adapter XBee SIP Adapter XBee 5V/3.3V Adapter Arduino Wireless SD Shield (with XBee connector) More about these devices on the next slides...

XBee Module XBee Hardware XBee Adapter Boards Arduino Wireless SD Shield XBee USB Adapter Board XBee SIP Adapter Board XBee 5V/3.3V Adapter Board 7

Communication XBee 802.15.4 Module 1 XBee 802.15.4 Module 2 XBee SIP Adapter Board XBee USB Adapter Board Arduino USB Cable PC Breadboard 8

XBee 802.15.4 modules ( Series 1 ) XBee Series 1 (also called XBee 802.15.4) - These are the easiest to work with, they don t need to be configured, although they can benefit from it. Because they are easy to work with, you should start with these. For point to point communication these modules work as well as the Series 2 but without all the work. 9

XBee Modules vs. XBee Pro Modules There are a few difference between the regular XBees and the XBee Pros. The Pros are a bit longer, use more power and cost more money. That s pretty much it. The greater power means longer range (1 mile instead of 300ft) so if you need the range or like to spend more money, then use the Pros, otherwise stick with the regular models. You can mix and match these on the same network. https://www.sparkfun.com/pages/xbee_guide 10

XBee Modules vs. XBee Pro Modules

XBee 802.15.4 Modules The 802.15.4 XBee modules provide two friendly modes of communication a simple serial method of transmit/receive or a framed mode providing advanced features. XBees are ready to use out of the package, or they can be configured through the X- CTU utility or from your microcontroller. These modules can communicate point to point, from one point to a PC, or in a mesh network. https://www.parallax.com/product/32405 12

XBee 802.15.4 Module (XB24- AWI- 001) Key Features: Outdoor range up to 300 feet (90 m) line of sight Indoor range up to 100 feet (30 m) Data rate up to 250 Kbps 2.4 GHz frequency band (accepted world- wide) https://www.parallax.com/product/32405 13

XBee 802.15.4 Module (XB24- AWI- 001) 14

XBee 802.15.4 Module (XB24- AWI- 001) Pin Overview DOUT and DIN: These are the pins through which serial data is received by our controller or PC (DOUT) and sent to the XBee (Din). This data may be either for transmission between XBee modules or for setting and reading configuration information of the XBee. The default data rate is 9600 baud (bps) using asynchronous serial communications.

XBee Adapter Boards Why use an Adapter Board? The XBee is a 3.3 V device! Your Microcontroller typically runs on 5 V Breadboard friendly: Converts XBee 2mm pin spacing to 2.54mm (0.1 ) pin spacing used on Breadboards Adapter Boards: XBee USB Adapter, XBee SIP Adapter, XBee 5V/3.3V Adapter, Arduino Wireless SD Shield (with XBee connector) 16

XBee USB Adapter Board https://www.parallax.com/product/32400 The XBee USB Adapter Board connects your XBee module to a PC or Microcontroller Make sure to to install Software before you plug in the hardware! https://www.parallax.com/usbdrivers 17

XBee USB Adapter Board Note! Take care not to bend any of the XBee pins be gentle when you re plugging it in. (And be even more careful if you re removing it!) https://learn.sparkfun.com/tutorials/exploring- xbees- and- xctu?_ga=1.116328385.696451024.1434708629

XBee SIP Adapter Board https://www.parallax.com/product/32402 The XBee SIP Adapter is a solution for interfacing a XBee module with microcontroller, such as Arduino or Raspberry Pi. You typically plug the Adapter board into a Breadboard Plug into the Breadboard 19

XBee SIP Adapter Board 20

XBee 5V/3.3V Adapter Board The XBee 5V/3.3V Adapter is a solution for interfacing a XBee module with microcontroller, such as Arduino or Raspberry Pi. You typically plug the Adapter board into a Breadboard Insert the two 11-pin SIP headers into the bottom of the adapter board as shown and solder them in place from the top. Converts XBee 2mm pin spacing to breadboard friendly 0.1" spacing 21

Arduino Wireless SD Shield The Wireless SD shield allows an Arduino board to communicate wirelessly using a wireless module. It is based on the Xbee modules from Digi, but can use any module with the same footprint. The module can communicate up to 100 feet indoors or 300 feet outdoors (with line- of- sight). https://www.arduino.cc/en/main/arduinowirelessshield 22

PC Configuration, Diagnostics & Test Tool Connect The XBee USB Adapter Board connects your XBee module to a PC or Microcontroller Use the Digi XCTU Software in order to Configure or run Diagnostics http://www.digi.com/support/productdetail?pid=3352&osvid=57&type=utilities XCTU is a free multi- platform application designed to enable developers to interact with Digi RF modules through a simple- to- use graphical interface. It includes new tools that make it easy to set- up, configure and test XBee RF modules. https://docs.digi.com/display/xctu/xctu+overview Make sure to to install Software before you plug in the hardware! https://www.parallax.com/usbdrivers 23

XBee Shield Hookup Guide PC Arduino Wireless SD/XBee Shield XBee 802.15.4 Module PC Arduino Serial Monitor XBee USB Adapter Board XCTU Arduino https://learn.sparkfun.com/tutorials/xbee- shield- hookup- guide/example- communication- test

Loopback Test 1. Download the X- CTU software, available from www.digi.com or through Parallax s XBee page, www.parallax.com/go/xbee. 2. Download the FTDI drivers, available from www.parallax.com/go/usbdrivers.

XBee Examples http://examples.digi.com/get- started/basic- xbee- 802-15- 4- chat/ 26

PC Terminal Programs Its handy to use a Terminal Program for Testing CoolTerm: http://freeware.the- meiers.org PuTTY: https://en.m.wikipedia.org/wiki/putty# +++

XBee Networking 28

Hans- Petter Halvorsen, M.Sc. Telemark University College Faculty of Technology Department of Electrical Engineering, Information Technology and Cybernetics E- mail: hans.p.halvorsen@hit.no Blog: http://home.hit.no/~hansha/ 29