tom91 wrote: ↑Thu Jun 23, 2022 4:48 pm
EV_Builder wrote: ↑Thu Jun 23, 2022 4:44 pm
@Tom91 I can help with SW if you have latest DBC file on GitHub!
It really changes the code pattern in your application so that errors become obvious...
I have been updating the Github DBC so you can find it there.
I have looked at the Duosida/Chinese actuator, it has a microswitch that is closed when locked.
So to make this match the Pheonix Connector actuator from the BMW it needs to: 1k unlocked, 11k locked
To achieve this I came up with this solid state solution, can anyone tell my why this would not work? I would like to avoid using a change over relay.
SW1 is the Duosida actuator.
Duosida Actuator Conversion Circuit.JPG
That should work fine. If you need exactly 1k and 11k for the lock feedback circuit then R1 and R3 in the circuit need to be 11k and 1k1. Also if you stay with the FET then it would be worth adding a couple of caps to protect it from ESD/EMC hits (definitely one across G-S and maybe one across D-S).
Depending on what voltage the BMW puts on the contact you may also be able to lose the 12V feed. If it's a couple of volts or more, and you use a low gate voltage FET, you could connect the +12V signal to the lock feedback line too (if you do this you may need to increase the value of R2 to reduce the extra current it will be taking from the lock feedback line).
Edit - Ignore the last bit, unless the BMW module uses a current source, which is highly unlikely, it won't work. Stick with the 12V supply.