EESchema Schematic File Version 4 EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "A PC fan controller that doesn't (completely) suck" Date "2021-04-25" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L stm32g031f8-mcu_st_stm32g0:STM32G031F8-MCU_ST_STM32G0 U1 U 1 1 60DA6FFF P 3400 4150 F 0 "U1" H 4450 4800 50 0000 C CNN F 1 "STM32G031F8" H 4450 4700 50 0000 C CNN F 2 "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" H 3400 4150 50 0001 C CNN F 3 "" H 3400 4150 50 0001 C CNN 1 3400 4150 1 0 0 -1 $EndComp $Comp L power:+3V3 #PWR03 U 1 1 60DA8EE8 P 3900 3500 F 0 "#PWR03" H 3900 3350 50 0001 C CNN F 1 "+3V3" H 3915 3673 50 0000 C CNN F 2 "" H 3900 3500 50 0001 C CNN F 3 "" H 3900 3500 50 0001 C CNN 1 3900 3500 1 0 0 -1 $EndComp $Comp L power:GND #PWR04 U 1 1 60DA975A P 3900 5100 F 0 "#PWR04" H 3900 4850 50 0001 C CNN F 1 "GND" H 3905 4927 50 0000 C CNN F 2 "" H 3900 5100 50 0001 C CNN F 3 "" H 3900 5100 50 0001 C CNN 1 3900 5100 1 0 0 -1 $EndComp $Comp L Device:C_Small C2 U 1 1 60DAAAE6 P 2250 4250 F 0 "C2" H 2342 4296 50 0000 L CNN F 1 "4.7µF" H 2342 4205 50 0000 L CNN F 2 "" H 2250 4250 50 0001 C CNN F 3 "~" H 2250 4250 50 0001 C CNN 1 2250 4250 1 0 0 -1 $EndComp Text GLabel 4900 3950 2 50 Input ~ 0 SWCLK Text GLabel 4900 4050 2 50 BiDi ~ 0 SWDIO Text GLabel 2900 4750 0 50 Input ~ 0 Rx Text GLabel 2900 4650 0 50 Output ~ 0 Tx Text GLabel 2900 4550 0 50 Output ~ 0 Control_Case2 Text GLabel 2900 4450 0 50 Output ~ 0 Control_Case1 $Comp L Device:C_Small C1 U 1 1 60DAAEA6 P 2050 4250 F 0 "C1" H 1850 4300 50 0000 L CNN F 1 "100nF" H 1700 4200 50 0000 L CNN F 2 "" H 2050 4250 50 0001 C CNN F 3 "~" H 2050 4250 50 0001 C CNN 1 2050 4250 1 0 0 -1 $EndComp Wire Wire Line 3900 3500 2250 3500 Wire Wire Line 2050 3500 2050 4150 Connection ~ 3900 3500 Wire Wire Line 2050 4350 2050 5050 Wire Wire Line 2050 5050 2250 5050 Connection ~ 3900 5050 Wire Wire Line 2250 4350 2250 5050 Connection ~ 2250 5050 Wire Wire Line 2250 5050 3900 5050 Wire Wire Line 2250 4150 2250 3500 Connection ~ 2250 3500 Wire Wire Line 2250 3500 2050 3500 $Comp L Connector_Generic:Conn_02x03_Odd_Even J1 U 1 1 60DBB72D P 2750 3050 F 0 "J1" H 2800 3367 50 0000 C CNN F 1 "Dbg Header" H 2800 3276 50 0000 C CNN F 2 "" H 2750 3050 50 0001 C CNN F 3 "~" H 2750 3050 50 0001 C CNN 1 2750 3050 1 0 0 -1 $EndComp $Comp L Regulator_Linear:MCP1700-3302E_TO92 U2 U 1 1 60DCAC22 P 8950 2050 F 0 "U2" H 8950 1808 50 0000 C CNN F 1 "MCP1700-3302E" H 8950 1899 50 0000 C CNN F 2 "Package_TO_SOT_THT:TO-92_Inline" H 8950 1850 50 0001 C CIN F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/20001826D.pdf" H 8950 2050 50 0001 C CNN 1 8950 2050 -1 0 0 1 $EndComp $Comp L power:+5V #PWR022 U 1 1 60DCF9FC P 9450 2050 F 0 "#PWR022" H 9450 1900 50 0001 C CNN F 1 "+5V" H 9465 2223 50 0000 C CNN F 2 "" H 9450 2050 50 0001 C CNN F 3 "" H 9450 2050 50 0001 C CNN 1 9450 2050 1 0 0 -1 $EndComp Wire Wire Line 9450 2050 9250 2050 $Comp L power:+3V3 #PWR018 U 1 1 60DD0622 P 8450 2050 F 0 "#PWR018" H 8450 1900 50 0001 C CNN F 1 "+3V3" H 8465 2223 50 0000 C CNN F 2 "" H 8450 2050 50 0001 C CNN F 3 "" H 8450 2050 50 0001 C CNN 1 8450 2050 1 0 0 -1 $EndComp Wire Wire Line 8650 2050 8450 2050 $Comp L power:GND #PWR021 U 1 1 60DD390D P 8950 2350 F 0 "#PWR021" H 8950 2100 50 0001 C CNN F 1 "GND" H 8955 2177 50 0000 C CNN F 2 "" H 8950 2350 50 0001 C CNN F 3 "" H 8950 2350 50 0001 C CNN 1 8950 2350 1 0 0 -1 $EndComp NoConn ~ 2900 3850 NoConn ~ 2900 3950 NoConn ~ 2900 4050 NoConn ~ 2900 4350 NoConn ~ 4900 4150 NoConn ~ 4900 4250 NoConn ~ 4900 4350 Text GLabel 3050 3050 2 50 BiDi ~ 0 SWDIO Text GLabel 2550 3050 0 50 Input ~ 0 SWCLK $Comp L power:+3V3 #PWR01 U 1 1 60E6284A P 2400 2950 F 0 "#PWR01" H 2400 2800 50 0001 C CNN F 1 "+3V3" H 2415 3123 50 0000 C CNN F 2 "" H 2400 2950 50 0001 C CNN F 3 "" H 2400 2950 50 0001 C CNN 1 2400 2950 1 0 0 -1 $EndComp Text GLabel 3050 3150 2 50 Input ~ 0 Rx Text GLabel 2550 3150 0 50 Output ~ 0 Tx Wire Wire Line 2400 2950 2550 2950 $Comp L power:GND #PWR02 U 1 1 60E7DBF6 P 3550 2950 F 0 "#PWR02" H 3550 2700 50 0001 C CNN F 1 "GND" H 3555 2777 50 0000 C CNN F 2 "" H 3550 2950 50 0001 C CNN F 3 "" H 3550 2950 50 0001 C CNN 1 3550 2950 1 0 0 -1 $EndComp Wire Wire Line 3050 2950 3550 2950 Text GLabel 4900 4450 2 50 Input ~ 0 Tach_GPU Text GLabel 4900 4550 2 50 Input ~ 0 Tach_CPU Text GLabel 4900 4650 2 50 Input ~ 0 Tach_Case2 Text GLabel 4900 4750 2 50 Input ~ 0 Tach_Case1 $Comp L Device:R_Small R1 U 1 1 60EE221B P 5400 4000 F 0 "R1" H 5459 4046 50 0000 L CNN F 1 "internal" H 5459 3955 50 0000 L CNN F 2 "" H 5400 4000 50 0001 C CNN F 3 "~" H 5400 4000 50 0001 C CNN 1 5400 4000 1 0 0 -1 $EndComp Wire Wire Line 4900 3850 5400 3850 $Comp L power:GND #PWR05 U 1 1 60EE38A0 P 5400 4100 F 0 "#PWR05" H 5400 3850 50 0001 C CNN F 1 "GND" H 5405 3927 50 0000 C CNN F 2 "" H 5400 4100 50 0001 C CNN F 3 "" H 5400 4100 50 0001 C CNN 1 5400 4100 1 0 0 -1 $EndComp Connection ~ 5400 3850 $Comp L Jumper:Jumper_2_Bridged JP1 U 1 1 60EF0FB5 P 5400 3550 F 0 "JP1" H 5400 3745 50 0000 C CNN F 1 "Jumper" H 5400 3654 50 0000 C CNN F 2 "" H 5400 3550 50 0001 C CNN F 3 "~" H 5400 3550 50 0001 C CNN 1 5400 3550 0 -1 -1 0 $EndComp $Comp L power:+3V3 #PWR06 U 1 1 60EF4753 P 5400 3250 F 0 "#PWR06" H 5400 3100 50 0001 C CNN F 1 "+3V3" H 5415 3423 50 0000 C CNN F 2 "" H 5400 3250 50 0001 C CNN F 3 "" H 5400 3250 50 0001 C CNN 1 5400 3250 1 0 0 -1 $EndComp Wire Wire Line 5400 3850 5400 3900 $Comp L Connector_Generic:Conn_01x04 J6 U 1 1 60D8ABE0 P 7900 4850 F 0 "J6" H 7850 4400 50 0000 L CNN F 1 "Case Fan 1" H 7700 4500 50 0000 L CNN F 2 "" H 7900 4850 50 0001 C CNN F 3 "~" H 7900 4850 50 0001 C CNN 1 7900 4850 -1 0 0 1 $EndComp $Comp L Connector_Generic:Conn_01x02 J2 U 1 1 60D8ABF5 P 6300 3850 F 0 "J2" H 6300 3500 50 0000 C CNN F 1 "GPU In" H 6300 3600 50 0000 C CNN F 2 "" H 6300 3850 50 0001 C CNN F 3 "~" H 6300 3850 50 0001 C CNN 1 6300 3850 -1 0 0 1 $EndComp Text GLabel 8100 4650 2 50 Input ~ 0 Control_Case1 $Comp L Device:R_Small R5 U 1 1 60DA6930 P 9000 4550 F 0 "R5" H 9059 4596 50 0000 L CNN F 1 "10k" H 9059 4505 50 0000 L CNN F 2 "" H 9000 4550 50 0001 C CNN F 3 "~" H 9000 4550 50 0001 C CNN 1 9000 4550 1 0 0 -1 $EndComp Wire Wire Line 8100 4750 9000 4750 $Comp L power:+3V3 #PWR020 U 1 1 60DA9398 P 9000 4450 F 0 "#PWR020" H 9000 4300 50 0001 C CNN F 1 "+3V3" H 9015 4623 50 0000 C CNN F 2 "" H 9000 4450 50 0001 C CNN F 3 "" H 9000 4450 50 0001 C CNN 1 9000 4450 1 0 0 -1 $EndComp $Comp L Device:C_Small C3 U 1 1 60DAB1BE P 6850 4950 F 0 "C3" H 6758 4904 50 0000 R CNN F 1 "15nF" H 6758 4995 50 0000 R CNN F 2 "" H 6850 4950 50 0001 C CNN F 3 "~" H 6850 4950 50 0001 C CNN 1 6850 4950 -1 0 0 1 $EndComp Wire Wire Line 9000 4650 9000 4750 Connection ~ 9000 4750 Text GLabel 9300 4750 2 50 Output ~ 0 Tach_Case1 $Comp L Device:D_Small D2 U 1 1 60DBBBC9 P 8200 4950 F 0 "D2" H 8200 5157 50 0000 C CNN F 1 "1N4148" H 8200 5066 50 0000 C CNN F 2 "" V 8200 4950 50 0001 C CNN F 3 "~" V 8200 4950 50 0001 C CNN 1 8200 4950 -1 0 0 1 $EndComp $Comp L power:GND #PWR015 U 1 1 60DBCEF7 P 8500 5000 F 0 "#PWR015" H 8500 4750 50 0001 C CNN F 1 "GND" H 8505 4827 50 0000 C CNN F 2 "" H 8500 5000 50 0001 C CNN F 3 "" H 8500 5000 50 0001 C CNN 1 8500 5000 1 0 0 -1 $EndComp $Comp L power:+12V #PWR017 U 1 1 60DC51B1 P 8750 4450 F 0 "#PWR017" H 8750 4300 50 0001 C CNN F 1 "+12V" H 8765 4623 50 0000 C CNN F 2 "" H 8750 4450 50 0001 C CNN F 3 "" H 8750 4450 50 0001 C CNN 1 8750 4450 1 0 0 -1 $EndComp Wire Wire Line 8100 4850 8750 4850 Wire Wire Line 8750 4850 8750 4450 Wire Wire Line 8300 4950 8500 4950 Wire Wire Line 9000 4750 9300 4750 $Comp L Connector_Generic:Conn_01x04 J5 U 1 1 60DE61A0 P 7900 3750 F 0 "J5" H 7850 3300 50 0000 L CNN F 1 "Case Fan 2" H 7700 3400 50 0000 L CNN F 2 "" H 7900 3750 50 0001 C CNN F 3 "~" H 7900 3750 50 0001 C CNN 1 7900 3750 -1 0 0 1 $EndComp Text GLabel 8100 3550 2 50 Input ~ 0 Control_Case2 $Comp L Device:R_Small R4 U 1 1 60DE61A7 P 9000 3450 F 0 "R4" H 9059 3496 50 0000 L CNN F 1 "10k" H 9059 3405 50 0000 L CNN F 2 "" H 9000 3450 50 0001 C CNN F 3 "~" H 9000 3450 50 0001 C CNN 1 9000 3450 1 0 0 -1 $EndComp Wire Wire Line 8100 3650 9000 3650 $Comp L power:+3V3 #PWR019 U 1 1 60DE61AE P 9000 3350 F 0 "#PWR019" H 9000 3200 50 0001 C CNN F 1 "+3V3" H 9015 3523 50 0000 C CNN F 2 "" H 9000 3350 50 0001 C CNN F 3 "" H 9000 3350 50 0001 C CNN 1 9000 3350 1 0 0 -1 $EndComp $Comp L Device:C_Small C4 U 1 1 60DE61B4 P 9000 3750 F 0 "C4" H 8908 3704 50 0000 R CNN F 1 "15nF" H 8908 3795 50 0000 R CNN F 2 "" H 9000 3750 50 0001 C CNN F 3 "~" H 9000 3750 50 0001 C CNN 1 9000 3750 -1 0 0 1 $EndComp Wire Wire Line 9000 3550 9000 3650 Connection ~ 9000 3650 Text GLabel 9300 3650 2 50 Output ~ 0 Tach_Case2 $Comp L Device:D_Small D1 U 1 1 60DE61BD P 8200 3850 F 0 "D1" H 8200 4057 50 0000 C CNN F 1 "1N4148" H 8200 3966 50 0000 C CNN F 2 "" V 8200 3850 50 0001 C CNN F 3 "~" V 8200 3850 50 0001 C CNN 1 8200 3850 -1 0 0 1 $EndComp $Comp L power:GND #PWR014 U 1 1 60DE61C3 P 8500 3900 F 0 "#PWR014" H 8500 3650 50 0001 C CNN F 1 "GND" H 8505 3727 50 0000 C CNN F 2 "" H 8500 3900 50 0001 C CNN F 3 "" H 8500 3900 50 0001 C CNN 1 8500 3900 1 0 0 -1 $EndComp $Comp L power:+12V #PWR016 U 1 1 60DE61C9 P 8750 3350 F 0 "#PWR016" H 8750 3200 50 0001 C CNN F 1 "+12V" H 8765 3523 50 0000 C CNN F 2 "" H 8750 3350 50 0001 C CNN F 3 "" H 8750 3350 50 0001 C CNN 1 8750 3350 1 0 0 -1 $EndComp Wire Wire Line 8100 3750 8750 3750 Wire Wire Line 8750 3750 8750 3350 Wire Wire Line 8300 3850 8500 3850 Wire Wire Line 8500 3850 9000 3850 Connection ~ 8500 3850 Wire Wire Line 9000 3650 9300 3650 Wire Wire Line 8500 4950 8500 5000 Wire Wire Line 8500 3850 8500 3900 $Comp L Device:R_Small R2 U 1 1 60E31FC0 P 6850 3550 F 0 "R2" H 6909 3596 50 0000 L CNN F 1 "10k" H 6909 3505 50 0000 L CNN F 2 "" H 6850 3550 50 0001 C CNN F 3 "~" H 6850 3550 50 0001 C CNN 1 6850 3550 1 0 0 -1 $EndComp $Comp L power:+3V3 #PWR09 U 1 1 60E34A71 P 6850 3450 F 0 "#PWR09" H 6850 3300 50 0001 C CNN F 1 "+3V3" H 6865 3623 50 0000 C CNN F 2 "" H 6850 3450 50 0001 C CNN F 3 "" H 6850 3450 50 0001 C CNN 1 6850 3450 1 0 0 -1 $EndComp Text GLabel 7100 3750 2 50 Output ~ 0 Tach_GPU $Comp L Device:R_Small R3 U 1 1 60E4EEDF P 6850 4650 F 0 "R3" H 6909 4696 50 0000 L CNN F 1 "10k" H 6909 4605 50 0000 L CNN F 2 "" H 6850 4650 50 0001 C CNN F 3 "~" H 6850 4650 50 0001 C CNN 1 6850 4650 1 0 0 -1 $EndComp Wire Wire Line 6500 4850 6850 4850 $Comp L power:+3V3 #PWR010 U 1 1 60E4EEE6 P 6850 4550 F 0 "#PWR010" H 6850 4400 50 0001 C CNN F 1 "+3V3" H 6865 4723 50 0000 C CNN F 2 "" H 6850 4550 50 0001 C CNN F 3 "" H 6850 4550 50 0001 C CNN 1 6850 4550 1 0 0 -1 $EndComp Text GLabel 7100 4850 2 50 Output ~ 0 Tach_CPU Wire Wire Line 6850 4850 7100 4850 Connection ~ 6850 4850 $Comp L Connector_Generic:Conn_01x02 J3 U 1 1 60E4EED9 P 6300 4950 F 0 "J3" H 6300 4600 50 0000 C CNN F 1 "CPU In" H 6300 4700 50 0000 C CNN F 2 "" H 6300 4950 50 0001 C CNN F 3 "~" H 6300 4950 50 0001 C CNN 1 6300 4950 -1 0 0 1 $EndComp $Comp L power:GND #PWR08 U 1 1 60E4EEEF P 6500 5050 F 0 "#PWR08" H 6500 4800 50 0001 C CNN F 1 "GND" H 6505 4877 50 0000 C CNN F 2 "" H 6500 5050 50 0001 C CNN F 3 "" H 6500 5050 50 0001 C CNN 1 6500 5050 1 0 0 -1 $EndComp Wire Wire Line 6500 3850 6500 3900 $Comp L power:GND #PWR07 U 1 1 60E42A45 P 6500 3900 F 0 "#PWR07" H 6500 3650 50 0001 C CNN F 1 "GND" H 6505 3727 50 0000 C CNN F 2 "" H 6500 3900 50 0001 C CNN F 3 "" H 6500 3900 50 0001 C CNN 1 6500 3900 1 0 0 -1 $EndComp Wire Wire Line 6850 5050 6500 5050 Wire Wire Line 6850 4750 6850 4850 Wire Wire Line 6500 3750 6850 3750 Wire Wire Line 6850 3650 6850 3750 Connection ~ 6850 3750 Wire Wire Line 6850 3750 7100 3750 $Comp L Connector_Generic:Conn_01x04 J4 U 1 1 60DB3615 P 7450 2200 F 0 "J4" H 7700 2100 50 0000 C CNN F 1 "Power In" H 7550 2200 50 0000 L CNN F 2 "" H 7450 2200 50 0001 C CNN F 3 "~" H 7450 2200 50 0001 C CNN 1 7450 2200 -1 0 0 1 $EndComp $Comp L power:+12V #PWR013 U 1 1 60DB43E7 P 8000 2300 F 0 "#PWR013" H 8000 2150 50 0001 C CNN F 1 "+12V" H 8015 2473 50 0000 C CNN F 2 "" H 8000 2300 50 0001 C CNN F 3 "" H 8000 2300 50 0001 C CNN 1 8000 2300 1 0 0 -1 $EndComp Wire Wire Line 7650 2300 8000 2300 $Comp L power:+5V #PWR012 U 1 1 60DB5C23 P 8000 2000 F 0 "#PWR012" H 8000 1850 50 0001 C CNN F 1 "+5V" H 8015 2173 50 0000 C CNN F 2 "" H 8000 2000 50 0001 C CNN F 3 "" H 8000 2000 50 0001 C CNN 1 8000 2000 1 0 0 -1 $EndComp Wire Wire Line 7650 2000 8000 2000 $Comp L power:GND #PWR011 U 1 1 60DB744F P 7700 2400 F 0 "#PWR011" H 7700 2150 50 0001 C CNN F 1 "GND" H 7705 2227 50 0000 C CNN F 2 "" H 7700 2400 50 0001 C CNN F 3 "" H 7700 2400 50 0001 C CNN 1 7700 2400 1 0 0 -1 $EndComp Wire Wire Line 7650 2100 7700 2100 Wire Wire Line 7700 2100 7700 2200 Wire Wire Line 7650 2200 7700 2200 Connection ~ 7700 2200 Wire Wire Line 7700 2200 7700 2400 Wire Wire Line 6500 4950 6500 5050 Connection ~ 6500 5050 Wire Wire Line 5400 3750 5400 3850 Wire Wire Line 5400 3250 5400 3350 Wire Wire Line 3900 5050 3900 5100 $EndSCHEMATC