# Programmable Function Generator

## Description

Programmable 1 Hz–1 MHz function generator PCB with sine, triangle, and adjustable\-duty square outputs, programmable amplitude up to ±10 V using a DDS\-based signal path and protected power rails\.

## Project Details

- **Owner:** jayanok
- **Created:** 7/14/2026
- **Last Updated:** 7/14/2026
- **Visibility:** Public

## Key Components

### D1 — [MBRM120ET3G](https://flux.ai/lcsc/mbrm120et3g~vbdw.md)

- JLCPCB Part Class: Extended Part
- Manufacturer Name: onsemi\(安森美\)
- Product Info Url: https://lcsc\.com/product\-detail/Schottky\-Barrier\-Diodes\-SBD\_ON\_MBRM120ET3G\_MBRM120ET3G\_C154780\.html
- Role: Schottky Rectifier
- Role Details: LT3471 \+15V boost rectifier
- Manufacturer Part Number: MBRM120ET3G
- LCSC Part Number: C154780
- Datasheet URL: https://storage\.googleapis\.com/graviton\-electric\-symbols/document\_assets/lcsc/2410010304\_onsemi\-MBRM120ET3G\_C154780\.pdf
- Part Type: Schottky Barrier Diodes \(SBD\)
- Package or Case Code: POWERMITE\_L2\.0\-W1\.9\-LS3\.8\-RD

**Pins:**
- A [pin 2]
- C [pin 1]

### D2 — [MBRM120ET3G](https://flux.ai/lcsc/mbrm120et3g~vbdw.md)

- JLCPCB Part Class: Extended Part
- Role: Schottky Rectifier
- Manufacturer Name: onsemi\(安森美\)
- Product Info Url: https://lcsc\.com/product\-detail/Schottky\-Barrier\-Diodes\-SBD\_ON\_MBRM120ET3G\_MBRM120ET3G\_C154780\.html
- Role Details: LT3471 \-15V inverting rectifier
- Manufacturer Part Number: MBRM120ET3G
- LCSC Part Number: C154780
- Datasheet URL: https://storage\.googleapis\.com/graviton\-electric\-symbols/document\_assets/lcsc/2410010304\_onsemi\-MBRM120ET3G\_C154780\.pdf
- Part Type: Schottky Barrier Diodes \(SBD\)
- Package or Case Code: POWERMITE\_L2\.0\-W1\.9\-LS3\.8\-RD

**Pins:**
- A [pin 2]
- C [pin 1]

### D3 — [TPD4E05U06DQAR](https://flux.ai/lcsc/tpd4e05u06dqar~l929.md)

- Manufacturer Part Number: TPD4E05U06DQAR
- Package or Case Code: DFN2510\-10\_L2\.5\-W1\.0\-P0\.50\-BL
- Datasheet URL: https://www\.lcsc\.com/datasheet/C138714\.pdf?spm=wm\.sxq\.inf\.ggs&utm\_source=octopart&lcsc\_vid=T1kIXgFeT1NaU1RXQFBbUlUHT1cKU1NXFVBeX1VSTlAxVlNRT1FdVFBSRFVdVDsOAxUeFF5JWA4NEwsWFhMaSQcJGk4%3D
- JLCPCB Part Class: Extended Part
- Role: ESD Protection
- Manufacturer Name: TI
- Operating Temperature: \-40℃\~\+125℃@\(Ta\)
- LCSC Part Number: C138714
- Role Details: USB D\+/D\-/CC1/CC2 low\-capacitance ESD array
- Part Type: ESD Protection Devices

**Pins:**
- D1\- [pin 2]
- D1\+ [pin 1]
- D2\- [pin 5]
- D2\+ [pin 4]
- GND [pin 3]
- GND [pin 8]
- NC [pin 9]
- NC [pin 10]
- NC [pin 7]
- NC [pin 6]

