The USB ammeter made based on N32G430C8L7+INA199 has an accuracy of 1%. You can check the current when USB is working. It only supports 5V charging and does not support fast charging.
Referring to the official case from the National Science and Technology Training Camp, the LDO was replaced with AMS1117 3.3, and the USB female head model was changed (see the schematic diagram for details).
GPL 3.0
Schematic diagram
Use the USB ammeter program provided by the training camp to burn the ST-LINK + KEIL5 software.
A minimal system board based on N32G430C8L7 was produced, using the TYPE-C interface for power supply, adding an external crystal oscillator, and leading to the SW interface and serial port respectively.
At present, the real-time attitude display program based on N32G430 has been burned into the training camp. It is connected to MPU6050 and 0.96OLED modules. After testing, it can display the attitude in real time.
Existing problems: The OLED screen does not light up every time when the power is turned on. You need to press the reset button to light up. At first, the screen displays snowflakes, but after a while, it displays the normal posture. I don’t know if this is normal.
Schematic:
Physical map:
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet