STM32-Based Programmable Waveform Generator
devjamescollier·STM32-Based_Programmable_Waveform_Generator·Hardware/KiCad_Files/STM32-Based_Programmable_Waveform_Generator.kicad_pcb
About the STM32-Based Programmable Waveform Generator PCB
STM32-Based Programmable 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 45 components from 28 distinct parts.
Its main chip is the C5456169, from the STM32 family. Other key parts include the C623655, C129334 and C27204. By type, the board carries 15 resistors, 11 capacitors, 5 diodes, 4 ICs, 3 connectors and 3 switches.
It belongs with the test & measurement designs in this gallery.
From the project
USB-powered STM32 function generator with an MCP4901 DAC producing sine, triangle, and square waves, with adjustable amplitude and button mode selection.
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 STM32-Based Programmable Waveform Generator
STM32-Based Programmable Waveform Generator bill of materials (BOM)
45 components, 28 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C5456169 STM32C031K6Tx | LQFP-32_7x7mm_P0.8mm | U1 |
| 1 | C623655 MCP4901 | SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | C129334 LM1117IMP-3.3/NOPB | SOT-223-3_TabPin2 | U4 |
| 1 | C27204 TLV2372 | SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 2 | C67272 IRLML0030 | SOT-23 | Q3, Q4 |
| 1 | C492413 Conn_01x05 | PinHeader_1x05_P2.54mm_Horizontal | J1 |
| 1 | C2931352 USB_B_Micro | USB_Micro-B_Amphenol_10104110_Horizontal | J2 |
| 1 | C158012 Conn_01x02 | JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J3 |
| 1 | C719176 10k | Potentiometer_Bourns_TC33X_Vertical | RV1 |
| 1 | C93157 SIGNAL_SW | SW_PUSH_6mm | SW1 |
| 1 | C93157 RESET_SW | SW_PUSH_6mm | SW2 |
| 1 | C93157 SETTINGS_SW | SW_PUSH_6mm | SW3 |
| 1 | C99561 250mA | Fuse_1206_3216Metric | TH1 |
| 5 | C84256 LED_Red | LED_0805_2012Metric | D1, D2, D3, D4, D5 |
| 1 | C28260 2.2n | C_0805_2012Metric | C1 |
| 1 | C9807 10u | C_1206_3216Metric | C2 |
| 5 | C49678 100n | C_0805_2012Metric | C3, C4, C5, C9, C10 |
| 1 | C15850 10u | C_0805_2012Metric | C6 |
| 2 | C7171 10u | CP_EIA-3216-18_Kemet-A | C7, C8 |
| 1 | C49678 100nF | C_0805_2012Metric | C11 |
Show 8 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C28636 560 | R_0805_2012Metric | R1 |
| 2 | C17673 4k7 | R_0805_2012Metric | R2, R4 |
| 1 | C17772 6.8k | R_0805_2012Metric | R3 |
| 3 | C17414 10k | R_0805_2012Metric | R5, R7, R11 |
| 5 | C17557 220 | R_0805_2012Metric | R6, R10, R12, R13, R14 |
| 1 | C4382 5k6 | R_0805_2012Metric | R8 |
| 1 | C17514 1M | R_0805_2012Metric | R9 |
| 1 | C17720 49.9 | R_0805_2012Metric | R15 |
STM32-Based Programmable Waveform Generator design files
The KiCad project lives in the devjamescollier/STM32-Based_Programmable_Waveform_Generator repository on GitHub; these links point at the commit this page was built from.
STM32-Based Programmable Waveform Generator: common questions
What microcontroller does the STM32-Based Programmable Waveform Generator use?
The STM32-Based Programmable Waveform Generator is built around the C5456169, from the STM32 family.
How big is the STM32-Based Programmable Waveform Generator PCB?
The STM32-Based Programmable Waveform Generator measures 52 × 48 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the STM32-Based Programmable Waveform Generator?
45 components, from 28 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the STM32-Based Programmable Waveform Generator design files?
From the devjamescollier/STM32-Based_Programmable_Waveform_Generator repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the STM32-Based Programmable 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 STM32-Based Programmable 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
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k