member of: radiocrafts radiocrafts zigbee portfolio zigbee-ready with complete embedded sppio...

26
Radiocrafts Member of: Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping AT commands ZigBee-Ready, 16.5x29.2x3.5 mm, HW- development platform RC2200 RC2202 RC2204 (AT/MM) 2.4 GHz 128 kB Flash 32 kB Flash 64 kB Flash

Upload: daniela-wilkinson

Post on 24-Dec-2015

229 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Radiocrafts ZigBee portfolioZigBee-Ready with complete embedded SPPIO protocol

RC2200AT-SPPIO

2.4 GHz

SSPIO:

UART interface

I/O-mapping

AT commands

ZigBee-Ready,

16.5x29.2x3.5mm,

HW-development

platform

RC2200

RC2202

RC2204

(AT/MM)

2.4 GHz

128 kB Flash

32 kB Flash

64 kB Flash

Page 2: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Three roads to introduce ZigBee in your product

1. Develop your own application software

2. Hire a consultant-company which has the rights to develop on a software stack-platform

3. Buy an all-embedded module (SPPIO)

Page 3: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Developing your own application software

- Buy the PHY (radio) + Microcontroller (MCU) + MAC (software and/or hardware)

= RC2200/AT/MM- Buy the rights to use a stack (IP=$$$) and the stack

object code which works on the MCU- With the required tools, develop your application on

top of the stack/MAC/PHY and download on the MCU

Page 4: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Developing your own application software withZigBee-ready HW modules from Radiocrafts

Radiocrafts RC2200AT, qualified HW platform

Chipcon CC2420 RFAtmel Mega128L

Get the MAC layer from Chipcon

Purchase Z-stack from Figure 8 Wireless (or other)

www.f8w.comCost USD 5000+ (support)

Free (under NDA)

See next page...

Page 5: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Cont…

Write code in Programmer’s Notepad

Compile your code with Z-stack object code, use AVR GCC compiler

Free!

GCC is free!

But IAR is recommended for code efficiency

Download code on RC2200AT with WinAVR+JTAGICE

Free! / USD 100

3-6 months software design work for skilled company

Before production: IEEE manufacturer address (24 bits): 1 650 USDAtmel, Chipcon and Figure 8 Wireless have all participated in ZB certification testing

Page 6: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

ZigBee stack providers

- Figure 8 Wireless (certified): Called Z-stack. www.f8w.com

- Airbee Wireless (certification 2005Q4): Called ZNS. www.airbeewireless.comBoth run on the RC2200/AT/MM hardware platform

- A few software development houses provide their own ZigBee-stack

- Today, 64kB stack (FFD) incl. MAC (16kB). RFD possibly down to 32kB.

Page 7: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

- ZigBee-ready hardware platform (no firmware!)- Atmel ATmega128L MCU + Chipcon CC2420- In principle, any stack can be used- Conforms with European, US and Japanese RF

regulations- Royalty fee for F8Ws stack is included in the module• NO RF development effort• Shortest Time To Market• 100% tested HW and delivered on

tape and reel

ZigBee-ready HW module RC2200/AT/MM

Page 8: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

- Available with 64 kB and 32 kB Flash (for optimized code and Reduced Functionality Devices), all same size and pin-out, 16.5 x 29.2 x 3.5 mm

- 32 kHz real-time clock RTC, ultra low sleep modes , 36 I/O etc.

- 50 Ohm antenna interface, 2.7–3.6V Supply Voltage,Current consumption 30 mA in RX, 27 mA in TX

- See Radiocrafts’ webpage for complete datasheet

www.radiocrafts.com [email protected]

RC2200 Features

Page 9: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Modules optionally available with chip-antenna or MMCX-connector

Demo Kit available, loaded with ZigBee light switch demo or SPPIO

Measured range with chip antenna: 110 m outdoor rural, 10-30 m indoors

RC2200 Features, cont.

Page 10: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

The Radiocrafts SPPIO module

- RC2200AT-SPPIO- ALL embedded ZigBee-Ready Module

- SPPIO = Serial Port Profile and I/O Mapping;

UART to 115.2kBd, total of 16 I/Os

16 bit digital I/O8 channel 10-bit analogue I/O

Wirelessmeshnetwork

UARTserial port

Page 11: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

RC2200AT-SPPIO Fact sheet- 16.5 x 35.6 x 3.5 mm- 2.7 – 3.6V supply voltage- AT-command interface for configuration- Based on Airbee ZNS-ZigBee-stack & private SPPIO profile

Airbee ZNS will be certification-tested early Q4 2005Application interfaceUART serial port (1.2—115.2 kBd)CTS / RTS flow control optionalAT-commandsUp to 16 digital I/OUp to 8 analogue I/O8 channel 10-bit ADC4 interrupt driven I/OTimer modesUltra low power modes

Wireless mesh network ZigBee-readySelf configuringSelf healingScalable network sizeConfigurable logic devices:CoordinatorRouterEnd deviceSupports Airbee-ZNMS network management software

RF parameters16 channels2.45 GHz World-wide ISM bandExcellent sensitivity (-94 dBm)250 kbit/s DSSS RF transceiverVery low power (30 mA in RX)Up to 0 dBm output power (27 mA)50 Ohm antenna interfaceCE certified under R&TTE (EU) Complies with FCC CFR 47 part 15 (US) ARIB STD-T66 (Japan)

