Note the following details of the code protection feature on Microchip devices:
•Microchip products meet the specification contained in their particular Microchip Data Sheet.
•Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•Microchip is willing to work with the customer who is concerned about the integrity of their code.
•Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and t he lik e is provided only for your convenience
and may be su perseded by upda t es . It is y our responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life supp ort and/or safety ap plications is entir ely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless M icrochip from any and all dama ges, claims,
suits, or expenses re sulting from such use. No licens es are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
K
logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial
Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified
logo, MPLIB, MPLINK, mTouch, Omniscient Code
Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit,
PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance,
TSHARC, UniWinDriver, WiperLock and ZENA are
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the p age number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB
Select the Help menu, and then Topics to open a list of available on-line help files.
®
IDE on-line help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
RE46C190 Demo Board. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Web Site
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This document describes how to use the RE46C190 Demo Board as a developmen t
tool to emulate and debug firmware on a target board. The manual layout is as follows:
• Chapter 1. “Product Overview” – This chapter introduces the main
characteristics of the RE46C190 Demo Board.
• Chapter 2. “Installation and Operation” – Includes a detailed description of the
board and instructions on how to get started.
• Appendix A. “Schematic and Layouts” – Shows the schematic and layout
diagrams.
• Appendix B. “Bill of Materials (BOM)” – Lists the parts used to build the
RE46C190 Demo Board.
This user's guide describes how to use the RE46C190 Demo Board. Other useful
documents are listed below. The following Microchip documents are available and
recommended as supplemental r eference resources.
• RE46C190 Data Sheet - “CMOS Low Voltage Photoelectric Smoke Detector
ASIC with Interconnect and Timer Mode”, DS22271.
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web
site is used as a means to make files and information easily available to customers.
Accessible by using your favorite Internet browser, the web site contains the following
information:
• Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listing of seminars and events, listings of Microchip sales offices,
distributors and factory representatives
Preface
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
Customers should contact their distributor, representative or field application engineer
(FAE) for support. Local sales offices are also available to help customers. A listing of
sales offices and locations is included in the back of this document.
Technical support is available through the web site at:
http://www.microchip.com/support
The RE46C190 is a low voltage, programmable photo smoke detector with
interconnect, local alarm indication, programmable setup, programmable calibration,
programmable feature selection, boost regulator and horn driver. This device has a
minimal external component count.
This chapter provides an overview of the RE46C190 Demo Board and covers the
following topics:
• What is the RE46C190 Demo Board?
• What the RE46C190 Demo Board Kit Contains
1.2WHAT IS THE RE46C190 DEMO BOARD?
The RE46C190 Demo Board is a complete stand-alone smoke detector application
with a smoke chamber emulator. The demo board allows the evaluation of all the
functions that the RE46C190 device has. Key test points of the device are available at
the bottom edge of the demo board.
The demo board is designed for battery operation using a CR123A battery, or can be
operated using a power supply.
The RE46C190 application circuit is on the right side of the board by the battery holder
and piezo horn, while the smoke chamber emulator is on the left side. The emulator
can be disconnected from the application circuit and a photo smoke chamber or its
components can be connected to the demo board.
The RE46C190 Demo Board allows full evaluation of the RE46C190 functionality,
including programmability. The demo board consists of two parts:
• RE46C190 application circuit (see Figure 2-1)
• A smoke-chamber emulation circuit (see Figure 2.2).
The smoke-chamber emulation circuit can be disconnected from the RE46C190
application circuit so the actual photo smoke chamber components can be evaluated
in the RE46C190 application circuit. The board can be operated from a CR123A
battery, or be powered from a 3V power supply.
Before powering the RE46C190 Demo Board, complete the following steps:
1. Place the potentiometer knob on the 2M POT.
2. Attach the six standoffs with screws are provided to act as legs for the demo
board.
3. Start with the switch in OFF state, toggled toward the label R8, and ensure that
Rv2 is turned fully clockwise, to its highest resistance value. The switch (SW2)
and the potentiometer (Rv2) allow the apparent battery voltage (V
lowered so the low battery operation of the application can be evaluated.
4. Ensure that the 2M POT, used to set the current in the smoke chamber emulator,
is turned fully counterclockwise to set a minimum photodiode current.
5. Ensure there is a preprogrammed RE46C190 in the ZIF socket. The socket’s
pin 1 designator is located near capacitor C2.
6. Insert a CR123A battery in the battery holder, or connect a 3V power supply to
the terminals next to the battery holder (VBAT and GND2).
The RE46C190 Demo Board allows two adjustments when evaluating the RE46C190
device. The first adjustment uses the 2M POT to increase the current to the photodiode
inputs IRN and IRP to simulate a smoke condition, by turning the potentiometer knob
in a clockwise direction.
DD
) to be
The smoke emulator circuit is sensitive to the battery voltage or power supply voltage.
To ensure consistent results from the smoke emulator, be sure the VBAT voltage is the
same as used in the previous tests.
When switch SW2 is toggled toward the center of the board, Rv2 is able to reduce the
apparent battery voltage (V
If a power supply is being used in place of a battery, be sure the current limit is set for
a value greater than 2A. When the boost regulator is operating, it can draw peak
currents greater than 1.0A. A low current limit may cause the power supply voltage to
drop, and may reset the IC. This can appear as a non-specified operation.
Due to the sampling rate of the IC, the potentiometer adjustments do not have an
immediate effect. Refer to the RE46C190 Data Sheet for specific information on timing.
2.3GETTING STARTED
To emulate the basic smoke detect operation, slowly turn the 2M POT clockwise, until
RLED flashes and the piezo horn sounds. This is the Alarm mode. A piece of tape over
the hole in the piezo horn case reduces the volume of the horn during testing. Turn the
2M POT counterclockwise until the Alarm mode ends. This is the Hysteresis mode of
operation. The GLED flashes to indicate a local alarm, i.e. this particular device has
been in an alarm condition. Press SW1, the Push-to-Test button. The piezo horn will
chirp as an audible indication that the Local Alarm Memory is set. When the button is
released, the Local Alarm Memory is reset to Normal operation. Refer to the
RE46C190 Data Sheet for specific details on device operation in Normal mode.
Repeat the test above, but leave the IC in Alarm mode, and press SW1 to enter the
Hush mode. Continue by turning the 2M POT clockwise to re-enter the Alarm mode.
Refer to the RE46C190 Data Sheet for Push-to-Test and Reduced Sensitivity
operation.
WARNING
) supplied to the IC, when turned counterclockwise.
Another basic test is the low battery test. Connect a digital multimeter to the test pins
V
and GND, to monitor the VDD. Toggle the switch SW2 toward the center of the
DD
demo board and observe the change in V
V
voltage to less than 2.4V, where the low battery threshold should be set. The piezo
DD
horn chirps once every 43 seconds. The low battery Silence mode can be entered by
pressing SW1. Refer to the RE46C190 Data Sheet for details on the Supervisory mode.
The chamber test can be evaluated by first toggling the switch SW2 toward the label
R8 and then turning the 2M POT fully counterclockwise. This places the demo board
in a Non-Alarm state. Short the test point IRED to the test point IRCAP. This disables
the smoke chamber emulator and causes the IC to fail the chamber test. Three chirps
are heard after the test fails. Refer to the RE46C190 Data Sheet for details on this
Supervisory mode.
T able 2-1 lists the program settings for the RE46C190 samples included with the demo
board. Due to limitations of the smoke emulator, the IRED current, the photo amplifier
gain and the integration time should not be changed.
TABLE 2-1:PRE-PROGRAMMED RE46C190 SAMPLE
ParameterSetting
Long Term Drift Limit0
Chamber Test Limit2
Hush Limit20
Hysteresis Limit15
Normal Smoke Limit20
Photo Amplifier Gain Factor1
Integration Time100 µs
Low Battery Trip Limit2.4V
Long Term Drift EnableDisable
Low Battery Hush EnableEnable
IRED Current150 mA
Hush OptionNever Cancel
End Of Life En ableDisabled
Tone SelectTemporal
. Turn Rv2 counterclockwise to lower the
DD
Table 2-2 is a list of the test points easily available on the bottom of the demo board.
Refer to A.2 “Board Schematic - RE46C190 Application Circuit and Smoke Chamber Regulator” for details of the connection of the test point. When using the test
points, use an oscilloscope to observe RE46C190’s operation.
TESTConnection to Pin 4 of the RE46C190 device and the push-to-test button
IREDConnection to the smoke chamber emulator and to Pin2 of the RE46C190
TEST2Connection to Pin 5 of the RE46C190 device
GNDConnection to V
V
DD
GLEDRConnection to the green LED resistor and the green LED anode
IRCAPConnection to the smoke cham ber emulator and to Pin 11 of the RE46C1 90
GLEDConnection to the cath ode of the gre en LED and to Pin 9 of the RE46C190
V
BST
RLEDRConnection to the red LED resistor and the red LED anode
RLEDConnection to the red LED cathode and to Pin 8 of the RE46C190 device
IOConnection to Pin12 of the RE46C190 device
FEEDConnection to Pin 10 of the RE46C190 device
LXConnection to Pin 16 of the RE46C190 device
HBConnection to Pin 13 of the RE46C190 device
HSConnection to Pin 14 of the RE46C190 device
The battery voltage or power supply voltage
SS
device
SS
Connection to Pin 3 of the RE46C190 device
device
device
Connection to Pin 15 of the RE46C190 device
2.4MODIFYING THE DEMO BOARD
The RE46C190 Demo Board can be modified to include a smoke chamber, or smoke
chamber components. Jumpers R19 and R20 can be removed to allow a photodiode
to be connected to the IRP and IRN pins of the IC, respectively. R17 and R18 can be
removed to allow an infrared LED to be connected to the IRCAP and IRED pins,
respectively.
The removal of jumper R15 will disconnect the smoke chamber emulator from the
VBAT line. This allows the measurement of the smoke detector application average
input current. It is important that the toggle switch SW2 be placed in the OFF position
for this measurement.
The input current measurement requires an ammeter setting that can handle the large
current draw of the boost regulator, while resolving microamperes of current. The
effective series resistance of the ammeter can affect the operation of the boost
regulator.
An alternative method for this measurement is to place a 100 µF capacitor between the
terminal VBAT and GND2, and connect one end of a 100Ω resistor to VBAT. Connect the
ammeter to the other end of the resistor and then to the positive terminal of the power
supply, or battery. Connect the negative terminal of the battery or power supply to the
terminal GND2. This simple RC filter will smooth out the current peaks. The capacitor
should have a low ESR to minimize the voltage ripple at the VBAT terminal.