Special:Badtitle/NS500:Relay Cape

Descriptions
The Relay Cape provides 4 3 amp capable relays with screw terminals. The relays are SPST, Normally Open. They are driven from GPIO lines.

Revision A1
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)

Specifications
Followings are some specifications of the Relay Cape:

Distributors
Please visit Where To Buy for a list of distributors who carry BeagleBoardToys' capes.

Relay Cape Revision A1

 * [[media:Relay_cape_a1_eagle.zip|Eagle design files]]
 * [[media:Relay_cape_A1_schematic.pdf|PDF Schematic]]