Raspberry Pi GPIO
I need to make a connection between the "Device"'s 2 wires using a Raspberry Pi, but I am unsure how to go about doing this (and I don't want to just play about with it and get it wrong as I might end up hurting my Pi).
The 2 wires coming from my Pi are a GPIO pin and ground, I figure if I make a direct connection between the "Device" and Raspberry Pi and set the GPIO pin low this would create a connection between the two wires, is this correct? Will I damage the Pi because of the 5v coming from the "Device"? If I set the GPIO pin high, will this break the connection?
Also the 0v/ground of both the Device and the Raspberry Pi are not common, does this affect things?
EDIT:
Would something like this work
Thanks
I need to make a connection between the "Device"'s 2 wires using a Raspberry Pi, but I am unsure how to go about doing this (and I don't want to just play about with it and get it wrong as I might end up hurting my Pi).
The 2 wires coming from my Pi are a GPIO pin and ground, I figure if I make a direct connection between the "Device" and Raspberry Pi and set the GPIO pin low this would create a connection between the two wires, is this correct? Will I damage the Pi because of the 5v coming from the "Device"? If I set the GPIO pin high, will this break the connection?
Also the 0v/ground of both the Device and the Raspberry Pi are not common, does this affect things?
EDIT:
Would something like this work
Thanks
No comments:
Post a Comment