Beginner schematic guide
What this board is
This project is a smart scale / ESP32 board. It has a few major jobs:
- Take in power and convert it to the voltages the board needs.
- Run the ESP32-C3 microcontroller as the main brain.
- Read a load cell using a precision ADC so the scale can measure weight.
- Talk to a microSD card for storage.
- Handle RF / antenna connections for the ESP32 wireless radio.
- Provide headers and test pads so you can power, debug, and connect to the board.
The main functional blocks
1) Power block
Main parts
- J2: input connector
- U3 (TPS62130): switching regulator / buck converter
- U2 (NCP176BMX330TCG): linear regulator
- L3, C27, C28, C29, C30, C31, R6, R7, R8: support parts for the regulators
- Power nets: PP12V0, PP5V0, PP3V3
What it does
- PP12V0 is the higher input voltage coming into the board.
- U3 steps that down to PP5V0.
- U2 then regulates down to PP3V3 for the ESP32 and logic.
How to think about it
Power flows like this:
Input connector -> buck regulator -> 5V rail -> LDO -> 3.3V rail
Why all the extra capacitors matter
The capacitors around U2 and U3 are not optional clutter:
- some smooth the input,
- some stabilize the regulator loop,
- some reduce ripple,
- some provide fast current during sudden load changes.
If those are wrong or missing, the board can become noisy or unstable.
2) ESP32-C3 microcontroller block
Main parts
- IC1: ESP32-C3FH4
- Y1: 40 MHz crystal
- C4, C8: crystal load capacitors
- C5, C7, C12, C13, C15, C18, C21, C22, C24: decoupling / rail capacitors
- R3 + C2: enable/reset support around GPIO_EN / CHIP_EN
- MCU_TXD, MCU_RXD, MCU_BOOT: test pads for debug/programming
What it does
This is the “brain” of the board. It:
- runs firmware,
- communicates with the ADC over I2C,
- communicates with the microSD connector over SPI,
- provides wireless capability through the RF network and antenna.
Important ESP32 nets
- I2C_SDA / I2C_SCL -> talk to the ADC
- SPI_MOSI / SPI_MISO / SPI_SCK / SPI_CS -> talk to the microSD card
- GPIO_EN -> enables/resets the ESP32
- U0TXD / U0RXD / GPIO9 -> useful for programming / debugging / boot
Why the crystal matters
The crystal gives the ESP32 a stable clock reference. Without a correct clock, the MCU cannot run properly.
3) Load-cell measurement block
Main parts
- U1: NAU7802SGI precision ADC / load-cell front-end
- R2, R4, C20, C23: input filtering / support components
- Nets: LOAD_CELL_A1_P, LOAD_CELL_AI_N, INT_ADC_DRDY, I2C_SDA, I2C_SCL
- J3: load-cell connector
What it does
A load cell produces a very tiny analog voltage. The ESP32 cannot read that directly with good accuracy, so U1 measures it for the MCU.
How it works
- The load cell connects through J3.
- The analog signal enters U1 on VIN1P / VIN1N.
- U1 converts that tiny differential voltage into digital data.
- The ESP32 reads that data over I2C.
- DRDY tells the ESP32 when a fresh conversion is ready.
Why this block is sensitive
This is the most noise-sensitive part of the design. Good grounding, clean power, and careful routing matter a lot here.
4) microSD storage block
Main parts
- J1: microSD connector
- Nets: SPI_MOSI, SPI_MISO, SPI_SCK, SPI_CS, PP3V3, GND
How SPI mode on a microSD connector works
For SPI mode, the important pins are:
- CMD -> SPI MOSI
- DAT0 -> SPI MISO
- CLK/CLX -> SPI SCK
- CD/DAT3 -> SPI CS
- VDD -> power
- VSS -> ground
Unused pins in SPI mode
Usually unused:
- DAT1
- DAT2
- optional CD switch pin unless you want card-detect
What I fixed here
I corrected the SPI wiring intent so that:
- J1:CMD is on SPI_MOSI (correct for SPI mode)
- the unused SD sideband pins are marked unused so they stop creating confusing ERC warnings
5) RF / antenna block
Main parts
- Y2: chip antenna
- L1, L4, C6: RF matching network
- IC1:LNA_IN -> ESP32 RF feed
What it does
This block connects the ESP32 radio to the antenna.
Why matching parts are there
RF does not behave like ordinary digital wiring. The inductor/capacitor network helps the antenna and RF output “match” properly so the radio can transmit and receive efficiently.
Important detail
For this Johanson antenna:
I marked the unused antenna pin appropriately so it no longer looks like an accidental signal.
6) User/debug headers and test points
Main parts
- J4, J5: pin headers
- MCU_TXD, MCU_RXD, MCU_BOOT: test pads
What they do
These make the board easier to:
- power up during testing,
- connect debug tools,
- access signals without soldering directly to the MCU pins.
What I fixed in the schematic
I fixed the schematic-level review issues that were causing confusion:
-
microSD SPI signal corrected
- The SD card CMD pin should carry SPI_MOSI in SPI mode.
- It was on the wrong signal before.
-
Unused microSD pins marked unused
- DAT1, DAT2, and CD were hanging by themselves.
- They are now explicitly treated as unused instead of looking like mistakes.
-
Unused NAU7802 crystal pins handled
- The NAU7802 can use its internal RC oscillator by default.
- Since there is no external crystal network on U1, XIN/XOUT were marked unused to stop false confusion.
-
Unused antenna pin handled
- The Johanson chip antenna datasheet says pin 2 is NC.
- That is now treated correctly.
What is still wrong right now
The schematic warnings are cleaned up, but the board still has 55 airwire errors.
What an airwire means
An airwire means:
- the schematic says two pins should be connected,
- but the PCB still does not have a copper trace between them.
So this is now mostly a PCB routing problem, not a schematic problem.
Examples of still-unrouted groups include:
- ESP32 microSD SPI lines
- ESP32 NAU7802 I2C lines
- some power and decoupling connections
- some test/debug connections
Very simple mental model for reading this schematic
When you look at a board like this, ask these questions in order:
-
Where does power come in?
-
What is the main brain?
-
What sensors or analog front ends are attached?
-
What storage or interfaces are attached?
- J1 = microSD
- J3 = load cell
- J4/J5 = headers
-
What support parts belong to each IC?
- capacitors, crystal parts, pull-ups, matching network
That is the cleanest way to understand a schematic without getting overwhelmed.
Fast glossary
- Net: a named electrical connection
- Rail: a power net, like 3.3V or 5V
- Decoupling capacitor: a small capacitor near an IC power pin to keep voltage clean
- LDO: a linear voltage regulator
- Buck converter: a more efficient regulator that steps voltage down
- SPI: 4-wire digital interface used here for the SD card
- I2C: 2-wire digital interface used here for the ADC
- ADC: analog-to-digital converter
- No Connect (NC): a pin intentionally left unused
- Airwire: a PCB connection that exists in the schematic but is not yet physically routed on the board
What I recommend next
- Keep the schematic as-is after these fixes.
- Route the remaining airwires on the PCB.
- Re-run review after routing.
- Then inspect whether the override notices are harmless formatting overrides or something that affects manufacturability.