You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi,

    As far as I can see you have two wires on there at the moment? GND and signal?

    I think you also want to attach VCC on the Pico to VCC on the relay. I think you're getting enough power from the Pico's data pin to light the LED, but not enough to move the relay (there should be an audible 'click').

    You might also want to add the line pinMode(RELAY_PIN, 'opendrain') near the start of your code as well (I'll update that tutorial) as on some relay modules the relay doesn't properly turn off without it.

About

Avatar for Gordon @Gordon started