This ESP32-C3 Voltage-Current Logger Utilizes INA228 for Precision Measurements

This ESP32-C3 Voltage-Current Logger Utilizes INA228 for Precision Measurements

This new voltage-current monitoring device is powered by the ESP32-C3 and uses the Texas Instruments INA228 IC to deliver precise power monitoring. Additionally, it uses Rust and InfluxDB for advanced, real-time analytics.

Designed and engineered by Hiroshi Nakajima, this device accurately measures voltage, current, and power use.  The input voltage range of this device spans from 0 to 85V, with a maximum input current of 15A, with these specs, it can be used for a wide range of applications.

This modular device comes in four different adapters, the adapters are designed to provide easy access to various devices.

  • Red Adapter: For measuring power from USB Type-C adapters to devices like PCs.
  • Yellow Adapter: For checking power between USB Type mini-B and Type-A ports.
  • Green Adapter: To measure power in systems using JST-PH connectors, typically batteries.
  • Blue Adapter: For various other types of cabling and power connections.

The logger’s display shows current, voltage, power, and battery levels, along with Wi-Fi status. If there’s no WiFi available the display omits the WiFi symbol and stores data in its internal buffer, indicated by a red line on the screen. This buffer fills over time, and when full, it halts measurements. Reconnecting to WiFi sends this data to the server, emptying the buffer. If full, pressing ‘Start’ clears the buffer and restarts logging.

for this device, the measurement intervals range from 5 milliseconds to 1 second. Initially, when powered on, it defaults to a 5-millisecond interval. However, users can easily adjust this by pressing the INT button, which cycles through options of 10, 50, 100, 500 milliseconds, and up to 1 second. To start logging and transmitting voltage, current, and power consumption data to the server, simply press the START button.

when the data acquisition process is done you can send the data to the server. The server processes the data and through the InfluxDB Dashboard you can visualize that.

Features of hnz1102 Voltage-Current Logger:

  • Flexible Measurement Intervals: Ranges from 5 ms to 1 sec, adjustable with the INT button.
  • Real-Time Data Transmission: Sends voltage, current, and power data to the server for live tracking.
  • InfluxDB Dashboard Integration: Enables visualization of real-time data through the InfluxDB Dashboard.
  • Versatile Adapter Compatibility: Includes Red, Yellow, Green, and Blue adapters for various connection types.
  • Internal Data Buffering: Stores data internally when not connected to WiFi, indicated by a red line on the display.
  • Automatic Buffer Management: Stops logging when the buffer is full; pressing ‘Start’ clears the buffer and restarts logging.
  • Onboard Display: Shows voltage, power, battery level, and WiFi connection status.
  • Battery Powered: Operates independently on a rechargeable LiPo battery.
  • ESP32-C3 Microcontroller: Ensures robust performance and connectivity.
  • High-Resolution Measurements: Utilizes Texas Instruments INA228 IC for precise data acquisition.

For further details on this Voltage-Current Logger, including setup instructions, schematics, and software installation, you can check the hnz1102s GitHub repository.

Please follow and like us:
Pin Share
About Debashis Das

Tech Content Creator | Hardware Design Engineer | IoT Enthusiast | Digital Storyteller | Video Creator | From crafting digital dialogues at Semicon Media to orchestrating online engagement at, my journey is about making tech talk interesting and accessible. In the quiet corners of the day, I advocate for easier tech education, one tutorial at a time. Let's connect and keep the digital dialogue going!

view all posts by das
Notify of

Inline Feedbacks
View all comments
Get new posts by email:
Get new posts by email:

Join 97,426 other subscribers