WiFi Power Monitor Based on ESP8266

WiFi Power Monitor

Building your own hardware to measure AC power isn’t a simple task. There’s a number of things to measure, including voltage, current, power, and power factor. The Atmel 90E24 is a single chip solution designed for this exact purpose. Connect a few components, and all the power data is available to a microcontroller over SPI.

[hwstar] built a custom power monitoring board based on this IC. His AC-Emeter will give you all the measurements you’d want, and includes an ESP12 module for data collection and WiFi connectivity. Aside from the Atmel 90E24 device, a high power and low resistance resistor is needed for shunt sense current measurement. An external module is used to convert mains voltage down to 5V to power the board.

Of course, working with mains voltages can be a dangerous endeavour. Fortunately, [hwstar] provides some tips on how to prevent “equipment from being BLOWN UP” along with the open source hardware and firmware.

[via Embedded Lab]

Digitally Controlled Dual Power Supply

[Kerry] set out to build a digitally controlled dual supply for his bench. He’s already built a supply based on the LM338 linear regulator, but the goal this time was to build it without a linear regulator IC, and add digital control over both the current and voltage.

In part one of the build, [Kerry] explains the analog design of the device. He had an extra heatsink kicking around, which can dissipate enough heat from this linear supply to let it run at 10 A. A NE5532 opamp is used to track a reference voltage, which can be provided by a DAC. The current is measured by a LT6105 shunt sense amplifier, then compared to a reference provided by another DAC.

Part two focuses on the digital components. To interface with the analog circuitry, two MCP4821 DACs are used. These are controlled over SPI by an ATmega328P.

Fortunately, [Kerry] also has his own DC load project to test the supply with.