ELM365
Security System Controller
Description
The ELM365 provides all of the logic necessary
for a complete security system in an 8 pin package.
The circuit is capable of monitoring two normally
closed input loops and one normally open panic
circuit, provides a constant level and a pulsing alarm
output, and the logic to drive a status LED.
Internal timers are provided for alarm blocking
during zone entry and exit as well as circuit
resetting, should alarms go unacknowledged.
Debouncing of all of the inputs is also provided
internally, to allow for the direct interfacing to
mechanical switches.
Due to the digital techniques employed, no
external support components are required for any of
the timing functions, resulting in considerable cost
savings over other designs.
Features
• Low power CMOS design - typically 1mA at 5V
• Wide supply range - 3.0 to 5.5 volt operation
• Simultaneous monitoring of three circuits
• 45 second delay for entry and exit
• Automatic reset of alarm outputs after 5 minutes
• Status LED output driver
• High current drive outputs - up to 25 mA
• Panic input for instant triggering of the alarm
Connection Diagram
PDIP and SOIC
(top view)
Applications
V
DD
1
2
3
4
8
7
6
5
V
SS
DLoop
ILoop
LED
•
•
•
•
Home or cottage security systems
Auto or RV security systems
Individual zone monitoring in a multizone system
High or low limit warning alarms
OutP
OutC
panic
Block Diagram
V
DD
DLoop
7
V
DD
ILoop
6
45 sec
Delay
45 sec
PowerUp
Alarm
Latch
fast
slow
LED
Flasher
5
LED
V
DD
panic
4
Alarm
Latch
1.5s on
0.5s off
3
OutC
5 min
Reset
2
OutP
ELM365DSB
Elm Electronics – Circuits for the Hobbyist
< http://www.elmelectronics.com/ >
1 of 4
ELM365
Pin Descriptions
V
DD
(pin 1)
This pin is the positive supply pin, and should
always be the most positive point in the circuit.
Internal circuitry connected to this pin is used to
provide power on reset of the microprocessor, so
an external reset signal is not required. Refer to
the Electrical Characteristics section for further
information.
OutP (pin 2)
This is the (active high) pulsed alarm output.
When in an alarm state, it alternates between a
logic high level (V
DD
) for 1.5 seconds and a low
level (V
SS
) for 0.5 seconds. This output
automatically resets after 5 minutes.
OutC (pin 3)
This is the constant level alarm output. It is
switched to a high level (V
DD
) during an alarm
condition, and is otherwise at a logic low level.
This output automatically resets to a low level
after 5 minutes.
panic (pin 4)
This active low input is debounced and used to
immediately trigger an alarm from normally open
inputs such as panic pushbuttons or tamper
switches. If unused, this input can be left open
circuited, as there is an internal pullup resistor on
the pin (see the specs).
ILoop (pin 6)
This pin is used for monitoring a normally closed
loop, connected between the pin and V
SS
. To
reduce the possibility of nuisance triggers, a 0.5
second debounce period is provided on this input.
An alarm will be initiated immediately after the
loop is determined to be open, but will not
retrigger an alarm if the loop remains open, after
the five minute timeout. This pin is not enabled for
the first 45 seconds after the system is first turned
on.
DLoop (pin 7)
This pin is similar to pin 6, with the one exception
being that the alarm is delayed by 45 seconds to
allow time for entry or exit.
V
SS
(pin 8)
Circuit common is connected to this pin. This is
the most negative point in the circuit.
LED (pin 5)
This is an active low LED drive output. It will
pulse rapidly to warn that the system is in a 45
second delayed alarm period, or will pulse slowly
(about 1.5 seconds on, 0.5 seconds off) if an
alarm is in progress or has previously occurred.
By adding a suitable series resistor, an LED can
be directly driven from this pin.
Ordering Information
These integrated circuits are available in either the 300 mil plastic DIP format, or in the 200 mil SOIC surface
mount type of package. To order, add the appropriate suffix to the part number:
300 mil Plastic DIP............................... ELM365P
200 mil SOIC..................................... ELM365SM
All rights reserved. Copyright ©1999 Elm Electronics.
Every effort is made to verify the accuracy of information provided in this document, but no representation or warranty can be
given and no liability assumed by Elm Electronics with respect to the accuracy and/or use of any products or information
described in this document. Elm Electronics will not be responsible for any patent infringements arising from the use of these
products or information, and does not authorize or warrant the use of any Elm Electronics product in life support devices and/or
systems. Elm Electronics reserves the right to make changes to the device(s) described in this document in order to improve
reliability, function, or design.
ELM365DSB
Elm Electronics – Circuits for the Hobbyist
< http://www.elmelectronics.com/ >
2 of 4
ELM365
Absolute Maximum Ratings
Storage Temperature....................... -65°C to +150°C
Ambient Temperature with
Power Applied....................................-40°C to +85°C
Voltage on V
DD
with respect to V
SS
............ 0 to +7.5V
Voltage on any other pin with
respect to V
SS
........................... -0.6V to (V
DD
+ 0.6V)
Note:
Stresses beyond those listed here will likely damage
the device. These values are given as a design
guideline only. The ability to operate to these levels
is neither inferred nor recommended.
Electrical Characteristics
All values are for operation at 25°C and a 5V supply, unless otherwise noted. For further information, refer to note 1 below.
Characteristic
Supply Voltage, V
DD
V
DD
rate of rise
Average Supply Current, I
DD
Internal pullup resistances
Minimum
3.0
0.05
Typical
5.0
Maximum Units
5.5
V
V/ms
Conditions
see note 2
V
DD
= 5V, see note 3
Panic input, see note 4
Loop inputs, see note 4
OutP and LED outputs,
see note 5
see note 6
1.0
300
20
500
30
1.5
0.5
5
V
SS
0.85 V
DD
2.4
600
50
mA
KΩ
KΩ
sec
sec
min
Output Pulse Duration- High
- Low
Auto Reset Time Period
Input low voltage - reset pin
Input high voltage - reset pin
Output low voltage
Output high voltage
V
DD
- 0.7
0.15 V
DD
V
DD
0.6
V
V
V
V
Current (sink) = 8.7mA
Current (source) = 5.4mA
Notes:
1. This integrated circuit is produced with a Microchip Technology Inc.’s PIC12C5XX as the core embedded
microcontroller. For further device specifications, and possibly clarification of those given, please refer to the
appropriate Microchip documentation.
2. This spec must be met in order to ensure that a correct power on reset occurs. It is quite easily achieved
using most common types of supplies, but may be violated if one uses a slowly varying supply voltage, as
may be obtained through direct connection to solar cells, or some charge pump circuits.
3. Pullup resistor currents are not included in this figure.
4. The value of the internal pullup resistance is both supply and temperature dependent.
5. Times are approximate. LED output can only be reset by powering down.
6. Both the OutP and OutC outputs will be internally reset after this time. If a loop continues to remain open, it
will not retrigger an alarm. In contrast, the panic input will always retrigger an alarm if it remains closed.
ELM365DSB
Elm Electronics – Circuits for the Hobbyist
< http://www.elmelectronics.com/ >
3 of 4
ELM365
Example Application
Figure 1 shows the ELM365 as the controller in a
typical home security system.
Series connected magnetic switches monitor door
positions, and connect to the delayed loop input. Several
window switches are connected in series to the instant
loop input, and panic switches are provided in the
bedrooms to cause an alarm when pressed.
Four LEDs are included in the circuit to show power
on (circuit armed), alarm, and loop status. In addition to
status, these LEDs also provide loop current for switch
wetting, and assist with the input pullup function.
Although not essential, it is recommended that the LEDs
be installed.
+5V
Panic
Switches
2.2KΩ
+12V
+5V
+5V
Alarm
300Ω
300Ω
5
6
4
The series resistors on pins 4, 6, and 7 have been
included in this design for protection from electrostatic
discharge, or induced currents. Although the circuit will
function correctly without them, they are recommended
for the added protection that they afford.
The circuit supports two outputs, and both have
been included with this design. The pulsed output
drives an alarm buzzer, while the constant output can
drive yard lights, etc. Both outputs use a conventional
transistor circuit to energize a 12V relay coil.
Power for the circuit is from an AC supplied 12V
DC source, with only temporary backup provided by a
9V battery. Both inputs are diode coupled, passed
through the key switch, and reduced by the 78L05
regulator to 5V for the logic.
2.2KΩ
1N4001
Constant
Output
2.2KΩ
Instant
Loop
2N3904
3
2
1.0KΩ
+5V
7
8
+12V
1
Delayed
Loop
Power
300Ω
1N4001
Pulsed
Output
1.0KΩ
Key Switch
(Arm/Disarm)
Normal
12V Supply
0.1µF
300Ω
2.2KΩ
2N3904
78L05
+5V
0.1µF
Optional 9V
Backup Supply
Figure 1. Home Security System
ELM365DSB
Elm Electronics – Circuits for the Hobbyist
< http://www.elmelectronics.com/ >
4 of 4