ZhyNqw

#5V Common USB Voltage Ammeter

 
Overview

* 1. Project introduction


This project can be used to detect the voltage and current output by ordinary USB ports. It does not support fast charging. Furthermore, it is used for learning the N32G430 chip.

 

 

*2. Project attributes


Summer training board based on N32G430+INA199

 

 

*3. Hardware part


When using USART to download programs, BOO needs to be pulled high and removed after downloading.

If you use stlingk to download, you don’t need to pull it up. The program will be automatically executed after downloading it on KEIL.

07hWGuzLxFNPfkW2iIJhoS8q6vIrB0RNWTlHG8X8.png

 

*4. Software part


The OLED screen pins are connected like this:

DmhqqC5T5Hx0eAof51O6CreoEac1Wd3iNMNUyJmR.png

 

You need to change these things in the program to light up the OLED screen:

UIuyetzQIr95U26M9CKkEvS4vD0wzZR6wlkwRSeC.png

lDdlv7KC3aXR8Fu97ojDAFp0Fjh3pfhItCZOcmzs.png

 

2iqjNEpn2Rq4X2rvkD6kZEU95sjCavVgeHFswZoZ.png

 

 

*5. Contest LOGO verification


W2aQbYlZEdsN4k7NNOe25vv4nGkozVJmE9AFU6q3.png

 

 

* 6. Demonstrate your project and record it as a video for uploading


Project completion video: https://www.bilibili.com/video/BV1qg411r7zC?spm_id_from=333.999.0.0&vd_source=01c9fdc6ffc893b061cb21f1e3167eba

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 15:40:44

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号