How-to: Locked Out Prevention Circuit

ZapWizard

Member
Locked Out Prevention Circuit
For a 2003 Mazda Protg
By ZapWizard
www.ZapWizard.com

--------------------------------------------------------------------------------

01.jpg


You all know the feeling; looking in through your car window staring at your keys you just locked inside.
Most likely you left the keys in the ignition, opened your door, pressed the Lock button on the door, and walked away.
There is a easy way to prevent this, and it only takes two cheap components and some time.

-------------------------------------------------------------------------------

LockedOut.GIF


First the schematic. I designed this using the service manual, while my keys were in fact locked inside my car, and I was awaiting my wife to come home with here keys to unlock it.
As above: IF any car doors are open AND your keys are still in the ignition THEN your door lock buttons will not work until the keys are removed.
Any other condition and the locks work the same.

--------------------------------------------------------------------------------

02.jpg


You need only a few cheap parts.




  • +12volt Relay capable of NORMALLY CLOSED (N.C.) contacts.
  • Silicon diode capable of handling +12volts (I used a 1N4001)
  • Four wire taps
  • Wire
  • Zip-Ties
  • Double Sticky Tape
--------------------------------------------------------------------------------

03.jpg


First solder the diode to one of the coil connections on the relay.
The diode is marked with a white line, this should be towards the relay.
Leave about 6 inches of wire, and put heat-shrink tubing over the connection.
I realized later in this mod that it would be hard to follow without proper color-coding, so the above wire is later RED.

--------------------------------------------------------------------------------

04.jpg


Solder another wire to the other coil terminal. Again leaving about 6 inches of wire.
This wire will later be colored GREEN

--------------------------------------------------------------------------------

06.jpg


Take note of the relays schematic. We need to solder a wire to the switched terminal, and it's Normally Closed contact.

--------------------------------------------------------------------------------

07.jpg


Either cut or bend the other contacts that we won't be using.

--------------------------------------------------------------------------------

08.jpg


Solder a wire to each of the contacts that we left un-bent. Color coding does not matter here as it doesn't matter which connection goes where at the other end. Leave about 4 or 5 feet of wire.

--------------------------------------------------------------------------------

09.jpg


Here you can see my RED and GREEN wire change.
The circuit is now ready to take out to the car.
I also included some zip-ties and a piece of double stick tape.
 
Last edited:
10.jpg


We need to locate all the proper wires that we will be tapping and cutting into.
First up is the Door Lock Control Box.
This is located just above your foot rest on the driver's side.
Some of following steps optional, but were required to first find and test the wires.

--------------------------------------------------------------------------------

11.jpg


It is pretty easy to find as it is bright yellow.

--------------------------------------------------------------------------------

12.jpg


Remove the connector, then test your locks. No buttons should work at all.

--------------------------------------------------------------------------------

13.jpg


Using the service manual we find that we need wire 'F'.
This is the GREEN W/ RED STRIPE wire.

--------------------------------------------------------------------------------

14.jpg


Remove this wire from the connector.
(This entire mod on the car-end was done with that tool, a Leatherman Squirt from Radioshack)

--------------------------------------------------------------------------------

15.jpg


Plug the connector back into the control box. Test your door lock button, it should not work.
This wire controls the "Lock all Doors", and "Unlock all Doors" signal.
The green without stripe unlocks and locks the driver's door only.

--------------------------------------------------------------------------------

6-remove.jpg


Next up we need to get behind the Instrument Cluster. It doesn't need to be removed.
Follow my instructions from my LED gauge mod here:

--------------------------------------------------------------------------------

16.jpg


Looking at the connectors on the back of the instrument cluster locate the far left connector.
Plugged into this connector is a WHITE W/ GREY DOTS wire. This is the Key Reminder Switch Wire.
My wire was already detached after doing the "Disable Door Chime" mod.
(NOTE: The door chime mod on my website is old, and also disables the courtesy light, disconnecting the above wire is the proper way to disable the door chime.)

--------------------------------------------------------------------------------

