aytwartoofyoroo

USB voltage and current meter (ESP32+INA226) C port V1.1

 
Overview

Introduction

USB voltage and ammeter based on ESP32-PICO-D4+INA226, using TYPE C male and female connectors; touch button to switch display direction; focus: ultra-thin, simple

 

structure

Two-layer PCB board, installed through 2.5mm high M1.4 welded copper pillars, the total height after assembly is 5.3mm

 

characteristic

  • Based on ESP32-PICO-D4 chip, using INA226 for voltage and current measurement
  • Adopts 0.96 TFT display, which can display voltage, current, power and capacity (WH)
  • The input adopts TYPC male connector and the output adopts TYPE C female connector.
  • Currently only 5A is measured, the board will be a little hot.

 

Code description

The software is an Arduino project, developed based on LVGL. The code is very rudimentary and the interface is very simple. Let’s see if any netizens are interested in improving it. You can consider developing PC software to record the charge and discharge curves.

 

Release Notes

V1.1: Optimized wiring and added window opening

 

Download instructions

You need to equip a USB to serial download cable and solder it to the reserved pad on the board.

 

Essential tools

  • soldering iron, heated soldering station
  • file

 

Accessories link

 

other instructions

  • The TYPE C male connector has no positioning holes, and the pin spacing is smaller than that of the female connector, making it not very easy to weld.
  • I originally wanted to use an independent touch chip on the panel for the touch button. Later, I tried to use the touch pin of ESP32 to connect it. It also works, but the sensitivity is not that good after passing the flying wire. In addition, there is also a touch button reserved on the back of the base plate.

 

Plate thickness 1.6mm

 

 

Outer frame PCB board thickness 1.2mm

 

9VxjOYBuurnmvEV2Pu4uVzMWaaVxckbZgBwaMiJH.png

When welding copper pillars, use a file to flatten the protruding solder legs. If you don’t want to be so troublesome, leave a hole in the panel.

 

 

 

 

Solder the wires of the touch buttons. I originally wanted to use POGOPIN, but one costs 2 yuan and 8 yuan for shipping. It is not cost-effective. I will use wires instead for the time being.

 

 

 

 

 

 

 

 

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-08 12:33:03

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号