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

Proximity Sensor Need some advice


Post ReplyPost New Topic
< Prev Topic Next Topic >
noregret4life 
Member - Posts: 11
Member spacespace
Joined: November 14, 2005
Location: United States
Posted: July 19, 2006 at 2:55 PM / IP Logged  

I have a 2005 Benz SLK350 (its a convertable)

And i am planning on adding a DEI proximity motion sensor into the factory alarm or additional alarm horn.

I purchased the PAC TR7 trigger, and the DEI 508D proximity module and programmed the PAC to Constant On from Pulse trigger. This part works great. However here is where i need some help:

I want the proximity sensor to turn on when i lock my car from the Benz Key remote, and Turn off the sensor, when i unlock from the remote. I was able to locate a trigger for this to work. There is a gas tank actuator that locks/unlocks with the alarm activating/deactivating.

The set up is 2 wires. #1 gets pulsed (+) when Lock is pressed on the key. #2 gets pulsed (+) when Unlock is pressed on the key. At rest they are both (-)

When i connected the PAC TR7 programmed for Pulse > Constant, to to #1 wire. I press Lock on the Key, and the motion sensor is on. But in order to deactivate i am forced to press the Lock again since it is only connected to #1 locking wire. If i connect both #1 & #2 wires (isolated from each other) to the (+) trigger on the PAC TR7, then i will be able to Activate the motion sensor along with the alarm, and deactivate the motion sensor when unlocked.

This is fine however is there a way i can connect the PAC TR7 and or other parts i may not have yet, so that the proximity sensor ONLY Turns on with the LOCK Button on the Key remote, and ONLY unlocks with the unlock button? So that in the case i hit Lock 2x it does not Activate then Deactivate the proximity sensor?

glantern83 
Member - Posts: 32
Member spacespace
Joined: July 13, 2006
Location: United States
Posted: July 26, 2006 at 5:21 PM / IP Logged  
I belive you could use a relay... Not to sure about your hookup but a relay could allow you to add a delay of somekind to keep it from deactivating if you hit lock twice...
-KITT
dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: July 26, 2006 at 11:01 PM / IP Logged  
Going from your description, it sounds like the PAC TR7 just toggles from one to the other whenever it gets a pulse trigger- unless there's some other kind of input like a reset on it, it's hard to prevent it from getting out of sync with the locks without adding some circuitry.
It should be easy enough to add a logic gate that uses the proximity sensor power as one of the inputs to block the pulse when a lock pulse comes in.
For example, you could set it up so that whenever the prox sensor is powered up and the input to the gate is 12V, it prevents the lock pulse from getting to the TR7 trigger input. When the sensor is off, it would only allow a lock pulse to get through and toggle the TR7.
noregret4life 
Member - Posts: 11
Member spacespace
Joined: November 14, 2005
Location: United States
Posted: July 26, 2006 at 11:06 PM / IP Logged  

That is a good idea... How do i go about setting up a logic gate like that?

Thanks.

dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: July 26, 2006 at 11:36 PM / IP Logged  
This should work- (note this only needs one chip, the connections shown are all in one)
Proximity Sensor Need some advice -- posted image.
The way it works is, by using the proximity sensor power as an indication of current state of the TR7, it only allows the pulse to go through if it's opposite from the current position. If it's already in the locked position, the lock pulse won't do anything, and vice versa. That way it will never get out of sync if you hit the lock button multiple times-
Don't know what the input to your toggling relay looks like, but if it's a logic input as I suspect it is, this should drive it without much trouble. If it drives a relay coil directly, then you'd have to add a transistor for more drive capability. You could just measure the resistance to see.
If the lock and unlock pulses are coming directly from the actuators rather than an electronic circuit, you should add a couple of diodes on the inputs to suppress any voltage spikes. Just connect diodes to each of the inputs, with the striped side connected to 12V.
noregret4life 
Member - Posts: 11
Member spacespace
Joined: November 14, 2005
Location: United States
Posted: July 27, 2006 at 1:07 AM / IP Logged  

thanks a lot!

now i can continue this project...

regards,

Lenny

dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: July 27, 2006 at 8:55 AM / IP Logged  
Looked up the description on the PAC module you have, and it seems like it has a wide range of operational features; did you look through the manual to make sure there isn't some way it could do what you want directly? I'd look closely at it to make sure first-
If not, adding the logic circuit ought to do it. From the description, I don't think you'll need anything extra on the output to the PAC module, it's going to be a high impedance logic input itself.
On the other side, I'd add the diodes mentioned to protect the chip from voltage spikes; just connect them between the inputs and the power pin on the chip, in the right polarity.
Good luck-
noregret4life 
Member - Posts: 11
Member spacespace
Joined: November 14, 2005
Location: United States
Posted: July 27, 2006 at 10:02 AM / IP Logged  

I double checked the PAC TR7 module, and it does not look like there is a way to get it to perform as a logic gate from 2 different triggers. it has a (-) trigger wire, and a (+), so the only way i got it to work was to connect both Unlock & Lock (+) triggers with Diodes to the (+) wire of the PAC module, which then would output 12v (+) to the proximity sensor.

I took a closer look at the cirucuit you designed above, excuse my lack of knowledge in the topic, but perhaps you can explain a bit further for me... Still learning here.

On Pin 4 - To relay toggle input... what is that supposed to connect to? Is this an output that would connect to the alarm? or a main trigger to enable the entire circuit? I take it this is the -input to your toggling relay- you wrote of in your comment with the circuit. If it is to activate the entire circuit, then i would connect my PAC module to it so that when i turn the car off, and remove the key, the PAC gives power to the logic circuit... correct?

Perhaps i explained my original post incorrectly. So here is a simplified version.... i hope:

Car already has the factory built in alarm from Mercedes.

Goal: attach proximity sensor with an addition siren, so that when i lock the car, proximity only turns on, and when i unlock the car proximity only turns off from the Mercedes Key remote.

Proximity alarm triggers: will connect to an additional siren, Not to the Benz alarm.

Triggers found: (+) pulse from Lock & (+) pulse from Unlock

So would the above circuit still work based on what i described?

Also, one other thing to note... The convertable roof opperates from the Key remote. Button sequence to open roof = 3 x unlock, button sequence to close roof = 3 x lock

I don't think this will play too much of an issue as the proximity sensor has a built in 30sec. timer before it is activated, and the roof opens and closes in 26sec.

Thanks for your help.

-Lenny

dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: July 27, 2006 at 12:46 PM / IP Logged  
The output is just to the (+) trigger of your PAC module; just described it as a relay toggle because that's what it's doing-
Just connect it where you have your two diodes connected to.
If you need an extra delay before powering up the prox sensor on lock, it'd be easy enough to do with the logic circuit, so it'll wait whatever time you want before sending power to it. Since you have 4 seconds to spare, you can do without it for now.
dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: July 27, 2006 at 12:54 PM / IP Logged  
By the way, the circuit should get constant power, it's not   coming from the PAC module. It has negligible power draw, so you don't have to be concerned with standby power drain.
This is simply acting as a gate for your trigger signals coming in from the lock and unlock, going to the PAC module; it's not controlling anything else.
(Independent of your alarm)
You could probably do without the PAC module with variation on the circuit, but since you've already got it, you may as well put it to work-
Page of 2

  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, July 27, 2025 • Copyright © 1999-2025 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