Electronics Forums

Electronics Forums > Newsgroups > Electronics Newsgroups > Electronic Basics > Normally closed contact switch and Garage door

Reply
Thread Tools Display Modes

Normally closed contact switch and Garage door

 
 
Moloney
Guest
Posts: n/a
 
      01-13-2004, 03:14 PM
I am trying to detect whether or not my garage door is open. I purchased a
normally closed contact switch to place on the bottom of the railing and
bottom of the door. Being new to electronics I only understand the basics,
but would like to try and use the N/C contact to send some type of signal to
me that my garage door is open.

Could I hook this N/C contact to a breadboard and have an LED light up when
the door is open? What would I need to detect if the circuit is opened or
closed?


 
Reply With Quote
 
 
 
 
Byron A Jeff
Guest
Posts: n/a
 
      01-13-2004, 03:45 PM
In article <(E-Mail Removed)>,
Moloney <(E-Mail Removed)> wrote:
-I am trying to detect whether or not my garage door is open. I purchased a
-normally closed contact switch to place on the bottom of the railing and
-bottom of the door. Being new to electronics I only understand the basics,
-but would like to try and use the N/C contact to send some type of signal to
-me that my garage door is open.

Sounds simple enough.

-
-Could I hook this N/C contact to a breadboard and have an LED light up when
-the door is open?

Sure.

- What would I need to detect if the circuit is opened or closed?

You already have the detector, the NC contact. The only problem is how to hook
it up so that the LED lights up when the door is opened. The simplest way is
to utilize the fact that an LED must have a current limiting resistor so that
it won't burn up. So let's start with a simple LED circuit:

V----R----A----LED-----GND

V is a positive voltage source, presumably a DC wall wart. R is the current
limiting resistor (more on that in a bit), A is just a mark point which I'll
get to in a second, just note there's no physical device at point A yet, LED
is the LED (duh?!) and GND is the ground end of the wall wart. If you wire
this on a breadboard, current will flow through the resistor and the LED and
the LED will light. To pick a resistor value divide the voltage by 10
milliamps (.010A) an use a resistor that's close to that value. So
for example if you have a 9 volt wall wart, divide 9 by 0.01 giving 900. So
pick a resistor around 900 ohms.

Now on to the dectector. It's normally closed which means that it's an unbroken
circuit when the door is closed. It wouldn't help to wire the detector between
point A and the LED because then the LED would be on when the door is closed.
But what you can do is use the detector as a bypass around the LED. So if you
wire it between point A and ground, when the door is closed then the current
will flow from point A through the detector and into ground (or vice versa ;-)
bypassing the LED. So the LED will go out because it doesn't have current
running through it. However when the door opens and the detector opens, then
current can no longer flow directly between point A and GND, so it must then
flow through the LED, lighting it.

Hope this helps,

BAJ
 
Reply With Quote
 
Byron A Jeff
Guest
Posts: n/a
 
      01-13-2004, 03:48 PM
In article <bu17c0$(E-Mail Removed)>,
Byron A Jeff <(E-Mail Removed)> wrote:
-In article <(E-Mail Removed)>,
-Moloney <(E-Mail Removed)> wrote:
--I am trying to detect whether or not my garage door is open. I purchased a
--normally closed contact switch to place on the bottom of the railing and
--bottom of the door. Being new to electronics I only understand the basics,
--but would like to try and use the N/C contact to send some type of signal to
--me that my garage door is open.

-- What would I need to detect if the circuit is opened or closed?
-
-You already have the detector, the NC contact. The only problem is how to hook
-it up so that the LED lights up when the door is opened. The simplest way is
-to utilize the fact that an LED must have a current limiting resistor so that
-it won't burn up.

-So let's start with a simple LED circuit:
-
-V----R----A----LED-----GND
-

One last point I forgot. Point A has to between the resistor and the LED. The
reason for this is so that the resistor can limit the amount of current drawn
from the wall wart. If point A were between V and R, then the closed circuit
would be a dead short on the wall wart, which leads to all kinds of problems.

That's why the fact that the LED requires a current limiting resistor is
important.

BAJ
 
Reply With Quote
 
John Fields
Guest
Posts: n/a
 
      01-13-2004, 05:23 PM
On Tue, 13 Jan 2004 08:14:16 -0800, "Moloney" <(E-Mail Removed)>
wrote:

>I am trying to detect whether or not my garage door is open. I purchased a
>normally closed contact switch to place on the bottom of the railing and
>bottom of the door. Being new to electronics I only understand the basics,
>but would like to try and use the N/C contact to send some type of signal to
>me that my garage door is open.
>
>Could I hook this N/C contact to a breadboard and have an LED light up when
>the door is open? What would I need to detect if the circuit is opened or
>closed?


