黄土马家

#The7thLiChuangElectricityContest#USB Ammeter

 
Overview

1. Project function introduction
Based on the N32G430C8L7 ammeter, you can switch between fast charging and non-fast charging modes through the switch. Maximum support 10V 6.5A fast charging.
 
2. Project attributes
are based on the official routine project of the LiChuang Training Summer Camp
 
3. Open source agreement
GPL 3.0
4. Hardware part
1. After current sampling through INA199, output to the MCU N32G430C8L7 PA2 pin
2. After voltage division through a 91kΩ resistor, input the voltage of the 10kΩ resistor to the MCU N32G430C8L7 PA1 pin
3. The external crystal oscillator is not installed by default, reserved for later expansion.
4. The fast charge function can be turned off by turning off the two switches.
5. BL9342 performs DCDC step-down. When the input voltage is lower than 5V, it cannot provide enough voltage to power the internal circuit (can be solved by external power supply or replacing BL9342).
 The screen is a 0.91-inch OLED screen.
5. The software part
is based on the official open source project routine changes of LiChuang
. 1. The screen pins need to be changed in the MonoScreen.c file lines 643, 652, GPIOB on line 16 and PIO_PIN_() on line 14/15. 13 and 15 lines of Softl2c.h, GPIOB and 14 and 16 lines of GPIO_PIN_()
2. If an external crystal oscillator is needed, change 128000000 to 8000000 in line 66 of system_n32g403.c
3. You can use Nations MCU Download Tool or Keil of National Technology for burning (TTL, ST-LINK J-LINK, etc. can be burned)
4. If you need to burn, press and hold BOOT and power on. (When burning with Nations MCU Download Tool, press and hold BOOT until the burning is completed)
6. BOM list
 
* 7. Competition LOGO verification
* 8. Demonstrate your project and record it into a video and upload it for
 
more details: https://www.bilibili.com/video/BV19P411G7QC?share_source=copy_web&vd_source=bfcf42a67724578a10652d8449d205d2
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-15 03:14:02
  • Question about reading key value of zlg7290?
  • Some information about the RTC crystal on STM32
  • Why can’t I download X-CUBE-IDB04_L0 now?
  • 430 capture problem
  • Does anyone know how to send a file to the serial port of STM32?
  • What do you think of the 28x + ARM Concerto series?

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号