The Relay Cape provides 4 3 amp capable relays with screw terminals. The relays are SPST, Normally Open. They are driven from GPIO lines.
Initial version of the Relay Cape
Software Support & Compatibility
All revisions are compatible with BeagleBone and BeagleBone Black using 3.8 kernel.
Device tree overlay is coming soon.
Below is an example script to drive each relay in sequence:
import Adafruit_BBIO.GPIO as GPIO import time RELAY1 = "P9_12" RELAY2 = "P9_15" RELAY3 = "P9_23" RELAY4 = "P9_27" GPIO.setup(RELAY1, GPIO.OUT) GPIO.setup(RELAY2, GPIO.OUT) GPIO.setup(RELAY3, GPIO.OUT) GPIO.setup(RELAY4, GPIO.OUT) a = [RELAY1, RELAY2, RELAY3, RELAY4] while True: for x in a: GPIO.output(x, GPIO.HIGH) time.sleep(1) GPIO.output(x, GPIO.LOW) time.sleep(1)
Followings are some specifications of the Relay Cape:
|Size||2.15" x 2.825"|
Please visit Where To Buy for a list of distributors who carry BeagleBoardToys' capes.