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 »
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.