# Mad Turquoise Warp Drive ## Description 150 W Programmable 0–30 V / 0–5 A Buck-Boost Bench Power Supply with STM32 Control and Advanced Protections ## Project Details - **Owner:** dmytro11111111 - **Created:** 12/8/2025 - **Last Updated:** 12/8/2025 - **Visibility:** Public - **System Architecture:** ```mermaid flowchart TD Input_Stage["Input Stage 5-32V DC"] Reverse_Protection["Reverse Polarity MOSFET"] TVS_Diode["TVS Diode"] Transient_Suppression["Transient Suppression Diode"] EMI_Filter["EMI and Input Filter"] Buck_Boost_Controller["4-Switch Buck Boost Controller"] Power_Train["MOSFET Bridge and Inductor"] Current_Shunt["Output Current Shunt"] Output_Filter["Output Capacitors and Sense Lines"] Output_Terminals["Output Terminals and Remote Sense"] Current_Sense_Amp["Current Sense Amplifier"] Voltage_Divider["Voltage Sense Divider"] OCP_Comparator["Over Current Comparator"] OVP_Comparator["Over Voltage Comparator"] MCU["MCU with ADC DAC and SPI"] DAC_Ref["DAC Reference for CV CC"] TFT_Display["2.8in 320x240 TFT SPI"] Encoder_Buttons["Rotary Encoder and Buttons"] Fan_Driver["Fan Driver and Connector"] Temp_Sensors["Heatsink and Internal Temp Sensors"] Input_Stage --> Reverse_Protection Reverse_Protection --> TVS_Diode TVS_Diode --> Transient_Suppression Transient_Suppression --> EMI_Filter EMI_Filter --> Buck_Boost_Controller Buck_Boost_Controller --> Power_Train Power_Train --> Current_Shunt --> Output_Filter --> Output_Terminals Current_Shunt --> Current_Sense_Amp --> OCP_Comparator --> MCU Output_Filter --> Voltage_Divider --> OVP_Comparator --> MCU MCU --> DAC_Ref --> Buck_Boost_Controller MCU --> Buck_Boost_Controller MCU --> TFT_Display MCU --> Encoder_Buttons MCU --> Fan_Driver --> Temp_Sensors ``` ## Key Components ### D1 — [ZHCS500TA](https://www.flux.ai/vasyl/zhcs500ta~ubu.md) - Manufacturer Name: Diodes Incorporated - Manufacturer Part Number: ZHCS500TA - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Single Diodes - Datasheet URL: https://www.diodes.com/assets/Datasheets/ZHCS500.pdf **Pins:** - Anode [pin 1] - Cathode [pin 3] ### D2 — [BAR43FILM](https://www.flux.ai/jecstronic/bar43film~m3.md) - Part Type: Diode - Manufacturer Part Number: BAR43FILM - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/b3/b4/6e/ab/17/40/40/62/CD00000764.pdf/files/CD00000764.pdf/jcr:content/translations/en.CD00000764.pdf - Manufacturer Name: STMicroelectronics - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 1] - K [pin 3] - NC [pin 2] ### FS1 — [MINISMDC050F-2](https://www.flux.ai/vasyl/minismdc050f-2~uqi.md) - Part Type: PTC Resettable Fuses - Datasheet URL: https://www.littelfuse.com/~/media/electronics/product_specifications/resettable_ptcs/littelfuse_ptc_minismdc050f_2_product_specification.pdf.pdf - Manufacturer Name: Littelfuse Inc. - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: MINISMDC050F-2 **Pins:** - ~ [pin 2] - ~ [pin 1] ### J1 — [TF-015](https://www.flux.ai/vasyl/tf-015~s40.md) - Manufacturer Name: SOFNG - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2112221030_SOFNG-TF-015_C113206.pdf - Manufacturer Part Number: TF-015 - Part Type: Connector **Pins:** - 10 [pin 10] - 11 [pin 11] - 12 [pin 12] - 13 [pin 13] - CD [pin 9] - CD/DAT3 [pin 2] - CLX [pin 5] - CMD [pin 3] - DAT0 [pin 7] - DAT1 [pin 8] - DAT2 [pin 1] - VDD [pin 4] - VSS [pin 6] ### J2 — [XY301V-A-5.0-3P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-3p~ox.md) - Manufacturer Name: Ningbo Xinlaiya Elec. - Manufacturer Part Number: XY301V-A-5.0-3P - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2411121455_Ningbo-Xinlaiya-Elec--XY301V-A-5-0-3P_C557652.pdf **Pins:** - PIN1 [pin 1] - PIN2 [pin 2] - PIN3 [pin 3] ### LED1 — [CTL1206FYW1T](https://www.flux.ai/jharwinbarrozo/ctl1206fyw1t~cql.md) - Forward Voltage: 1.7V - Manufacturer Name: Venkel - Part Type: LED - Datasheet URL: https://venkel.com/part/CTL1206FYW1T - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: CTL1206FYW1T **Pins:** - A [pin 2] - K [pin 1] ### Q1 — [ZXMP3A13FTA](https://www.flux.ai/vasyl/zxmp3a13fta~o1j.md) - Datasheet URL: https://www.diodes.com/assets/Datasheets/ZXMP3A13F.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: ZXMP3A13FTA - Part Type: Single FETs, MOSFETs - Manufacturer Name: Diodes Incorporated **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### SW1 — [Push Button](https://www.flux.ai/jharwinbarrozo/push-button~eqk.md) - Datasheet URL: https://datasheet.lcsc.com/lcsc/1809271215_Omron-Electronics-B3FS-1050P_C231326.pdf - Manufacturer Name: OMRON - Part Type: Switch - Manufacturer Part Number: B3FS-1050P **Pins:** - P1 [pin 1] - P2 [pin 3] ### U1 — [STM32F405RGT6](https://www.flux.ai/jharwinbarrozo/stm32f405rgt6~ssm.md) - Datasheet URL: http://www.st.com/content/ccc/resource/technical/document/datasheet/ef/92/76/6d/bb/c2/4f/f7/DM00037051.pdf/files/DM00037051.pdf/jcr:content/translations/en.DM00037051.pdf - Manufacturer Name: STMicroelectronics - Part Type: Integrated Circuit - Manufacturer Part Number: STM32F405RGT6 **Pins:** - BOOT0 [pin 60] - NRST [pin 7] - PA0_WKUP [pin 14] - PA1 [pin 15] - PA10 [pin 43] - PA11 [pin 44] - PA12 [pin 45] - PA13 [pin 46] - PA14 [pin 49] - PA15 [pin 50] - PA2 [pin 16] - PA3 [pin 17] - PA4 [pin 20] - PA5 [pin 21] - PA6 [pin 22] - PA7 [pin 23] - PA8 [pin 41] - PA9 [pin 42] - PB0 [pin 26] - PB1 [pin 27] - PB10 [pin 29] - PB11 [pin 30] - PB12 [pin 33] - PB13 [pin 34] - PB14 [pin 35] - PB15 [pin 36] - PB2 [pin 28] - PB3 [pin 55] - PB4 [pin 56] - PB5 [pin 57] - PB6 [pin 58] - PB7 [pin 59] - PB8 [pin 61] - PB9 [pin 62] - PC0 [pin 8] - PC1 [pin 9] - PC10 [pin 51] - PC11 [pin 52] - PC12 [pin 53] - PC13 [pin 2] - PC14 [pin 3] - PC15 [pin 4] - PC2 [pin 10] - PC3 [pin 11] - PC4 [pin 24] - PC5 [pin 25] - PC6 [pin 37] - PC7 [pin 38] - PC8 [pin 39] - PC9 [pin 40] - PD2 [pin 54] - PH0 [pin 5] - PH1 [pin 6] - VBAT [pin 1] - VCAP_1 [pin 31] - VCAP_2 [pin 47] - VDD1 [pin 19] - VDD2 [pin 32] - VDD3 [pin 48] - VDD4 [pin 64] - VDDA [pin 13] - VSS1 [pin 18] - VSS2 [pin 63] - VSSA [pin 12] ### U2 — [LTC3779](https://www.flux.ai/notbruno/ltc3779~sb.md) - Purchase Url: https://www.analog.com/en/products/ltc3779.html#product-overview - Manufacturer Name: Analog Devices - Datasheet URL: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc3779.pdf - Part Type: Integrated Circuit - Manufacturer Part Number: LTC3779 - Role Details: 4-switch synchronous buck-boost controller - Role: Power Management **Pins:** - BG1 [pin 1] - BOOST1 [pin 36] - BOOST2 [pin 22] - DRV_cc [pin 7] - DRVSET - EXTV_cc [pin 5] - FREQ [pin 17] - GND [pin 39] - I_angsnsp [pin 26] - I_avgsnsn [pin 28] - ITH [pin 13] - MODE [pin 15] - NRDV [pin 6] - PG2 [pin 19] - PGOOD [pin 18] - PLLIN [pin 16] - RUN [pin 24] - SENSEN [pin 12] - SENSEP [pin 11] - SGND [pin 14] - SGND [pin 4] - SS [pin 9] - SW1 [pin 38] - SW2 [pin 20] - TG1 [pin 37] - TG2 [pin 21] - V_fb [pin 10] - V_in [pin 34] - V_insns [pin 32] - V_outsns [pin 30] - V5 [pin 8] - VINOV ### U3 — [Adafruit SPI TFT LCD Display Touch ILI9341](https://www.flux.ai/jharwinbarrozo/adafruit-spi-tft-lcd-display-touch-ili9341~sh9.md) - Role Details: 2.8in 320×240 SPI TFT interface - Manufacturer Part Number: Adafruit ILI9341 - Part Type: Display Device - Datasheet URL: https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Adafruit Industries - Role: Display Device **Pins:** - CS [pin 12] - D/C [pin 10] - GND [pin 13] - LED [pin 7] - MISO [pin 6] - MOSI [pin 9] - RESET [pin 11] - SCK [pin 8] - SD_CS [pin SD4] - SD_MISO [pin SD2] - SD_MOSI [pin SD3] - SD_SCK [pin SD1] - T_CLK [pin 5] - T_CS [pin 4] - T_DIN [pin 3] - T_DO [pin 2] - T_IRQ [pin 1] - VCC [pin 14] ### U4 — [AD8219](https://www.flux.ai/kicad-part-library/ad8219~ye.md) - Role Details: Current-sense amplifier for 0–5 A shunt - Role: Amplification - Manufacturer Name: Texas Instruments Inc. - Datasheet URL: https://www.analog.com/media/en/technical-documentation/data-sheets/AD8219.pdf - Package or Case Code: MSOP-8_3x3mm_P0.65mm - Manufacturer Part Number: AD8219 **Pins:** - -IN [pin 8] - +IN [pin 1] - GND [pin 4] - NC [pin 6] - NC [pin 3] - NC [pin 7] - OUT [pin 5] - Vs [pin 2] ### U5 — [TMP102AIDRLR](https://www.flux.ai/adrian95/tmp102aidrlr~ps2.md) - Manufacturer Part Number: TMP102AIDRLR - Manufacturer Name: Texas Instruments - Role Details: Digital temperature sensor for heatsink/internal - Part Type: Sensor - Role: Sensor - Datasheet URL: https://www.ti.com/lit/ds/symlink/tmp102.pdf - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - ADD0 [pin 4] - ALERT [pin 3] - GND [pin 2] - SCL [pin 1] - SDA [pin 6] - V+ [pin 5] ### U6 — [FAN3268TMX](https://www.flux.ai/adrian95/fan3268tmx~g9l.md) - Datasheet URL: https://datasheet.octopart.com/FAN3268TMX-ON-Semiconductor-datasheet-145547744.pdf - Role Details: Fan driver PWM half-bridge - Manufacturer Name: onsemi - License: https://creativecommons.org/licenses/by/4.0/ - Role: Power Management - Manufacturer Part Number: FAN3268TMX - Part Type: Integrated Circuit **Pins:** - ENA [pin 1] - ENB [pin 8] - GND [pin 3] - INA [pin 2] - INB [pin 4] - OUTA [pin 7] - OUTB [pin 5] - VDD [pin 6] ### U7 — [TLV7031DBVR](https://www.flux.ai/adrian95/tlv7031dbvr~673.md) - Manufacturer Name: Texas Instruments - Role Details: Over-voltage comparator - Manufacturer Part Number: TLV7031DBVR - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Ftlv7031 - Part Type: Integrated Circuit - Role: Protection **Pins:** - - [pin 4] - + [pin 3] - ~ [pin 1] - V- [pin 2] - V+ [pin 5] ### U8 — [TLV7031DBVR](https://www.flux.ai/adrian95/tlv7031dbvr~673.md) - Manufacturer Name: Texas Instruments - Role Details: Over-current comparator - Manufacturer Part Number: TLV7031DBVR - Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Ftlv7031 - License: https://creativecommons.org/licenses/by/4.0/ - Role: Protection - Part Type: Integrated Circuit **Pins:** - - [pin 4] - + [pin 3] - ~ [pin 1] - V- [pin 2] - V+ [pin 5] ### U9 — [TLV7031DBVR](https://www.flux.ai/adrian95/tlv7031dbvr~673.md) - Manufacturer Part Number: TLV7031DBVR - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Ftlv7031 - Manufacturer Name: Texas Instruments - Role Details: Over-temperature comparator - Part Type: Integrated Circuit - Role: Protection **Pins:** - - [pin 4] - + [pin 3] - ~ [pin 1] - V- [pin 2] - V+ [pin 5] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/dmytro11111111/mad-turquoise-warp-drive~d7](https://www.flux.ai/dmytro11111111/mad-turquoise-warp-drive~d7).* --- *Generated from [https://www.flux.ai/dmytro11111111/mad-turquoise-warp-drive~d7](https://www.flux.ai/dmytro11111111/mad-turquoise-warp-drive~d7)*