电路元件功能说明


These parts form the microcontroller and its support circuits: boot selection, reset, USB-power sensing, clock generation, and power stabilization. I checked their connections in the current schematic.
Main controller and clock

Table


PartWhat it does
IC1 — STM32F405RGT6The flight controller’s main microcontroller. It runs the firmware, reads motion-sensor data, calculates control outputs, and communicates with peripherals. Its connections here include the IMU interface, video-overlay circuitry, USB, and serial interfaces.
Y1 — CSTCE8M00G52-R0An 8 MHz ceramic resonator, connected between PH0 and PH1, with its center pin grounded. It provides the external clock reference; the MCU can multiply that reference internally to generate its operating clocks. It is not a standalone powered oscillator.
Boot selection and reset

Table


PartWhat it does
S1Boot-selection pushbutton—not a reset button. Pressing it connects BOOT0 to 3.3 V. Holding it during reset or power-up selects an alternate boot mode, typically used to enter the factory bootloader for programming, depending on the other boot configuration. Pressing it during normal operation does not itself reset the MCU.
R4 — 10 kΩPulls BOOT0 down to ground when the button is released. This establishes the normal boot-from-flash setting instead of leaving BOOT0 floating.
R3 — 10 kΩPulls NRST up to 3.3 V. Because reset is active-low, this keeps the MCU out of reset during normal operation while allowing a programmer or other reset source to pull the pin low.
USB-power detection

Table


PartWhat it does
R14 — 10 kΩThe upper resistor of a voltage divider: it connects USB VBUS (+V_USB) to the MCU’s PC5 input.
R15 — 10 kΩThe lower resistor of that divider, from PC5 to ground. Together, the two equal resistors reduce a nominal 5 V USB supply to 2.5 V, allowing firmware to sense USB-power presence. It also pulls the sense node low when USB power is absent.
Power capacitors

Table


PartWhat it does
C11 — 100 nFA 3.3 V supply bypass capacitor. It supplies short bursts of current locally and reduces high-frequency supply noise.
C12 — 100 nFAnother 3.3 V bypass capacitor, serving the same purpose at a different physical location.
C13 — 100 nFAnother 3.3 V bypass capacitor. Multiple capacitors are used so that power pins can each have nearby decoupling; actual effectiveness depends on PCB placement and routing.
C6 — 1 µFAdditional capacitance between 3.3 V and ground. It provides a larger local charge reserve and complements the smaller bypass capacitors during supply-current changes.
C8 — currently 100 nFConnected from VCAP_1 to ground. Its role is to stabilize the MCU’s internal core-voltage regulator—not to bypass the external 3.3 V supply.
C9 — currently 100 nFConnected from VCAP_2 to ground, serving the same internal-regulator stabilization role.
Important distinction: the VCAP capacitors are not interchangeable with ordinary 100 nF supply bypass capacitors. Their current 100 nF values are a concern that should be checked against the MCU’s required capacitance and ESR before building this board. The table explains the existing connections; it is not a validation that every selected value is correct.

U1
Manufacturer Part Number
AMS1117-3.3
U5
IC1
C4
Capacitance
10uF
R7
Resistance
22 Ω
R2
Resistance
4.7kΩ
R15
Resistance
10kΩ
R5
Resistance
4.7kΩ
R3
Resistance
10kΩ
R4
Resistance
10kΩ
R14
Resistance
10kΩ
R8
Resistance
22 Ω
R9
Resistance
75 Ω
USB
UART_3_6
C2
Capacitance
0.1uF
UART1_I2C
C8
Capacitance
0.1uF
C11
Capacitance
0.1uF
C1
Capacitance
0.1uF
C10
Capacitance
0.1uF
5V_RAIL
C3
Capacitance
0.1uF
C13
Capacitance
0.1uF
C9
Capacitance
0.1uF
GND_RAIL
VIDEO
SWITCHS
C6
Capacitance
1uF
C12
Capacitance
0.1uF
S1
U2
Y1
LED1
X1
LED2
Name
Section
Pin Group
Orientation
Order
Sub-symbol

STM32F4 Flight Controller Template