the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
icon

interior led lighting


Post ReplyPost New Topic
< Prev Topic Next Topic >
sirfatty 
Member - Posts: 4
Member spacespace
Joined: November 29, 2010
Location: Florida, United States
Posted: November 29, 2010 at 2:15 PM / IP Logged  
Hello all,
I wanted to start of by saying i did attempt to search so please if i missed it just post a link and i will close this.
I have a 2004 Corolla S. I am going to be installing some led strips in the foot wells inside the cabin. I would like them to come on when the doors are opened as well as when the front headlights are on.
I know that i can do one or the other very easily by using a simple relay to trigger when the door is open or when the running lights are on. However i do not know how to do them both. Can i simply attach the switched power of both relays to positive lead on the led strip or will that cause some sort of backwards flow problem.
I have attached a diagram of what i was thing of. Please let me know if i am going about this the correct way.
interior led lighting -- posted image.
Is there an easier way to do this?
Thanks
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: November 29, 2010 at 7:37 PM / IP Logged  
Assuming the door is a grounding switch, it can ground a relay (horn-type relay else 85; with 86 & 87 to (fused) +12V; and then 30) to power the LEDs.
And either a diode from the headlight circuit direct to the LEDs, else to 87 if the above if an SPDT relay is used and any changeover break is acceptable.
A diode may be needed from the door switch(es) to the relay coil (85) if dimmer ot other circuits are involved.
sirfatty 
Member - Posts: 4
Member spacespace
Joined: November 29, 2010
Location: Florida, United States
Posted: November 30, 2010 at 10:09 AM / IP Logged  
Alright i am by no means an expert at any of this. If i understand you correctly i just need to add a diode between both relays the the led controller box to prevent the flow of electricity backwards.
Is that correct?
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: November 30, 2010 at 8:39 PM / IP Logged  
What relays?
You don't need one if a possible perceptive break when switching from LEDs on with headlights to LEDs on for open door & close again is not a problem.
Depending on the LED current, a capacitor could solve that break (it's probably only ~20mSecs).
And otherwise, I only proposed one relay - but that assumed the door input was GROUND.
If the door input is +12V, then you only need 2 diodes.
sirfatty 
Member - Posts: 4
Member spacespace
Joined: November 29, 2010
Location: Florida, United States
Posted: December 09, 2010 at 3:45 PM / IP Logged  
Thanks for the response. This is the scenario i was thinking about. I get in the car at 7 PM when it is still light out. My headlights will not be on. I want the led lights to come on because the door opens. Because at other times it may be dark out so i would see them. I am driving now and at 7:30 it is now dark enough that i would notice the led, so i turn my cars headlights on and that would then trigger the led to come on as well.
In order to get the separate triggers i would need 2 relays with the 2 diodes between the controller box and the switched power correct regardless if the door is grounded or positive
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: December 09, 2010 at 7:48 PM / IP Logged  
This is what I was thinking...
interior led lighting -- posted image.
sirfatty 
Member - Posts: 4
Member spacespace
Joined: November 29, 2010
Location: Florida, United States
Posted: December 09, 2010 at 8:27 PM / IP Logged  
Thank-you for the picture. I am assuming the three lines means that is a ground. I might be understanding this wrong and if i am forgive me. But i know the 30 wire is the constant power. But i thought that the 87 wire is where the power flows to only when the coil is energized. so why does the led power wire connect to the 86 wire which is part of the coil.
I am also confused as too how a positive (from the dome light) and a negative from the door switch can join on the same wire? i might be misinterpreting that diagram.
My only other comment and again this might be wrong. for this part i am going to assume ur diagram is correct (it probably is interior led lighting -- posted image. ) Wouldn't that leave the led's on when the door is shut?
Thanks again for being so patient with me
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: December 09, 2010 at 10:28 PM / IP Logged  
Geez - I was worried when I read YOUR description in the email... what had I drawn?
First - the good bit & good assumption; the 3 horizontal triangularish lines are ground (GND).
The other good bit - you assuming my diagram is correct and hence your cautious questions... but also your questioning etc - I could be wrong!!!! [ REM above "... what had I drawn?..." ]
(Hence - in case of the rare yet still TOO oft occurrence that I might indeed be wrong - my reciprocal niceness. To quote someone else's "signature" - "no such thing as stupid questions - only stupid answers".)
Now for the remaining bits....
It's a case of learning to read wiring or circuit diagrams. It's not hard - there are references (on 12volt etc), and IMO it becomes almost intuitive once you start to understand...
But where to start? Maybe your reply, THEN my description....
"the 30 wire is the constant power" - no, 30 is simply a contact. It could be used for anything - input, output, GND etc. But it is often connected to a power source like constant power.
"i thought that the 87 wire is where the power flows to only when the coil is energized". Correct! But rather, 30 is connected to 87 when the relay is closed or energised. As with 30, what it is connected to is arbitrary.    
"so why does the led power wire connect to the 86 wire which is part of the coil?" - yes, it is the coil, but no - 86 is +12V when the headlights are on. So 86 comes from some part of the circuit (car) that is +12V when the headlights are on - maybe from the headlight relay's #30, or the beam switch etc.
Hence the grounded coil (thru 85) has 12V across it when the headlights are on, hence energising the relay and flipping its heavy contacts from 87 to 87a, hence joining 30 to 87a.   
"...how a positive (from the dome light) and a negative from the door switch can join on the same wire?" - no... there are components in between, ie - they are NOT the same wire.
The top part of the dome light is +12V. Ignoring the "left-tee" to the relay, its bottom is either "floating" or grounded.
IE - the door switch(es) as shown are open - hence no electricity flow.
If it/they close, thereby "shorting" or connecting the top part of the door switch to the (grounded) bottom part, then the dome light's bottom is grounded.
Although that might give the dome light a very dirty bottom, it will also mean +12V top side and GND bottom side, hence 12V difference and it lights.
(FYI - down here we call ground "earth", and I reckon our earthed bottoms are probably dirtier than your grounded ones. interior led lighting -- posted image. )
"...leave the led's on when the door is shut?"...
Now let's try my explanation.
It requires understanding of the above "building blocks" - ie:-
- only lines connected together are the same "wire" (inserted components change the connection...)
- closed contacts "join" different wires together (effectively the same wire or connection);
- think of any point on the same wire as being the same electrically;
- a "gap" in a wire or contact/switch is an open circuit (ie, no electricity flow)....
(Hopefully that's enough for now!)
Also, I draw "circuit" or functional diagrams that are supposed to show how things connect.
(As opposed to how to connect which show pictures of actual relays & wiring.)
Circuit diagrams generally show things in their "normal" state.
EG - the door switches are shown open (when they are Normally Open switches that closed when the door opens).
The relays are shown de-energised, and usually with the NC (Normally Closed 87) contact away from the coil. Hence my relay above, the coil "pulls" the switch towards it.
(FYI - To simplify circuit understanding (ie, tracing it through), relay contacts may be shown remote from the coil; maybe "upside-down"; and relays/switches with many poles might be shown with poles scattered all over the place.)    
So now, my explanation....
interior led lighting -- posted image.
As shown, the LEDs are off.
Though the LEDs have +12V, their Kathode (bottom) goes to thru 30 to the NC contact 87 to the dome light bottom.
Since the door switch is open, neither dome nor LEDs are grounded, hence all are unlit.
If the door is opened, the door switch closes, hence grounding the dome light (as usual), AND the LEDs thru the relay 87-30.
Hence dome and LEDs are lit on with door open.
Close the door. LEDs & dome are off again (ie, the door switch opens).
Turn on headlights.
+12V from the headlights energise the relay - ie, energise the relay's coil with +12V on 86 with 85 grounded.
Hence the relay's contacts pull in.
Hence 30 flips over to 87a (the grounded NO Normally Open contact).
Hence the LEDs light.... ie...
LEDs have +12V (top) and the LED's dirty bottom is grounded through 30 & 87a. Hence the LEDs are lit.
This has no effect on the dome light (87 is not connected to 30 or 87a).
The door will still turn on the dome light as usual. (No effect on the LEDs but they are already on.)
Turn off the headlights, +12V is removed from the relay's coil 86, the relay re-energises and its contact swings back to connect 30 to 87. Hence the LEDs now respond to the door switch.
Howz that? interior led lighting -- posted image. ??
The only issue - a slight break as the relay changes over but only when the door is open when turning headlights on or off.
The other issue - that I thought it could be done without a relay. It can be, but that involves diodes and it tricky with mixed trigger polarities - ie, +12V headlights & 0V (GND) door switch.
When both are the same - ie, both GND or both +12V - then diodes are great.
Otherwise you need to invert one of the triggers which is effectively what the relay is doing.
(The above is essentially a relay that inverts either "signal" and the 2 diodes, but re-organised to remove the diodes. That's good old Boolean algebra at work - aka "logic".)
Incidentally, the above can be modified so that it is the door switch that turns on the relay instead. It depends on what is desired. But headlights are generally turned on less often than doors open... etc.   
And modifications will be needed if either polarities are different from what I assumed, or if the door switch is NC (Normally Closed) etc.
sirfatty wrote:
Thanks again for being so patient with me
Well as yet you have not earned the right not to get it. (My patience that is. If you ever earn such right, I may substitute something else...)
Yes, that last bit is a LOL!
But you know the joke with all of this...?
It's a simple 5 minute explanation in person.
But that's the advantage of instant feedback and iterative & adaptable description. I hate written discussions when "teaching"!
I much prefer short iterations. (Ain't THAT a joke!!)

Sorry, you can NOT post a reply.
This topic is closed.

  Printable version Printable version Post ReplyPost New Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

  •  
Search the12volt.com
Follow the12volt.com Follow the12volt.com on Facebook
Sunday, May 12, 2024 • Copyright © 1999-2024 the12volt.com, All Rights Reserved Privacy Policy & Use of Cookies
Disclaimer: *All information on this site ( the12volt.com ) is provided "as is" without any warranty of any kind, either expressed or implied, including but not limited to fitness for a particular use. Any user assumes the entire risk as to the accuracy and use of this information. Please verify all wire colors and diagrams before applying any information.

Secured by Sectigo
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
Support the12volt.com
Top
the12volt.com spacer
the12volt.com spacer