<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by Joe-K:
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by NeilV:
This could work but it would also create a parasitic draw as the relay would be energized to turn the light off. 87A is active while 87 is inactive when the relay is at rest while 87A is inactive and 87 is active when the relay is energized. </div></BLOCKQUOTE>
You're right about 87 being the inactive while at rest. The wire feeding the light should be on 87 instead of 87a.
The feed to the light is correct though so the relay will be at rest and no parasitic draw when the compartment door is closed. The magnet on the reed switch will hold the NC contacts of the switch open when the door is closed. When the compartment door opens, the NC contacts of the reed switch close and energise the relay.
With it set up the way it was, the light would have gone on when the compartment door closed, and off when it opened.
Would have been interesting watching Sean checking the light though
Like seeing if the refrigerator light really goes off when the door closes
As I paged through this thread all I could think of is why would he want the light on when the door is closed? (using 87A) use pin #87
Both pin #86 and the gray wire of the light go to ground.. (the -12vdc is very confusing, =12vdc to -12vdc is 24vdc and makes auto bulbs into flash bulbs)