### J1 — [USB4105\-GF\-A](https://flux.ai/adrian95/usb4105-gf-a~im9.md)

- Part Type: USB C
- License: https://creativecommons\.org/licenses/by/4\.0/
- Symbol Style: parametric\-v1
- Role: USB\-C Receptacle
- Manufacturer Name: GCT
- Manufacturer Name: GCT
- Datasheet URL: https://gct\.co/files/specs/usb4105\-spec\.pdf
- Manufacturer Part Number: USB4105\-GF\-A
- Role Details: USB\-C 5V sink input plus USB FS data for STM32 control

**Pins:**
- CC1 [pin A5]
- CC2 [pin B5]
- DN1 [pin A7]
- DN2 [pin B7]
- DP1 [pin A6]
- DP2 [pin B6]
- GND [pin A1\_B12]
- GND\_\_1 [pin B1\_A12]
- SBU1 [pin A8]
- SBU2 [pin B8]
- SHELL\_GND [pin SH1]
- SHELL\_GND\_\_1 [pin SH2]
- SHELL\_GND\_\_2 [pin SH3]
- SHELL\_GND\_\_3 [pin SH4]
- VBUS [pin A4\_B9]
- VBUS\_\_1 [pin B4\_A9]

### J2 — [CONBNC001](https://flux.ai/vasy_skral/conbnc001~qj8.md)

- Manufacturer Name: TE Connectivity Linx
- Role Details: BNC analog waveform output, high\-Z amplitude calibration assumption
- Part Type: Connector
- Manufacturer Part Number: CONBNC001
- License: https://creativecommons\.org/licenses/by/4\.0/
- Datasheet URL: https://www\.te\.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=CONBNC001&DocType=Data\+Sheet&DocLang=English&DocFormat=pdf&PartCntxt=CONBNC001
- Role: Output Connector

**Pins:**
- GND [pin S2]
- GND [pin S3]
- GND [pin S1]
- GND [pin S4]
- Signal [pin 1]

### J3 — [ARM JTAG SWD 10Pin 0\.05" Connector](https://flux.ai/vasy_skral/arm-jtag-swd-10pin-005-connector~y0b.md)

- Role: Debug Connector
- Part Type: Connector
- Role Details: 10\-pin Cortex SWD header for STM32 programming and debug
- Symbol Style: parametric\-v1
- Manufacturer Part Number: FTSH\-105\-01\-L\-DV\-007\-K
- Manufacturer Name: Analog Devices
- Datasheet URL: https://suddendocs\.samtec\.com/catalog\_english/ftsh\_smt\.pdf

**Pins:**
- \~RESET\~ [pin 10]
- GND [pin 5]
- GND [pin 3]
- GNDDetect [pin 9]
- NC/TDI [pin 8]
- SWDCLK/TCK [pin 4]
- SWDIO/TMS [pin 2]
- SWO/TDO [pin 6]
- VTref [pin 1]

### U1 — [MP5016GQH\-Z](https://flux.ai/monolithicpower/mp5016gqh-z~mgj.md)

- Package or Case Code: QFN10\-1p5X2\_MNP
- Datasheet URL: https://www\.monolithicpower\.com/en/documentview/productdocument/index/version/2/document\_type/Datasheet/lang/en/sku/MP5016GQH\-Z
- Role Details: USB 5V eFuse, OVP/UVLO/OCP; current limit target about 1A for high\-Z output design
- Role: Input Protection
- Manufacturer Name: Monolithic Power Systems
- Product Image Url: https://www\.monolithicpower\.com/pub/media/catalog/product/M/P/MP5016\_428\_1\.jpg
- Product Info Url: https://www\.monolithicpower\.com/en/catalog/product/view/id/428?utm\_source=ultralibrarian&utm\_medium=component\_search&utm\_campaign=listing
- Manufacturer Part Number: MP5016GQH\-Z

