EESchema Schematic File Version 4 EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 2 4 Title "" Date "2020-10-03" Rev "" Comp "Macrocell" Comment1 "#followtheling" Comment2 "" Comment3 "" Comment4 "Power supply" $EndDescr $Comp L Regulator_Linear:AP1117-33 U? U 1 1 5F7D344F P 1700 1050 AR Path="/5F7D344F" Ref="U?" Part="1" AR Path="/5F7CBB94/5F7D344F" Ref="U?" Part="1" F 0 "U?" H 1700 1292 50 0000 C CNN F 1 "AP1117-33" H 1700 1201 50 0000 C CNN F 2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" H 1700 1250 50 0001 C CNN F 3 "http://www.diodes.com/datasheets/AP1117.pdf" H 1800 800 50 0001 C CNN 1 1700 1050 1 0 0 -1 $EndComp $Comp L Device:C C? U 1 1 5F7D3455 P 1200 1300 AR Path="/5F7D3455" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D3455" Ref="C?" Part="1" F 0 "C?" H 1315 1346 50 0000 L CNN F 1 "100n" H 1315 1255 50 0000 L CNN F 2 "" H 1238 1150 50 0001 C CNN F 3 "~" H 1200 1300 50 0001 C CNN 1 1200 1300 1 0 0 -1 $EndComp Wire Wire Line 2200 1150 2200 1050 Wire Wire Line 2200 1050 2000 1050 Wire Wire Line 1400 1050 1200 1050 Wire Wire Line 1200 1050 1200 1150 Wire Wire Line 1200 1450 1200 1550 Wire Wire Line 1200 1550 1700 1550 Wire Wire Line 1700 1350 1700 1550 Connection ~ 1700 1550 Wire Wire Line 1700 1550 2200 1550 $Comp L power:GND #PWR? U 1 1 5F7D346A P 1700 1650 AR Path="/5F7D346A" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D346A" Ref="#PWR?" Part="1" F 0 "#PWR?" H 1700 1400 50 0001 C CNN F 1 "GND" H 1705 1477 50 0000 C CNN F 2 "" H 1700 1650 50 0001 C CNN F 3 "" H 1700 1650 50 0001 C CNN 1 1700 1650 1 0 0 -1 $EndComp Wire Wire Line 1700 1650 1700 1550 Wire Wire Line 750 1050 750 950 Connection ~ 1200 1050 $Comp L Device:Battery_Cell BT? U 1 1 5F7D3481 P 1700 2600 AR Path="/5F7D3481" Ref="BT?" Part="1" AR Path="/5F7CBB94/5F7D3481" Ref="BT?" Part="1" F 0 "BT?" H 1818 2696 50 0000 L CNN F 1 "CR2032" H 1818 2605 50 0000 L CNN F 2 "" V 1700 2660 50 0001 C CNN F 3 "~" V 1700 2660 50 0001 C CNN 1 1700 2600 1 0 0 -1 $EndComp $Comp L power:+BATT #PWR? U 1 1 5F7D3487 P 1700 2300 AR Path="/5F7D3487" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D3487" Ref="#PWR?" Part="1" F 0 "#PWR?" H 1700 2150 50 0001 C CNN F 1 "+BATT" H 1715 2473 50 0000 C CNN F 2 "" H 1700 2300 50 0001 C CNN F 3 "" H 1700 2300 50 0001 C CNN 1 1700 2300 1 0 0 -1 $EndComp Wire Wire Line 1700 2300 1700 2400 $Comp L power:GND #PWR? U 1 1 5F7D348E P 1700 2800 AR Path="/5F7D348E" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D348E" Ref="#PWR?" Part="1" F 0 "#PWR?" H 1700 2550 50 0001 C CNN F 1 "GND" H 1705 2627 50 0000 C CNN F 2 "" H 1700 2800 50 0001 C CNN F 3 "" H 1700 2800 50 0001 C CNN 1 1700 2800 1 0 0 -1 $EndComp Wire Wire Line 1700 2800 1700 2700 $Comp L Device:C C? U 1 1 5F7D3495 P 5250 1400 AR Path="/5F7D3495" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D3495" Ref="C?" Part="1" F 0 "C?" H 5365 1446 50 0000 L CNN F 1 "100n" H 5365 1355 50 0000 L CNN F 2 "" H 5288 1250 50 0001 C CNN F 3 "~" H 5250 1400 50 0001 C CNN 1 5250 1400 1 0 0 -1 $EndComp $Comp L power:+BATT #PWR? U 1 1 5F7D349B P 5250 1050 AR Path="/5F7D349B" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D349B" Ref="#PWR?" Part="1" F 0 "#PWR?" H 5250 900 50 0001 C CNN F 1 "+BATT" H 5265 1223 50 0000 C CNN F 2 "" H 5250 1050 50 0001 C CNN F 3 "" H 5250 1050 50 0001 C CNN 1 5250 1050 1 0 0 -1 $EndComp $Comp L power:GND #PWR? U 1 1 5F7D34A1 P 5250 1750 AR Path="/5F7D34A1" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D34A1" Ref="#PWR?" Part="1" F 0 "#PWR?" H 5250 1500 50 0001 C CNN F 1 "GND" H 5255 1577 50 0000 C CNN F 2 "" H 5250 1750 50 0001 C CNN F 3 "" H 5250 1750 50 0001 C CNN 1 5250 1750 1 0 0 -1 $EndComp Wire Wire Line 5250 1750 5250 1550 Wire Wire Line 5250 1250 5250 1050 $Comp L power:+3V3 #PWR? U 1 1 5F7D34A9 P 1200 3450 AR Path="/5F7D34A9" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D34A9" Ref="#PWR?" Part="1" F 0 "#PWR?" H 1200 3300 50 0001 C CNN F 1 "+3V3" H 1215 3623 50 0000 C CNN F 2 "" H 1200 3450 50 0001 C CNN F 3 "" H 1200 3450 50 0001 C CNN 1 1200 3450 1 0 0 -1 $EndComp $Comp L Device:R R? U 1 1 5F7D34AF P 1450 3550 AR Path="/5F7D34AF" Ref="R?" Part="1" AR Path="/5F7CBB94/5F7D34AF" Ref="R?" Part="1" F 0 "R?" V 1243 3550 50 0000 C CNN F 1 "0" V 1334 3550 50 0000 C CNN F 2 "" V 1380 3550 50 0001 C CNN F 3 "~" H 1450 3550 50 0001 C CNN 1 1450 3550 0 1 1 0 $EndComp Wire Wire Line 1300 3550 1200 3550 Wire Wire Line 1200 3550 1200 3450 $Comp L Device:C C? U 1 1 5F7D34BF P 4800 1400 AR Path="/5F7D34BF" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D34BF" Ref="C?" Part="1" F 0 "C?" H 4915 1446 50 0000 L CNN F 1 "100n" H 4915 1355 50 0000 L CNN F 2 "" H 4838 1250 50 0001 C CNN F 3 "~" H 4800 1400 50 0001 C CNN 1 4800 1400 1 0 0 -1 $EndComp $Comp L power:GND #PWR? U 1 1 5F7D34CF P 4800 1750 AR Path="/5F7D34CF" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D34CF" Ref="#PWR?" Part="1" F 0 "#PWR?" H 4800 1500 50 0001 C CNN F 1 "GND" H 4805 1577 50 0000 C CNN F 2 "" H 4800 1750 50 0001 C CNN F 3 "" H 4800 1750 50 0001 C CNN 1 4800 1750 1 0 0 -1 $EndComp $Comp L Device:C C? U 1 1 5F7D34D6 P 3950 1400 AR Path="/5F7D34D6" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D34D6" Ref="C?" Part="1" F 0 "C?" H 4065 1446 50 0000 L CNN F 1 "100n" H 4065 1355 50 0000 L CNN F 2 "" H 3988 1250 50 0001 C CNN F 3 "~" H 3950 1400 50 0001 C CNN 1 3950 1400 1 0 0 -1 $EndComp $Comp L Device:C C? U 1 1 5F7D34DC P 4350 1400 AR Path="/5F7D34DC" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D34DC" Ref="C?" Part="1" F 0 "C?" H 4465 1446 50 0000 L CNN F 1 "100n" H 4465 1355 50 0000 L CNN F 2 "" H 4388 1250 50 0001 C CNN F 3 "~" H 4350 1400 50 0001 C CNN 1 4350 1400 1 0 0 -1 $EndComp Wire Wire Line 2200 1550 2200 1450 Wire Wire Line 4350 1550 4350 1650 Wire Wire Line 4350 1650 3950 1650 Wire Wire Line 3950 1550 3950 1650 Connection ~ 3950 1650 Wire Wire Line 3950 1650 3550 1650 Wire Wire Line 3950 1250 3950 1150 Wire Wire Line 3950 1150 3550 1150 Wire Wire Line 4350 1250 4350 1150 Connection ~ 3950 1150 $Comp L Device:C C? U 1 1 5F7D34EF P 1700 3800 AR Path="/5F7D34EF" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D34EF" Ref="C?" Part="1" F 0 "C?" H 1815 3846 50 0000 L CNN F 1 "1u" H 1815 3755 50 0000 L CNN F 2 "" H 1738 3650 50 0001 C CNN F 3 "~" H 1700 3800 50 0001 C CNN 1 1700 3800 1 0 0 -1 $EndComp Wire Wire Line 1200 1550 750 1550 Wire Wire Line 750 1550 750 1450 Connection ~ 1200 1550 Wire Wire Line 750 1150 750 1050 Wire Wire Line 750 1050 1200 1050 Connection ~ 750 1050 Wire Wire Line 3950 1050 3950 1150 $Comp L power:+3V3 #PWR? U 1 1 5F7D3479 P 3950 1050 AR Path="/5F7D3479" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D3479" Ref="#PWR?" Part="1" F 0 "#PWR?" H 3950 900 50 0001 C CNN F 1 "+3V3" H 3965 1223 50 0000 C CNN F 2 "" H 3950 1050 50 0001 C CNN F 3 "" H 3950 1050 50 0001 C CNN 1 3950 1050 1 0 0 -1 $EndComp $Comp L Device:C C? U 1 1 5F7D345B P 2600 1300 AR Path="/5F7D345B" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D345B" Ref="C?" Part="1" F 0 "C?" H 2715 1346 50 0000 L CNN F 1 "100n" H 2715 1255 50 0000 L CNN F 2 "" H 2638 1150 50 0001 C CNN F 3 "~" H 2600 1300 50 0001 C CNN 1 2600 1300 1 0 0 -1 $EndComp $Comp L Device:C C? U 1 1 5F7E167B P 3550 1400 AR Path="/5F7E167B" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7E167B" Ref="C?" Part="1" F 0 "C?" H 3665 1446 50 0000 L CNN F 1 "100n" H 3665 1355 50 0000 L CNN F 2 "" H 3588 1250 50 0001 C CNN F 3 "~" H 3550 1400 50 0001 C CNN 1 3550 1400 1 0 0 -1 $EndComp Wire Wire Line 3550 1550 3550 1650 Wire Wire Line 3550 1250 3550 1150 $Comp L Device:CP C? U 1 1 5F7E4819 P 750 1300 F 0 "C?" H 868 1346 50 0000 L CNN F 1 "4.7u" H 868 1255 50 0000 L CNN F 2 "" H 788 1150 50 0001 C CNN F 3 "~" H 750 1300 50 0001 C CNN 1 750 1300 1 0 0 -1 $EndComp $Comp L Device:CP C? U 1 1 5F7E48E5 P 2200 1300 F 0 "C?" H 2318 1346 50 0000 L CNN F 1 "4.7u" H 2318 1255 50 0000 L CNN F 2 "" H 2238 1150 50 0001 C CNN F 3 "~" H 2200 1300 50 0001 C CNN 1 2200 1300 1 0 0 -1 $EndComp Wire Wire Line 2600 1450 2600 1550 Wire Wire Line 2600 1550 2200 1550 Connection ~ 2200 1550 Wire Wire Line 2200 1050 2600 1050 Wire Wire Line 2600 1050 2600 1150 Connection ~ 2200 1050 Wire Wire Line 3950 1150 4350 1150 $Comp L power:VDDA #PWR? U 1 1 5F7D34B7 P 4800 1050 AR Path="/5F7D34B7" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D34B7" Ref="#PWR?" Part="1" F 0 "#PWR?" H 4800 900 50 0001 C CNN F 1 "VDDA" H 4817 1223 50 0000 C CNN F 2 "" H 4800 1050 50 0001 C CNN F 3 "" H 4800 1050 50 0001 C CNN 1 4800 1050 1 0 0 -1 $EndComp $Comp L power:GND #PWR? U 1 1 5F7EAB53 P 3950 1750 AR Path="/5F7EAB53" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7EAB53" Ref="#PWR?" Part="1" F 0 "#PWR?" H 3950 1500 50 0001 C CNN F 1 "GND" H 3955 1577 50 0000 C CNN F 2 "" H 3950 1750 50 0001 C CNN F 3 "" H 3950 1750 50 0001 C CNN 1 3950 1750 1 0 0 -1 $EndComp Wire Wire Line 3950 1750 3950 1650 Wire Notes Line 3400 650 3400 2000 Text Notes 4050 800 0 50 ~ 0 Place close to STM32F4 $Comp L power:VDDA #PWR? U 1 1 5F7FD193 P 1700 3450 AR Path="/5F7FD193" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7FD193" Ref="#PWR?" Part="1" F 0 "#PWR?" H 1700 3300 50 0001 C CNN F 1 "VDDA" H 1717 3623 50 0000 C CNN F 2 "" H 1700 3450 50 0001 C CNN F 3 "" H 1700 3450 50 0001 C CNN 1 1700 3450 1 0 0 -1 $EndComp Wire Wire Line 1700 3450 1700 3550 Wire Wire Line 1700 3550 1600 3550 Wire Notes Line 5600 2000 5600 650 Wire Wire Line 1700 3650 1700 3550 Connection ~ 1700 3550 Wire Wire Line 1700 3950 1700 4050 $Comp L power:GND #PWR? U 1 1 5F81C5B3 P 1700 4050 AR Path="/5F81C5B3" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F81C5B3" Ref="#PWR?" Part="1" F 0 "#PWR?" H 1700 3800 50 0001 C CNN F 1 "GND" H 1705 3877 50 0000 C CNN F 2 "" H 1700 4050 50 0001 C CNN F 3 "" H 1700 4050 50 0001 C CNN 1 1700 4050 1 0 0 -1 $EndComp Wire Wire Line 4800 1550 4800 1750 Wire Wire Line 4800 1050 4800 1250 $Comp L power:+3V3 #PWR? U 1 1 5F82C428 P 2600 950 AR Path="/5F82C428" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F82C428" Ref="#PWR?" Part="1" F 0 "#PWR?" H 2600 800 50 0001 C CNN F 1 "+3V3" H 2615 1123 50 0000 C CNN F 2 "" H 2600 950 50 0001 C CNN F 3 "" H 2600 950 50 0001 C CNN 1 2600 950 1 0 0 -1 $EndComp Wire Wire Line 2600 950 2600 1050 Connection ~ 2600 1050 $Comp L Device:C C? U 1 1 5F90151D P 5850 1400 AR Path="/5F90151D" Ref="C?" Part="1" AR Path="/5F7CBB94/5F90151D" Ref="C?" Part="1" F 0 "C?" H 5965 1446 50 0000 L CNN F 1 "100n" H 5965 1355 50 0000 L CNN F 2 "" H 5888 1250 50 0001 C CNN F 3 "~" H 5850 1400 50 0001 C CNN 1 5850 1400 1 0 0 -1 $EndComp $Comp L power:+3V3 #PWR? U 1 1 5F90152F P 5850 1050 AR Path="/5F90152F" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F90152F" Ref="#PWR?" Part="1" F 0 "#PWR?" H 5850 900 50 0001 C CNN F 1 "+3V3" H 5865 1223 50 0000 C CNN F 2 "" H 5850 1050 50 0001 C CNN F 3 "" H 5850 1050 50 0001 C CNN 1 5850 1050 1 0 0 -1 $EndComp $Comp L power:GND #PWR? U 1 1 5F90153A P 5850 1750 AR Path="/5F90153A" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F90153A" Ref="#PWR?" Part="1" F 0 "#PWR?" H 5850 1500 50 0001 C CNN F 1 "GND" H 5855 1577 50 0000 C CNN F 2 "" H 5850 1750 50 0001 C CNN F 3 "" H 5850 1750 50 0001 C CNN 1 5850 1750 1 0 0 -1 $EndComp Wire Wire Line 5850 1050 5850 1250 Wire Wire Line 5850 1550 5850 1750 Wire Notes Line 6200 2000 6200 650 Wire Notes Line 3400 2000 6200 2000 Wire Notes Line 3400 650 6200 650 Text Notes 5700 850 0 50 ~ 0 Place close\nto CH340 $Comp L power:+5V #PWR? U 1 1 5F924E38 P 750 950 F 0 "#PWR?" H 750 800 50 0001 C CNN F 1 "+5V" H 765 1123 50 0000 C CNN F 2 "" H 750 950 50 0001 C CNN F 3 "" H 750 950 50 0001 C CNN 1 750 950 1 0 0 -1 $EndComp $EndSCHEMATC