Build your own Internet-of-Things Smart Outlet with Raspberry Pi and AWS

Опубликовано: 09 Сентябрь 2026
на канале: Sridhar Rajagopal
295
1

From Maker Faire Bay Area 2019.

Learn how to internet-enable your own maker creation using a Raspberry Pi and AWS(Amazon Web Services) IOT.

I walk through the steps of how I built a smart outlet. It can be controlled it from a mobile app and see you see its energy data (energy consumed, voltage, current draw, power factor, line frequency)

You can use the concepts to internet-enable your own creation!

Categories: Internet of Things, Electronics, Microcontrollers, Raspberry Pi

Things used:
----------------------
Dr. Wattson Energy Monitoring Board - https://www.tindie.com/products/upbea...
Raspberry Pi Zero
Latching Relay Breakout Board - https://www.tindie.com/products/upbea...
Custom OLED Display HAT - Interfaces with Dr. Wattson and Latching Relay Board, and includes an OLED screen and buttons for data display and direct actuation.
ProtoStax Enclosures - https://www.protostax.com/ (3 of them with custom modifications, stacked side-by-side to make a composite enclosure) - https://www.protostax.com/collections...

--------------------------------------------------------------
Dr. Wattson
Energy Monitoring Breakout Board for Arduino, Raspberry Pi and other Maker-Friendly Microcontrollers. Easily integrate quality AC energy measurements into your next project!

Based on the MCP39F521, a single-phase power monitoring chip from Microchip, it is coupled with rich Arduino and Python libraries (for boards like Raspberry Pi and BeagleBoards) to facilitate energy monitoring without much ado. The board is designed to be tolerant of a wide range of voltages, which means that it can also be used with the Raspberry Pi or any other 3.3v MCUs just as easily.

Dr. Wattson makes Professional-Quality energy monitoring and measurement available to the Maker, catering to both the novice and advanced user! The unit comes pre-calibrated, enabling measurements from 1mA up to 4A, to enable you to start taking quality measurements on the get-go with just a couple of simple commands.

If you want to measure higher current, do not fear! It also has a 15A conversion capability - change the burden resistors on the board to 20 ohms each and apply the new calibration settings we provide using the library to increase your measurement range to 15A! (with reduced sensitivity at the lowest readings) Or alternately, if you would rather not deal with the nitty gritty of the conversion, we can do the conversion for you for a nominal fee!

If you are a more advanced user, you have a wide range of functionality available from the rich library, as well as the ability to tweak the hardware to suit your needs and recalibrate using the library.

What makes it special?
--------------------------------------
High quality ENIG (lead-free) finish and lead-free solder
Calibrated to get quality measurements right off the bat
Isolated design
Works with 5v and 3.3v MCUs without any modifications
Connect up to 4 energy monitors with I2C addressing configuration
Arduino and Python libraries for easy use
Ample examples - Basic energy data, Energy Accumulation, Events, Writing to/Reading from EEPROM, ZCD, and more advanced examples such as integration with AWS IOT, Energy data logger, Energy monitor with OLED screen and more!
Available enclosure kit