Skip to main content

Timeline for Raspberry, relay and GND

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Feb 13, 2020 at 21:18 comment added Seamus If I read the OP's question correctly: 'I have a relay that I can activate it with a PIN to GND.', this implies that one side of the coil is connected to 5V and grounding the other side (the INPUT) energizes the relay. If this is true, it follows that the INPUT would have 5V on it, and connecting it to pin 1 (3V3) would short pin 1 to 5V. Am I missing something?
Oct 25, 2017 at 19:38 comment added joan That should mean you can connect a GPIO to the relay IN pin (leave relay ground and VCC connected to Pi ground and 5V). Then switch the GPIO low to activate the relay or high to deactivate the relay. The relay should need only a few milliamps from the GPIO.
Oct 25, 2017 at 19:03 comment added RuBiCK It gets activated with 3v3 and GND (I don't know if it's normal) it's better activate it with vcc or gnd?. I don't like to connect a relay directly to the GPIO due to power consumption...
Oct 25, 2017 at 19:01 vote accept RuBiCK
Oct 25, 2017 at 12:02 history answered joan CC BY-SA 3.0