I wired the relay without AC load and tested with a python program and it works.
Now I would like to connect an AC light bulb and test.
Can any one please review and confirm below wiring is correct?
Code:
from gpiozero import LED,DigitalOutputDeviceimport timer1 = DigitalOutputDevice(17,active_high=False) print('r1 on')r1.on()time.sleep(5)print('r1 off')r1.off()Can any one please review and confirm below wiring is correct?
Statistics: Posted by sim_tcr — Mon Feb 24, 2025 4:59 am