Electrical Relay - notkevinjohn/PiGarageDoor GitHub Wiki

This device allows us to open or close the circuit on the right hand side of the board by sending a signal to the left hand side of the board. The circuit on the left hand side of the board runs at 3.3V. The circuit on the right hand side of the board can be up to 30V. Most garage doors are likely going to need around 5-18V.

This device uses screw terminators for connecting wires to the pins. Unscrew the terminators to open them, insert the wire, and then screw them closed until tight. This is a very effective connector that gives a secure connection without requiring solder; and its easier to fix it you wire it wrong.

left


VCC - Power. We will connect this to the 3.3V output pin of the Raspberry Pi

IN - Input. We will connect this to one of the GPIO pins from the Raspberry Pi. If this pin is high (3.3V) the relay is set to on. If its low (0V) the relay is set to off.

GND - Ground. We will connect this to the Ground pin from Raspberry Pi

right


NC - Default Closed. We don't use this pin.

COM - Common. We connect this to one (arbitrary) side of the garage door circuit.

NO - Default Open. We connect this to the other (arbitrary) side of the garage door circuit.