dresden elektronik ingenieurtechnik MEGA23M12 Users Manual

User Manual ConBee
Document Version V1.0 2016-06-15
ConBee - USB Dongle
www.dresden-elektronik.de
Page 2 of 25
Table of contents
1. Overview ......................................................................................................................... 6
2. Applications ................................ ................................................................ ..................... 6
3. Features .......................................................................................................................... 6
3.1. Short facts .............................................................................................................. 6
3.2. How does the USB Dongle work? ........................................................................... 7
4. Quick start ....................................................................................................................... 8
4.1. Content of delivery.................................................................................................. 8
4.2. Requirements ......................................................................................................... 8
4.2.1. Supported Operating Systems .................................................................... 8
4.3. Installing drivers ..................................................................................................... 8
4.3.1. Windows ..................................................................................................... 8
4.3.2. Linux 9
4.3.3. Mac OS X ................................................................................................... 9
4.4. Using the USB Dongle with deCONZ application .................................................... 9
4.4.1. Windows ..................................................................................................... 9
4.4.2. Raspbian Linux ........................................................................................... 9
4.4.3. Ubuntu Linux ............................................................................................. 10
4.4.4. Mac OS X ................................................................................................. 10
5. Installing individual firmware with GCFFlasher .............................................................. 11
5.1. Windows ............................................................................................................... 11
5.2. Raspbian Linux ..................................................................................................... 11
5.3. Ubuntu Linux ........................................................................................................ 12
5.4. Mac OS X ............................................................................................................. 12
5.5. Notes on custom firmware .................................................................................... 12
5.6. Example with BitCatcher ...................................................................................... 12
5.6.1. Software .................................................................................................... 13
5.6.2. Firmware ................................................................................................... 13
5.7. EEPROM layout ................................................................................................... 13
5.8. Fuse setting .......................................................................................................... 13
6. Technical data ............................................................................................................... 13
6.1. Output power and channel settings ...................................................................... 16
ConBee - USB Dongle
www.dresden-elektronik.de
Page 3 of 25
7. Pin assignment .............................................................................................................. 17
8. Hardware modifications for development ....................................................................... 19
8.1. Assemble the program header ............................................................................. 19
8.2. Assemble the trace header ................................................................................... 19
8.3. Assemble the Serial Flash Memory ...................................................................... 20
8.4. Assemble the User button .................................................................................... 20
8.5. Assemble the status LEDs .................................................................................... 21
9. Radio certification .......................................................................................................... 22
9.1. United States (FCC) ............................................................................................. 22
9.2. European Union (ETSI) ........................................................................................ 22
9.3. Approved antenna list ........................................................................................... 23
10. Ordering information ...................................................................................................... 23
11. Revision notes ............................................................................................................... 23
12. References ................................................................................................ .................... 24
ConBee - USB Dongle
www.dresden-elektronik.de
Page 4 of 25
Date
Version
Description
2016-06-15
1.0
Initial version
Document history
ConBee - USB Dongle
www.dresden-elektronik.de
Page 5 of 25
Abbreviation
Description
IEEE 802.15.4
Communication standard, applicable to low-rate Wireless Personal Area Networks (WPAN)
CE
Consumer Electronics
ETSI
European Telecommunications Standards Institute
FCC
Federal Communications Commission
GPIO
Generals Purpose Input Output
JTAG
Joint Test Action Group, digital interface for debugging of embedded devices, also known as IEEE 1149.1 standard interface
MAC
Medium (Media) Access Control
MCU, µC
Microcontroller Unit
OS
Operating System
RF
Radio Frequency
RPi
Raspberry Pi, a famous inexpensive single board computer in credit card size
R&TTE
Radio and Telecommunications Terminal Equipment (Directive of the European Union)
U[S]ART
Universal [Synchronous/]Asynchronous Receiver Transmitter
ZigBee
Low-cost, low-power wireless mesh network standard. The ZigBee Alliance is a group of companies that maintain and publish the ZigBee standard.
ZHA
ZigBee Home Automation profile
ZLL
ZigBee Light Link profile
Abbreviations
ConBee - USB Dongle
www.dresden-elektronik.de
Page 6 of 25
1. Overview
The ConBee is the platform independent USB Dongle that turns your host into a full functional wireless node which can be seamlessly integrated into ZigBee networks. This will enhance the application range of your host with monitoring and controlling ZigBee networks. ZigBee compatible devices are available from a lot of manufacturers.
This USB Dongle contains a powerful radio module with integrated power amplifier and low noise amplifier. Together with the assembled onboard chip antenna which has been optimally tuned ensures a superior RF performance.
The ConBee is shipped with a bootloader application for simple firmware uploads and updates.
The ZigBee firmware is interfaced by a software called deCONZ which runs on Windows, Linux and Mac OS X and is responsible for ZigBee network control and monitoring.
Basically, the USB Dongle is a reference design for the ZigBee radio module deRFmega256­23M12 by dresden elektronik.
2. Applications
Mainly the ConBee is designed to handle ZigBee Light Link (ZLL) and ZigBee Home Automation (ZHA) applications in connection with the ZigBee firmware and software deCONZ. A more detailed description of the ZLL standard, the features, benefits and available certified products can be found on the official alliance website [1].
It is also possible to use a custom firmware for wireless applications. Follow the instructions in Section 5 and Section 10 for detailed instructions on software installation and customer modifications.
Note: Please note that depending on the modifications the radio certification and
compliance may become invalid. Please get in contact with us to advise you for a custom FCC certified and/or compliant design.
3. Features
The ConBee contains the features listed below. Figure 1 illustrates the feature parts in a detailed view.
3.1. Short facts
Slim size: 70.7 x 23.0 x 8.3 mm Supply voltage: USB powered 5.0V / DC Onboard 2.4 GHz ZigBee radio module „deRFmega256-23M12‟ Application interfaces: USB
ConBee - USB Dongle
www.dresden-elektronik.de
Page 7 of 25
Radio module
Chip antenna
USB connector
Flash (n.a.)
LEDs (n.a.)
FTDI
UART (n.a.)
JTAG (n.a.)
Button (n.a.)
n.a.: not assembled
Figure 1: ConBee in detail
3.2. How does the USB Dongle work?
The functional parts of the ConBee are shown in a schematic overview in Figure 2. The USB Dongle will be supplied by the USB 5.0 V domain. Therefore the USB power supply
must be sufficient to support the additional load. An onboard low-drop-out voltage regulator generates a stable 3.3 V voltage to supply the radio module on the USB Dongle.
The onboard placed radio module deRFmega256-23M12 by dresden elektronik contains an 8-bit AVR microcontroller with an integrated low-power 2.4 GHz transceiver for ZigBee and IEEE 802.15.4 applications. The ConBee has no pre-installed firmware. You can install the firmware that fits your needs. Each USB Dongle contains a world-wide unique identifier, named MAC-ID. It consists of an 8 byte address, including the vendor ID and product ID. The MAC-ID is stored in the MCU internal EEPROM.
ConBee - USB Dongle
www.dresden-elektronik.de
Page 8 of 25
USB
UART
FTDI
Chip Ant.
LDO
VUSB
4.5V to 5.5V
RFOUT2
VOUT
3.3V
The RF output signal of the 2.4 GHz radio module is routed to the assembled onboard chip antenna.
deRFmega256-23M12
Figure 2: Block Diagram
4. Quick start
This section describes in short steps a fast start-up of the ConBee to control and monitor a ZigBee network.
4.1. Content of delivery
One shipped USB Dongle package contains the following:
1x ConBee - USB Dongle 1x Instruction leaflet
4.2. Requirements
The ConBee needs a dedicated USB port with up to 500mA current supply and works on desktop PCs, laptops and the Single Board Computer Raspberry Pi 1, 2 and 3.
4.2.1. Supported Operating Systems
Microsoft Windows 7, 8, 8.1 and 10 Canonical Ubuntu Linux 16.04 Raspberry Pi Raspian Wheezy and Jessie Apple Mac OS X 10.11
4.3. Installing drivers
On most platforms the necessary USB COM port drivers by FTDI will be installed automatically when you plug in the USB Dongle. You can also download and install the FTDI drivers manually from http://www.ftdichip.com/FTDrivers.htm
4.3.1. Windows
Plug in the USB Dongle into a free USB port. On Windows the drivers will be installed automatically if you have activated automatic driver installation. A window will pop up where you can select automatic driver installation.
Loading...
+ 17 hidden pages