loading

I bought my oldest son a used 2007 Mazda 3 last week. It is in great condition and he loves it. The problem is that since it is an older base model it doesn't have any extra bells or whistles like automatic headlights. He was driving a Toyota Corolla that he passed down to his little brother but it had automatic headlights so he never had to worry about turning them off. I was worried he would forget to turn them off one day off at college and come back to a dead battery.

Step 1:

I racked my brain trying to come up with a simple solution that perhaps involved tapping a fuse that provided power only when the ignition was on and somehow using that to supply power to the headlights but the problem is that there are five different fuses for the headlights: Right-side low beam, left-side low beam, right-side high beam, left-side high beam and one 40 amp fuse under the hood that runs them all. Even if I were to somehow interrupt the power to the headlights through one or all of the fuses, the car still thinks the headlights are on because the switch is still in the on position and the car makes a loud warning sound while the drivers side door is open with the ignition off. That would become annoying.

Step 2:

I decided the best way was to go to the source and that was the headlight switch on the turn signal stalk. Luckily exposing that only involved loosening four screws. Two under the steering wheel shroud and two that hold the stalk to the steering wheel column.

Step 3:

I probed the stalk assembly using my multimeter and determined that interrupting the peach wire was the same as turning the headlight switch to the off position. How I determined this was because there was continuity between the peach and red wires when the switch was turned to headlights and continuity between the peach and orange wires when the switch was turned to parking lights but no continuity between any of them when the switch was turned off.

Step 4:

I decided to use a 12 volt automobile relay to interrupt the peach wire when the ignition was off to simulate the headlight switch being in the off position. I pushed the peach wire's pin back out of the wire connector and luckily it was almost identical to an RC servo pin of which I have plenty. I used some thin RC servo wire and peeled off the yellow wire so I was left with only a red and back wire. I soldered and crimped a female servo pin onto the black wire and pushed it into the wire harness and soldered and crimped a male servo pin onto the red wire and pushed that into the peach wire's female pin. Basically what I did was make the peach wire super long because shorting the ends of the red and black wires together completes the peach wire's original path.

Step 5:

This is the stalk assembly with the protective cover reinstalled. In the second picture you can see my red and black servo wire disappearing into the dash. I fished it over to the fuse panel located in the passenger seat footwell.

Step 6:

Here is the 12 volt automobile relay mounted behind the fuse tray. The white wire is ground or negative and the red wire goes to a positive terminal that is energized only when the ignition is on. When that happens it closes the relay and provides continuity between the yellow and blue wires that I have connected to the ends of my red and black servo wire using a JST connector. Remember, shorting the red and black wires together completes the peach wire's circuit.

Step 7:

Here is the schematic of a typical 12 volt automobile relay.

Step 8:

I used a mini fuse tap to connect the positive terminal of the relay to a fuse position that is energized only when the car's ignition is turned on. In this case it was to a moonroof which this car definitely does not have.

Step 9:

Now when the car ignition is turned off the relay opens and interrupts the peach wire and the headlights turn off regardless of the switch position on the stalk. If the switch was left on, then when he starts the car the headlights come on automatically which my son said he might do since his driver's ed instructor told him he should drive with his lights on all the time anyway. At least now I won't have to worry about him running down his battery! Thank you for looking!

