STM32 Analog Input Overview

Your topology is solid, and your placement choices are good. With a few checks you’ll keep the ADC and audio clean.
Power and grounds
  • Keep 3V3_A generated on the main board through the existing Ferrite Bead (600 Ω typ at 100 MHz is fine). Verify the bead’s DC resistance and current rating vs total analog load; add post‑bead decoupling at the entry: at least one 10 uF Capacitor in parallel with a 100 nF Capacitor, placed tight to the bead’s output.
  • Single‑point AGND–DGND tie near the bead is correct. Don’t rejoin grounds on the daughter board.
  • Export both rails to the daughter: 3V3_A+AGND only for pots and any analog/bias networks; 3V3+DGND for buttons/switches/LEDs. Interleave ground pins in the connector so each sensitive line has a close return.
STM32H743 ADC/pot interface
  • Excite pots ratiometrically from 3V3_A to AGND so readings track the ADC’s reference/supply.
  • At each ADC pin, add a small RC for anti‑aliasing, but size it with the ADC’s acquisition time in mind. The series R forms a DC error with the ADC bias current (Verror = Ibias × R) and slows the sample capacitor’s charging; keep series R modest (for example a 1 kΩ Resistor or less) and adjust sampling cycles accordingly. Avoid fixed “rules of thumb”; compute from Tacq and your effective source impedance.
  • If you use high‑value pots (e.g., 50–100 kΩ), consider buffering or lowering value to keep Rsource within what your sampling time can settle.
Audio path across the connector
  • AC‑coupling cap on the daughter near the board‑to‑board transition is fine. Ensure the receive‑side bias network and input resistor are on the main board and tight to the op‑amp input so the high‑pass pole is controlled locally and the return current flows right next to the amplifier reference.
  • Give the audio signal a ground‑adjacent pin in the connector (or route as a tight pair with a dedicated AGND pin next to it). Keep it physically separated from fast digital edges on the pinout.
  • Add low‑cap ESD at the connector for exposed analog lines, shunted to AGND, for example a small TVS Diode per line.
Noise containment and contingencies
  • If residual switching ripple leaks through, you can sharpen the post‑bead network (add a small HF cap like 1–10 nF right at VDDA/VREF+ in addition to 100 nF) or, where SNR is critical, feed the most sensitive analog block from a low‑noise LDO after the bead (high PSRR in your switching frequency band).
  • Place 4.7–10 uF plus 100 nF right after the connector on both rails (3V3_A–AGND and 3V3–DGND) on the daughter to stiffen local loads.
  • For any digital lines crossing boards, a small series resistor (22–51 Ω) near the driver can tame edges and crosstalk.
Sanity check summary
  • Yes: bring both 3V3_A/AGND and 3V3/DGND to the daughter; keep them separate there; single ground tie on main.
  • Yes: pots and any analog biasing should live on 3V3_A; buttons/switches on 3V3.
  • Yes: AC‑coupling near the transition is fine; ensure the receiver bias/returns live right at the main‑board op‑amp.
If you share pot values, intended ADC sampling time/clock, and connector length/pinout, I can size the RCs and sampling cycles precisely and suggest any tweaks to the pin assignment.
Share pot and ADC details
Check ferrite bead choice
Pick ESD part for audio
Connector pinout guidance
Flux net/ground tie setup
MotorA_IN1
MotorA_IN1
MotorB_IN1
Encoder2_ChA
Encoder2_ChA
I2C_SCL
Encoder2_ChB
MotorA_IN2
Button3
QTR1
S4
QTR1
I2C_SDA
I2C_SCL
MotorB_IN1
S1
Button2
MotorB_IN2
Encoder1_ChA
QTR2
S4
Button3
S5
MotorB_IN2
Button2
IBUS_TX
Button1
IBUS_RX
S3
IBUS_RX
S5
MotorA_IN2
Button1
QTR2
S2
S3
Encoder2_ChB
Encoder1_ChA
IBUS_TX
Encoder1_ChB
S1
Encoder1_ChB
S2
I2C_SCL
J5
J11
J4
J9
J6
J7
J12
J8
J10
J14
+3.3V
+VBAT
+3.3V
+5V
+3.3V
+5V
+5V
+5V
+5V
+3.3V
+VBAT
+3.3V
+3.3V
+5V
+5V
+VBAT
+5V
+3.3V
+3.3V
+5V
+5V
+3.3V
R6
Resistance
10KΩ
R19
Resistance
10KΩ
R17
Resistance
20KΩ
R11
Resistance
20KΩ
R14
Resistance
10KΩ
R2
Resistance
10KΩ
R7
Resistance
20KΩ
R16
Resistance
10KΩ
R10
Resistance
10KΩ
R5
Resistance
20KΩ
R13
Resistance
20KΩ
R18
Resistance
20KΩ
R3
Resistance
10KΩ
R9
Resistance
2 Ω
R8
Resistance
10KΩ
R15
Resistance
20KΩ
R1
Resistance
10KΩ
R4
Resistance
10KΩ
R12
Resistance
10KΩ
C2
Capacitance
Capacitance
Capacitance
100uF
C4
Capacitance
Capacitance
U2
C1
Capacitance
Capacitance
Capacitance
100uF
J3
C3
Capacitance
Capacitance
U3
Manufacturer Part Number
7805
U1
Manufacturer Part Number
ESP32-DEVKIT-V1
J1
J2
SW3
SW1
D1
SW8
SW2
J13

No files yet

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    Thumbnail ESP32.png

    Thumbnail ESP32.png

    Thumbnail ESP32Thumbnail

    ESP32 Robot Controller | AI Design Review Tutorial [Example] kGqQ

    ESP32 Robot Controller | AI Design Review Tutorial [Example] kGqQ thumbnail
    Spot the mistake! Learn how to use AI to conduct a design review on an ESP32-based control board. This project is ideal for autonomous or radio-controller robots featuring inputs for sensors, encoders, and a Flysky RC receiver, plus an I2C display for configuration.

    Properties

    Properties describe core aspects of the project.

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $14.43–$14.75

    Digi-Key

    $5.46–$5,832.18

    LCSC

    $3.62–$4.34

    Mouser

    $6.82–$6.99

    TME

    $1.13

    Verical

    $36.85–$37.66

    Controls