Hi,
I have an exit button on a door motor, and if i join two wires between two inputs on the circuit just briefly, the door motor opens an automatic door.
I wanted to control this via the raspberry pi.
Initially I tried making sure I could turn a LED on and off as a test, before I went and connected the wires to my door motor.
I connected GPIO 17 and the Ground straight next to it to the LED.
Turning GPIO 17 on via the "value" setting and using echo, and then using "sleep 1" in my script, and then turning it off, worked fine - the LED came on and then turned off.
I then went down to my door motor and connected GPIO17 and Ground to the exit button circuit on the motor. However the exit circuit was triggered right away even though GPIO17 I had not turned on yet.
I assume this means that the circuit is "connected" between these two wires.
What GPIO and pin should I use where I can have the circuit "not connected" and then "connected" similar to a relay?
I just need to give a quick pulse when I turn the GPIO on to connect the circuit, and then turn it straight back off.
Perhaps I should not use Ground, and I should use something else?
Any help appreciated.