Ok thanks! So I don't need to use 87a or even have a replay with 87a pin. Thanks for the updated diagram I will prob complete this weekend.
Can you provide the colors you wired to the relay port number. I'm trying to follow how you connected yours and what side of the peach wire goes to 87 and what side goes to 87a. I have a Mazda 3 and was looking for this exact article. I was about to give up until I found your article
It doesn't matter which side goes where because when the ignition is turned on and closes the relay, all it is doing is providing continuity between the blue wire (30) and the yellow wire (87). These relays are normally used to provide 12V power to an accessory such as fog lights or an LED light bar. In that case the blue wire (30) is usually also connected to the 12V source and when the relay is activated it passes the 12V current on to the the yellow wire (87) which is connected to the accessory. In this case, however, all we are simply doing is passing the peach wire's signal from the the blue wire (30) to the yellow wire (87) to complete it's path.
<p>OK, parking lights turn off also when low beam switch position ON but what if I switched to parking light when ignition off? are they working?</p>
No, the parking lights will not work with the ignition off the way I have it wired.
<p>Thats cold</p>
<p>Woah. This is cool. Probably too &quot;next level&quot; for me, but nice one. Totally got my vote.</p>
This replayreb cat always knows whats up!
<p>That's pretty much exactly as I would have done it. Light switch will still operate as normal as long as ignition is turned on even if engine isn't running and can be turned off if he's sitting there listening to music or something (my stepdaughter used to do it, she could flatten battery by using car stereo system.) Ultimately though, it would be better to 'train' your son to check light switch, all the 'bells and whistles' on new cars just promote irresponsible behavior as 'car will do it for me' and get treated like a mobil living room</p>
<p>Doesn't the buzzer remind him? Just make it louder :)</p><p>Maybe <br>replace it with a recording &quot;If your battery goes flat, I'm not driving <br>out at 3am to jump start your car, if your battery....&quot; :D<br></p><p>Ideally you want to control the lights through some logic. e.g. as follows</p><p>ignition<br> on + light switch on : lights turn off when the ignition is turned off <br>or the light switch is turned off (As you have it)<br></p><p>Ignition off + lights on : lights turn off when light switch is off, or ignition turned on and off again. </p><p>You may also want to include a delay-off timer while at it. <br></p><p>If any<br> one of your mods fails you may have quite an issue! The original setup <br>is pretty robust. You must be able to turn the lights on and off as <br>required. If either fail you may have a dangerous condition. Is a flat <br>battery worse than a crash?<br></p><p>And, BTW, most modern cars (in <br>Europe at least) use CAN or low current signals into the management unit<br> that then controls systems using logic, so adding a light sensor gives,<br> self dipping, auto switch on, auto switch off, delay off etc. this is fairly <br>simply without complicated cabling and lots of relays.</p><p>On my own car, my lights will turn off if the ignition is off AND I open the drivers door. If I want my side lights left on while away from the car, I have to turn my lights off, with the ignition off, and turn them on again!</p><p>My wife's car has a buzzer! :( Never left them on.</p><p>Nice clear instructable though :)</p>
<p>Thanks! Cars are getting more complicated with the computers and electronics for sure. I found this relay that has an adjustable delay that could keep the headlights on for up to three minutes after the ignition is turned off. It fits a standard 12v automobile relay harness so it is plug and play. http://www.qualitymobilevideo.com/bu508td.html</p>
<p>Hopefully the lights don't turn off when he's driving down the road at <br>night causing him to crash the car or a Truck to crash into him, what <br>happens if the relay stops working?</p>
<p>I thought about that and I guess I could wire two relays both in parallel for redundancy but there are many relays in a car and any one of them could fail at any time. I agree none are as critical as the one for your headlights so I did tell my son that if his headlights go off while driving he should pull back on the stalk (for flashing your headlights) and hold it until he can pull over safely.</p>
<p>https://www.youtube.com/watch?v=ti70RkSVpO4&amp;ab_channel=MightyCarMods</p>
<p>OMG! I watch those guys all the time on Youtube but I swear I have never seen that episode! I'm glad I didn't or else I wouldn't have figured out how to do it with only one relay without cutting any high power wires to the headlights.</p>
Well done. Very handy
<p>an alternative: </p><p><a href="http://www.eeweb.com/blog/extreme_circuits/simple-headlight-reminders" rel="nofollow">www.eeweb.com/blog/extreme_circuits/simple-headlig...</a> </p>
<p>This is forbidden in France (and I think elsewhere as well), you always must be able to turn your light on. It is an obvious question of safety. You'd better turn a buzzer on.</p>
nice 'able, but surely the loud audible buzzer upon opening the drivers door should jog his memory enough for him to turn off the lights?
<p>It would 99 times out of a 100 but just in case he forgot that one time... And I probably did it more for his convenience more than anything else. Turning off your headlights is so 80's :)</p>
<p>good job.</p>
Nice. been looking for something like this. tho would have to find a car auto elec to install. thanks for posting
Excellent Ible! Thanks for sharing!
I did the same to my car 3 years ago. Great work. U got my Vote!

About This Instructable

20,179views

85favorites

License:

More by replayreb:Laser Box Music Laser Light Show How to make an inadvertent purchase using Amazon Echo Turn off headlights when ignition off 
Add instructable to: