Tell us about yourself!
Cheap, Effective and Modern Home AutomationView Instructable »
When you try the test_relay.py file it only Turns On the relays ? Or in some other case it stays in the On position ?
check from the python console if >> GPIO.output(pin, 1)>> GPIO.output(pin, 0)is working . Replace the pin with 17,15,14, or 18 .
So if that thing are working you are currently installed python GPIO library . Type in console : ~: python >> import time >> time.sleep(1) And tell me does the shell sleeps for 1 second or not ?
When you run the test_relay.py , what do you see on your console ? Does the program prints "Pin x is working" ?
Raspberry Pi with 4 Relay Module ( for home automation ) View Instructable »