DFR0210

DFR0210 Datasheet


Bees Shield SKU:DFR0210

Part Datasheet
DFR0210 DFR0210 DFR0210 (pdf)
PDF Datasheet Preview
Bees Shield SKU:DFR0210

Contents
• 1 Introduction
• 2 Specification
• 3 Board Overview
• 4 Tutorial

Requirements Bee1 <==> Hardware Serial Port Bee2 <==> Software Serial Port

Connection Diagram Sample Code Result Bee2 <==> Hardware Serial Port Bee1 <==> Software Serial Port Connection Diagram Sample Code Result Bees <==> Using The Hardware Serial Port Alternately Connection Diagram Sample Code Result
• 5 FAQ

Introduction

Have you ever been in a situation where you need two communication methods for your project? How about when a serial port is occupied by another serial device, and you still need to setup wireless communication? The DFRobot Bees shield can solve these problems. The Bees shield is compatible with Arduino boards such as UNO R3 and Leonardo it has a large prototyping shield giving you plenty of space to experiment and add extra components to your project. Thanks to its uniform interface, there are a huge number of devices compatible with the xBee socket xBee, WiFi xBee, Bluetooth Bee, zigBee, etc. The Bees shield is also stackable giving you more flexibility with your projects. Although it is an old design, it is still very practical!

Specification
• Operating Voltage 3.3V~5V
• xBee slots 2
• Serial port Hardware Serial port and Software Serial port
• Arduino compatible
• DIP prototyping area
• Dimension 92 mm * 56 mm/ inches * inches

NumLabel 1 LED 2 LED 3 RUN/PROG Switch
5 xBee TX & RX

Bee1 Hardware/Software Serial Port Switch

Bee2 Hardware/Software Serial Port Switch
8 Reset
9 Wireless Programming

Description Bee1 Indicator LED Bee2 Indicator LED Programming Switch Hardware Serial Port Enable Pin for Bee1 and Bee2 xBee_TX and xBee_RX pins "A" Hardware Serial Port "S" Software Serial Port "A" Hardware Serial Port "S" Software Serial Port Arduino Reset Short DTR when you need the wireless programming function

Note:

Programmable Switch Set the switch to "PROG" when you upload a program Set the switch to "RUN", when you use the hardware serial port xBee TX & RX The silk-screen shows the xBee RX & TX pins, which connect to the Arduino TX & RX ones. It means if you define D2 as Arduino_RX in the code, you should connect to D2 to xBee_TX on the shield. The same goes for Arduino_TX.

Tutorial

In this Tutorial, we will use two BLE Link modules as wireless modules

Requirements
• Hardware UNO x1 Bees Shield x1 BLE LINK x2 Android or iOS device x1
• Software Arduino IDE V1.6.5 Click to Download Arduino IDE from Install the APK file into your Android phone Compile the source code into your Apple device

Bee1 <==> Hardware Serial Port Bee2 <==> Software Serial Port Connection Diagram

If you need Bee1 working with the hardware serial port, and Bee2 working with the software serial port, you can change the jumpers and switches like so:

Sample Code
/* # This sample code is used to test the Bees shield. # Editor Mickey # Ver # Product Bees shield # SKU DFR0210 # The circuit software RX is digital pin 2 connect to TX of Bee2 device software TX is digital pin 3 connect to RX of Bee2 device
#include <SoftwareSerial.h>

SoftwareSerial mySerial 2, 3 // UNO RX -- Bee TX, UNO TX -- Bee RX
void setup

Serial.begin 115200 mySerial.begin 115200 delay 50 ;
void loop

Serial.println "this is Bee1 hardware!" mySerial.println "this is Bee2 software!" delay 500 ;

Result

Bee2 <==> Hardware Serial Port Bee1 <==> Software Serial Port Connection Diagram

If you need Bee1 working with the software serial port, and Bee2 working with the hardware serial port, you can change the jumpers and switches like so:

Sample Code
/* # This sample code is used to test the Bees shield. # Editor Mickey # Ver # Product Bees shield # SKU DFR0210 # The circuit software RX is digital pin 2 connect to TX of Bee1 device software TX is digital pin 3 connect to RX of Bee1 device
*/ #include <SoftwareSerial.h> SoftwareSerial mySerial 2, 3 // UNO RX -- Bee TX, UNO TX -- Bee RX void setup

Serial.begin 115200 mySerial.begin 115200 delay 50 ;
void loop
More datasheets: 4308H1 | SMT05E-05W3V3 | IPC-610MB-00XFCE | XKC-V1T-U | PTS645SH50SM | PTS645SK43SM | PTS645SL50SM | PTS645SK50SM | AWP2-08-7240-T-R | FIT0423


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DFR0210 Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0210 508670