I’m trying to detect a car door unlock, the car does this by completing a circuit to ‘ground’ through a switch. Anytime this circuit is completed, it will actuate the door locks.
I had put this together which I thought would work.
On the right is the cars wiring to actuate the door locks, and on the left is the arduino hooked up to its own power source.
What seems to be happening is the input is floating on the arduino, plus a side effect is it’s also ‘completing the circuit’ on the car-side of things as soon as it’s connected, and tripping the locks. Have tried using the inbuilt pull-up resistor, but the trick is I cannot really add in anything inline as that will ‘complete the circuit’ on the car side, or it will start actuating the locks without being requested to…
so not quite sure what the solution might be here if anyone has done this before or has any suggestions?