Do you want to control your lights or appliances using a microcontroller? Build an internet-connected electrical outlet with an Adafruit PyPortal and CircuitPython. The guide uses a controllable four outlet power relay to avoid hazardous high voltages. Connect the project to Adafruit IO, our free Internet-of-Things platform, to control your appliances from anywhere in the world.

 

Adafruit IO Dashboard

Adafruit IO is the easiest way to stream, log, and interact with your data. It's built from the ground up to be easy to use - we do the hard stuff so you can focus on the fun stuff.

You'll build a customizable dashboard to turn your A/C appliance on or off and can optionally add extra blocks to read feedback from the appliance

Parts

You will need the following parts to complete this guide:

Adafruit PyPortal - CircuitPython Powered Internet Display

PRODUCT ID: 4116
PyPortal, our easy-to-use IoT device that allows you to create all the things for the “Internet of Things” in minutes. Make custom touch screen interface...
$54.95
IN STOCK

Controllable Four Outlet Power Relay Module version 2

PRODUCT ID: 2935
Say goodbye to hazardous high voltage wiring and create the Internet of Things with safe, reliable power control....
$29.95
IN STOCK

STEMMA JST PH 3-Pin to Male Header Cable - 200mm

PRODUCT ID: 3893
This cable will let you turn a JST PH 3-pin cable port into 3 individual wires with high-quality 0.1" male header plugs on the end. We're carrying these to match up with our...
$1.25
IN STOCK

5V 2.5A Switching Power Supply with 20AWG MicroUSB Cable

PRODUCT ID: 1995
Our all-in-one 5V 2.5 Amp + MicroUSB cable power adapter is the perfect choice for powering single-board computers like Raspberry Pi, BeagleBone or anything else that's power...
$7.50
IN STOCK
This guide was first published on Sep 22, 2020. It was last updated on Sep 22, 2020.
This page (Overview) was last updated on Oct 19, 2020.