I must be doing a rooky mistake. I am trying to control some valves with a raspberry pi (3). Valves opens when puged with 12V, when the pi can only deliver 5V. To overcome that, I am using relays.
Please see the picture below of how I have plugged things.
- IN: GPIO. 7
- GND: Ground (from the pi)
- VCC: 5v (physical pin 2)

russian image upload
Outputs of the relay: not really sure, but based on the back of the component (see below), I should have:
- COM: central pin (plugged to +12V power supply)
- GnD: one of the two (gnd of my 12V power supply)
- LIVE: pne of the two (the + of my valve)

I have then plugged the - of my valve to the 12V power supply ground.
Issue: it does not trigger the relay (switch state) when I change value on my GPIO. 7. What I have done wrong?
Many thanks,
Swann
