Skip to the content
4 layers50 × 70 mmMini Spectrum Analyzer-, the printed circuit board in 3D

into your CubeIDE project: Core/Inc/adf4351.h Core/Src/adf4351.c Then copy the initialization from: Maine.c to main.c now, Set your actual reference Our PCB uses: Y1 = 10 MHz TCXO hz = 1000000UL ADF4351's reference/PFD…

Size
50 × 70 mm
Copper layers
4
Thickness
1.6 mm
Parts
61
Nets
84
Pads
280
Tracks, vias
486, 57
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
12 Aug 2026
Updated
10 Sep 2026

Overview

Mini Spectrum Analyzer- is an open-source printed circuit board by Dhruv2212-star, from the Dhruv2212-star/Mini-Spectrum-Analyzer- repository on GitHub. It is a 4-layer board of 50 × 70 mm with 61 parts on 84 nets, routed with 486 tracks and 57 vias.

It is built around the TPS62162DSG, ADF4351BCP and ADL5801, with the PESD5V0X1ULD among its other parts. Its parts include 25 capacitors, 18 resistors, 5 ICs, 4 connectors and 3 switches. It belongs with the sensors and measurement boards and the STM32 boards of this library.

Main components

4

README

README.md

Ai ussage- used to help me find correct parts for the build for this project & debugging the firmware in some places ONLY.

Project Description- The Mini Spectrum Analyzer is an compact electronic device designed to detect and display radio frequency signals over selected frequency range.
It uses ADF4351 frequency synthesizer to generate programmable local oscillator and ADL5801 mixer to convert received RF signal into intermediate frequency.


Firmware Flashing Guide

Don't flash ZIP directly, ZIP contains the ADF4351 driver source, not ready-to-flash .bin
You first need an STM32 project that compiles it,so we need to create STM32 project in STM32CubeIDE,
create a project for: STM32G031K8T6
Then configure the pins to match our PCB
ADF4351 uses a 3-wire serial interface and accepts a programmable 35 MHz–4.4 GHz output range.
Now *Configure SPI1
In CubeMX the following:
SPI1 -> Master
8-bit
MSB first
CPOL = Low
CPHA = 1st Edge
Software NSS
Configure PA4, PA5 and PA7 for the SPI interface, with PA4 ultimately serving as the ADF4351 LE control
Add the driver. From the ZIP, copy: adf4351.h, adf4351.c

into your CubeIDE project:
Core/Inc/adf4351.h
Core/Src/adf4351.c
Then copy the initialization from: Maine.c to main.c
now, Set your actual reference
Our PCB uses:
Y1 = 10 MHz TCXO
hz = 1000000UL ADF4351's reference/PFD configuration is important because it directly affects the generated frequency.
->Build the project
In CubeIDE:
Project -> Build Project

If it has:
0 errors
0 warnings related to the driver, ONLY then proceed

*Connect your ST-LIN
Use your J4 SWD header:
J4-1 > SWDIO
J4-2 > SWCLK
J4-3 > NRST
J4-4 > +3V3 / VTREF
J4-5 > GND
First test: don't test the spectrum analyzer yet

Connect ST-LINK to the PC and open STM32CubeProgrammer. ST officially supports programming STM32 devices through an SWD and CubeProgrammer can program and verify the MCU flash.
Click:
ST-LINK > SWD > Connect
If it detects your STM32G031, stop there and tell me that it connected successfully.
Then we'll flash it
Compile > generate .elf > flash > reset > verify ADF4351 lock > check RF output

so the driver is configured for:

STM32 U5ADF4351 U3
PA4 — pin 11LE — pin 3
PA5 — pin 12CLK — pin 1
PA7 — pin 14DATA — pin 2
PB0 — pin 15CE — pin 4
PA1 — pin 8LD — pin 25

lets learn a bit about the project :3

PCB component's Role in the circuit

Block 1 — USB-C Power Input & Protection

image

