Documente Academic
Documente Profesional
Documente Cultură
Jennic
Jennic 2008
JN-RM-2030 v1.2
Jennic
4
4 4 4 4 5
Contents
About this Manual
Organisation Conventions Acronyms and Abbreviations Related Documents Feedback Address
1 Introduction
1.1 Overview 1.2 Features
7
7 7
2 Hardware Overview
2.1 Board Layout 2.2 Jennic Module Connector 2.3 Power Supply 2.4 UART Connectors 2.5 Sensors 2.5.1 Light Sensor 2.5.2 Temperature and Humidity Sensor 2.6 EEPROM 2.7 Switches and LEDs 2.8 Fuse
9
9 9 10 10 10 11 11 11 11 12
13
13 13 14 14 14 16 17 17
19 21
21 22
JN-RM-2030 v1.2
Jennic 2008
Jennic
About this Manual
This manual provides a detailed reference for the Sensor board, type DR1048, supplied with Jennic evaluation kits. The sensor board provides a platform for the mounting of modules which contain Jennic wireless microcontroller products. This, coupled with an array of switches, indicators and a set of sensors, provides a hardware development environment for wireless microcontroller applications.
Organisation
This manual consists of 5 chapters, as follows: Chapter 1 outlines the features and functions of the controller board. Chapter 2 provides detailed feature information. Chapter 3 describes the various connectors and jumper settings. Chapter 4 gives the board programming procedure. Chapter 5 provides the board schematic and component list.
Conventions
Files, folders, functions and parameter types are represented in bold type. Function parameters are represented in italics type. Code fragments are represented in the Courier typeface.
Related Documents
[1] [2] Jennic Flash Programmer Application User Guide (JN-UG-3007) Jennic Sensor Board Schematic (JN-SH-5006)
Jennic 2008
JN-RM-2030 v1.2
Jennic
Feedback Address
If you wish to comment on this manual, or any other Jennic user documentation, please provide your feedback by writing to us (quoting the manual reference number and version) at the following postal address or e-mail address: Applications Jennic Ltd Furnival Street Sheffield S1 4QT United Kingdom doc@jennic.com
JN-RM-2030 v1.2
Jennic 2008
Jennic
Jennic 2008
JN-RM-2030 v1.2
Jennic
1 Introduction
1.1 Overview
The Sensor board is supplied with Jennic evaluation kits, which provide a complete hardware environment for designers to develop IEEE 802.15.4 and ZigBee applications, and to accelerate time-to-market. The hardware provides a stable platform which allows designers to rapidly develop and test applications based around Jennic wireless microcontroller products. The wireless microcontroller is mounted on a module, which provides a reference design with a small footprint and low component count. All RF layout and decoupling issues are handled by the design of this module, allowing it to be easily incorporated into systems, simply by mounting the module on a motherboard. The motherboard design only needs to provide a standard footprint, which conforms to normal wellunderstood low-speed digital design guidelines. The footprint allows access to all of the analogue and digital IO provided by the microcontroller, and requires only power and reset signals to be fed to the module.
1.2 Features
The Sensor board provides the following features to allow rapid development of IEEE 802.15.4 and ZigBee applications: 4 LED indicators 4 push-button switches Temperature sensor Humidity sensor Light sensor Serial EEPROM UART interface for communication and program downloads Expansion port for additional sensors
JN-RM-2030 v1.2
Jennic 2008
Jennic
Jennic 2008
JN-RM-2030 v1.2
Jennic
2 Hardware Overview
2.1 Board Layout
73 SW6
ON-OFF
F1
D9
J8 UART0
+
60
RESET PROGRAM
67
1 UART1 1
+
DR1048
SW1
SW2
D1
D2
79
Caution: When replacing modules, ensure that power is removed from the board and that the replacement module is connected correctly before reapplying power. Failure to do so may result in permanent damage to both the module and the sensor PCB.
JN-RM-2030 v1.2
Jennic 2008
Jennic
2.3 Power Supply
The board may be powered from either two AAA batteries or an external PSU. Connection is via a 2.1-mm jack socket (J8) and the input is protected against reverse polarity. The External PSU voltage supply range is 5-7V DC or 4.56V AC. The power supply source is selected using jumper J2: To use the battery supply, J2 pins 1-2 must be closed To use an external PSU, J2 pins 2-3 must be closed The board is powered on using switch SW6, regardless of the power supply source.
Caution: An RS232 to 3V level shifter should be used when interfacing the UART signals with equipment operating on RS232 voltage levels. Failure to do so may irrevocably damage the Jennic wireless microcontroller IC within the module.
2.5 Sensors
Three sensors are provided for the measurement of environmental parameters: Light level Temperature Humidity A set of library functions provides access to the necessary control and status of each sensor. The sensors interface to the module using DIO14/DIO15 (light) and DIO12/DIO13 (temperature and humidity). Consequently, these DIO lines will not be available for their primary or secondary function when the corresponding sensors are used by an application. The sensors are connected to the Jennic module via zero-ohm links to allow them to be disconnected from the I/O lines of the module without cutting tracks on the PCB. Refer to the schematic diagram in Section 5.1 for further details.
10
Jennic 2008
JN-RM-2030 v1.2
Jennic
2.6 EEPROM
The 24AA01 is a low-voltage 128-byte x 8-bit 2-wire serial EEPROM.
Note: For correct switch/LED operation, the application must configure DIO9 and DIO10 as inputs, and DIO16 and DIO17 as outputs. Any associated expansion connector signals must be used with care if the DIO signals are also used for switch/indicator functions. Two other switches are present on the board: Switch SW5 is the system reset (RESETN) - pressing this switch resets the board and the module. Switch SW7 is the programming mode button. D9 is the power status LED, indicating when power is switched on.
JN-RM-2030 v1.2
Jennic 2008
11
Jennic
2.8 Fuse
The surface mounted nano-fuse, F1, is used to protect against incorrect battery insertion, with the fuse holder permitting quick and easy replacement of the fuse. Replacement fuses can be ordered from Farnell, with Order Code 9922156: http://uk.farnell.com/jsp/endecaSearch/partDetail.jsp?SKU=9922156 The manufacturer details are as follows: FUSE, SMD 500MA Manufacturer: LITTELFUSE Manufacturer Part Number: 0451.500MRL FUSE & OMNI BLOCK, SMD 500MA Manufacturer: LITTELFUSE Manufacturer Part Number: 0154.500DR
12
Jennic 2008
JN-RM-2030 v1.2
Jennic
J11
6
UART0
1
UART1
1
Pin 1 2 3 4 5 6
Signal Ground Request to Send Output 5V Supply Input from USB-to-Serial Cable Receive Data Input Transmit Data Output Clear to Send Input
JN-RM-2030 v1.2
Jennic 2008
13
Jennic
3.1.2 Use with the USB-to-Serial Cable
When connecting the Jennic-supplied USB-to-serial cable to the UART connectors, the following polarity should be observed:
UARTn
1
Caution: Failure to connect the USB-to-serial cable in the manner shown may cause damage to components on the PCB.
J4
40
39
Pin
Signal
Primary Function
Secondary Function Digital I/O Digital I/O Digital I/O Digital I/O
Board Function
1 2 3 4
SPI Slave Select 1 (output) SPI Slave Select 2 (output) SPI Slave Select 3 (output) SPI Slave Select 4 (output)
14
Jennic 2008
JN-RM-2030 v1.2
Jennic
Switch 1 Switch 2
Temp/Humidity Sensor Data Temp/Humidity Sensor Clock SMBus Clock SMBus Data LED1 LED2
14
DIO 13
Digital I/O
15 16 17 18 19 20 21 22 23 24 25 26 27
DIO 14 DIO 15 DIO 16 DIO 17 DIO 18 DIO 19 DIO 20 SCLK MISO MOSI SSZ SSM RESETN
SIF_CLK/IP_CLK SIF_DATA/IP_DO IP_DI UART1 Clear To Send (input)/IP_SEL UART1 Request To Send (input)/IP_INT UART1 Transmit Data (output) UART1 Receive Data (input) SPI Master Clock Out / Slave Clock In SPI Master In / Slave Out SPI Master Out / Slave In SPI Select Out from Jennic IC SPI Select In to FLASH device Active Low Reset
Digital I/O Digital I/O Digital I/O Digital I/O Digital I/O Digital I/O Digital I/O
28 29 30 31 32 33
C1P [+] C1M [-] C2P [+] C2M [-] DAC1 DAC2
Comparator inputs
Comparator inputs
JN-RM-2030 v1.2
Jennic 2008
15
Jennic
34 35 36 37 38 39 ADC1 ADC2 ADC3 ADC4 GND VCC Analogue to Digital input Analogue to Digital input Analogue to Digital input Analogue to Digital input Ground Vcc Ground
40
GND
Note 1: If used as an output then this line will go low when the reset switch is pressed. The line may also be used to reset external devices simultaneously with the Sensor board. Alternatively as an input, it can be shorted to ground to allow external devices to force a system reset. Note 2: When using modules based on the JN5121 device, the comparator is available on connections C2P and C2M. Note 3: The maximum output current from the regulator is 150mA. You must ensure that the total board current does not exceed this value.
Note: The write protect pin is not normally active. It can be enabled within the Flash device via software.
16
Jennic 2008
JN-RM-2030 v1.2
Jennic
JN-RM-2030 v1.2
Jennic 2008
17
Jennic
18
Jennic 2008
JN-RM-2030 v1.2
Jennic
4 Programming
To put the device into programming mode, follow the procedure below with power applied to the board: 1. Hold down the reset button (SW5). 2. Hold down the programming button (SW7). 3. Release the reset button. 4. Release the programming button. The device should now be in programming mode and awaiting commands from the Flash programming utility. Once the device has been programmed, to exit programming mode, press and release the reset button.
Note: For details of how to use the Flash programming utility, refer to the Jennic Flash Programmer Application User Guide (JN-UG-3007).
JN-RM-2030 v1.2
Jennic 2008
19
Jennic
20
Jennic 2008
JN-RM-2030 v1.2
Jennic
5 Board Details
5.1 Schematic Diagram
JN-RM-2030 v1.2
Jennic 2008
21
Jennic
Note: For a high-resolution copy of the sensor board schematic, refer to the Jennic Sensor Board Schematic (JN-SH-5006).
22
Jennic 2008
JN-RM-2030 v1.2
Jennic
Temperature & Humidity Sensor SHT11 24AA01 128-byte x 8-bit EEPROM Jumper, 10-mm PCB for Sensor board (DR1048) Parts not to be fitted
JN-RM-2030 v1.2
Jennic 2008
23
Jennic
24
Jennic 2008
JN-RM-2030 v1.2
Jennic
Description First release Corrected expansion connector pinout Reference corrected for Low Drop Out Regulator in Component List
Revision History
Version 1.0 1.1 1.2 Date 23-Jan-2007 06-Dec-2007 30-Sep-2008
JN-RM-2030 v1.2
Jennic 2008
25
Jennic
Important Notice
Jennic reserves the right to make corrections, modifications, enhancements, improvements and other changes to its products and services at any time, and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders, and should verify that such information is current and complete. All products are sold subject to Jennics terms and conditions of sale, supplied at the time of order acknowledgment. Information relating to device applications, and the like, is intended as suggestion only and may be superseded by updates. It is the customers responsibility to ensure that their application meets their own specifications. Jennic makes no representation and gives no warranty relating to advice, support or customer product design. Jennic assumes no responsibility or liability for the use of any of its products, conveys no license or title under any patent, copyright or mask work rights to these products, and makes no representations or warranties that these products are free from patent, copyright or mask work infringement, unless otherwise specified. Jennic products are not intended for use in life support systems/appliances or any systems where product malfunction can reasonably be expected to result in personal injury, death, severe property damage or environmental damage. Jennic customers using or selling Jennic products for use in such applications do so at their own risk and agree to fully indemnify Jennic for any damages resulting from such use. All trademarks are the property of their respective owners.
Corporate Headquarters Furnival Street Sheffield S1 4QT United Kingdom Tel +44 (0)114 281 2655 Fax +44 (0)114 281 2951 E-mail info@jennic.com United States Sales Office 1060 First Avenue, Suite 400 King of Prussia PA 19406 USA Tel +1 619 223 2215 Fax +1 619 223 2081 E-mail info@us.jennic.com
Japan Sales Office Osakaya building 4F 1-11-8 Higashigotanda Shinagawa-ku, Tokyo 141-0022, Japan Tel +81 3 5449 7501 Fax +81 3 5449 0741 E-mail info@jp.jennic.com Korean Sales Office 601, Bethel B/D, #324-1 Yangjae-dong Seocho-gu Seoul 137-897 Korea Tel +82 2 552 5325 Fax +82 2 577 9130 E-mail info@kr.jennic.com
Taiwan Sales Office 19F-1, 182, Sec.2 Tun Hwa S. Road Taipei 106 Taiwan Tel +886 2 2735 7357 Fax +886 2 2739 5687 E-mail info@tw.jennic.com
26
Jennic 2008
JN-RM-2030 v1.2