**Pins:**
- DV/DT [pin 10]
- EN [pin 9]
- GATE [pin 8]
- GND [pin 3]
- ILIMIT [pin 4]
- MODE [pin 5]
- SOURCE [pin 6]
- SOURCE [pin 7]
- VCC [pin 1]
- VCC [pin 2]

### U10 — [ADA4898\-2YRDZ](https://flux.ai/jecstronic/ada4898-2yrdz~sqf.md)

- Part Type: Operational Amplifier \(OP\-AMP\)
- Role: Amplification
- Manufacturer Part Number: ADA4898\-2YRDZ
- Datasheet URL: https://www\.analog\.com/media/en/technical\-documentation/data\-sheets/ADA4898\-1\_4898\-2\.pdf
- Manufacturer Name: Analog Devices Inc\.
- Role Details: Low\-level DDS/square conditioning, bias subtraction, and pre\-scaling before THS3091 output stage

**Pins:**
- \-IN 1 [pin 2]
- \-IN 2 [pin 6]
- \+IN 1 [pin 3]
- \+IN 2 [pin 5]
- EP [pin 9]
- OUT 1 [pin 1]
- OUT 2 [pin 7]
- V\- [pin 4]
- V\+ [pin 8]

### U2 — [MCP1703Ax\-330xxMB](https://flux.ai/kicad-part-library/mcp1703ax-330xxmb~qtf.md)

- Datasheet URL: http://ww1\.microchip\.com/downloads/en/DeviceDoc/20005122B\.pdf
- Manufacturer Part Number: MCP1703Ax\-330xxMB
- Role: Voltage Regulator
- Role Details: 5V\_PROT to 3V3 digital/control LDO
- Manufacturer Name: Microchip Technology Inc\.
- Package or Case Code: SOT\-89\-3

**Pins:**
- GND [pin 1]
- VI [pin 2]
- VO [pin 3]

### U3 — [LT3471EDD\#PBF](https://flux.ai/vasyl/lt3471eddpbf~dw.md)

- Role Details: 5V\_PROT to \+/\-15V analog rails for THS3091 output stage
- Manufacturer Part Number: LT3471EDD\#PBF
- Part Type: Integrated Circuit
- Role: Switching Regulator
- Datasheet URL: https://www\.analog\.com/media/en/technical\-documentation/data\-sheets/3471fb\.pdf
- Manufacturer Name: Analog Devices Inc\.

**Pins:**
- \~SHDN\~/SS1 [pin 9]
- \~SHDN\~/SS2 [pin 7]
- FB1N [pin 1]
- FB1P [pin 2]
- FB2N [pin 5]
- FB2P [pin 4]
- GND [pin 11]
- SW1 [pin 10]
- SW2 [pin 6]
- VIN [pin 8]
- VREF [pin 3]

### U4 — [STM32G0B1CBT6](https://flux.ai/lcsc/stm32g0b1cbt6~dg8z.md)

- Manufacturer Part Number: STM32G0B1CBT6
- JLCPCB Part Class: Extended Part
- Datasheet URL: https://www\.lcsc\.com/datasheet/C2847904\.pdf?spm=wm\.sxq\.inf\.ggs&lcsc\_vid=FlVZVVIFFgBeVAVTT1BXUgFfEwJeVlBfEwVcAlMHRAQxVlNeR1RcVlxUQlBdUTsOAxUeFF5JWBYZEEoKFBINSQcJGk4dAgUUFAk%3D
- Role: Microcontroller
- Package or Case Code: LQFP\-48\_L7\.0\-W7\.0\-P0\.50\-LS9\.0\-BL
- Operating Temperature: \-40°C \~ 85°C \(TA\)
- Symbol Style: parametric\-v1
- Frequency: 64MHz
- Part Type: ST Microelectronics
- Manufacturer Name: ST\(意法半导体\)
- Role Details: USB control, SPI to DDS/DAC/digipot/mux, timer square output
- LCSC Part Number: C2847904
- Voltage Supply: 1\.7 \~ 3\.6V