USB-C(J1): serves as the main power source.
Polyfuse(F1): protects the board from high currents.
TVS Diode(D1): protects the USB power against voltage spikes that could damage sensitive components.
R1&R2: 5.1 kΩ pulldown resistors for CC1 and CC2.
C1&C2: 10 µF and 100 nF reduces low frequency voltage ripple also provides energy during sudden load changes and filters high freequency noise on the incoming USB power line.

Block 2 — 5 V to 3.3 V Power Regulation

image

U1- 3.3v regulator, converts 5v into 3.3v
L1- ferrite bead- supresses high frequency noise btwn regulator and 3.3v rail.
C3- stabalises regulator input and output.
C4&C5- 100uF local decoupling capacitors capacitors.

Block 3 — RF Input & Signal Conditioning

image R6- 10 ohms resistor which provides damping and limits the RF transients entering signal. R7- Work with R6 on to improve signal integrity. C6- 100pF capacitor which helps in AC coupling the RF signal while blocking DC. D2(PESD5V0X1UL)- protects our board against Electrostatic discharge.

Block 4 — RF Detector & Block 5 — Frequency Generation, Mixer & IF Stage

image

U2(AD8313)- Converts RF signal level into proportional DC voltage that MCU can measure.
C7-10- Decoupling capacitors.

U3(ADF4351)- Generates a programable local oscillator signal
U4(ADL5801)- Mixes the incoming RF signal with the local oscillator to make intermetiate frequency signal.
Y1(10MHz TCXO)- Provides stable clock for frequency generation. T1(ADT4-1T+ transformer)- converts differential IF signal into required form while provideing impedance matching

R11–R15- PLL Resistors Set PLL operating conditions, bias RF outputs C11–C22- Coupling / Decoupling Capacitors, Provide AC coupling, supply filtering,

Block 6 — MCU, Display & Programming & Block 7 — User Interface

image

U5(STM32G031K8T6)- Our MCU which Controls the analyzer, programs the synthesizer, samples detector data, processes measurements, updates the display.
J3(ST7789 Display Module)- Displays the measured spectrum, menus etcc.
J4(SWD Header)- allows programing the MCU.
R16(10k ohms resistor) for MCU reset pin.
C24- 100pF capacitor for high frequency bypass for MCU suply.
C25- 4.7pF decoupling capacitor that stabilizes the MCU power during rapid current changes.

SW1,SW2&SW3- increase frequency, decrease frequency, select menu options and confirms user actions respectively.
R17,R18&R19- 10K ohms resistors for SW1,SW2 and SW3.
screenshot of PCB

Parts

61
QtyValueFootprintReferences
7100 nFCapacitor_SMD:C_0603_1608MetricC2, C5, C9, C10, C17, C20, C24
41 nFCapacitor_SMD:C_0603_1608MetricC11, C12, C13, C14
410 kΩResistor_SMD:R_0603_1608MetricR16, R17, R18, R19
310 ΩResistor_SMD:R_0603_1608MetricR6, R7, R8
3100 pFCapacitor_SMD:C_0603_1608MetricC6, C15, C16
35.1 kΩResistor_SMD:R_0603_1608MetricR1, R2, R13
3CCapacitor_SMD:C_0603_1608MetricC21, C22, C23
3SW_PushButton_Switch_SMD:SW_SPST_SKQG_WithoutStemSW1, SW2, SW3
2100 kΩResistor_SMD:R_0603_1608MetricR3, R4
250 ΩResistor_SMD:R_0603_1608MetricR11, R12
2680 pFCapacitor_SMD:C_0603_1608MetricC7, C8
2RResistor_SMD:R_0603_1608MetricR5, R15
2~Capacitor_SMD:C_0603_1608MetricC18, C19
10 ΩResistor_SMD:R_0603_1608MetricR10
110 MHz TCXOOscillator:Oscillator_DIP-14Y1
110 µFCapacitor_SMD:C_0805_2012MetricC3
110 µFCapacitor_SMD:C_1206_3216MetricC1
1142-0701-4211420701421:CINCH_142-0701-421J2
12.2 µHInductor_SMD:L_1210_3225MetricL1
122 µFCapacitor_SMD:C_0805_2012MetricC4
14.7 µFCapacitor_SMD:C_0603_1608MetricC25
153.6 ΩResistor_SMD:R_0603_1608MetricR9
1AD8313xRMPackage_SO:MSOP-8_3x3mm_P0.65mmU2
1ADF4351Package_CSP:LFCSP-32-1EP_5x5mm_P0.5mm_EP3.25x3.25mmU3
1ADL5801Package_CSP:LFCSP-VQ-24-1EP_4x4mm_P0.5mm_EP2.642x2.642mmU4
1ADT4-1TRF_Mini-Circuits:Mini-Circuits_CD542_H2.84mmTR2
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4
1Conn_01x12Connector_PinHeader_2.54mm:PinHeader_1x12_P2.54mm_VerticalJ3
1D_TVSDiode_SMD:D_SMBD1
1PESD5V0X1ULDiode_SMD:D_SOD-523D2
1PolyfuseFuse:Fuse_1206_3216MetricF1
1STM32G031K8TxPackage_QFP:LQFP-32_7x7mm_P0.8mmU5
1TPS62162DSGPackage_SON:WSON-8-1EP_2x2mm_P0.5mm_EP0.9x1.6mm_ThermalViasU1
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1

