ConstructagonOpen in Constructagon ⇢
Models & Makes · Open-source hardware projects · published 2026-12-02T00:00:00+00:00 · via Hackster News

DIY USB-C Power Meter Enables Remote Testing of Embedded AI Devices

Image via Hackster News
Image via Hackster News

Pierre Dubouilh of Kernwerk created a DIY USB-C power meter using an ATtiny816 microcontroller and INA237 sensor to measure energy consumption and remotely power cycle development boards. The device supports up to 20 volts and 5 amps, with 250 microamp current resolution, and uses MOSFETs to simulate cable disconnection for automated testing.

Expanded Detail

Pierre Dubouilh of Kernwerk developed a DIY USB-C power meter using an ATtiny816 microcontroller and an INA237 current sensor to enable remote power cycling and precise energy measurement for embedded AI devices. The device supports up to 20 volts and 5 amps, with a current resolution of 250 microamps, and leverages MOSFETs and solid-state relays to simulate cable disconnection, allowing automated reboot cycles without physical intervention. Designed for lab environments with multiple development boards, the meter can be daisy-chained via Qwiic connectors, with initial I2C communication later expanded to include RS-485 for longer-range control. Each unit is individually addressable, and a command to flash its LEDs aids in identification during testing. The project began with a KiCad schematic, refined with assistance from the AI coding assistant Claude Code, which also helped lay out the PCB—though some manual adjustments were required. The firmware, written in bare-metal C++, occupies only 4.4 kilobytes of flash memory, underscoring its efficiency. Kernwerk plans to release the full design under an open-source license, including PCB files, firmware, and a 3D-printable enclosure, making it accessible for hobbyists and researchers alike.

This development emerges from the growing need to optimize energy use in edge AI systems, where power efficiency is as critical as computational performance. Prior to this, testing energy consumption required manual intervention or expensive commercial tools, slowing down iterative development. Dubouilh’s solution addresses this bottleneck by combining low-cost components with intelligent automation, reducing human labor and increasing testing consistency. Kernwerk, as a project-driven entity, aims to foster open collaboration and accelerate innovation in embedded systems. The broader impact lies in democratizing access to high-precision testing tools, especially for academic and independent developers. What remains unresolved is the scalability of the design beyond lab settings—whether it will be adopted widely in industry or remain a niche tool. Additionally, the long-term reliability of the MOSFET-based switching under repeated cycles has not yet been tested in published reports.

Context

This open-source power meter could significantly lower the barrier to entry for developers working on energy-constrained AI systems, particularly in education, research, and small-scale hardware startups. By enabling automated, remote testing of power consumption, it may accelerate the development of more efficient edge AI models, indirectly supporting sustainability goals in electronics. The shift from manual to automated testing could also reduce human error and increase reproducibility in benchmarking, potentially influencing how performance standards are evaluated in embedded systems. A comparable precedent is the rise of open-source microcontroller platforms like Arduino, which transformed prototyping by making hardware development accessible. Similarly, this tool may catalyze a new wave of community-driven innovation in power-efficient design. However, its real-world impact will depend on adoption beyond early adopters—especially in industrial settings where reliability and certification are paramount. Future developments to watch include integration with cloud-based monitoring systems or expansion to support other power delivery standards, though these remain speculative.

Expanded detail and Context are AI-generated analysis; the linked article remains the authoritative source.
Read the full article at Hackster News →
Related stories
Battery-Powered Air Quality Monitor Uses Low-Power Sensors and E-Ink Display · Functional prints
Open-Source USB-C LiDAR Sensor Enables Affordable 3D Mapping for Robotics Projects · Open-source hardware projects
Compact USB-Powered Square Wave Generator Uses CH32V203F6P6 Chip · Open-source hardware projects
The summary is constructed by AI and Human interaction and original to Constructagon; the article is linked to the original source. Original headline: “A USB-C Power Meter That Goes the Extra Mile.”See more stories here.