Kit User manual Introduction The Renesas kit Detect it! is based on the low power 16-bit microcontroller RL78/I1D. The kit contains 4 boards which are demonstrators of the most common detector types available in the market: Glass break detector and motion detector used mainly in security & surveillance system Monoxide carbon detector and smoke detector used in human protection system.
Smoke detector demonstrator The purpose of those boards is to show that the Renesas microcontroller RL78/I1D MCU - used in each board - is a perfect device for implementing low power sensor designs for detectors with a minimum of external components. In each case, the board shows a different detection using the RL78/I1D and its embedded analog peripherals such as internal operational-amplifiers, comparators and optimized power saving MCU features.
The microphone is AC coupled to both a low pass and high pass sections, so that microphone output DC bias variations does not affect the operational amplifier filter bias points: • 2-stage low pass filter uses 2 channels (Ch0 and Ch1) of RL78/I1D internal operational amplifiers in low power mode at about 4.5µA typical current drain total.
Page 7
The CO sensor is connected to 2-stage processing analog front end: 1 stage DC bias: uses single channel (Ch1) of RL78/I1D internal operational amplifier in low power mode at about 2.25µA typical current drain. This stage implements a voltage follower configuration from a resistive divider at VDD/11 (nominally 0.3Volt @ VDD = 3.3V) and provides a low impedance to the CO sensor...
The PIR sensor is connected to 2-stage processing analog front end: The first stage AC amplifier uses single channel Ch1 of RL78/I1D internal operational-amplifier in low power mode at about 2.25µA typical current drain. This stage is AC coupled from the PIR sensor output to Ch1, so as to eliminate any PIR DC bias variations.
IR photodiode avalanche (reverse bias) current when reflected IR light is present. Only 2 operational amplifiers are used in the Smoke detector demonstrator, and they are operating in High Speed mode. The RL78/I1D comparators are not used for this Smoke detector design.
DETECT-IT RL78/I1D detector boards kit Kit User Manual The board can be powered by a 3V lithium battery (CR123). It can also be powered by power supply (E1 power supply or external power). One battery CR123 is provided into the kit for the 4 boards. The E1 debugger is not provided.
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Glass break detector bottom view CO detector board layout Please check the name of the board you are looking “CO_SENSOR_I1D” UM-YDETECT-IT-RL78 V1.30 Page 11 of 59...
Page 12
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure CO detector top view UM-YDETECT-IT-RL78 V1.30 Page 12 of 59...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure CO detector bottom view Motion detector board layout Please check the name of the board you are looking “MOTION_SENSOR_I1D” UM-YDETECT-IT-RL78 V1.30 Page 13 of 59...
Page 14
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Motion detector top view UM-YDETECT-IT-RL78 V1.30 Page 14 of 59...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Motion detector bottom view Smoke detector board layout Please check the name of the board you are looking “SMOKE_SENSOR_I1D” UM-YDETECT-IT-RL78 V1.30 Page 15 of 59...
Page 16
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Smoke detector top view Figure Smoke detector equipped with Smoke chamber bottom view UM-YDETECT-IT-RL78 V1.30 Page 16 of 59...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Smoke detector without Smoke chamber bottom view Content of the CD-ROM The CD content is listed here: Table CD ROM content list UM-YDETECT-IT-RL78 V1.30 Page 17 of 59...
Page 18
By default, all the content of the kit will be installed in the following folder on your local PC: <C:\Renesas\Workspace\YDETECT-IT-RL78 > You can easily access to the content via the “Start” menu, in the “Program” sections under <Renesas Electronics Tools> then <YDETECT-IT-RL78> . Just click on the document you want to open.
DETECT-IT RL78/I1D detector boards kit Kit User Manual Board description Glass Break detector board Here are the pictures of the Glass Break sensor board Figure Glass Break detector components top view UM-YDETECT-IT-RL78 V1.30 Page 19 of 59...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Glass Break detector components bottom view 5.1.1 Oscillators Each board is equipped with 2 oscillators: • A 20MHz oscillator The 20MHz oscillator is sold onto each board and connected to the MCU. But it is not used by the application.
DETECT-IT RL78/I1D detector boards kit Kit User Manual Jumper Status Function Closed Power supply of the MCU and others components [MCU, Alarm/buzzer, AVDD via L1, U1 Vin (optional), pull up resistors, R16/R10 and R13/R19]: power from battery or power from E1 via CN01-pin 5, CN02-pin 4...
The Renesas 48-pin RL78/I1D MCU is the main element of the demonstrator board. The reference used in this demonstrator is the biggest component of the family RL78/I1D. It is a 48 pin QFP package with 32kB Flash and 3kB RAM embedded. The part number is: R5F117GCGFB.
DETECT-IT RL78/I1D detector boards kit Kit User Manual 5.1.8 Description of PMOD connector J9 It is a 12-pin (2x6) SPI PMOD standard interface: It can be used to add external application boards such as Wi- Fi/wireless. Table Description of PMOD connector of Glass Break detector...
DETECT-IT RL78/I1D detector boards kit Kit User Manual CO detector board Here are the pictures of the CO sensor board Figure CO detector components top view UM-YDETECT-IT-RL78 V1.30 Page 25 of 59...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure CO detector components bottom view 5.2.1 Oscillators Each board is equipped with 2 oscillators: • A 20 MHz oscillator The 20 MHz oscillator is sold onto each board and connected to the MCU. But it is not used by the application.
DETECT-IT RL78/I1D detector boards kit Kit User Manual Jumper Status Function Closed Power supply of the MCU and others components [MCU, Alarm/buzzer, AVDD via L1, U1 Vin (optional), pull up resistors, R16/R10 and R13/R19]: power from battery or power from E1 via CN01-pin 5, CN02-pin 4...
The Renesas 48-pin RL78/I1D MCU is the main element of the demonstrator board. The reference used in this demonstrator is the biggest component of the family RL78/I1D. It is a 48 pin QFP package with 32kB Flash and 3kB RAM embedded. The part number is: R5F117GCGFB.
DETECT-IT RL78/I1D detector boards kit Kit User Manual 5.2.8 Description of PMOD connector J9 It is a 12-pin (2x6) SPI PMOD standard interface: It can be used to add external application boards such as Wi- Fi/wireless Table Description of PMOD of CO detector...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Motion detector board Here are the pictures of the motion sensor board Figure Motion detector components top view UM-YDETECT-IT-RL78 V1.30 Page 31 of 59...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Motion detector components bottom view 5.3.1 Oscillators Each board is equipped with 2 oscillators: • A 20 MHz oscillator The 20 MHz oscillator is sold onto each board and connected to the MCU. But it is not used by the application.
DETECT-IT RL78/I1D detector boards kit Kit User Manual Jumper Status Function Closed Power supply of the MCU and others components [MCU, Alarm/buzzer, L1and AVDD, U1 Vin (optional), pull up resistors]: power from battery or power from E1 via CN01-pin 5, CN02-pin 4...
The Renesas 48-pin RL78/I1D MCU is the main element of the demonstrator board. The reference used in this demonstrator is the biggest component of the family RL78/I1D. It is a 48 pin QFP package with 32kB Flash and 3kB RAM embedded. The part number is: R5F117GCGFB.
DETECT-IT RL78/I1D detector boards kit Kit User Manual 5.3.8 Description of PMOD connector J9 It is a 12-pin (2x6) SPI PMOD standard interface: It can be used to add external application boards such as Wi- Fi/wireless. Table Description of PMOD of Motion detector...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Smoke detector board Here are the pictures of the smoke sensor board: Figure Smoke detector components top view UM-YDETECT-IT-RL78 V1.30 Page 37 of 59...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Smoke detector components bottom view 5.4.1 Sensor connection Please be careful when connecting the IR LED and IR photodiode. Table Description of sensor connector of Smoke detector Sensor Connector & pins Function J10 –...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Jumper Status Function Power supply of the MCU and others components [MCU, Alarm/buzzer, AVDD via L1, U1 Vin (optional), pull up resistors]: power from battery or power from E1 via CN01-pin 5, CN02-pin 4...
The Renesas 48-pin RL78/I1D MCU is the main element of the demonstrator board. The reference used in this demonstrator is the biggest component of the family RL78/I1D. It is a 48 pin QFP package with 32kB Flash and 3kB RAM embedded. The part number is: R5F117GCGFB.
DETECT-IT RL78/I1D detector boards kit Kit User Manual 5.4.9 Description of PMOD connector J9 It is a 12-pin (2x6) SPI PMOD standard interface: It can be used to add external application boards such as Wi- Fi/wireless. Table Description of PMOD of Smoke detector...
AMP2 and AMP3 off. Then MCU returns to STOP mode, waiting for next loud sound event. Note: All four RL78/I1D operational amplifiers must either be placed in low power or high speed mode together. Therefore, the low pass filter (Operational amplifier channels Ch0 and Ch1) are ignored when the high pass filter is enabled.
DETECT-IT RL78/I1D detector boards kit Kit User Manual AMP1 and AMP0 are always powered in Low Power consumption mode (GBW = 40KHZ), with the MCU in Stop mode. Comparator 0 is always powered in Low Speed mode also, and is configured for Window Comparator interrupt mode.
DETECT-IT RL78/I1D detector boards kit Kit User Manual (chemical equations can be seen in full Technical Information for TGS5042 document) • DC bias amplifier (Ch1 operational amplifier) At MCU power startup Ch0 and Ch1 operational amplifiers are initialized in low power mode. Ch1 is biased at VDD/11, where VDD depends on the CR123 lithium battery voltage (2.7V to ~3.1V) or slightly higher if E1 debugger...
DETECT-IT RL78/I1D detector boards kit Kit User Manual • Medium speed On-Chip Oscillator (4 MHz MOCO) and special Low Power CPU run mode: The usage of this Low Power mode and this 4MHz MOCO oscillator allow both a fast (4µs typical) wake-up time and low current drain (134µA @ 1MHz).
DETECT-IT RL78/I1D detector boards kit Kit User Manual When using VDD = 3.4V from E1 emulator, please use following values: IVREF0 = ~ 0.86V (0.25*VDD), IVREF1 = ~ 2.1V (0.62V*VDD) 6.3.2 MCU/digital system and maintain low current drain for long battery life •...
Page 48
DETECT-IT RL78/I1D detector boards kit Kit User Manual • Second stage AC coupled amplifier (Ch0 operational amplifier): The second stage is non-inverting and has a gain of 2. The upper frequency (cut off/corner) is ~8 KHz. At time “B”, an ADC conversion samples (and saves) the reference Ch0 voltage level, which is proportional to the Photodiode current amplified by Ch1 and Ch0, with no Infrared LED energy emitted, so only ambient room infrared energy is measured.
DETECT-IT RL78/I1D detector boards kit Kit User Manual 6.4.2 MCU/digital system and maintain low current drain for long battery life • Low power interval timers like Real Time Counter, 12-bit Interval Timer, 2 units of 8-bit Interval Timer: Real Time Counter interrupt at 1 second rate is used to wake up MCU, and count 1second intervals for alarm minimum timing.
PC. By default, the installation folder is <C:\Renesas\Workspace\YDETECT-IT-RL78>. The samples programs can be easily find in the following folder : <C:\Renesas\Workspace\YDETECT-IT-RL78\Sample Programs>. The documentation can be easily find in the following folder : <C:\Renesas\Workspace\YDETECT-IT-RL78\_Manuals>...
Page 51
Step 4/ Once the sample programs are copied on your PC, and IAR Embedded Workbench is installed, please open the samples programs with IAR. You can access the samples programs from you start menu, in the Program sections under <Renesas Electronics Tools> then <YDETECT-IT-RL78> by clicking on <Samples Programs>.
Page 52
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Opening samples programs via Start menu Then go to the folder of the board you would like to play with. For example go to the folder < DETECT IT! kit_IAR sample program_Motion detector> and double click on the IAR Project with extension .EWW : <...
Page 53
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Project opened in IAR environment Step 5/ Compile and build the project. Click on the button “Make” as show in the picture below. Your project will take a couple of seconds to compile and build.
Page 54
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Results of the compilation Step 6/ Download the program Click on the button “Download and Debug”. Figure Download the program with “Download and Debug” button Your board will be reprogrammed with this software.
Page 55
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Debug session ready to start Step 7/ Start the debug session After you should start your debug session by clicking on the button “Run” Figure Start the debug with “Go” button UM-YDETECT-IT-RL78 V1.30...
Glass Break detector operation 9.1.1 Glass break Sensor Testing results The RL78/I1D-based glass break sensor works well when tested with Interlogix 5709C-W glass break simulator on these modes, up to ~0.5meter distance: • Plate Glass simulation • Tempered Glass simulation •...
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Measurement for Glass Break detector Current measurement can be done at J1 and J2 jumpers, using an ampere meter. The power consumption of each detector board is the sum of VDD current (measured at J1) and VDD_SENSOR current (measured at J2).
DETECT-IT RL78/I1D detector boards kit Kit User Manual Figure Measurement for CO detector Current measurement can be done at J1 and J2 jumpers, using an ampere meter. The power consumption of each detector board is the sum of VDD current (measured at J1) and VDD_SENSOR current (measured at J2).
Motion Detector Testing results The RL78/I1D-based motion detector works well. It is able to detector a motion of a human with a mass of 50kg or greater from distance of 4m. The Motion detector board can be fine-tuned with the potentiometers JP9 and JP12. Please refer to the description of the potentiometer JP9 and JP12 for more details.
When measuring current at J1 for example, J2 jumper should always be in place, and vice versa. 10. Support In case of issues to operate the board, please check if there is any update available on Renesas website : www.renesas.eu/detector/ Or contact your local office.
Page 61
Revision History Description Rev. Date Page Summary 1.00 15/09/2014 First version of User manual 1.10 05/01/2015 Small correction for first release 1.20 22/01/2015 Small modification 1.30 24/02/2015 Small corrections for improvements...
Page 62
General Precautions in the Handling of MPU/MCU Products The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
Page 63
10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the contents and conditions set forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products.