**Pins:**
- PA0 [pin 11]
- PA1 [pin 12]
- PA10 [pin 32]
- PA11\[PA9\] [pin 33]
- PA12\[PA10\] [pin 34]
- PA13 [pin 35]
- PA14\-BOOT0 [pin 36]
- PA15 [pin 37]
- PA2 [pin 13]
- PA3 [pin 14]
- PA4 [pin 15]
- PA5 [pin 16]
- PA6 [pin 17]
- PA7 [pin 18]
- PA8 [pin 28]
- PA9 [pin 29]
- PB0 [pin 19]
- PB1 [pin 20]
- PB10 [pin 22]
- PB11 [pin 23]
- PB12 [pin 24]
- PB13 [pin 25]
- PB14 [pin 26]
- PB15 [pin 27]
- PB2 [pin 21]
- PB3 [pin 42]
- PB4 [pin 43]
- PB5 [pin 44]
- PB6 [pin 45]
- PB7 [pin 46]
- PB8 [pin 47]
- PB9 [pin 48]
- PC13 [pin 1]
- PC14\-OSC32\_IN [pin 2]
- PC15\-OSC32\_OUT [pin 3]
- PC6 [pin 30]
- PC7 [pin 31]
- PD0 [pin 38]
- PD1 [pin 39]
- PD2 [pin 40]
- PD3 [pin 41]
- PF0\-OSC\_IN [pin 8]
- PF1\-OSC\_OUT [pin 9]
- PF2\-NRST [pin 10]
- VBAT [pin 4]
- VDD/VDDA [pin 6]
- VREF\+ [pin 5]
- VSS/VSSA [pin 7]

### U5 — [AD9833BRMZ](https://flux.ai/jecstronic/ad9833brmz~d1h.md)

- Role: DDS Waveform Generator
- Manufacturer Part Number: AD9833BRMZ
- Role Details: SPI\-controlled sine/triangle source, 25MHz MCLK, 1Hz\-1MHz output target
- Manufacturer Name: Analog Devices Inc\.
- Datasheet URL: https://www\.analog\.com/media/en/technical\-documentation/data\-sheets/AD9833\.pdf
- License: https://creativecommons\.org/licenses/by/4\.0/
- Part Type: Integrated Circuit

**Pins:**
- \~FSYNC [pin 8]
- AGND [pin 9]
- CAP/2\.5V [pin 3]
- COMP [pin 1]
- DGND [pin 4]
- MCLK [pin 5]
- SCLK [pin 7]
- SDATA [pin 6]
- VDD [pin 2]
- VOUT [pin 10]

### U6 — [ADG758CPZ](https://flux.ai/kicad-part-library/adg758cpz~awh.md)

- Role Details: Low\-level waveform selection before high\-voltage output gain
- Manufacturer Name: Texas Instruments Inc\.
- Package or Case Code: LFCSP\-20\-1EP\_4x4mm\_P0\.5mm\_EP2\.1x2\.1mm
- Role: Analog Multiplexer
- Datasheet URL: https://www\.analog\.com/media/en/technical\-documentation/data\-sheets/ADG758\_759\.pdf
- Manufacturer Part Number: ADG758CPZ

**Pins:**
- A0 [pin 19]
- A1 [pin 18]
- A2 [pin 17]
- D [pin 7]
- EN [pin 1]
- GND [pin 15]
- NC [pin 8]
- NC [pin 16]
- NC [pin 9]
- NC [pin 20]
- S1 [pin 3]
- S2 [pin 4]
- S3 [pin 5]
- S4 [pin 6]
- S5 [pin 13]
- S6 [pin 12]
- S7 [pin 11]
- S8 [pin 10]
- V\_\{DD\} [pin 14]
- V\_\{SS\} [pin 2]
- V\_\{SS\} [pin 21]

