Home

RFBee User Manual v1.0

image

Contents

1. RF End A Uart_Tx RF End B Figure 3 Two RF Ends using RFBee Example 1 Make both RF End A and B work in Transv Mode Send enter AT command ATMD3 Send enter Transv mode Send or Receive Data Page 6 of 12 Enter AT Mode Reply ok Enter Transv Mode Reply ok Receive and Send Data 3 17 2010 g WWW SEEEDSTUDIO COM WY Seeed Studio Works SL Tech Support info seeedi com Figure 4 Make two RFBee work in Transv Mode Step1 MCU sends to RFBee and RFBee enters AT command mode whenever it receives If right it will reply with ok otherwise with error Step2 After receiving ok MCU sends ATMD3 to RFBee to make it into Transv mode If right it will reply with ok otherwise with error Also you can do some other configurations using the AT command before into Transv mode Step3 After receiving ok MCU of RF End A can sends or receives data to or from RF End B The received data package format is shown in the next section 2 Make RF End A work in Trans Mode and RF End B in Recv Mode For RF End A Step1 MCU sends to RFBee and RFBee enters AT command mode whenever it receives If right it will reply with ok otherwise with error Step2 After receiving ok MCU sends ATMD1 to RFBee to make it into Trans mode If right it will reply with ok otherwise with error Step3 After rece
2. AC 0 1 0 No address check 0 r w ad 1 Address check no broadcast A 2 Address check and 0 0x00 broadcast MA 0 255 Set RFBee itself address return parameter in hex 0 r w Set specific address of RFBee whose package can be DA 0 255 0 r w accepted return parameter in hex Set RF transmitting power Power i PA 0 7 0 30dBm 1 20dBm 2 15dBm 3 10dBm 7 r w Amplifer 4 0dBm 5 5dBm 6 7dBm 7 10dBm Set Uart Baudrate of RFBee UART BD 0 3 0 r w 0 9600bps 1 19200bps 2 38400bps 3 115200bps Set working mode of RFBee Working Mod MD 0 5 0 idle mode 1 trans mode 2 recv mode 3 transcv 0 r w ode mode 4 sleep mode 5 command mode a Set threshold that will trigger RFBee starting to ana TH 0 32 transmit return parameter in hex 4 r w Threshold f P gt 0 transmit as soon as RFBee receive data from MCU Set RF transmitting DataRate RF DataRate DR 0 1 0 r w 0 76800bps 1 1200bps Restore Default RS Restore parameters into default settings r Settings FV Firmware version v1 0 r Version HV Hardware version v1 0 r Note 1 When RF DataRate is 1200bps the minimal transmit interval is about 1ms 2 The best way to make RFBees work steady is to make them work in trans or recv mode as it may drop some packages in transv mode sometimes Page 9 of 12 3 17 2010 g WWW SEEEDSTUDIO COM WY Seeed Studio Works SL Tech Support info seeedi com How to Update Firmware through Arduino 1 Connect RFBee to UartSB move s
3. 3 Address 1 Address 4 For End B C D Step1 Send Make RFBee into Command mode Step2 Send ATAC2 Set Address check and with broadcast so that it will accept packages with broadcast dstAdress 0x00 Step3 For End B send ATMY2 to set address 2 For End C send ATMY3 to set address 3 For End D send ATMY4 to set address 4 Step4 Send ATDT1 to set address of destination 1 Step5 Send ATMD3 Make RFBee into Transv mode For End A Step1 Send Make RFBee into Command mode Step2 Send ATAC1 Set Address check no broadcast Step3 Send ATMY1 Set address of itself 1 Step4 Send ATDTO Set a broadcast address which means data transmitted from End A can be accepted by End B C and D Step5 Send ATMD3 Make RFBee into Transv mode AT Command AT Format AT Comand ASCII parameter optional character Example ATBD1 Set Uart Baudrate of RFBee to 19200 return ok if success otherwise error ATBD Get Uart Baudrate of RFBee return 19200 and ok if success otherwise error Page 8 of 12 3 17 2010 NOY Seeed Studio Works OSY Supported command WWW SEEEDSTUDIO COM Tech Support info seeedi com Parameter Command Specification Default Type character Set whether RFBee checks the incoming packet address or not
4. O O ss A A 6 5 y 7 esoo S mm E DIR a ATMega168 Ce Oc m O y O O ATT mT a i AT o00 OO Microprocessor Atmega168 Atmega 168 has enough resources to implement the RF controlling while providing complete Uart communication More importantly they are the most popular MCU among open source hardware community making itcompatible to Arduino IDEand the vast knowledge pool gt gt Datasheet http www atmelcom dyn resources prod_documents doc2545 pdf RF Transceiver CC1101 The CC1101 isa low cost sub 1 GHz transceiver designed for very low power wireless applications The circuit is mainly intended for the ISM Industrial Scientific and Medical and SRD Short Range Device frequency bands at 315 433 868 and 915MHz gt gt Datasheet http focus ti com docs prod folders print cc1101 html Page 4 of 12 3 17 2010 g WWW SEEEDSTUDIO COM WY Seeed Studio Works 2382 Tech Support info seeedi com Hardware Installation RFBee controlled by Hyperterminal on PC through UartSB RFBee controlled by Seeeduino through XBeeShield Page 5 of 12 3 17 2010 NOY Seeed Studio Works OSY Software Installation How to Make It Work WWW SEEEDSTUDIO COM Tech Support info seeedi com When powered on RFBee will send ok through serial port The default working mode is IDLE so if you want to communicate between two RFBees you need first to configure them into TRANS RECV or TRANSV mode
5. g WWW SEEEDSTUDIO COM WY Seeed Studio Works 2382 Tech Support info seeedi com RFBee User Manual v1 0 Index O 1 NN 2 SPC CI CAEL ONS a a a etc 3 Electrical Gharacterstcs ii aaa 3 A cscss ceceecc earysesgsez tse eszctysyeatsvssgtaeetenatadetseghetevt cteaeeseatebstesv2e visi batehstets oacaqeatetsd Er r ea e rE aa eie era 4 Microprocessor Atnega LB usackede scaadendasactedeuadbusde usacvedesaaberdusavertede 4 REVPransceiversGG O A A A ii 4 Hardware a dd eee 5 Software Installation cccccccsccsscsscessecssecsseessecssecesecssecssecsseenseessecssecsseessecsseessecssecsecssecesecseesseesseesseessseessessecessenseesseesseenseens 6 Howto Make Work cios 6 Example pai 6 AT Command i ie Pd ee SL A 8 o OO 8 S pported commands ON NN ooo ON 9 Not O en 9 How to Update Firmware through Arduino c ccccecceseesseeseeceeseeseeseeeceeseesecseeaeesecsecseeeaeeaessecseeeaeesecaeseeeeaeeaeeeeneeenees 10 A tad 11 Revision History dnd 12 Page 1 of 12 3 17 2010 g WWW SEEEDSTUDIO COM WY Seeed Studio Works 2382 Tech Support info seeedi com Overview RFBee is a RF Module providing easy and flexible wireless data transmission between devices You may reach most common RF moduk functionality via concise AT Command set You may plug it into any Xbee socket for quick replacement and it also have native AVR atmega168 working as a full functional Arduino Indoor Urban up to 50m Outdoor line of sight up to 120m Receiver Sensitiv
6. ity 95dBm RF Data Transmission Rate 1 200bps 76 800bps Working Frequency 868MHz 915MHz Communication type Point to Point or Point to Multipoint Easy to Use Serial Interface and rich extendable ports Easy to Use AT Command Set working mode Serial Baud Rate etc Open source of Hardware and Firmware Source files and documents are licensed under a Creative Commons Attribution 3 0 Unported License Page 2 of 12 3 17 2010 WWW SEEEDSTUDIO COM Tech Support info seeedi com NOY Seeed Studio Works SLSS Specifications Microprocessor Atmega168 PCB size 24 38mmx32 94mmx0 8mm Indicators No Power supply 3 3v IO counts 9 ADC input 2 Program interface USB Connectivity Compatible with XBee Communication Protocol Uart Operating Frequency Band ISM 868MHz 915MHz Outline Dimension 24 38mmx32 94mmx15mm Electrical Characterstics Specification Min Typ Max Unit Input voltage 3 3 3 3 6 VDC Transmit Current 34 5 mA Receive Current 18 1 mA Idle Current 5 2 mA Power down Current lt 1 uA Operating Temperature 50 125 C Page 3 of 12 3 17 2010 g WWW SEEEDSTUDIO COM WY Seeed Studio Works 2382 Tech Support info seeedi com System Block Diagram Antenna o ee OTTO wits Beeedstudio com o 0 gt eee pc O e o oaaae O ETE E cc1101 S DE a en
7. iving ok MCU can sends data to RFBee End B through Uart For RF End B Step1 MCU sends to RFBee and RFBee enters AT command mode whenever it receives If right it will reply with ok otherwise with error Step2 After receiving ok MCU sends ATMD2 to RFBee to make it into Recv mode If right it will reply with ok otherwise with error Step3 After receiving ok MCU can receives data from RFBee End A through Uart Received Data Package Format length dstAddr srcAddr Payload RSSI length dstAddr 1 byte srcAddr 1byte payload nbyte RSSI 1byte dstAddr When address check is applied ATAC1 dstAddr is used by RFBee to compare with address of itself If they are equal RFBee will accept the package and then send it to MCU through Uart otherwise the package will be dumped When address checking is not applied ATACO RFBee will always accept the package whatever dstAddr is srcAddr Indicates the package is transmitted from which RFBee Payload Data that you want to transmit Max payload length 32 Minimal payload length 1 when threshold 0 otherwise payload length threshold RSSI Received Signal Strength Indicator One byte signed data unit dBm Page 7 of 12 3 17 2010 g WWW SEEEDSTUDIO COM WY Seeed Studio Works SIS Tech Support info seeedi com 3 Make RF Ends work in Point to Mutipoint Address 2 lt P Address
8. ut Output ATmegal168 PC2 PC1 13 Input Output ATmegal168 PC1 VREF 14 Input ATmega168 AREF port PCO 15 Input Output ATmega168 PCO ADC7 16 Input ATmega168 ADC7 PD5 17 Input Output ATmegal168 PD5 PD6 18 Input Output ATmega168 PD6 PC5 19 Input Output ATmegal168 PC5 PC4 20 Input Output ATmega168 PC4 Page 11 of 12 3 17 2010 W Seeed Studio Works LES Revision History WWW SEEEDSTUDIO COM Tech Support info seeedi com Rev Descriptions Release date V1 0 Initial design 2010 03 05 V1 01 Modify AT command DR and MD specifications 2010 03 15 Page 12 of 12 3 17 2010
9. witches to XBee and 3 3v then connect it to your computer through USB cable UartSB link http www seeedstudio com depot uartsb v22 a much more powerful usb to serial converter p 495 html cPath 35 Download the source code of RFBeev1 0 decompress it to your working directory http www seeedstudio com depot datasheet RFBEE rar Modify the Arduino library Enter your Arduino installation directory if you use Arduino 0017 arduino 0017 hardware cores arduino Backup file HardwareSerialcpp and HardwareSerialh before do any changes on them Then replace them with two new files downloaded from here http www seeedstudio com depot datasheet HardwareSerial rar Open your Ardunio open the RFBeev1 0 project Select Tools gt Board gt Ardunio Pro or Pro Mini 3 3v 8MHz w ATmega1 68 Choose the recognized serial port and then you can program your RFBee firmware by yourself Page 10 of 12 3 17 2010 NOY Seeed Studio Works OSY WWW SEEEDSTUDIO COM Tech Support info seeedi com Pinout PIN Pad Type Description 3V3 1 Supply input Vcc 3 3v TX 2 Output Uart Tx port RX 3 Input Uart Rx port PD4 4 Input Output ATmega168 PD4 IRESET 5 Input ATmegal1 68 Reset port PB1 6 Input Output ATmega168 PB1 PBO 7 Input Output ATmega168 PBO PD7 8 Input Output ATmega168 PD7 IDTR 9 Input Used for programming ATmega168 GND 10 GND GND PC3 11 Input Output ATmegal168 PC3 PC2 12 Inp

Download Pdf Manuals

image

Related Search

Related Contents

Manuel d`utilisation  Manual del usuario (reducido y traducido)    Cap 1 – Premessa  Genius G-Shot DV505  MS-Tech CA-0300 Viper SE  新製品ニュース  その4 - 総務省  Manuali Blade - 1,6 Mb, Data  Caratteristiche Vantaggi:  

Copyright © All rights reserved.
Failed to retrieve file