Home
MOD-ZIGBEE-PIR sensor development board USER`S MANUAL
Contents
1. Olimex 2012 Page 18 of 20 8 2 Physical dimensions Here you can find the physical dimensions of the board in millimeters 8 2 1 Top view 0 00 mm 8 63 mm 8 2 2 Bottom view 0 00 mm 1 00 mm 0 00 mm 27 75 mm S vn 78 80 mm MOD ZIGBEE PIR WEB REV A Designed by OLIMEX LTD 2011 L 93 00 MOD ZIGBEE PIR 32 00 mm 0 00 mm 32 00 mm ITAS STAG 0 00 mm 1 20 mm E 93 00 mm Olimex 2012 Page 19 of 20 MOD ZIGBEE PIR SECTION 9 REVISION HISTORY 9 1 Document revision and order codes Modified Revision Changes Pages A Initial Creation All B Fixed several mistakes and added newer schematic All ORDER CODES MOD ZIGBEE PIR assembled programmed tested calibrated development boards PIC ICD2 POCKET PIC ICSP for custom programming debugging if you do not wish to use PINGUINO IDE PIC KIT3 PIC ICSP for custom programming debugging if you do not wish to use PINGUINO IDE How to order You can order from our online shop directly or from any of our distributors The full list of distributors might be found here https www olimex com Distributors Check our webpage https www olimex com for more info Olimex 2012 Page 20 of 20
2. MOD ZIGBEE PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant lead free Revision B Januray 2013 Designed by OLIMEX Ltd 2011 MOD ZIGBEE PIR Disclaimer 2012 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 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
3. CONTROL CIRCUITRY 5 1 Power supply MOD ZIGBEE PIR can be powered from 4 sources 2 x 1 5V AA batteries placed in the BAT1 and BAT2 slots Providing 3 to 3 6V to EXT PWR pin holes near UEXT connector Providing 3 3V via the mini ICSP Providing 3 3V via the UEXT When powered and functional the current consumption is 30 mA 5 2 Reset MOD ZIGBEE PIR reset circuit includes D1 0 2W SMD R1 10 R2 3300 C21 100nF PIC18F26K20 pin 1 MCLR and a RESET button 5 3 Clock Quartz crystal Q1 20 000 MHz is connected to PIC18F26K20 pin 33 OSC2 and pin 34 OSC1 Olimex 2012 Page 12 of 20 MOD ZIGBEE PIR SECTION 6 HARDWARE 6 1 minilCSP The minilCSP connector provides option to reprogram the board Signal Name mt RESET N 3456 GND connected 6 2 UEXT MOD ZIGBEE PIR board has UEXT connector and can interface Olimex s UEXT modules Note that the UEXT connector on MOD ZIGBEE PIR is a female one The Tx and Rx by default are in DEVICE mode To switch to HOST mode set the jumpers to position 1 3 D For more information on UEXT please visit http www olimex com dev OTHER UEXT pdf For the UEXT Pin signal table check the next page Olimex 2012 Page 13 of 20 MOD ZIGBEE PIR Signal Name Not connected Not connected Not connected Not connected 6 3 Jumper description JP1 amp JP2 1 2 3 These jumpers when both in position 2 3 enable DEVICE UEXT Th
4. en handling the board Avoid touching the component pins or any other metallic element 2 2 Requirements In order to set up the MOD ZIGBEE PIR evaluation board the following items are required The MOD ZIG BEE development board itself 2 x 1 5V batteries AA type OR 3 3 V external supply OR ICSP programmer Note The board is not delivered with an ICSP debugger programmer which is needed if you want to use software different than the one the board is preprogrammed with The board comes preprogrammed as a RFD end device you will need a coordinator device to accomplish communication Remember that the connector on the board is mini ICSP 6 pin step 0 5 You may use one of the following device combinations for this purpose Olimex s PIC ICD2 POCKET Olimex s PIC ICSP Olimex s PIC KIT3 Olimex s PIC ICSP Or any compatible device you already have For the wireless communication you can download the stack software for free from the MiWi web page or ZigBee s web page Also a host based software toolchain might be required in order to program debug the MOD ZIGBEE PIR board Olimex 2012 Page 6 of 20 MOD ZIGBEE PIR 2 3 Powering up the board On applying power via one of the three options available 2 x 1 5V AA batteries 3 3V from mini ICSP or 3 3V external supply the red LED LED1 should light 2 4 Prebuilt software The board comes preprogrammed as a ZigBee communication device This means if you want to accomplish Z
5. ese jumpers when both in position 1 2 enable HOST UEXT Default state is 2 3 UEXT SUPPLY KILS When closed the board is powered by the UEXT Default state is open Olimex 2012 Page 14 of 20 MOD ZIGBEE PIR 6 4 Test pads There are two test pads RA1 and RA2 near the PIC MCU They are connected to pins 9 and 10 of the MCU resepctively 6 5 LEDs amp Buttons The board has 2 LEDS LED1 is RED LED2 is GREEN The board has 2 user buttons B1 and B2 Olimex 2012 Page 15 of 20 MOD ZIGBEE PIR 7 1 Memory map SECTION 7 MEMORY DATA MEMORY MAP FOR PIC18F26K20 46K20 DEVICES BSR 3 0 Data Memory Map Access RAM Bank 9 Bank 10 Bank 11 Bank 12 Bank 13 Bank 14 Bank 15 000h O5Fh O060h OFFh When a 0 The BSR is ignored and the Access Bank is used The first 96 bytes are general purpose RAM from Bank 0 The second 160 bytes are Special Function Registers from Bank 15 When a 1 The BSR specifies the Bank used by the instruction Access Bank Access RAM Low Olimex 2012 Page 16 of 20 MOD ZIGBEE PIR SECTION 8 SCHEMATICS 8 1 Eagle schematic MOD ZIGBEE PIR schematic can also be downloaded at our web page for MOD ZIGBEE PIR olimex com dev mod zigbee pir html They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Olimex 2012 Page 17 of 20 MOD ZIGBEE PIR
6. for purchasing the MOD ZIGBEE PIR board manufactured by Olimex Olimex 2012 Page 2 of 20 MOD ZIGBEE PIR TABLE OF CONTENTS SECHON I OVERVIEW d 4 SECTION 2 SETTING UP THE DEVELOPMENT BOARD 6 SECTION MOD ZIGBEE PIR BOARD DESCRIPTION 8 SECTION 4 THE PIC18F26K20 10 SECHON SG CONTROL CIRCUITRY tae peu eR prn dae ditus 12 SECTION 6 GARD Dvd S 13 SECTION 7 MEMORY t ice p pd EOD i aans 16 SECTION 3 SCHEIMATICS s irat imetkusk nac aa eu 17 SECTION 9 REVISION HISTORY AND ORDER CODES 20 Olimex 2012 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 e MRF24J40 PIC18F26K20 with open source MiWi and Zigbee stack e PIR sensor motion detector sends wi
7. igBee connectivity you have to program your other device as a host The ZigBee and Microchip s MiWi can be downloaded for free Note that you can use MiWi if you don t use Microchip s transceiver Microchip s processor For general programming we recommend you use Microchip s MPLAB IDE and compiler C18 Olimex 2012 Page 7 of 20 MOD ZIGBEE PIR SECTION 3 MOD ZIGBEE PIR BOARD DESCRIPTION Here you get acquainted with the main parts of the board Note the names used on the board differ from the names used here to describe them For the actual names check the MOD ZIGBEE PIR board itself For example BUTTON seen on the op view below is named BUT RESET is named RST etc 3 1 Layout Top view PIR sensor Jumpers JP1 amp JP2 LED2 UEXT PCB_ANT x EXT PWR F 45 n ET HOD ZIGBEE PIR Rev B i R HHH OLIMEX COM DEU eni m 71 cC 2811 C23 024 E 582 button RESET LED1 mini ICSP button B1 button B2 Olimex 2012 Page 8 of 20 MOD ZIGBEE PIR 3 2 Layout Bottom view Battery slot 1 Battery slot 2 Olimex 2012 Page 9 of 20 MOD ZIGBEE PIR SECTION 4 THE PIC18F26K20 MICROCONTROLLER 4 1 Features High Performance RISC CPU C Compiler Optimized Architecture Optional extended instruction set designed to optimize re entrant code 1024 bytes Data EEPROM 64 Kbytes Linear Program Memory Addressing e 3936 bytes Linear Data Memory Addressing 16 MIPS Operatio
8. lity Conversion available during Sleep Olimex 2012 Page 10 of 20 MOD ZIGBEE PIR 1 2V Fixed Voltage Reference FVR channel Independent input multiplexing Analog Comparator module Two rail to rail analog comparators Independent input multiplexing Voltage Reference CVREF module Programmable 25 VDD 16 steps Two 16 level voltage ranges using VREF pins Peripheral Highlights 25 1 0 Pins plus 1 Input only Pin High Current Sink Source 25 mA 25 mA Three programmable external interrupts Four programmable interrupt on change Eight programmable weak pull ups Programmable slew rate e Capture Compare PWM CCP module Enhanced CCP ECCP module One two or four PWM outputs Selectable polarity Programmable dead time Auto Shutdown and Auto Restart Master Synchronous Serial Port MSSP module 3 wire SPI supports all 4 modes 12C Master and Slave modes with address mask Enhanced Universal Synchronous Asynchronous Receiver Transmitter EUSART module Supports RS 485 RS 232 and LIN RS 232 operation using internal oscillator Auto Wake up on Break Auto Baud Detect For comprehensive information on the microcontroller visit the Microchip s web page for a datasheet At the moment of writing the microcontroller datasheet can be found at the following link http ww1 microchip com downloads en DeviceDoc 41303G pdf Olimex 2012 Page 11 of 20 MOD ZIGBEE PIR SECTION 5
9. n 16 bit Wide Instructions 8 bit Wide Data Path Priority Levels for Interrupts 31 Level Software Accessible Hardware Stack 8 x 8 Single Cycle Hardware Multiplier Flexible Oscillator Structure Precision 16 MHz Internal Oscillator Block Factory calibrated to 1 Software selectable frequencies range of 31 kHz to 16 MHz 64 MHz performance available using PLL no external components required Four Crystal modes up to 64 MHz Two External Clock modes up to 64 MHz 4X Phase Lock Loop PLL e Secondary Oscillator using Timer1 32 kHz Fail Safe Clock Monitor Allows for safe shutdown if peripheral clock stops Two Speed Oscillator Start up Special Microcontroller Features Operating Voltage Range 1 8V to 3 6V Self Programmable under Software Control e Programmable 16 Level High Low Voltage Detection HLVD module Interrupt on High Low Voltage Detection Programmable Brown out Reset BOR With software enable option Extended Watchdog Timer WDT Programmable period from 4 ms to 131s Single Supply 3V In Circuit Serial Programming ICSP via Two Pins In Circuit Debug ICD via Two Pins Extreme Low Power Management with nanoWatt XLP Sleep mode 100 nA 1 8V e Watchdog Timer lt 800 nA 9 1 8V e Timer1 Oscillator lt 800 nA 9 32 kHz and 1 8V Analog Features Analog to Digital Converter ADC module 10 bit resolution 13 External Channels Auto acquisition capabi
10. 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 2012 Page 5 of 20 MOD ZIGBEE PIR SECTION 2 SETTING UP THE MOD ZIGBEE PIR DEVELOPMENT BOARD This section helps you set up the MOD ZIG BEE PIR development board for the first time Please consider first the electrostatic warning to avoid damaging the board then discover the hardware and software required to operate the board The procedure to power up the board is given and a description of the default board behavior is detailed 2 1 Electrostatic Warning The MOD ZIG BEE development board is shipped in a protective anti static package The board must not be exposed to high electrostatic potentials A grounding strap or similar protective device should be worn wh
11. reless alarm to Zigbee nodes when motion is detected e RF Transceiver MRF24J40 IEEE 802 15 4 Standard compliant 2 4 GHz RF transceiver e UEXT connector to all boards with UEXT e mini ICSP connector e On board antenna e On board temperature sensor TCN75A e Option for external power supply through EXT_PWR e switch e Reset circuit e two user buttons e two status LEDs e RST button e 2x1 5V AA battery holders e FR 4 1 00 mm 0 039 solder mask silkscreen component print e Dimensions 93 mm x 32 mm 3 66 x 1 2 1 3 Board highlights Perfect board for sensor networks with its PIR sensor and built in temperature sensor Olimex 2012 Page 4 of 20 MOD ZIGBEE PIR 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
Download Pdf Manuals
Related Search
Related Contents
JABRA speak 810 Samsung P50F Manual de Usuario Precision Digital Pressure Gauge, Model CPG1000 - Emet 製品カタログ - HPCシステムズ Dépliant LU D160_D210A It.fm 取扱説明書 - Panasonic N° 203 du 3 septembre 2014 - Euro Tabla de contenido Брошюра - Ariete Copyright © All rights reserved.
Failed to retrieve file