MOD-ZIGBEE-PIR sensor development board
USER’S MANUAL
All boards produced by Olimex LTD are ROHS compliant
Revision C, February 2015
Designed by OLIMEX Ltd, 2011
MOD-ZIGBEE-PIR
Disclaimer:
© 2015 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other
terms and product names may be trademarks of others.
The information in this document is provided in connection with Olimex products. No license, express or
implied or otherwise, to any intellectual property right is granted by this document or in connection with the
sale of Olimex products.
Neither the whole nor any part of the information contained in or the product described in this document may
be adapted or reproduced in any material from except with the prior written permission of the copyright
holder.
The product described in this document is subject to continuous development and improvements. All
particulars of the product and its use contained in this document are given by OLIMEX in good faith. However
all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness
for purpose are excluded.
This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable
for any loss or damage arising from the use of any information in this document or any error or omission in
such information or any incorrect use of the product.
Thank you for purchasing the MOD-ZIGBEE-PIR board manufactured by
Olimex!
Olimex 2015 ©
Page 2 of 20
MOD-ZIGBEE-PIR
TABLE OF CONTENTS
SECTION 1 OVERVIEW…………………………………………………………………….………………4
SECTION 2 SETTING UP THE DEVELOPMENT BOARD ………………….…...…….………6
SECTION 3 MOD-ZIGBEE-PIR BOARD DESCRIPTION ………………………………………8
SECTION 4 THE PIC18F26K20 MICROCONTROLLER…………….…………….….….…..10
SECTION 5 CONTROL CIRCUITRY……………………………………………………………………12
SECTION 6 HARDWARE…………………………………………………………………………………13
SECTION 7 MEMORY………………………………………………………………………….…………16
SECTION 8 SCHEMATICS………………………………………………………………….……………17
SECTION 9 REVISION HISTORY AND ORDER CODES ……….………………………….…20
Olimex 2015 ©
Page 3 of 20
MOD-ZIGBEE-PIR
SECTION 1
OVERVIEW
Thank you for choosing the MOD-ZIGBEE-PIR development board from
Olimex! This document provides a User’s Guide for the Olimex MOD-ZIGBEE-
PIR sensor module. As an overview, this chapter gives the scope of this
document and lists the board’s features. The document’s organization is
then detailed.
1.1 Scope
The MOD-ZIGBEE-PIR is a motion detector unit equipped with passive infrared (PIR) sensor
which utilizes open source ZigBee stack, and has the option to be configured to use MiWi
stack. This guide focuses on MOD-ZIGBEE-PIR board.
1.2 Features
MRF24J40 + PIC18F26K20 with open source MiWi and Zigbee stack
PIR sensor motion detector, sends wireless alarm to Zigbee nodes when motion is
detected
RF Transceiver – MRF24J40 IEEE 802.15.4™ Standard compliant 2.4 GHz RF
transceiver
UEXT connector
to all boards with UEXT
mini ICSP connector
On-board antenna
On-board temperature sensor – TCN75A
Option for external power supply through EXT_PWR
EXT/BAT switch
Reset circuit
two user buttons
two status LEDs
RST button
2x1,5V AA battery holders
PCB: FR-4, 1.00 mm (0,039"), solder mask, silkscreen component print
Dimensions: 93 mm x 32 mm (3.66’’x 1.2’’)
Olimex 2015 ©
Page 4 of 20
MOD-ZIGBEE-PIR
1.3 Board highlights
Perfect board for sensor networks with its PIR sensor and built-in temperature sensor.
The bundle PIC18F26K20 + mini ICSP + 2 buttons + 2 LEDs (green and red) + reset button
means that the board can be reprogrammed and used as a development board and allows
modifications.
Two supported free stacks – Microchip’s MiWi or ZigBee.
Three ways of powering the board via batteries, via external power supply, via ICSP
programmer.
The board has UEXT connector for easier communication.
FR-4 is the most used glass-reinforced epoxy laminate for PCBs.
1.4 Similar boards
MOD-ZIGBEE-UEXT is a version of MOD-ZIGBEE-PIR without the motion detection sensor. It
is supplied by a single battery and has a female UEXT connector. MOD-ZIGBEE-UEXT is
thinner than MOD-ZIGBEE-PIR because of the different battery types used for battery
powering of the board.
1.5 Organization
Each section in this document covers a separate topic, organized as follow:
-
Section 1 is an overview of the board usage and features
-
Section 2 provides a guide for quickly setting up the board, software features and
introduces its strong points
-
Section 3 contains the general board diagram and layout
-
Section 4 describes the component that is the heart of the board: the PIC18F26K20
microcontroller
-
Section 5 is an explanation of the control circuitry associated with the
microcontroller to reset, power and clock the board
-
Section 6 covers the connector pinout, peripherals and jumper description
-
Section 7 shows the memory map
-
Section 8 provides the schematics
-
Section 9 contains the revision history
Olimex 2015 ©
Page 5 of 20