17.jpg


First I need to test this wire.
Indeed is has +12volts when there is a key in the ignition.
When the keys are removed this wire has no power.

--------------------------------------------------------------------------------

19.jpg


Next locate the connector at the far right.

--------------------------------------------------------------------------------

20.jpg


Remove this connector and look at it with the tab facing up.
The Door Ajar Switches are connected to the BLACK W/ BLUE STRIPE wire.
This wire is the middle wire near the tab.

--------------------------------------------------------------------------------

21.jpg


Remove this wire, and plug the connector back into the Instrument Cluster.

--------------------------------------------------------------------------------

22.jpg


Confirm that your Door Ajar Light no longer works.
Don't worry we will be putting this wire back, I only removed it to confirm I had the right wire.
 
Last edited:
23.jpg


Now we are ready to install our relay circuit.
Using double sticky tape I attached the relay to the back of the instrument cluster.

--------------------------------------------------------------------------------

24.jpg


I then connected the RED wire (This is the one with the diode) to the White w/ Silver.
And then connect the GREEN wire to the Black w/ Blue wire.
Try opening a door with the keys in the ignition, the relay should trip.
If not try reversing the RED and GREEN connections, and try again. (If that works you installed your diode backwards)

--------------------------------------------------------------------------------

26.jpg


Trim your GREEN wire to size, and using a tap attach the GREEN wire to the BLACK W/ BLUE STRIPE wire.
Make sure and re-install the Black w/blue wire back into the instrument cluster.

--------------------------------------------------------------------------------

25.jpg


Since I am leaving my Key Reminder Switch wire detached from the Instrument Cluster due to the door chime, I didn't need to use a tap.
Instead I simply stuck the wire into the connector and secured it with tape and zip-ties.
If you still want your door-chime, reconnect this wire to the instrument cluster and use a tap to attach to it.

--------------------------------------------------------------------------------

27.jpg


The relay connection is now complete.
Push the black wires behind the instrument cluster and down to the Door Lock Control Box.

--------------------------------------------------------------------------------

28.jpg


About ten seconds later I realized I had to move the relay due to the metal bracket.

--------------------------------------------------------------------------------

29.jpg


Next we need to go back down to the Door Lock Control Box, and our GREEN W/ RED STRIPE wire we left disconnected.

--------------------------------------------------------------------------------

30.jpg


Cut the Green w/ Red wire leaving enough wire on each end to attach our wire taps.
Also trim the black wire from the relay to size.

--------------------------------------------------------------------------------

31.jpg


Next attach one black wire to each end of the Green w/ Red wire.

--------------------------------------------------------------------------------

32.jpg


Re-install the Green w/ Red wire into the Door Lock Control Box.

--------------------------------------------------------------------------------

33.jpg


That's it!
Now if any car door is opened, and your keys are still in the ignition then, your door-lock buttons will not work.

Be aware if you do leave your keys in the ignition, exit the car, press the lock button, and walk away, your doors won't be locked!
But since the car makes a sound when you actualy press the lock button you should be able to tell something is wrong when you press the button.
 
Last edited:
Nice, I wish this existed before i got my compustar.

Very nice write up Zap, keep up the great work.
 
yeah sounds good...why not press the lock button on ur keys and then ur sure they are in your hand
 
NRRfrogmanP5 said:
yeah sounds good...why not press the lock button on ur keys and then ur sure they are in your hand
Something I have not got into the habit of for some reason, it's automatic, I press Unlock, open the car door, press the lock, then get out, all in one motion.
 
My solution to this problem? The valet key is in my wallet, tucked into one of the credit card pockets. I have never had an instance where I have left both my keys and my wallet inside the car. (although now that I've said this, I probably will...)
 
Nice write up. If I didn't have a alarm remote that I always use I would definately use this. Only suggestion I have is to tell those who have no idea about relays where the wires are going to on it. Not everyone knows which is normally open or closed or if they need to use 87 or 87a......just a thought for those not electronicly inclined.
 
Back