The EmberNet Node complies with Part 15 of the FCC Rules and with RSS-210 of Industry Canada.
Operation is subject to the following two conditions:
--This device may not cause harmful interference, and
--This device must accept any interference received, including interference that may cause undesired operation.
Warning ( Part 15.21 )
Changes or modifications not expressly approved by the party responsible for compliance could void the userís
authority to operate the equipment.
RF Exposure ( OET Bulletin 65 )
To comply with FCC RF exposure requirements for mobile transmitting devices, this transmitter should only be used or
installed at locations where there is at least 20cm separation distance between the antenna and all persons.
The EmberNet Node is intended for installation in mobile devices, and is not intended for installation in portable devices.
The information in this document is subject to change without notice. The statements, configurations, technical data,
and recommendations in this document are believed to be accurate and reliable, but are presented without express or
implied warranty. Users must take full responsibility for their applications of any products specified in this document.
The information in this document is the property of Ember Corporation.
EmberNet and Ember are a trademarks of Ember Corporation.
All other trademarks are the property of their respective holders.
C o m p a n y C o n f i d e n t i a l
Page 3
Contents
Preface
About This Guide vii
Associated EmberNet Documentation vii
Getting Help vii
Documentation, customer service, and support are available at support.ember.com
or by contacting your account representative at Ember.
viii EmberNet Developer Kit User’s Guide 120-0002-210
C o m p a n y C o n f i d e n t i a l
Page 9
CHAPTER 1EmberNet Developer Kit Overview
Overview
There are three versions of the EmberNet Developer Kit, a Standard, Advanced and
a Premium version. Each Kit contains a number of hardware and software components to assist you in building an Ember Enabled application. This chapter provides
a listing of components and their functions.
Most modern PCs provide the necessary requirements for developing Ember
Enabled applications. Refer to the GCC documentation for specific details on the
compiler’s requirements, but in general, the following should be sufficient:
• Windows 98 and later
• An available USB port for downloading images to the EmberNet Node or application code to the processor.
• Adobe Acrobat reader (available via free download from www.adobe.com
viewing the documentation.
Additionally you may require these optional components
• if you would like to connect and manage your EmberNet Gateway directly from
your PC
•Ethernet connection port on your PC
•cross-over cable
• if you would like to connect and manage your EmberNet Gateway via your
local area network
The components of the EmberNet Developer Kit include both hardware and software components, as well as support services.
Figure 1-1: EmberNet Advanced Developer Kit
NOTE: An Implementer ID number was included in your EmberNet Developer Kit. This ID number MUST be used as described in Chapter 3 in order to
ensure that your application will not interfere with other EmberNet networks.
Hardware Components
The hardware components of the development kit include the following:
• Either 8 or 12 EmberNet Nodes (attached to Breakout Boards)
• Either 8 or 12 EmberNet Breakout Boards (including pre-mounted RabbitCore
boards for debugging, and 9V power supplies)
• One EmberNet Gateway and 9V power supply
• Either 8 or 12 medium profile antennae for the EmberNet Nodes
• One medium profile antenna for the EmberNet Gateway
• One USB Programmer with cable, programming applications, and documentation
• One 6-foot Ethernet patch cable
Software Components
The software in the EmberNet Developer Kit includes the following:
• EmberNet Developer Suite CD, which includes:
•EmberNet Host API
•Source code
•EmberNet Node binary for EmberNet Node hardware
•EmberNet Debug Logging Utility
•Application template
•Sample applications
•GNU/GCC compiler
NOTE:
recommend the IAR Embedded Workbench from IAR Systems. Refer
to www.iar.com
free demo copy.
•EmberNet Documentation
NOTE:
format (pdf). To view the documentation, you need the Adobe Acrobat
reader, available free from www.adobe.com
If you are interested in purchasing a commercial compiler, we
for more information and pricing, or to download a
The EmberNet documentation is provided in Adobe Acrobat
.
Support Services
The EmberNet Developer Kit also provides you with access to Ember’s Technical
Support resources, including training, phone and e-mail support, and the Ember
Support web site. Refer to www.ember.com
An EmberNet Node is a small-footprint module (2.2" x 1.5") that connects to a carrier board (the EmberNet breakout board for development and the customized
board for integration into an OEM product) and the EmberNet Gateway.
Figure 1-2: EmberNet Node, top view
An EmberNet Node is the primary component of an EmberNet network—it implements the protocols that enable EmberNet networks to organize themselves and
route messages across the network on behalf of the applications.
The following block diagram represents the components of an EmberNet Node.
RFDigital
DSSS
Baseband
AES-128
Crypto
Engine
Flash/RAM
EmberNet
Network
Processor
SPI
Interface
RF
Interface
902-928MHz
PA/LNA
Power Supply/Filtering
Figure 1-3: Block diagram of EmberNet Node
DSSS
Transceiver
Unregulated
Power
The main components of an EmberNet Node include:
•An 8-bit micro controller which runs the EmberNet Protocol Stack and any
application code you may wish to develop. In most cases, the EmberNet Node is
embedded into a larger system, where the application code runs on the host processor and communicates with the EmberNet Node via the high-speed serial
interface using the SPI or the EmberNet Host API commands.
An EmberNet Node can also be used in stand-alone fashion (attached to an
EmberNet Breakout Board or another carrier board for power) as a repeater.
You can choose to run application components or whole applications in the
EmberNet Node.
• The direct sequence spread spectrum baseband controls the radio and mediates
communications between the radio and the Node’s processor. Because the
EmberNet Node’s processor is small, some of the work, such as encryption, is
given to the baseband.
• The radio communicates by way of the main RF channel.
Information is transmitted into and out of the EmberNet Node in two ways. The pri-
mary communications channel is a RF channel, which uses a 900MHz frequencyhopping spread-spectrum radio by which the EmberNet Node communicates with
its neighboring nodes. In addition, a high-speed synchronous serial interface (SPI)
is used for the EmberNet node to communicate with its host processor on the
embedded device.
EmberNet Node Connections
The EmberNet Node has the following connections:
• The J1 and J3 connectors are used to attach the node to the EmberNet breakout
board or your customized carrier board. These connections allow the EmberNet
Node to communicate with the host processor on the carrier board. For pinout
information on these connectors, refer to the EmberNet Node Technical Specification.
• The J2 antenna controller SMA connector connects the antenna to the
EmberNet Node. Refer to Chapter 2 for more information about the antennae
and how to connect them to nodes.
• Power is supplied to the node via DC power through the carrier board
The EmberNet breakout boards are the carrier boards on which an EmberNet Node
resides for development only; a custom carrier board will be designed to specifically fit the equipment for which the application is being developed. The following
illustration shows the breakout board with an attached EmberNet Node.
Figure 1-5: EmberNet Breakout Board with attached EmberNet Node
The breakout board consists of several components and connections. The Atmel
8535 processor provides on-board processing capabilities. The SW1 dip switch and
offboard processor connector allows the use of an alternative processor. The RabbitCore board provides an Ethernet connection for debugging. Two serial connections and four other connections provide communications with the devices under
development. For a complete listing of EmberNet Breakout Board components,
refer to Chapter 2.
EmberNet Gateway
The EmberNet Gateway provides a link between an EmberNet network and a TCP/
IP Ethernet network, allowing you to collect data, monitor network status, and perform limited management, configuration, and debugging of your network.
The following block diagram represents the components of an EmberNet Gateway.
Power Input
Ethernet
Serial Port
StrongARM
Linux
Computer
w/ Intrinsyc Linux
EmberNet Node
The EmberNet Gateway is comprised of two main components:
•A StrongARM single board computer (SBC) that runs LINUX and runs an
http server. It includes:
•The Apache web server provides access to data from the network.
•A CGI server so that external applications can query data from the network.
•The EmberNet Protocol Stack server allows the Gateway to use the same
host API running on the EmberNet Node.
•The EmberNet View application provides the ability to use a web browser to
monitor and configure your EmberNet. For more information, refer to the
EmberNet View User’s Guide (document 120-0004-100).
•An EmberNet Node to provide access to the EmberNet network.
The SBC and the EmberNet node communicate using the EmberNet Host API over
the SPI high-speed serial interface, just as an EmberNet Node communicates with a
host processor on a carrier board.
EmberNet Gateway Connections
• Power is supplied to the EmberNet Gateway via a 9V power supply.
• An RJ-45 Ethernet connection provides access to the TCP/IP Ethernet network.
• A (DB-9) serial connection (RS-232) allows you to connect the Gateway to any
serial device for configuration.
Your development kit includes 12 medium profile antennae to be attached to the
EmberNet Nodes and one medium profile antenna to attach to the EmberNet Node
that resides in the EmberNet Gateway. Refer to Chapter 2 for details.
USB Programmer with cable
The USB programmer (including the programmer itself, USB cable, software, and
documentation) is used to:
• download an image from your development system into flash memory on an
EmberNet Node via a programming port on the breakout board.
• download application code to the host processor on the breakout board.
Figure 1-7: Serial Device Programmer with cable
The software files associated with the USB Programmer (for Windows only) are
included on the Setup and Installation CD-ROM included in the USB kit. For more
information on installing and using the USB Programmer, refer to Chapter 4.
A number of EmberNet software tools are used in the development of Ember
Enabled devices.
GCC Compiler
The EmberNet Developer Kit includes the Win32 build of avr-gcc 3.2, the GCC
Compiler for a Windows development environments. The AVR-GCC C compiler is
made available under the GNU general public license. There are a number of web
sites, including www.avrfreaks.com
support via discussion boards for this compiler.
Alternate Compiler
If you are interested in purchasing a commercial compiler, we recommend the IAR
Embedded Workbench from IAR Systems. Refer to www.iar.com
mation and pricing, or to download a free demo copy.
and gcc.gnu.org, that offer documentation and
for more infor-
EmberNet Node Binary for EmberNet Node Hardware
The EmberNet Node binary contains the software image for the EmberNet Node.
This image is provided in the event that you need to reload it onto the EmberNet
Node.
EmberNet Host API and EmberNet SPI Protocol (ESP) Command Set
The EmberNet Host API is a set of commands that allows the EmberNet Node and
the host processor to communicate across the high-speed SPI interface. The API
should be used if you are using the ATMel 8535 processor on the breakout board
for application development. For more information on the API, refer to the EmberNet Application Development Guide (document 120-0003-100).
For development using another processor, you should use the API source code and
the EmberNet SPI Protocol (ESP) command set to port the API to the processor of
your choice.
The EmberNet Debug Logging Utility provides a means for testing and analyzing
EmberNet applications. EmberNet Nodes attached to the breakout board can generate a variety of debugging messages (configurable through EmberNet Host API)
and send them through the Ethernet connection to the EmberNet Debug Logger
Utility, a Java program that collects and formats the raw data.
Sample Applications
A few sample applications are included in the EmberNet Developer Kit so that you
can examine sample source code for an Ember Enabled application. For more information on the sample applications, refer to Chapter 3. You can also check
support.ember.com
for additional sample applications.
Application Template
A template is included for assisting in the development of the application for your
Ember Enabled device. Refer to Chapter 3 for information on using the template.
3. Write the application code using the EmberNet Host API. Refer to the Ember-
Net Application Development Guide.
4. Download the application code to the processor using the USB programmer.
Refer to Chapter 4 for information on installing and using the USB programmer.
5. Install the EmberNet Gateway to monitor the application using EmberNet View.
Refer to the EmberNet View User’s Guide for more details on using this monitoring tool.
6. Use the EmberNet Debug Logging Utility to test and analyze EmberNet appli-
cations. Refer to Chapter 5 for information on installing and using the EmberNet Debug Logging Utility.
This chapter discusses attaching antennae to EmberNet Nodes and Gateways, connecting an EmberNet Breakout Board for development, and installing an EmberNet
Gateway.
The EmberNet Developer Kit includes twelve medium profile antennae for use
with the EmberNet Nodes and one medium profile antenna for the EmberNet Gateway. These antennae can be used during the design and development of your
EmberNet network.
EmberNet Nodes and EmberNet Gateways are not shipped with pre-installed antennae, so you will need to attach them BEFORE powering on the EmberNet Node or
EmberNet Gateway..
CAUTION!
Always connect an antenna to the EmberNet Node or EmberNet Gateway prior
age to the EmberNet Node, EmberNet Gateway or the EmberNet
Breakout Board.
to power up. Failure to do so could cause permanent dam-
This 916 MHz 1/4-wave medium profile antenna is used on the EmberNet Nodes
and EmberNet Gateway. It has a right-angle RP-SMA female connector that is FCC
Part 15-compliant.
Figure 2-1: EmberNet antenna
Features of this antenna include:
• Medium profile (3.46 inches) whip
• High performance
• Omni-directional pattern
• Rugged construction
• Used with plastic (requires proximity grounding) or metal enclosures
The antennae have FCC Part 15-compliant RP-SMA female connectors that mate
with RP-SMA male connectors on an EmberNet Node, which are factory-installed
on the EmberNet Breakout Boards and EmberNet Gateways.
CAUTION!
Always connect the antenna to the EmberNet Node prior
to power up.
Failure to do so could cause permanent damage to the EmberNet
Node, EmberNet Gateway or the EmberNet Breakout Board..
To install an antenna on an EmberNet Node, perform the following steps:
1. If attaching an antenna to an EmberNet Gateway, connect a medium profile
antenna’s RP-SMA connector to the RP-SMA connector of the node in the
EmberNet Gateway.
2. If attaching an antenna to an EmberNet Node on the breakout board, connect a
medium profile antenna’s RP-SMA connector to the EmberNet Node RP-SMA
connector.
3. Adjust the antenna, by hand, turning it so it is vertical.
4. Tighten the antenna’s RP-SMA connector, not to exceed 8 in-lb. of torque. Use
an 8 in-lb. calibrated torque wrench if you are uncertain about the amount of
torque you are applying.
5. Repeat steps until you have connected all antennae to all of the EmberNet