Similar boards

  • 6 layersHELIOS, the printed circuit board in 3D

    HELIOS

    JoshCrouch/HELIOS

    A basic SDR Project to practice designing an RF Front-End

    3 parts
  • 6 layers122 × 98 mmVNA, the printed circuit board in 3D

    VNA

    jankae/LibreVNA

    100kHz to 6GHz 2 port USB based VNA

    592 parts1.7kGPL-3.0
  • 4 layers40.3 × 22.9 mmFmcw2, the printed circuit board in 3D

    Fmcw2

    Ttl/fmcw2

    FMCW radar design files

    136 parts199
  • 4 layers52 × 57 mmVna, the printed circuit board in 3D

    Vna

    Ttl/vna

    Homemade 30 MHZ - 6 GHz single receiver VNA design files.

    342 parts195
  • 4 layers90.2 × 40 mmRadar v2, the printed circuit board in 3D

    Radar v2

    ckflight/FMCW-RADAR

    Frequency Modulated Continuous Wave Radar hardware and software design files with 26 dBm output power covering around 250 m.

    270 parts59GPL-3.0
  • 2 layersFMCW Radar, the printed circuit board in 3D

    FMCW Radar

    Roshan-khatri78/Electronics-Projects-KiCad-

    A collection of my KiCad projects and PCB designs. These projects reflect my learning journey in electronics and PCB design.

    228 parts2
  • 4 layers191.8 × 123 mmRdf kicad, the printed circuit board in 3D

    Rdf kicad

    megmem044/Portfolio

    This repo consists the source code for the different projects listed on my resume

    265 parts
  • 2 layers82.1 × 82.1 mmUncut Gem, the printed circuit board in 3D

    Uncut Gem

    QuantumVillage/UncutGem

    A prototype Full Stack fully Open Source NV Center Diamond Magnetometer

    207 parts210AGPL-3.0

Questions

How big is the Mini Spectrum Analyzer- PCB?

It measures 50 × 70 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Mini Spectrum Analyzer- use?

61 parts, built around the TPS62162DSG, ADF4351BCP, ADL5801 and PESD5V0X1ULD. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Mini Spectrum Analyzer- KiCad files?

From the Dhruv2212-star/Mini-Spectrum-Analyzer- repository on GitHub, at the commit this page was made from: the board is PCB/Mini Spectrum Analyzer.kicad_pcb and its schematic PCB/Mini Spectrum Analyzer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mini Spectrum Analyzer- design in my own project?

Its repository states no licence, so its author keeps all rights: ask Dhruv2212-star before reusing the design.