Page 12: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Mesh networking

Sensors or actuators

Router

PC, PDA, Data Collector or Airbee ZNMS IP Gateway port

Coordinator

End Point

Router

Sensors or actuatorsSensors or actuators

Page 13: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

UART and I/O mapping

UARTserial port

Wirelessmeshnetwork

UARTserial port

4 analogue inputs

4 analogue outputs4 digital inputs4 digital outputs

4 analogue outputs4 analogue inputs

4 digital outputs4 digital inputs

Note: Analogue outputs are PWM and require R-C filter network for making DC

Pin-to-pin mapping between bound modules, I/O port data additionally appended to the UART data

Wirelessmeshnetwork

Page 14: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Setting up an SPPIO network IAll configurations are done by AT-commands at

the UART interface! The basic steps are:1. Configure one module as the PAN

Coordinator2. Configure all other modules as Routers or End

Devices3. Bind or pair devices by mapping one’s unique

address as the other’s destination address4. Select the UART data transmission scheme

(on full buffer, end character or timeout)

Page 15: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Setting up a SPPIO network II5. Configure the I/O pins to either analogue or

digital6. Configure the I/O port direction (input or

output)7. Select the I/O data transmission scheme (on

events, interrupts or timers)

The Routers and End Devices will automatically associate to the network coordinator as soon as they are switched on. And all the devices will organize themselves in a mesh network with automatic routing. UART data and I/O data will then be exchanged or mapped between devices that are paired.

Page 16: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

AT-command UART setup example

-Entering Command Mode; +++, AT$, AT0

-Power saving modes;

Power Down: ATPD-command; (1.3uA)

Needs to re-associate when turn on again

Sleep: SLEEP_MODE parameter to 0 (<20uA) Wakes up on UART interrupt or I/O interrupt (End Device only)

Page 17: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Airbee-ZNMS Network Management System

Page 18: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

ZNMS-ZigBee Network Management System

C

Page 19: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

ZNMS-ZigBee Network Management System

Page 20: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Radiocrafts SPPIO Demo Kit RC2200DK-SPPIO

Coordinator w/RS232

Router w/RS232

Available with ZNMS Lite Management SW

Page 21: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

AT-command example 1,Append I/O data

-Appending I/O data to the UART; ATS27=1 (on the receiving device)

Will give UART data string;

xxxxx;DIG1;DIG2;ANA0;ANA1;ANA2;ANA3;ANA4;ANA5;ANA6;ANA7

on the receiver side

Page 22: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

AT-command example 2,Transmission scheme

Setting when to do the I/O mapping between paired modules:0: on UART activity1: on pin change2: on interval

Interval-transmissions of the I/O data (default. 1 second) Enable 1 second interval on the transmitter:

ATS10=2ATS11=25

Enable UART-appending on the Receiver:ATS27=1

Will give UART data string;

xxxxx;DIG1;DIG2;ANA0;ANA1;ANA2;ANA3;ANA4;ANA5;ANA6;ANA7 at 1 second intervals

Page 23: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

AT-command example 3, Channel change

1. Permanent changes, in EEPROM: ATS0=11 (11-26)

2. Without writing to EEPROM: ATCH=11 (11-26)

Page 24: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

AT-command example 4, MAC-addresses

Non-Permanent changes, in RAM: ATDA=xx-xx.....-04

MAC-address: ATS4=xx-xx.....-01Destination MAC-address:ATS5=xx-xx......-00

MAC-address: ATS4=xx-xx.....-00Destination MAC-address:ATS5=xx-xx......-01

MAC-address: ATS4=xx-xx.....-02Destination MAC-address:ATS5=xx-xx......-01

Page 25: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

ZigBee vs. proprietary radio solutionsZigBee is NOT the answer to all wireless communication

needs due to:- Range: 120-170 meter Line-Of-Sight, indoor 10-30

meter indoors, neighbouring room (0 dBm)- Interoperability: Today only one public profile is defined

(HCL)- Extensive development cost and effort with specific

customer application layer - Not for data streaming (audio/video) but smaller data

packets at periodic intervals- Star network (point-to-point) sufficient in most

applications- ZigBee Routers is > 64k program memory ($$$)

Page 26: Member of: Radiocrafts Radiocrafts ZigBee portfolio ZigBee-Ready with complete embedded SPPIO protocol RC2200AT- SPPIO 2.4 GHz SSPIO: UART interface I/O-mapping

Radiocrafts

Member of:

Why use Radio Modules?- One single component instead of 20-60;

Less logistics, rapid prototyping, proof of concept- RF knowledge limited to adding an antenna. Shielded modules,

less interference. Easy mounting on cheapest carrier PCB.- Pre-qualified: CE-marking can be re-used (Declaration of

Conformity)- All modules are 100% RF-tested, final product can be function-

tested only (no RF production test-equipment), no yield loss in production

- Simple-to-use standard UART interface: Easy connection to RS232/485 or MCU

- RF-development time reduced from 3-6+ months to weeks- Total development- and production cost significantly reduced- Time-To-Market shortened