With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
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 M...View Instructable »
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.