JN RM 2030 DR1048 Sensor Board 1v2
-
Upload
babarali004 -
Category
Documents
-
view
81 -
download
3
Transcript of JN RM 2030 DR1048 Sensor Board 1v2
DR1048 Sensor Board
Reference Manual
JN-RM-2030
Revision 1.2
30-Sep-2008
Jennic DR1048 Sensor Board
Reference Manual
2 © Jennic 2008 JN-RM-2030 v1.2
DR1048 Sensor Board Reference Manual
Jennic
Contents About this Manual 4
Organisation 4 Conventions 4 Acronyms and Abbreviations 4 Related Documents 4 Feedback Address 5
1 Introduction 7 1.1 Overview 7 1.2 Features 7
2 Hardware Overview 9 2.1 Board Layout 9 2.2 Jennic Module Connector 9 2.3 Power Supply 10 2.4 UART Connectors 10 2.5 Sensors 10
2.5.1 Light Sensor 11 2.5.2 Temperature and Humidity Sensor 11
2.6 EEPROM 11 2.7 Switches and LEDs 11 2.8 Fuse 12
3 Connectors and Jumpers 13 3.1 UART Connectors 13
3.1.1 Pinout 13 3.1.2 Use with the USB-to-Serial Cable 14
3.2 Power Supply Select Connector (J2) 14 3.3 Expansion Connector (J4) 14 3.4 Flash Write Protect (J5) 16 3.5 Flash Memory Access (J7) 17 3.6 Power Connector (J8) 17
4 Programming 19
5 Board Details 21 5.1 Schematic Diagram 21 5.2 Component List 22
JN-RM-2030 v1.2 © Jennic 2008 3
Jennic DR1048 Sensor Board
Reference Manual
4 © Jennic 2008 JN-RM-2030 v1.2
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.
Acronyms and Abbreviations ADC Analogue to Digital Converter
LED Light Emitting Diode
MISO Master-In Slave-Out
PSU Power Supply Unit
ROM Read Only Memory
SPI Serial Peripheral Interface
Related Documents [1] Jennic Flash Programmer Application User Guide (JN-UG-3007)
[2] Jennic Sensor Board Schematic (JN-SH-5006)
DR1048 Sensor Board Reference Manual
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
JN-RM-2030 v1.2 © Jennic 2008 5
Jennic DR1048 Sensor Board
Reference Manual
6 © Jennic 2008 JN-RM-2030 v1.2
DR1048 Sensor Board Reference Manual
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 well-understood 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 7
Jennic DR1048 Sensor Board
Reference Manual
8 © Jennic 2008 JN-RM-2030 v1.2
DR1048 Sensor Board Reference Manual
Jennic
2 Hardware Overview
2.1 Board Layout
SW1 SW2
60
73
79
67
JennicModule
Connector
D1 D2
D9
SW
6 F1
ON-OFF
J8
1U
AR
T01
UA
RT1
+
+PR
OG
RA
MR
ES
ET
DR1048
Figure 1: Sensor Board Layout
2.2 Jennic Module Connector The module connector provides an easy way of mounting different types of module containing Jennic wireless microcontrollers.
! 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 9
Jennic DR1048 Sensor Board
Reference Manual
10 © Jennic 2008 JN-RM-2030 v1.2
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.5–6V 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.
2.4 UART Connectors UART connectors are provided for communication with the Jennic wireless microcontroller and to enable programming of the on-module Flash memory. These pins connect directly to the UART0 and UART 1 pins on the microcontroller device, and are 3V tolerant.
! 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.
DR1048 Sensor Board Reference Manual
Jennic
2.5.1 Light Sensor The board contains a TAOS TSL2550 light sensor. This is a digital-output light sensor with a two-wire, SMBus serial interface. It combines two photodiodes and a companding analog-to-digital converter (ADC) on a single CMOS integrated circuit to provide light measurements over an effective 12-bit dynamic range, with a response similar to that of the human eye.
2.5.2 Temperature and Humidity Sensor The board is supplied with an on-board Sensirion SHT11 single-chip multi-sensor module for the measurement of temperature and relative humidity. The device includes two calibrated micro-sensors for temperature and relative humidity, which are coupled to a 14-bit analogue-to-digital converter and a serial interface circuit.
Conversion may be programmed with 8-, 12- or 14-bit accuracy, depending on application resolution or speed requirements.
Humidity is measurable over 0-100% relative humidity, and temperature over the range –40°C to 85°C.
2.6 EEPROM The 24AA01 is a low-voltage 128-byte x 8-bit 2-wire serial EEPROM.
2.7 Switches and LEDs The user can interact with an application via:
• Two push-button switches, SW1 and SW2
• Two indicator LEDs, D1 and D2
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.
Tw o
• reset (RESETN) - pressing this switch resets the
D9 is the power status LED, indicating when power is switched on.
o ther switches are present on the board:
Switch SW5 is the systemboard and the module.
• Switch SW7 is the programming mode button.
JN-RM-2030 v1.2 © Jennic 2008 11
Jennic DR1048 Sensor Board
Reference Manual
12 © Jennic 2008 JN-RM-2030 v1.2
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
DR1048 Sensor Board Reference Manual
Jennic
3 Connectors and Jumpers The Sensor board has a number of jumpers and connectors that implement a range of functions and control configuration options.
3.1 UART Connectors
3.1.1 Pinout
J9
1
6
1
6
J11
UA
RT0
UA
RT1
Figure 2: UART Connectors
Pin Signal
1 Ground
2 Request to Send Output
3 5V Supply Input from USB-to-Serial Cable
4 Receive Data Input
5 Transmit Data Output
6 Clear to Send Input
Table 1: UART Connector Pinout
JN-RM-2030 v1.2 © Jennic 2008 13
Jennic DR1048 Sensor Board
Reference Manual
14 © Jennic 2008 JN-RM-2030 v1.2
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:
1
6UA
RTn
Figure 3: Correct Polarity of USB-to-Serial Cable
! Caution: Failure to connect the USB-to-serial cable in the manner shown may cause damage to components on the PCB.
3.2 Power Supply Select Connector (J2) Jumper J2 is used to select the power source, as follows:
• Select position 1-2 to use the batteries
• Select position 2-3 to use an external PSU
3.3 Expansion Connector (J4)
1
J4 402
39
Figure 4: Expansion Connector
Pin Signal Primary Function Secondary Function
Board Function
1 DIO 0 SPI Slave Select 1 (output) Digital I/O
2 DIO 1 SPI Slave Select 2 (output) Digital I/O
3 DIO 2 SPI Slave Select 3 (output) Digital I/O
4 DIO 3 SPI Slave Select 4 (output) Digital I/O
DR1048 Sensor Board Reference Manual
Jennic
5 DIO 4 UART0 Clear To Send (input) Digital I/O
6 DIO 5 UART0 Request To Send (input) Digital I/O
7 DIO 6 UART0 Transmit Data (output) Digital I/O
8 DIO 7 UART0 Receive Data (input) Digital I/O
9 DIO 8 Timer0 clock/gate (input) Digital I/O
10 DIO 9 Timer0 capture (input) Digital I/O Switch 1
11 DIO 10 Timer0 PWM (output) Digital I/O Switch 2
12 DIO 11 Timer1 clock/gate (input) Digital I/O
13 DIO 12 Timer1 capture (input) Digital I/O Temp/Humidity Sensor Data
14 DIO 13 Timer1 PWM (output) Digital I/O Temp/Humidity Sensor Clock
15 DIO 14 SIF_CLK/IP_CLK Digital I/O SMBus Clock
16 DIO 15 SIF_DATA/IP_DO Digital I/O SMBus Data
17 DIO 16 IP_DI Digital I/O LED1
18 DIO 17 UART1 Clear To Send (input)/IP_SEL Digital I/O LED2
19 DIO 18 UART1 Request To Send (input)/IP_INT Digital I/O
20 DIO 19 UART1 Transmit Data (output) Digital I/O
21 DIO 20 UART1 Receive Data (input) Digital I/O
22 SCLK SPI Master Clock Out / Slave Clock In
23 MISO SPI Master In / Slave Out
24 MOSI SPI Master Out / Slave In
25 SSZ SPI Select Out from Jennic IC
26 SSM SPI Select In to FLASH device
27 RESETN Active Low Reset Note 1 (see below table)
28 C1P [+]
29 C1M [-]
Comparator inputs
30 C2P [+]
31 C2M [-]
Comparator inputs
Note 2 (see below table)
32 DAC1 Digital to Analogue output
33 DAC2 Digital to Analogue output
JN-RM-2030 v1.2 © Jennic 2008 15
Jennic DR1048 Sensor Board
Reference Manual
16 © Jennic 2008 JN-RM-2030 v1.2
34 ADC1 Analogue to Digital input
35 ADC2 Analogue to Digital input
36 ADC3 Analogue to Digital input
37 ADC4 Analogue to Digital input
38 GND Ground
39 VCC Vcc Note 3 (see below table)
40 GND Ground
Table 2: Expansion Connector Pinout
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.
3.4 Flash Write Protect (J5) Jumper J5 controls the write protection for the Flash memory on the Jennic module. In position 2-3, the memory is write-protected and any programming attempt will be unsuccessful. Conversely, if the Flash is to be programmed then the jumper should
23) is fitted across positions 1-2 to keep the Flash device in write-enabled mode.
Note: The write protect pin is not normally active. It can be
be moved to position 1-2, removing the hardware write protection.
By default, this jumper is not fitted. Instead, a zero-ohm link (R
enabled within the Flash device via software.
DR1048 Sensor Board Reference Manual
Jennic
3.5 Flash Memory Access (J7) Jumper J7 forms a link connecting the chip-select signal from the Jennic wireless microcontroller (SSZ) to the chip-select input on the SPI Flash device (SSM) contained within the Jennic module.
By default, the board is supplied without this jumper fitted. Instead, a zero-ohm link (R16) is fitted in its place. It should not be necessary to remove this link.
3.6 Power Connector (J8) Jumper J8 allows the board to be powered from an external power supply via a standard 2.1-mm barrel socket. It does not matter which polarity is on the centre pin.
JN-RM-2030 v1.2 © Jennic 2008 17
Jennic DR1048 Sensor Board
Reference Manual
18 © Jennic 2008 JN-RM-2030 v1.2
DR1048 Sensor Board Reference Manual
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 DR1048 Sensor Board
Reference Manual
20 © Jennic 2008 JN-RM-2030 v1.2
DR1048 Sensor Board Reference Manual
Jennic
5 Board Details
5.1 Schematic Diagram
JN-RM-2030 v1.2 © Jennic 2008 21
Jennic DR1048 Sensor Board
Reference Manual
22 © Jennic 2008 JN-RM-2030 v1.2
Note: For a high-resolution copy of the sensor board schem atic, refer to the Jennic Sensor Board Schematic (JN-SH-5006).
5.2 Component List Item Quantity Component Reference Description
1 4 B1,B2,B3,B4 Connector - battery clip, AAA
2 2 C1,C2 Capacitor 220µF, 6.3V, Tantalum
3 1 C3 Capacitor 10nF, 0603 X7R
4 5 C4, C10-13 Capacitor 100nF, 16V, 0603 X7R
5 1 C5 Capacitor 100µF, 10V, Tantalum
6 3 D1,D2,D9 LED, 3-mm, green, low-current
7 1 D5 SMD Bridge Rectifier MB2S
8 1 D10 Diode BAS21, high-voltage
9 1 F1 SMD Fuse & Omni Block, 500mA
10 2 J1,J13 Header SMT, 2 rows, 20-way
11 1 J2 Connector header, 3-way, 2.54-mm pitch
12 2 J4 Header, 1-row, 20-way
13 1 J8 Connector, DC power, 2.1-mm socket
14 2 J9,J11 Header, 1 row, 6-way
15 2 R1,R2 Resistor 680R 0603, 1%
16 2 R5,R6 Resistor 2K2 0603, 1%
17 2 R23,R16 Resistor 0R 0603, 1%
18 3 R14,R15,R20 Resistor 10K 0603, 1%
19 6 R10,R11,R12,R21,R2,R25 Resistor 0R 1206, 1%
20 1 R9 Resistor 680R 1206, 1%
21 4 SW1,SW2,SW5,SW7 Switch, push-button, tactile
22 1 SW6 Switch, SMD SPST, horizontal
23 1 U2 Low Drop Out Regulator LP2985IM5-3.0
24 1 U4 Light Sensor IC TSL2550D
DR1048 Sensor Board Reference Manual
Jennic
25 1 U5 Temperature & Humidity Sensor SHT11
26 1 U6 24AA01 128-byte x 8-bit EEPROM
27 1 J2 Jumper, 10-mm
28 1 PCB PCB for Sensor board (DR1048)
29 9 R17,R18, to be fitted J7,J5,R24,J10,J12,D6,D7 Parts not
Table 3: List of Components
JN-RM-2030 v1.2 © Jennic 2008 23
Jennic DR1048 Sensor Board
Reference Manual
24 © Jennic 2008 JN-RM-2030 v1.2
DR1048 Sensor Board Reference Manual
Jennic
Revision History
Version Date Description
1.0 23-Jan-2007 First release
1.1 06-Dec-2007 Corrected expansion connector pinout
1.2 30-Sep-2008 Reference corrected for Low Drop Out Regulator in Component List
JN-RM-2030 v1.2 © Jennic 2008 25
Jennic DR1048 Sensor Board
Reference Manual
26 © Jennic 2008 JN-RM-2030 v1.2
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 Jennic’s 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 customer’s 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 [email protected]
Japan Sales Office Osakaya building 4F 1-11-8 Higashigotanda Shinagawa-ku, Tokyo 141-0022, Japan
Taiwan Sales Office 19F-1, 182, Sec.2 Tun Hwa S. Road Taipei 106 Taiwan
Tel +81 3 5449 7501 Fax +81 3 5449 0741 E-mail [email protected]
Tel +886 2 2735 7357 Fax +886 2 2739 5687 E-mail [email protected]
United States Sales Office 1060 First Avenue, Suite 400 King of Prussia PA 19406 USA
Korean Sales Office 601, Bethel B/D, #324-1 Yangjae-dong Seocho-gu Seoul 137-897 Korea
Tel +1 619 223 2215 Fax +1 619 223 2081 E-mail [email protected]
Tel +82 2 552 5325 Fax +82 2 577 9130 E-mail [email protected]