---
Being new to electronics, the distinction between a normally closed and
a normally open switch may not be clear to you. A normally open switch
is one in which the contacts would be open when not being actuated by
the garage door, and a normally closed switch would be one where the
contacts would only be open when the garage door forced them open.

Viewing the following with a fixed pitch font like Courier,

If you wanted to use a normally open switch you could do this:

+V
|
[R]
|
+--[<LED]--O |
| |---DOOR OPEN
+----------O |
|
|
GND


If, on the other hand, you wanted to use a normally closed switch you
could do this:


+V
|
[R]
|
|A
[LED]
|
O|
|---DOOR OPEN
O|
|
|
GND

For a 20mA red LED and a 5V supply the value of the resistor would be
about 150 ohms and it would dissipate about 167mW of power in the first
example (with the door closed), which would be worst case, so you could
use a 150 ohm 1/4 watt resistor.

If your switch is really normally closed then the circuit would only be
drawing current when the door is open, as opposed to all the time if you
used a normally open switch.

--
John Fields
 
Reply With Quote
 
Stephen Kurzban
Guest
Posts: n/a
 
      01-14-2004, 08:03 PM
John Fields wrote:
>
> If, on the other hand, you wanted to use a normally closed switch you
> could do this:
>
> +V
> |
> [R]
> |
> |A
> [LED]
> |
> O|
> |---DOOR OPEN
> O|
> |
> |
> GND
>




John,

Did you mean:

+V
|
[R]
|
|A
[LED]
|
|O
|-----DOOR OPENS CONTACTS
|O
|
|
GND
 
Reply With Quote
 
John Fields
Guest
Posts: n/a
 
      01-14-2004, 08:58 PM
On Wed, 14 Jan 2004 13:03:38 -0800, Stephen Kurzban
<(E-Mail Removed)> wrote:

>John Fields wrote:
>>
>> If, on the other hand, you wanted to use a normally closed switch you
>> could do this:
>>
>> +V
>> |
>> [R]
>> |
>> |A
>> [LED]
>> |
>> O|
>> |---DOOR OPEN
>> O|
>> |
>> |
>> GND
>>

>
>
>
>John,
>
>Did you mean:
>
> +V
> |
> [R]
> |
> |A
> [LED]
> |
> |O
> |-----DOOR OPENS CONTACTS
> |O
> |
> |
> GND


---
No, I meant that the contacts are closed when the door is open.

Perhaps this would have made it clearer:

+V
|
[R]
|
|A
[LED]
|
O|
|<---CLOSED WITH DOOR OPEN
O|
|
|
GND


What the OP was looking for was an LED ON when the door was open, and
your way will turn the LED OFF when the door opens

--
John Fields
 
Reply With Quote
 
Stephen Kurzban
Guest
Posts: n/a
 
      01-14-2004, 11:51 PM

I reckon the title "Normally closed contact switch" let me
to believe the objective was to show the OP a way to wire NC
as well as alternative NO. I should have read the text of
the message instead of assuming anything...

Best,

SBK

John Fields wrote:
>
> On Wed, 14 Jan 2004 13:03:38 -0800, Stephen Kurzban
> <(E-Mail Removed)> wrote:
>
> >John Fields wrote:
> >>
> >> If, on the other hand, you wanted to use a normally closed switch you
> >> could do this:
> >>
> >> +V
> >> |
> >> [R]
> >> |
> >> |A
> >> [LED]
> >> |
> >> O|
> >> |---DOOR OPEN
> >> O|
> >> |
> >> |
> >> GND
> >>

> >
> >
> >
> >John,
> >
> >Did you mean:
> >
> > +V
> > |
> > [R]
> > |
> > |A
> > [LED]
> > |
> > |O
> > |-----DOOR OPENS CONTACTS
> > |O
> > |
> > |
> > GND

>
> ---
> No, I meant that the contacts are closed when the door is open.
>
> Perhaps this would have made it clearer:
>
> +V
> |
> [R]
> |
> |A
> [LED]
> |
> O|
> |<---CLOSED WITH DOOR OPEN
> O|
> |
> |
> GND
>
> What the OP was looking for was an LED ON when the door was open, and
> your way will turn the LED OFF when the door opens
>
> --
> John Fields

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Garage door eye PeterD Electronic Repair 0 12-25-2008 08:32 PM
Closed-Door Formula That The Few Are Using To Crush The Competition milton douglas Security Alarms 0 10-31-2007 05:43 PM
Garage Door Contact - Any alternatives to drilling concrete? Beachcomber Security Alarms 5 01-16-2007 04:54 AM
Door switch/contact location? Bob Security Alarms 5 02-05-2004 03:25 AM
garage door opener Alec Electronic Components 0 08-11-2003 09:17 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93