### U7 — [AD5290](https://flux.ai/kicad-part-library/ad5290~p1.md)

- Role Details: ±15V\-capable digital pot in output amplifier gain network
- Role: Programmable Gain
- Package or Case Code: MSOP\-10\_3x3mm\_P0\.5mm
- Manufacturer Part Number: AD5290
- Datasheet URL: https://www\.analog\.com/media/en/technical\-documentation/data\-sheets/AD5290\.pdf
- Manufacturer Name: Texas Instruments Inc\.

**Pins:**
- \~\{CS\} [pin 5]
- A [pin 1]
- B [pin 2]
- CLK [pin 6]
- GND [pin 4]
- SDI [pin 7]
- SDO [pin 8]
- V\_\{DD\} [pin 9]
- V\_\{SS\} [pin 3]
- W [pin 10]

### U8 — [THS3091DDAR](https://flux.ai/jecstronic/ths3091ddar~hbv.md)

- Role Details: High\-slew ±15V current\-feedback amplifier for 20Vpp high\-Z output
- Manufacturer Part Number: THS3091DDAR
- Manufacturer Name: Texas Instruments Inc\.
- Role: Output Amplifier
- License: https://creativecommons\.org/licenses/by/4\.0/
- Datasheet URL: https://www\.ti\.com/lit/ds/slos423h/slos423h\.pdf
- Part Type: Operational Amplifier \(OP\-AMP\)

**Pins:**
- GND [pin 9]
- NC\_1 [pin 1]
- NC\_2 [pin 5]
- NC\_3 [pin 8]
- VIN\- [pin 2]
- VIN\+ [pin 3]
- VOUT [pin 6]
- VS\- [pin 4]
- VS\+ [pin 7]

### U9 — [DAC80501MDGSR](https://flux.ai/adrian95/dac80501mdgsr.md)

- Package or Case Code: 10\-VSSOP
- Datasheet URL: https://www\.ti\.com/lit/gpn/DAC80501
- Manufacturer Part Number: DAC80501MDGSR
- Role: Control DAC
- Part Type: Integrated Circuit
- Manufacturer Name: Texas Instruments
- Role Details: SPI DAC for offset/zero calibration and analog bias trim
- Symbol Style: parametric\-v1

**Pins:**
- \~SYNC\~/A0 [pin 7]
- AGND [pin 4]
- NC\_1 [pin 3]
- NC\_2 [pin 9]
- SCLK/SCL [pin 6]
- SDIN/SDA [pin 8]
- SPI2C [pin 5]
- VDD [pin 1]
- VOUT [pin 2]
- VREFIO [pin 10]

### X1 — [DSC6151HI2B\-025\.0000T](https://flux.ai/vasy_skral/dsc6151hi2b-025p0000t~t7x.md)

- Part Type: Oscillator
- Role: Clock Oscillator
- Role Details: 25MHz low\-jitter MCLK for AD9833 frequency accuracy
- Frequency: 25MHz
- Symbol Style: Parametric
- Manufacturer Name: Microchip
- Datasheet URL: https://ww1\.microchip\.com/downloads/aemDocuments/documents/TCG/ProductDocuments/DataSheets/DSC61xxB\-Ultra\-Small\-Ultra\-Low\-Power\-MEMS\-Oscillator\-DS20006155\.pdf
- Manufacturer Part Number: DSC6151HI2B\-025\.0000T
- License: https://creativecommons\.org/licenses/by/4\.0/

**Pins:**
- \~STDBY [pin 1]
- GND [pin 2]
- OUT [pin 3]
- VDD [pin 4]

*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://flux\.ai/jayanok/programmable\-function\-generator\~60](https://flux.ai/jayanok/programmable-function-generator~60).*

---

*Generated from [https://flux\.ai/jayanok/programmable\-function\-generator\~60](https://flux.ai/jayanok/programmable-function-generator~60)*