Print Page | Close Window

puzzled, dpdt relay and sensing

Printed From: the12volt.com
Forum Name: Relays
Forum Discription: Relay Diagrams, SPDT Relays, SPST Relays, DPDT Relays, Latching Relays, etc.
URL: https://www.the12volt.com/installbay/forum_posts.asp?tid=130914
Printed Date: May 28, 2024 at 5:41 PM


Topic: puzzled, dpdt relay and sensing

Posted By: midlifez
Subject: puzzled, dpdt relay and sensing
Date Posted: March 14, 2012 at 1:44 PM

Stumped...

Bought some JDM electric folding mirrors for my car. What I wanted, and have accomplished, is for them to automatically fold closed when the car is turned off and automatically fold out when the car is turned on again. So far so good.

I accomplished this by way of a DPDT relay. The mirrors work such that when + and - are connected to the motor one direction they fold in, reverse polarity and the fold out.

What I am wanting do now though is hook up the physicaly switch whic allows manual control of the folding in/out action of the mirrors. What I need is a way to have so that after the car is turned on and the mirror has been unfolded power is cut to it afer 20 seconds. The reason is there is no way to know what position the manual folding mirror switch is in and thus if it had been left in the closed/folding position and the DPDT relay then attempted to unfold the mirror upon turing the car on it would short out.  I also thought about putting a DEI 528t spliced in between the ACC source (the yellow wire below) and the DPDT relay where the 528t would then supply power for 20 seconds, the relay would then unfold the mirrors and using another 528t to cut power to the manual mirror switch assembly for 30 seconds. Problem in this scenario is when power is not present at the ACC + line, as would be the case after the expiration of the 20 seconds via the 528t, the DPDT would then fold the mirrors back in..

Some starting points:

1. The manual switch is the one which came with the mirrors and is THE switch which I want to use as it matches the interior, etc.
2. The manual switch is part of other switches (control of mirror angle, etc.) and only receives power when the car is turned on.
3. The manual mirror folding switch has only two functions: A. fold mirrors in or B . reverse polarity of + and - to them which folds the mirrors out

Below is a paint pic I made to show the current function of the DPDT relay:
- Yellow is "accessory" power, i.e. + which is only supplied when the car is on
- Green is constant + power, i.e. always on
- Black is ground

- Brown and Blue are connected to the folding mirror motor and are either + or - depending on which way the mirror is to be folded.

posted_image

I have the part solved for the power at the manual switch itself; going to use a DEI 528t which will be spliced into the ACC power wire to the switch assemble. When it detects power it will not allow power to pass through until 30 seconds have elapsed.

Any ideas from some electronic gurus? My first post here and yes, have searched...




Replies:

Posted By: KPierson
Date Posted: March 14, 2012 at 4:31 PM
How about tying it in to door lock/unlock pulses. You could set it up so that if the ignition is not on and a door lock pulse is received it latches a timed relay on for X seconds. The same for unlock.



-------------
Kevin Pierson




Posted By: midlifez
Date Posted: March 14, 2012 at 5:09 PM

KPierson wrote:

How about tying it in to door lock/unlock pulses. You could set it up so that if the ignition is not on and a door lock pulse is received it latches a timed relay on for X seconds. The same for unlock.


After much noodling think I MAY have found a solution:

A. Put a 528t on the output wires, i.e. NOT supply side, of the existing DPDT relay, with the 528t set to detect change in polarity from + to - or - to + with them timed to pass through for 15 seconds.

B. Then on the + and - feeding into the mirror control switch assembly so the two 528t's cut power to them for 20 seconds.

In this fashion when the car is turned on the (A) 528t's on the output side of the DTDP will supply power and unfold the mirrors and then after 15 seconds cut power while the (B) 528t's will not allow power for 20 seconds so as to avert possibility of shorting due to the position of the manual folding mirror switch.

Thoughts?

wiring in to door locks is problematic for other reasons.





Posted By: howie ll
Date Posted: March 15, 2012 at 4:37 AM
Use this diagram, note the violet wire represents the 528t BLACK/ white trigger wire. I've used as switch to ground both but it you followed the rules and told us what car, as Kevin says, I'm sure we could resolve this via lock or ignition.

-------------
Amateurs assume, don't test and have problems; pros test first. I am not a free install service.
Read the installation manual, do a search here or online for your vehicle wiring before posting.




Posted By: howie ll
Date Posted: March 15, 2012 at 4:39 AM
Think I should have posted it!55B_mirror_fold.bmp

-------------
Amateurs assume, don't test and have problems; pros test first. I am not a free install service.
Read the installation manual, do a search here or online for your vehicle wiring before posting.




Posted By: howie ll
Date Posted: March 15, 2012 at 4:40 AM
Do you know I think my diagram is WRONG,, I think I can use one each for open and fold!

