I have a Pi Zero W and a Velleman VMA406. Wired like this
Pi Pin 2 (5v) - Relay "+"
Pi Pin 6 (GND) - Relay "-"
Pi Pin 11 (GPIO 17) - Relay "S"
When I run the following script I see a faint flicker on the Relay LED but I do not here the relay "Click"
#!/usr/bin/env python
import time
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)
GPIO.output(17, GPIO.LOW)
time.sleep(0.25)
GPIO.output(17, GPIO.HIGH)
GPIO.cleanup()
When I "jumper" across the "+" and the "S" on the relay I here the relay click. But I cannot seem to get my code to "click" the Relay. I am not super familiar with the python program and it was copied from another site. Is my problem in the code or in the wiring?