EESchema Schematic File Version 2 LIBS:power LIBS:device LIBS:transistors LIBS:conn LIBS:linear LIBS:regul LIBS:74xx LIBS:cmos4000 LIBS:adc-dac LIBS:memory LIBS:xilinx LIBS:microcontrollers LIBS:dsp LIBS:microchip LIBS:analog_switches LIBS:motorola LIBS:texas LIBS:intel LIBS:audio LIBS:interface LIBS:digital-audio LIBS:philips LIBS:display LIBS:cypress LIBS:siliconi LIBS:opto LIBS:atmel LIBS:contrib LIBS:valves LIBS:proc-cache EELAYER 25 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L STM32F030C8 U1 U 1 1 56C05925 P 3200 3400 F 0 "U1" H 1600 5500 50 0000 C CNN F 1 "STM32F030C8" H 4550 1300 50 0000 C CNN F 2 "Housings_QFP:LQFP-48_7x7mm_Pitch0.5mm" H 3200 3700 50 0000 C CIN F 3 "" H 3200 3800 50 0000 C CNN 1 3200 3400 1 0 0 -1 $EndComp $Comp L MCP7940M U2 U 1 1 56C074B0 P 10050 1500 F 0 "U2" H 10100 1550 60 0000 C CNN F 1 "MCP7940M" H 10300 1000 60 0000 C CNN F 2 "" H 10050 1550 60 0001 C CNN F 3 "" H 10050 1550 60 0000 C CNN 1 10050 1500 -1 0 0 1 $EndComp $Comp L Crystal Y1 U 1 1 56C0750D P 10500 1800 F 0 "Y1" H 10500 1950 50 0000 C CNN F 1 "Crystal" H 10500 1650 50 0000 C CNN F 2 "" H 10500 1800 50 0001 C CNN F 3 "" H 10500 1800 50 0000 C CNN 1 10500 1800 1 0 0 -1 $EndComp $Comp L Battery BT1 U 1 1 56C6117C P 10800 1400 F 0 "BT1" H 10900 1450 50 0000 L CNN F 1 "Battery" H 10900 1350 50 0000 L CNN F 2 "" V 10800 1440 50 0001 C CNN F 3 "" V 10800 1440 50 0000 C CNN 1 10800 1400 1 0 0 -1 $EndComp $Comp L C C1 U 1 1 56C61578 P 10350 2250 F 0 "C1" H 10375 2350 50 0000 L CNN F 1 "C" H 10375 2150 50 0000 L CNN F 2 "Capacitors_SMD:C_0603" H 10388 2100 50 0001 C CNN F 3 "" H 10350 2250 50 0000 C CNN 1 10350 2250 1 0 0 -1 $EndComp $Comp L C C2 U 1 1 56C615B7 P 10650 2250 F 0 "C2" H 10675 2350 50 0000 L CNN F 1 "C" H 10675 2150 50 0000 L CNN F 2 "Capacitors_SMD:C_0603" H 10688 2100 50 0001 C CNN F 3 "" H 10650 2250 50 0000 C CNN 1 10650 2250 1 0 0 -1 $EndComp $Comp L R R3 U 1 1 56C61BDD P 9150 850 F 0 "R3" V 9230 850 50 0000 C CNN F 1 "R" V 9150 850 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 9080 850 50 0001 C CNN F 3 "" H 9150 850 50 0000 C CNN 1 9150 850 1 0 0 -1 $EndComp $Comp L R R2 U 1 1 56C61C77 P 8950 850 F 0 "R2" V 9030 850 50 0000 C CNN F 1 "R" V 8950 850 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 8880 850 50 0001 C CNN F 3 "" H 8950 850 50 0000 C CNN 1 8950 850 1 0 0 -1 $EndComp $Comp L R R1 U 1 1 56C61CD4 P 8750 850 F 0 "R1" V 8830 850 50 0000 C CNN F 1 "R" V 8750 850 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 8680 850 50 0001 C CNN F 3 "" H 8750 850 50 0000 C CNN 1 8750 850 1 0 0 -1 $EndComp Text Notes 9050 2150 0 60 ~ 0 RTC\n $Comp L LM317_SOT223 U3 U 1 1 56C8498F P 9400 3350 F 0 "U3" H 9400 3650 50 0000 C CNN F 1 "LM317_SOT223" H 9450 3100 50 0000 L CNN F 2 "" H 9400 3350 50 0001 C CNN F 3 "" H 9400 3350 50 0000 C CNN 1 9400 3350 1 0 0 -1 $EndComp $Comp L R R4 U 1 1 56C84A2E P 9400 3900 F 0 "R4" V 9480 3900 50 0000 C CNN F 1 "R" V 9400 3900 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 9330 3900 50 0001 C CNN F 3 "" H 9400 3900 50 0000 C CNN 1 9400 3900 1 0 0 -1 $EndComp $Comp L R R5 U 1 1 56C84A83 P 10100 3700 F 0 "R5" V 10180 3700 50 0000 C CNN F 1 "R" V 10100 3700 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 10030 3700 50 0001 C CNN F 3 "" H 10100 3700 50 0000 C CNN 1 10100 3700 1 0 0 -1 $EndComp $Comp L CP1 C4 U 1 1 56C84AD6 P 10400 3700 F 0 "C4" H 10425 3800 50 0000 L CNN F 1 "CP1" H 10425 3600 50 0000 L CNN F 2 "" H 10400 3700 50 0001 C CNN F 3 "" H 10400 3700 50 0000 C CNN 1 10400 3700 1 0 0 -1 $EndComp $Comp L C C3 U 1 1 56C84B33 P 8850 3650 F 0 "C3" H 8875 3750 50 0000 L CNN F 1 "C" H 8875 3550 50 0000 L CNN F 2 "Capacitors_SMD:C_0603" H 8888 3500 50 0001 C CNN F 3 "" H 8850 3650 50 0000 C CNN 1 8850 3650 1 0 0 -1 $EndComp Text Notes 9350 2850 0 60 ~ 0 Alim $Comp L CONN_01X02 P1 U 1 1 56C85860 P 10800 4800 F 0 "P1" H 10800 4950 50 0000 C CNN F 1 "CONN_01X02" V 10900 4800 50 0000 C CNN F 2 "" H 10800 4800 50 0001 C CNN F 3 "" H 10800 4800 50 0000 C CNN 1 10800 4800 1 0 0 -1 $EndComp $Comp L CONN_01X10 P2 U 1 1 56C858EB P 10800 5650 F 0 "P2" H 10800 6200 50 0000 C CNN F 1 "CONN_01X10" V 10900 5650 50 0000 C CNN F 2 "" H 10800 5650 50 0001 C CNN F 3 "" H 10800 5650 50 0000 C CNN 1 10800 5650 1 0 0 -1 $EndComp $Comp L C C5 U 1 1 57054B1D P 5150 7050 F 0 "C5" H 5175 7150 50 0000 L CNN F 1 "100nf" H 5175 6950 50 0000 L CNN F 2 "Capacitors_SMD:C_0603" H 5188 6900 50 0001 C CNN F 3 "" H 5150 7050 50 0000 C CNN 1 5150 7050 1 0 0 -1 $EndComp $Comp L C C6 U 1 1 57054BC2 P 5850 7050 F 0 "C6" H 5875 7150 50 0000 L CNN F 1 "100nf" H 5875 6950 50 0000 L CNN F 2 "Capacitors_SMD:C_0603" H 5888 6900 50 0001 C CNN F 3 "" H 5850 7050 50 0000 C CNN 1 5850 7050 1 0 0 -1 $EndComp $Comp L C c1 U 1 1 57054C33 P 6550 7050 F 0 "c1" H 6575 7150 50 0000 L CNN F 1 "10nf" H 6575 6950 50 0000 L CNN F 2 "Capacitors_SMD:C_0603" H 6588 6900 50 0001 C CNN F 3 "" H 6550 7050 50 0000 C CNN 1 6550 7050 1 0 0 -1 $EndComp Text Label 3200 5750 3 60 ~ 0 vss1 Text Label 3300 5750 3 60 ~ 0 vss2 Text Label 5150 6750 1 60 ~ 0 vss1 Text Label 5850 6750 1 60 ~ 0 vss2 Text Label 3500 5750 3 60 ~ 0 vssa Text Label 6550 6750 1 60 ~ 0 vssa Text Label 5150 7450 3 60 ~ 0 vdd1 Text Label 5850 7450 3 60 ~ 0 vdd2 Text Label 6550 7450 3 60 ~ 0 vdda Wire Wire Line 10650 1350 10650 2100 Wire Wire Line 10650 1350 10200 1350 Wire Wire Line 10350 1450 10350 2100 Wire Wire Line 10350 1450 10200 1450 Connection ~ 10350 1800 Connection ~ 10650 1800 Wire Wire Line 10350 2400 10650 2400 Connection ~ 10650 2400 Connection ~ 10350 2400 Connection ~ 10350 2100 Connection ~ 10650 2100 Connection ~ 10200 1450 Connection ~ 10200 1350 Wire Wire Line 10200 1250 10800 1250 Connection ~ 10800 1250 Connection ~ 10200 1250 Connection ~ 10500 2400 Wire Wire Line 8600 1350 9450 1350 Wire Wire Line 8600 1250 9450 1250 Wire Wire Line 8600 1150 9450 1150 Wire Wire Line 8750 700 9150 700 Wire Wire Line 8950 700 8950 650 Connection ~ 8950 700 Wire Wire Line 9150 1000 9150 1150 Connection ~ 9150 1150 Wire Wire Line 8950 1000 8950 1250 Connection ~ 8950 1250 Wire Wire Line 8750 1350 8750 1000 Connection ~ 8750 1350 Connection ~ 9450 1450 Wire Notes Line 8050 500 8050 6550 Wire Notes Line 8050 2650 11200 2650 Wire Wire Line 8850 3500 8850 3200 Wire Wire Line 8700 3200 9000 3200 Wire Wire Line 9800 3200 10650 3200 Wire Wire Line 10100 3200 10100 3550 Wire Wire Line 10400 3200 10400 3550 Connection ~ 10100 3200 Wire Wire Line 8850 3800 8850 4050 Wire Wire Line 8850 4050 10400 4050 Wire Wire Line 10400 4050 10400 3850 Connection ~ 9400 4050 Wire Wire Line 10100 3850 10100 4050 Connection ~ 10100 4050 Connection ~ 10400 3550 Connection ~ 10400 3850 Connection ~ 10100 3850 Connection ~ 10100 3550 Connection ~ 9400 3750 Connection ~ 9400 3700 Connection ~ 8850 3800 Connection ~ 8850 3500 Connection ~ 9000 3200 Connection ~ 9800 3200 Wire Wire Line 9400 3700 9400 3750 Connection ~ 9700 4050 Connection ~ 10400 3200 Connection ~ 10650 3200 Connection ~ 8850 3200 Wire Notes Line 8050 4400 11200 4400 Connection ~ 10600 4850 Connection ~ 10600 4750 Connection ~ 10600 5200 Connection ~ 10600 5300 Connection ~ 10600 5400 Connection ~ 10600 5500 Connection ~ 10600 5600 Connection ~ 10600 5700 Connection ~ 10600 5800 Connection ~ 10600 5900 Connection ~ 10600 6000 Connection ~ 10600 6100 Wire Wire Line 5850 6750 5850 6900 Wire Wire Line 5150 6750 5150 6900 Wire Wire Line 6550 6750 6550 6900 Text Label 3000 1100 1 60 ~ 0 vdd1 Text Label 3100 1100 1 60 ~ 0 vdd2 Text Label 3400 1100 1 60 ~ 0 vdda Wire Wire Line 3400 1100 3400 1200 Wire Wire Line 3100 1100 3100 1200 Wire Wire Line 3000 1100 3000 1200 Wire Wire Line 6550 7200 6550 7450 Wire Wire Line 5850 7200 5850 7450 Wire Wire Line 5150 7200 5150 7450 Wire Wire Line 3500 5600 3500 5750 Wire Wire Line 3300 5600 3300 5750 Wire Wire Line 3200 5600 3200 5750 Connection ~ 5850 7200 Connection ~ 5150 7200 Connection ~ 6550 7200 Connection ~ 6550 6900 Connection ~ 5850 6900 Connection ~ 5150 6900 Connection ~ 3500 5600 Connection ~ 3200 5600 Text Label 8600 1150 2 60 ~ 0 sda Text Label 8600 1250 2 60 ~ 0 sdl Text Label 8600 1350 2 60 ~ 0 mfp Text Label 8950 650 1 60 ~ 0 vdd Text Label 9400 1450 2 60 ~ 0 vdd Wire Wire Line 9400 1450 9450 1450 Text Label 10300 1150 0 60 ~ 0 vss Wire Wire Line 10300 1150 10200 1150 Connection ~ 10200 1150 Text Label 10800 1550 3 60 ~ 0 vss Text Label 10500 2450 3 60 ~ 0 vss Wire Wire Line 10500 2450 10500 2400 Text Label 8700 3200 2 60 ~ 0 12V Text Label 10650 3200 0 60 ~ 0 vdd Text Label 9700 4100 3 60 ~ 0 vss Wire Wire Line 9700 4050 9700 4100 Text Label 10550 4750 2 60 ~ 0 12V Text Label 10550 4850 2 60 ~ 0 vss Text Label 10550 5200 2 60 ~ 0 s1 Text Label 10550 5300 2 60 ~ 0 s2 Text Label 10550 5400 2 60 ~ 0 s3 Text Label 10550 5500 2 60 ~ 0 s4 Text Label 10550 5600 2 60 ~ 0 s5 Text Label 10550 5700 2 60 ~ 0 s6 Text Label 10550 5800 2 60 ~ 0 s7 Text Label 10550 5900 2 60 ~ 0 s8 Text Label 10550 6000 2 60 ~ 0 s9 Text Label 10550 6100 2 60 ~ 0 s10 Wire Wire Line 10550 6100 10600 6100 Wire Wire Line 10550 6000 10600 6000 Wire Wire Line 10550 5900 10600 5900 Wire Wire Line 10550 5800 10600 5800 Wire Wire Line 10550 5700 10600 5700 Wire Wire Line 10550 5600 10600 5600 Wire Wire Line 10550 5500 10600 5500 Wire Wire Line 10550 5400 10600 5400 Wire Wire Line 10550 5300 10600 5300 Wire Wire Line 10550 5200 10600 5200 Wire Wire Line 10550 4750 10600 4750 Wire Wire Line 10550 4850 10600 4850 Text Label 5150 4300 0 60 ~ 0 sda Text Label 5150 4200 0 60 ~ 0 sdl Text Label 5150 4100 0 60 ~ 0 mfp Wire Wire Line 5150 4100 5000 4100 Wire Wire Line 5150 4200 5000 4200 Wire Wire Line 5150 4300 5000 4300 Wire Wire Line 5150 6900 4900 6900 Wire Wire Line 5150 7200 4900 7200 Text Label 4900 6900 2 60 ~ 0 vss Text Label 4900 7200 2 60 ~ 0 vdd Wire Wire Line 5850 6900 5600 6900 Wire Wire Line 5850 7200 5600 7200 Text Label 5600 6900 2 60 ~ 0 vss Text Label 5600 7200 2 60 ~ 0 vdd Wire Wire Line 6550 6900 6300 6900 Wire Wire Line 6550 7200 6300 7200 Text Label 6300 6900 2 60 ~ 0 vss Text Label 6300 7200 2 60 ~ 0 vdd Text Label 5200 1800 0 60 ~ 0 s1 Text Label 5200 1900 0 60 ~ 0 s2 Text Label 5200 2000 0 60 ~ 0 s3 Text Label 5200 2100 0 60 ~ 0 s4 Text Label 5200 2200 0 60 ~ 0 s5 Text Label 5200 2300 0 60 ~ 0 s6 Text Label 5200 2400 0 60 ~ 0 s7 Text Label 5200 2500 0 60 ~ 0 s8 Text Label 5200 2600 0 60 ~ 0 s9 Text Label 5200 2700 0 60 ~ 0 s10 Wire Wire Line 5200 1800 5000 1800 Wire Wire Line 5200 1900 5000 1900 Wire Wire Line 5200 2000 5000 2000 Wire Wire Line 5200 2100 5000 2100 Wire Wire Line 5200 2200 5000 2200 Wire Wire Line 5200 2300 5000 2300 Wire Wire Line 5200 2400 5000 2400 Wire Wire Line 5200 2500 5000 2500 Wire Wire Line 5200 2600 5000 2600 Wire Wire Line 5200 2700 5000 2700 NoConn ~ 5000 3600 NoConn ~ 5000 3700 NoConn ~ 5000 3800 NoConn ~ 5000 3900 NoConn ~ 5000 4000 NoConn ~ 5000 4400 NoConn ~ 5000 4500 NoConn ~ 5000 4600 NoConn ~ 5000 4700 NoConn ~ 5000 4800 NoConn ~ 5000 4900 NoConn ~ 5000 5000 NoConn ~ 5000 5100 NoConn ~ 5000 2800 NoConn ~ 5000 2900 NoConn ~ 5000 3000 NoConn ~ 5000 3300 NoConn ~ 1400 4700 NoConn ~ 1400 4800 NoConn ~ 1400 4900 NoConn ~ 1400 4100 NoConn ~ 1400 4200 NoConn ~ 1400 4300 NoConn ~ 1400 4400 Text Label 9550 5500 2 60 ~ 0 vdd Text Label 9550 5600 2 60 ~ 0 swclk Text Label 9550 5700 2 60 ~ 0 vss Text Label 9550 5800 2 60 ~ 0 swdio Text Label 9550 5900 2 60 ~ 0 nrst Text Label 1400 1800 2 60 ~ 0 nrst Text Label 1400 2000 2 60 ~ 0 boot0 $Comp L R R6 U 1 1 5706178B P 7400 650 F 0 "R6" V 7480 650 50 0000 C CNN F 1 "100K" V 7400 650 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 7330 650 50 0001 C CNN F 3 "" H 7400 650 50 0000 C CNN 1 7400 650 0 1 1 0 $EndComp $Comp L SW_PUSH SW1 U 1 1 57061862 P 7400 950 F 0 "SW1" H 7550 1060 50 0000 C CNN F 1 "SW_PUSH" H 7400 870 50 0000 C CNN F 2 "" H 7400 950 50 0001 C CNN F 3 "" H 7400 950 50 0000 C CNN 1 7400 950 1 0 0 -1 $EndComp $Comp L C C7 U 1 1 570618B1 P 7400 1250 F 0 "C7" H 7425 1350 50 0000 L CNN F 1 "1µf" H 7425 1150 50 0000 L CNN F 2 "Capacitors_SMD:C_0603" H 7438 1100 50 0001 C CNN F 3 "" H 7400 1250 50 0000 C CNN 1 7400 1250 0 1 1 0 $EndComp Wire Wire Line 7700 950 7800 950 Wire Wire Line 7700 950 7700 1250 Wire Wire Line 7700 1250 7550 1250 Wire Wire Line 7100 1250 7250 1250 Wire Wire Line 7100 650 7100 1250 Wire Wire Line 7100 950 7000 950 Wire Wire Line 7250 650 7100 650 Connection ~ 7100 950 Connection ~ 7700 950 Text Label 7550 650 0 60 ~ 0 vss Text Label 7800 950 0 60 ~ 0 vdd Text Label 7000 950 2 60 ~ 0 nrst $Comp L R R7 U 1 1 57061F55 P 7400 1500 F 0 "R7" V 7480 1500 50 0000 C CNN F 1 "100K" V 7400 1500 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 7330 1500 50 0001 C CNN F 3 "" H 7400 1500 50 0000 C CNN 1 7400 1500 0 1 1 0 $EndComp $Comp L SW_PUSH SW2 U 1 1 57061F5B P 7400 1800 F 0 "SW2" H 7550 1910 50 0000 C CNN F 1 "SW_PUSH" H 7400 1720 50 0000 C CNN F 2 "" H 7400 1800 50 0001 C CNN F 3 "" H 7400 1800 50 0000 C CNN 1 7400 1800 1 0 0 -1 $EndComp $Comp L C C8 U 1 1 57061F61 P 7400 2100 F 0 "C8" H 7425 2200 50 0000 L CNN F 1 "1µf" H 7425 2000 50 0000 L CNN F 2 "Capacitors_SMD:C_0603" H 7438 1950 50 0001 C CNN F 3 "" H 7400 2100 50 0000 C CNN 1 7400 2100 0 1 1 0 $EndComp Wire Wire Line 7700 1800 7800 1800 Wire Wire Line 7700 1800 7700 2100 Wire Wire Line 7700 2100 7550 2100 Wire Wire Line 7100 2100 7250 2100 Wire Wire Line 7100 1500 7100 2100 Wire Wire Line 7100 1800 7000 1800 Wire Wire Line 7250 1500 7100 1500 Connection ~ 7100 1800 Connection ~ 7700 1800 Text Label 7550 1500 0 60 ~ 0 vss Text Label 7800 1800 0 60 ~ 0 vdd Text Label 7000 1800 2 60 ~ 0 boot0 Text Label 5000 3100 0 60 ~ 0 swdio Text Label 5000 3200 0 60 ~ 0 swclk $Comp L CONN_01X05 P3 U 1 1 57062F1C P 9750 5700 F 0 "P3" H 9750 6000 50 0000 C CNN F 1 "CONN_01X05" V 9850 5700 50 0000 C CNN F 2 "" H 9750 5700 50 0001 C CNN F 3 "" H 9750 5700 50 0000 C CNN 1 9750 5700 1 0 0 -1 $EndComp Text Label 3200 1100 1 60 ~ 0 vdd Wire Wire Line 3200 1100 3200 1200 Wire Notes Line 6950 6550 4600 6550 Wire Notes Line 4600 6550 4600 7800 Wire Notes Line 8050 2600 6500 2600 Wire Notes Line 6500 2600 6500 450 $EndSCHEMATC