-------------
Amateurs assume, don't test and have problems; pros test first. I am not a free install service.
Read the installation manual, do a search here or online for your vehicle wiring before posting.




Posted By: howie ll
Date Posted: March 15, 2012 at 5:00 AM
Sorry, I did the original some time ago, newer version!
79C_mirror_fold.bmp

On fold run it to an ignition wire and diode with a 1N4004, band towards the ignition.
On the 528t used to OPEN the mirrors, from the ignition side of your first join, run a wire to the open 528t BLACK/ white, this time cut the loop on that 528t and diode 1N4004 the other way round, i.e. band away from ignition.
This will give you close on turning off ignition, open on turning on ignition. Set the 528t internal timers for 1 second longer than it takes to open or fold the mirrors.


-------------
Amateurs assume, don't test and have problems; pros test first. I am not a free install service.
Read the installation manual, do a search here or online for your vehicle wiring before posting.




Posted By: midlifez
Date Posted: March 15, 2012 at 6:55 AM

It is a 1990 Nissan 300ZX Twin Turbo

This model year does not have a remote controlled lock/unlock. The driver side door keylock does lock/unlock when turned though... Interested in solution using that.

THANKS!





Posted By: midlifez
Date Posted: March 15, 2012 at 7:34 AM

howie ll wrote:

Sorry, I did the original some time ago, newer version!
79C_mirror_fold.bmp

On fold run it to an ignition wire and diode with a 1N4004, band towards the ignition.
On the 528t used to OPEN the mirrors, from the ignition side of your first join, run a wire to the open 528t BLACK/ white, this time cut the loop on that 528t and diode 1N4004 the other way round, i.e. band away from ignition.
This will give you close on turning off ignition, open on turning on ignition. Set the 528t internal timers for 1 second longer than it takes to open or fold the mirrors.

OK, just so I am clear, looking at the last image you posted the connections are as in the image I posted, I enlarged it and labled each connection. Am also confused as I dont see any switch/accessory power connection, i.e. one which is only hot when the car is turned on.

A: Mirror
B: Mirror
C:?
D:Manual mirror switch
E: ?
F: ?

posted_image





Posted By: howie ll
Date Posted: March 15, 2012 at 10:25 AM
A + E = driver's door mirror
B + C = passenger's door mirror
D + F = switch

-------------
Amateurs assume, don't test and have problems; pros test first. I am not a free install service.
Read the installation manual, do a search here or online for your vehicle wiring before posting.




Posted By: midlifez
Date Posted: March 15, 2012 at 12:06 PM

THANKS! Will give it a shot this weekend.

Final questions..

 The configuration you sugges will ensure that in the situation where the cars is ON and the MANUAL switch is moved to the folded position that no short will occur, correct?





Posted By: midlifez
Date Posted: March 17, 2012 at 11:19 AM
midlifez wrote:

howie ll wrote:

Sorry, I did the original some time ago, newer version!
79C_mirror_fold.bmp

On fold run it to an ignition wire and diode with a 1N4004, band towards the ignition.
On the 528t used to OPEN the mirrors, from the ignition side of your first join, run a wire to the open 528t BLACK/ white, this time cut the loop on that 528t and diode 1N4004 the other way round, i.e. band away from ignition.
This will give you close on turning off ignition, open on turning on ignition. Set the 528t internal timers for 1 second longer than it takes to open or fold the mirrors.

OK, just so I am clear, looking at the last image you posted the connections are as in the image I posted, I enlarged it and labled each connection. Am also confused as I dont see any switch/accessory power connection, i.e. one which is only hot when the car is turned on.

A: Mirror
B: Mirror
C:?
D:Manual mirror switch
E: ?
F: ?

posted_image


Sorry to be dense possibly, but want to make sure wire up corectly. In the diagram you posted the colors dont match what the 528t has. On the 528t there are the below color wires, which match to your colors in the diagram above?

Colors are:

528T / Your Diagram
ORANGE /
YELLOW / Yellow
RED /
BLACK / Black (ground)
BLACK with White Stripe / Got this one figured out
BROWN /





Posted By: howie ll
Date Posted: March 17, 2012 at 2:40 PM
Orange goes to F and D switch side
Yellow to mirrors(s) side A,B, E$, and C.
Red to fused 12V+ constant source.
Brown joined to red.
Black to ground.
As I've already stated there is no switch, if you want to fold or unfold or override the auto settings use the OEM switch with the kit.
It is switched automatically by the ignition switch going to ground when off (fold) and to 12V+ live when on, open hence the diodes to prevent errors.
Your failing to understand and repeat the switch question makes me wonder as to your competence to achieve this.

-------------
Amateurs assume, don't test and have problems; pros test first. I am not a free install service.
Read the installation manual, do a search here or online for your vehicle wiring before posting.





Print Page | Close Window