ELM334 [ELM]

GARAGE DOORMAN; 车库门童
ELM334
型号: ELM334
厂家: ELM ELECTRONICS    ELM ELECTRONICS
描述:

GARAGE DOORMAN
车库门童

文件: 总4页 (文件大小:33K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
ELM334  
Garage Doorman  
Description  
Features  
The ELM334 is a handy circuit for remotely  
• Low power CMOS design  
monitoring the position of your garage door. A two-  
wire interface is all that is needed to convey the  
position of the door to two remotely located LEDs,  
and to also provide control for an electric opener if  
desired.  
• Wide supply range - 3.0 to 5.5 volt operation  
• Simultaneous monitoring of three inputs  
• Fully debounced inputs  
• Two wire interface  
This circuit continually monitors the state of two  
position sensing switches, representing the fully  
open and fully closed positions of the door. After  
suitable debouncing, the states of these switches  
are used to vary the polarity of the two signal wires,  
resulting in either the red (open) or green (closed)  
LED turning on. When the door is in neither position  
(moving), the LEDs rapidly alternate between the  
two colours.  
• Stuck button protection on the control output  
• Control function is an optional addition  
Connection Diagram  
PDIP and SOIC  
(top view)  
If desired, circuitry to detect a short between the  
two LED wires can be added and used to operate a  
control output. If the door is equipped with a  
standard electric opener, this control signal can be  
used to operate the door. Refer to the Example  
Application section for further details.  
1
2
3
4
8
7
6
5
VDD  
RLED  
GLED  
PB  
VSS  
OpenSw  
ClosedSw  
Control  
Applications  
• Garage door monitoring and control  
• Remote signalling and acknowledgement  
Block Diagram  
Debounce  
Timers  
2
7
6
5
RLED  
OpenSw  
ClosedSw  
Control  
Drive  
Logic  
Debounce  
Timers  
3
GLED  
Debounce  
Timers  
Output  
Limitter  
4
PB  
ELM334DSB  
Elm Electronics – Circuits for the Hobbyist  
1 of 4  
< http://www.elmelectronics.com/ >  
ELM334  
Pin Descriptions  
VDD (pin 1)  
Control (pin 5)  
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.  
This output goes to an active high level (VDD), in  
response to a valid low level on pin 4. The  
duration of the output will be the same as the  
input, to a maximum of 500ms. At this point, the  
circuit will assume that the button is ‘stuck’, or  
there has been a wiring fault, and it will turn the  
output off. The state of the RLED and the GLED  
lines is not updated if the circuit thinks that the  
pushbutton is being pressed.  
RLED (pin 2), and GLED (pin 3)  
These two pins are for driving a red and a green  
LED through a current limiting resistance.  
Typically the LED used will be a dual type, that  
appears white if not energized, red if energized  
in one polarity, and green if the polarity is  
reversed. Alternatively, two discrete LEDs could  
be wired ‘back-to-back’. During powerup, the red  
LED will be lit for 0.5sec, followed by the green  
for 0.5sec, and then the circuit will alternate  
between the two for a further 0.5sec.  
ClosedSw (pin 6), and OpenSw (pin 7)  
These two inputs are for monitoring the position  
of the door. This is normally done by connecting  
magnetic reed type switches between each of  
these pins and VSS, with the two switches  
mounted at the extreme positions of the door  
travel. When fully open, only the OpenSw input  
will be at a logic low level (switch closed), and  
when fully closed, only the ClosedSw input will  
be low. Both switches simultaneously open or  
closed will cause the LEDs to alternately flash  
red and green as a warning (or as feedback that  
the door is moving). Internal circuitry provides a  
nominal 0.5sec debounce period on both inputs.  
PB (pin 4)  
A momentary low level signal on this pin will  
cause the control output to go high, after  
approximately 25msec delay due to the internal  
debounce circuitry. If unused, this pin should be  
connected to VDD.  
VSS (pin 8)  
Circuit common is connected to this pin. This is  
the most negative point in the circuit.  
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............................... ELM334P  
200 mil SOIC..................................... ELM334SM  
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.  
2 of 4  
ELM334DSB  
Elm Electronics – Circuits for the Hobbyist  
< http://www.elmelectronics.com/ >  
ELM334  
Absolute Maximum Ratings  
Storage Temperature....................... -65°C to +150°C  
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.  
Ambient Temperature with  
Power Applied....................................-40°C to +85°C  
Voltage on VDD with respect to VSS............0 to +7.5V  
Voltage on any other pin with  
respect to VSS........................... -0.6V to (VDD + 0.6V)  
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  
Minimum Typical  
Maximum Units  
Conditions  
Supply Voltage, VDD  
VDD rate of rise  
3.0  
5.0  
5.5  
V
see note 2  
VDD = 5V, see note 3  
0.05  
V/ms  
mA  
Average Supply Current, IDD  
1.0  
2.4  
Pushbutton  
Debounce Period  
Position Switches  
25  
msec  
msec  
500  
see note 4  
Maximum Control Pulse Width  
Input low voltage  
500  
msec  
VSS  
0.15 VDD  
VDD  
V
V
V
V
Input high voltage  
0.85 VDD  
Output low voltage  
0.6  
Current (sink) = 8.7mA  
Output high voltage  
VDD - 0.7  
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. Integrated circuit only. Does not include any LED or drive currents.  
4. This is the maximum output pulse width, if the pushbutton input remains active. If the pushbutton is released  
prior to this time, the output will simply follow the input.  
3 of 4  
ELM334DSB  
Elm Electronics – Circuits for the Hobbyist  
< http://www.elmelectronics.com/ >  
ELM334  
Example Application  
Figure 1 shows the ELM334 in a typical circuit that  
provides both monitoring and control. An unregulated  
12V supply is used to drive the relay coil and is stepped  
down to 5V for the IC. The regulation isn’t essential for  
this type of circuit, but it is a convenient means to  
reduce the 12V, while providing some filtering from  
motor noise, etc.  
The control portion of the circuit may appear to be a  
little odd-looking at first. To understand its operation,  
note that one of the two driven LEDs is always on,  
whether flashing or solid. Due to the connection of the  
two NPN transistors then, one of the NPNs is always  
biased on, keeping the PNP on, and pin 4 of the  
ELM334 at 5V. When the pushbutton is pressed, the  
LED circuit is shorted out, and neither NPN can  
conduct. The PNP thus shuts off, and pin 4 of the IC  
drops to 0V, its active level. With the PB input active, a  
high level is output at pin 5, causing the relay to pick up.  
Operation of the LED portion of this circuit is  
straight-forward. The position sensing magnetic reed  
switches are connected to the 5.1KW pullup resistors in  
order to provide a full logic swing input to the ELM334  
as they operate. The 2.2KW series resistors provide  
some protection for the chip as the wires to the switches  
are likely to be lengthy, and susceptible to induced  
voltages and currents. After processing, the appropriate  
voltages appear at pins 2 and 3, driving the LEDs  
through the 150Wcurrent limiting resistors.  
Although this circuit was designed for a very  
specific purpose, there are likely to be many other  
applications that it can be adapted to. Monitoring  
thermostats perhaps, or water levels…  
+5V  
+12V  
5.1KW  
+5V  
‘open’  
2.2KW  
78L05  
0.1µF  
0.1µF  
+5V  
1
2
3
4
8
5.1KW  
150W  
green  
7
‘closed’  
2.2KW  
6
150W  
red  
5
Remote LEDs  
& Pushbutton Control  
+12V  
+5V  
12V Relay  
To the  
+5V  
10KW  
1N4001  
motor  
control  
2N3906  
2.2KW  
10KW  
10KW  
2N3904  
2N3904  
2N3904  
5.1KW  
5.1KW  
Figure 1. Typical Monitoring and Control Circuit  
ELM334DSB  
Elm Electronics – Circuits for the Hobbyist  
4 of 4  
< http://www.elmelectronics.com/ >  

相关型号:

ELM33400CA-S

Single N-channel MOSFET
ELM-TECH

ELM33401CA-S

Single P-channel MOSFET
ELM-TECH

ELM33402CA-S

Single N-channel MOSFET
ELM-TECH

ELM33403CA-S

Single P-channel MOSFET
ELM-TECH

ELM33404CA-S

Single N-channel MOSFET
ELM-TECH

ELM33405CA-S

Single P-channel MOSFET
ELM-TECH

ELM33407CA-S

Single P-channel MOSFET
ELM-TECH

ELM33408CA-S

Single N-channel MOSFET
ELM-TECH

ELM33410CA-S

Single N-channel MOSFET
ELM-TECH

ELM33411CA-S

Single P-channel MOSFET
ELM-TECH

ELM33412CA-S

Single N-channel MOSFET
ELM-TECH

ELM33413CA-S

Single P-channel MOSFET
ELM-TECH