Attitude display development board based on N32G430C8L7
1. Complete the official case
2. Add additional circuit design based on the official case
3. Lead out the spare pins to facilitate future development and learning
1. Project block diagram introduction

2. Schematic design description

1. The main control circuit uses the official case.
2. The download circuit uses the CP2102 chip, which can be downloaded through the Type-c interface. At the same time, the download interface is led out to support downloading and debugging of other types of downloaders.
3. Add an external power supply interface so that the development board can be used independently.
4. Add a battery charging circuit, and the battery can be directly charged through the development board.
5. Lead out the spare pins to increase resource utilization and add other simple peripherals.
3.PCB design instructions

4.Software instructions:
For the code part, please refer to the official cases and video explanations
5.Physical display instructions:
Physical picture of the development board
6.Demonstration video (see attachment):
1.Basic function display
2.Independent power supply
3.Charge the lithium battery
4.The screen is not smooth because of the mobile phone shooting
7.Precautions:
1.When using other external downloaders, the external power supply and the downloader power supply cannot be powered at the same time, otherwise the board may be burned
2.There are two power switches that control the battery working status and the development board power supply respectively
3.The BOOT switch selects the dip switch, which can be changed by yourself
4.The development board has brought out all the pins and attached pin numbers 5.The development board has reserved the servo interface and the joystick interface for verification
5.The battery interface is a JST head. Please pay attention when purchasing. You can also replace other types of interfaces according to your needs.
6. The possible difficulty in welding is the QFN package used by CP2102 and the compact PCB layout (personal hobby, like compact and small boards). You need to pay attention when welding, or you can not weld part of the circuit and directly burn the program through an external downloader.
7. The use of current limiting resistors depends on personal preference. There are several lights that use 100 ohm resistors. You will find that they are very bright and dazzling. The original four LEDs below are direction indicators. You can replace the color according to your preference and replace them with the corresponding 0603 package.
8. Charging circuit introduction:
A charging circuit is added to the design, using the LCT4054 lithium battery charging management chip. In the schematic diagram, the 1.65K resistor of R9 is the charging current resistor. The calculation formula of the charging current is IBAT=(VPROG/RPROG)*1000. The 1K resistor of R10 is the current limiting resistor of the charging indicator light. When the pin CHRG is low during the charging process, the indicator light turns on. After charging, CHRG is pulled high and the index light turns off. The battery used is a 3.7V 650mA aircraft model battery (because I just happened to have this battery on hand, hahaha). The switch on the upper left corner of the development board is the charging management switch. The up switch is battery powered, and the down switch is to charge the battery through type-C.
9. Off-topic (personal nonsense):
First of all, I would like to thank LiChuang EDA for the training camp organized by this time and the national technology for its technical support. I originally wanted to make a joystick to control the servo based on the official case, but because of other things and personal technical reasons, I have to put it on hold for a while. However, the required interfaces have been reserved, and all the pins have been brought out to facilitate subsequent development and use.