STM-32 Based Waveform Generator
devjamescollier·STM-32_Based_Waveform_Generator·Hardware/KiCad_Files/STM32-Based_Programmable_Waveform_Generator.kicad_pcb
About the STM-32 Based Waveform Generator PCB
STM-32 Based Waveform Generator is an open source STM32 PCB design by devjamescollier, published on GitHub under the CERN-OHL-P-2.0 license. It is a 2-layer board measuring 52 × 48 mm, with 48 components from 30 distinct parts.
Its main chip is the STM32C031K6Tx, from the STM32 family. Other key parts include the MCP4901, LM1117IMP-3.3/NOPB and TLV2372. By type, the board carries 14 resistors, 11 capacitors, 5 diodes, 4 ICs, 4 test points and 3 connectors.
It belongs with the test & measurement designs in this gallery.
From the project
USB-powered programmable function generator built around an STM32C031K6T6 microcontroller and MCP4901 DAC. Generates clean sine, triangle, and square waveforms with amplitude control via potentiometer, mode selection via buttons, and visual feedback through status/signal LEDs.
USB-powered programmable function generator built around an STM32C031K6T6 microcontroller and MCP4901 DAC. Generates clean sine, triangle, and square waveforms with amplitude control via potentiometer, mode selection via buttons, and visual feedback through status/signal LEDs.
Designed for lab and bench use with an SWD programming header, multiple test points, and robust power protection.

Main components on the STM-32 Based Waveform Generator
STM-32 Based Waveform Generator bill of materials (BOM)
48 components, 30 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32C031K6Tx | LQFP-32_7x7mm_P0.8mm | U1 |
| 1 | MCP4901 | SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | LM1117IMP-3.3/NOPB | SOT-223-3_TabPin2 | U4 |
| 1 | TLV2372 | SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 2 | IRLML0030 | SOT-23 | Q3, Q4 |
| 1 | Conn_01x05 | PinHeader_1x05_P2.54mm_Horizontal | J1 |
| 1 | USB_B_Micro | USB_Micro-B_Amphenol_10104110_Horizontal | J2 |
| 1 | Conn_01x02 | JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J3 |
| 1 | R_Potentiometer | Potentiometer_Bourns_TC33X_Vertical | RV1 |
| 1 | SIGNAL_SW | SW_PUSH_6mm | SW1 |
| 1 | RESET_SW | SW_PUSH_6mm | SW2 |
| 1 | SETTINGS_SW | SW_PUSH_6mm | SW3 |
| 1 | Polyfuse | Fuse_1206_3216Metric | TH1 |
| 4 | TestPoint | TestPoint_THTPad_D2.5mm_Drill1.2mm | TP1, TP2, TP3, TP4 |
| 1 | LED_SIGNAL_1 | LED_0805_2012Metric | D1 |
| 1 | LED_SIGNAL_2 | LED_0805_2012Metric | D2 |
| 1 | LED_SIGNAL_3 | LED_0805_2012Metric | D3 |
| 1 | LED_SETTINGS_1 | LED_0805_2012Metric | D4 |
| 1 | LED_SETTINGS_2 | LED_0805_2012Metric | D5 |
| 6 | 100n | C_0805_2012Metric | C1, C3, C4, C5, C9, C10 |
Show 10 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 10u | C_1206_3216Metric | C2 |
| 1 | 10u | C_0805_2012Metric | C6 |
| 2 | 10u | CP_EIA-3216-18_Kemet-A | C7, C8 |
| 1 | 100nF | C_0805_2012Metric | C11 |
| 1 | 560 | R_0805_2012Metric | R1 |
| 2 | 4k6 | R_0805_2012Metric | R2, R4 |
| 1 | 6.8k | R_0805_2012Metric | R3 |
| 4 | 10k | R_0805_2012Metric | R5, R7, R9, R11 |
| 5 | 220 | R_0805_2012Metric | R6, R10, R12, R13, R14 |
| 1 | 5k6 | R_0805_2012Metric | R8 |
STM-32 Based Waveform Generator design files
The KiCad project lives in the devjamescollier/STM-32_Based_Waveform_Generator repository on GitHub; these links point at the commit this page was built from.
STM-32 Based Waveform Generator: common questions
What microcontroller does the STM-32 Based Waveform Generator use?
The STM-32 Based Waveform Generator is built around the STM32C031K6Tx, from the STM32 family.
How big is the STM-32 Based Waveform Generator PCB?
The STM-32 Based Waveform Generator measures 52 × 48 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the STM-32 Based Waveform Generator?
48 components, from 30 distinct parts. The full bill of materials is listed on this page.
Where can I download the STM-32 Based Waveform Generator design files?
From the devjamescollier/STM-32_Based_Waveform_Generator repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the STM-32 Based Waveform Generator design in my own project?
Yes, under the terms of its CERN-OHL-P-2.0 license, which devjamescollier chose for the repository.
Can I test firmware for the STM-32 Based Waveform Generator without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
LibreVNA
jankae
122 × 98 mm592 parts6LGPL-3.01.6kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2k