Before reading this page - please make sure you followed the Code PyPortal with CircuitPython page completely and you successfully ran the test at the bottom of the page.

The green screw terminal comes firmly inserted into the relay. With your hands or a spudger, pull the screw terminal out of the relay's case.

This part may require some extra force to pull it out.

Using a flathead screwdriver, unscrew each of the screw terminals.

With the STEMMA male header cable, push the white cable into the left screw terminal. Screw the terminal screw clock-wise to fasten the cable.

Make sure to give it it a very gentle tug to make sure it's securely attached!

Repeat the above steps for the black header cable and the right screw terminal. Ignore the red (power) header cable.

Push the screw terminal back into the relay.

Plug the JST PH 3-pin header into the PyPortal's D3 port

The PyPortal needs constant power to receive commands from Adafruit IO. The relay has an always ON port which does not get toggled by the PyPortal.

Plug a power adapter (at least 5V 2A) into the relay's always ON port.

Connect the PyPortal to the power adapter's MicroUSB cable.

Connect the power adapter of the appliance to one of the two normally OFF ports on the relay.

This guide was first published on Sep 22, 2020. It was last updated on Sep 22, 2020.

This page (Assembly and Wiring) was last updated on May 24, 2021.

Text editor powered by tinymce.