EESchema Schematic File Version 4 EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 3 3 Title "LNSC-2420" Date "2021-04-23" Rev "1" Comp "" Comment1 "Design by Thomas Kolb" Comment2 "Licensed under CERN-OHL-P v2" Comment3 "" Comment4 "" $EndDescr $Comp L MCU_ST_STM32F0:STM32F030K6Tx U7 U 1 1 60827C3B P 3250 3300 F 0 "U7" H 2800 4150 50 0000 C CNN F 1 "STM32F030K6Tx" V 3250 3300 50 0000 C CNN F 2 "Package_QFP:LQFP-32_7x7mm_P0.8mm" H 2750 2400 50 0001 R CNN F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00088500.pdf" H 3250 3300 50 0001 C CNN 1 3250 3300 1 0 0 -1 $EndComp $Comp L power:+3.3V #PWR029 U 1 1 60828E76 P 3250 1700 F 0 "#PWR029" H 3250 1550 50 0001 C CNN F 1 "+3.3V" H 3265 1873 50 0000 C CNN F 2 "" H 3250 1700 50 0001 C CNN F 3 "" H 3250 1700 50 0001 C CNN 1 3250 1700 1 0 0 -1 $EndComp Wire Wire Line 3250 1700 3250 1800 Wire Wire Line 3250 1800 3150 1800 Wire Wire Line 3150 1800 3150 2400 Wire Wire Line 3250 2400 3250 1800 Connection ~ 3250 1800 Wire Wire Line 3350 2400 3350 1800 Wire Wire Line 3350 1800 3250 1800 $Comp L Device:C C15 U 1 1 6082ADFD P 3500 2000 F 0 "C15" H 3615 2046 50 0000 L CNN F 1 "100nF" H 3615 1955 50 0000 L CNN F 2 "Capacitor_SMD:C_0603_1608Metric" H 3538 1850 50 0001 C CNN F 3 "~" H 3500 2000 50 0001 C CNN 1 3500 2000 1 0 0 -1 $EndComp $Comp L Device:C C16 U 1 1 6082B693 P 3950 2000 F 0 "C16" H 4065 2046 50 0000 L CNN F 1 "100nF" H 4065 1955 50 0000 L CNN F 2 "Capacitor_SMD:C_0603_1608Metric" H 3988 1850 50 0001 C CNN F 3 "~" H 3950 2000 50 0001 C CNN 1 3950 2000 1 0 0 -1 $EndComp $Comp L Device:C C17 U 1 1 6082BA93 P 4400 2000 F 0 "C17" H 4515 2046 50 0000 L CNN F 1 "100nF" H 4515 1955 50 0000 L CNN F 2 "Capacitor_SMD:C_0603_1608Metric" H 4438 1850 50 0001 C CNN F 3 "~" H 4400 2000 50 0001 C CNN 1 4400 2000 1 0 0 -1 $EndComp Wire Wire Line 3350 1800 3500 1800 Wire Wire Line 4400 1800 4400 1850 Connection ~ 3350 1800 Wire Wire Line 3950 1850 3950 1800 Connection ~ 3950 1800 Wire Wire Line 3950 1800 4400 1800 Wire Wire Line 3500 1850 3500 1800 Connection ~ 3500 1800 Wire Wire Line 3500 1800 3950 1800 Wire Wire Line 3500 2150 3500 2250 Wire Wire Line 3500 2250 3950 2250 Wire Wire Line 4400 2250 4400 2150 Wire Wire Line 3950 2150 3950 2250 Connection ~ 3950 2250 Wire Wire Line 3950 2250 4400 2250 Wire Wire Line 4400 2250 4400 2300 Connection ~ 4400 2250 $Comp L power:GND #PWR030 U 1 1 6082C6AB P 4400 2300 F 0 "#PWR030" H 4400 2050 50 0001 C CNN F 1 "GND" H 4405 2127 50 0000 C CNN F 2 "" H 4400 2300 50 0001 C CNN F 3 "" H 4400 2300 50 0001 C CNN 1 4400 2300 1 0 0 -1 $EndComp $Comp L power:GND #PWR028 U 1 1 6082CAAE P 3200 4400 F 0 "#PWR028" H 3200 4150 50 0001 C CNN F 1 "GND" H 3205 4227 50 0000 C CNN F 2 "" H 3200 4400 50 0001 C CNN F 3 "" H 3200 4400 50 0001 C CNN 1 3200 4400 1 0 0 -1 $EndComp Wire Wire Line 3150 4300 3150 4350 Wire Wire Line 3150 4350 3200 4350 Wire Wire Line 3250 4350 3250 4300 Wire Wire Line 3200 4400 3200 4350 Connection ~ 3200 4350 Wire Wire Line 3200 4350 3250 4350 $Comp L Device:R R27 U 1 1 6082DEB6 P 2350 2150 F 0 "R27" H 2420 2196 50 0000 L CNN F 1 "10k" H 2420 2105 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 2280 2150 50 0001 C CNN F 3 "~" H 2350 2150 50 0001 C CNN 1 2350 2150 1 0 0 -1 $EndComp Wire Wire Line 2350 2300 2350 2600 Wire Wire Line 2350 2600 2650 2600 Wire Wire Line 2350 2000 2350 1800 Wire Wire Line 2350 1800 3150 1800 Connection ~ 3150 1800 Text GLabel 4350 2600 2 50 Input ~ 0 Meas_U_Bat Text GLabel 4350 2700 2 50 Input ~ 0 Meas_U_Solar Text GLabel 4350 2800 2 50 Input ~ 0 Meas_U_SW Text GLabel 4350 2900 2 50 Input ~ 0 Meas_I_Solar Text GLabel 4350 3000 2 50 Input ~ 0 Meas_I_Load Wire Wire Line 3750 2600 4350 2600 Wire Wire Line 4350 2700 3750 2700 Wire Wire Line 3750 2800 4350 2800 Wire Wire Line 4350 2900 3750 2900 Wire Wire Line 3750 3000 4350 3000 $Comp L Device:Crystal Y1 U 1 1 6083406C P 2100 3150 F 0 "Y1" V 2054 3281 50 0000 L CNN F 1 "8 MHz" V 2145 3281 50 0000 L CNN F 2 "Crystal:Crystal_HC49-U_Vertical" H 2100 3150 50 0001 C CNN F 3 "~" H 2100 3150 50 0001 C CNN 1 2100 3150 0 1 1 0 $EndComp $Comp L Device:C C13 U 1 1 60834B7C P 1850 2950 F 0 "C13" V 1598 2950 50 0000 C CNN F 1 "22pF" V 1689 2950 50 0000 C CNN F 2 "Capacitor_SMD:C_0603_1608Metric" H 1888 2800 50 0001 C CNN F 3 "~" H 1850 2950 50 0001 C CNN 1 1850 2950 0 1 1 0 $EndComp $Comp L Device:C C14 U 1 1 60835393 P 1850 3350 F 0 "C14" V 1598 3350 50 0000 C CNN F 1 "22pF" V 1689 3350 50 0000 C CNN F 2 "Capacitor_SMD:C_0603_1608Metric" H 1888 3200 50 0001 C CNN F 3 "~" H 1850 3350 50 0001 C CNN 1 1850 3350 0 1 1 0 $EndComp Wire Wire Line 2000 2950 2100 2950 Wire Wire Line 2100 2950 2100 3000 Wire Wire Line 2100 2950 2550 2950 Wire Wire Line 2550 2950 2550 3200 Wire Wire Line 2550 3200 2650 3200 Connection ~ 2100 2950 Wire Wire Line 2650 3300 2550 3300 Wire Wire Line 2550 3300 2550 3350 Wire Wire Line 2550 3350 2100 3350 Wire Wire Line 2100 3300 2100 3350 Connection ~ 2100 3350 Wire Wire Line 2100 3350 2000 3350 Wire Wire Line 1700 2950 1600 2950 Wire Wire Line 1600 2950 1600 3000 Wire Wire Line 1600 3350 1700 3350 Wire Wire Line 1400 3100 1400 3000 Wire Wire Line 1400 3000 1600 3000 Connection ~ 1600 3000 Wire Wire Line 1600 3000 1600 3350 $Comp L power:GND #PWR027 U 1 1 60839315 P 1400 3100 F 0 "#PWR027" H 1400 2850 50 0001 C CNN F 1 "GND" H 1405 2927 50 0000 C CNN F 2 "" H 1400 3100 50 0001 C CNN F 3 "" H 1400 3100 50 0001 C CNN 1 1400 3100 1 0 0 -1 $EndComp $Comp L Device:R R23 U 1 1 608399E1 P 1850 2600 F 0 "R23" V 1643 2600 50 0000 C CNN F 1 "10k" V 1734 2600 50 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 1780 2600 50 0001 C CNN F 3 "~" H 1850 2600 50 0001 C CNN 1 1850 2600 0 1 1 0 $EndComp Wire Wire Line 1600 2950 1600 2600 Wire Wire Line 1600 2600 1700 2600 Connection ~ 1600 2950 Wire Wire Line 2000 2600 2200 2600 Wire Wire Line 2200 2600 2200 2800 Wire Wire Line 2200 2800 2650 2800 Text Label 2250 2800 0 50 ~ 0 BOOT0 Text GLabel 4350 3400 2 50 Output ~ 0 ChargePump Text GLabel 4350 3700 2 50 Output ~ 0 Solar_Sw Text GLabel 4350 3800 2 50 Output ~ 0 Load_Sw Wire Wire Line 3750 3400 4350 3400 Wire Wire Line 4350 3700 3750 3700 Wire Wire Line 3750 3800 4350 3800 $Comp L Connector:Conn_ARM_JTAG_SWD_10 J5 U 1 1 60842690 P 8650 1800 F 0 "J5" H 8207 1846 50 0000 R CNN F 1 "Conn_ARM_JTAG_SWD_10" H 8207 1755 50 0000 R CNN F 2 "Connector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_Vertical_SMD" H 8650 1800 50 0001 C CNN F 3 "http://infocenter.arm.com/help/topic/com.arm.doc.ddi0314h/DDI0314H_coresight_components_trm.pdf" V 8300 550 50 0001 C CNN 1 8650 1800 1 0 0 -1 $EndComp Wire Wire Line 3750 3900 5350 3900 Wire Wire Line 3750 4000 5350 4000 Text Label 5350 4000 2 50 ~ 0 SWDCLK Text Label 5350 3900 2 50 ~ 0 SWDIO Text Label 9550 1700 2 50 ~ 0 SWDCLK Text Label 9550 1800 2 50 ~ 0 SWDIO Wire Wire Line 9150 1800 9550 1800 Wire Wire Line 9550 1700 9150 1700 $Comp L power:GND #PWR033 U 1 1 608488F8 P 8600 2500 F 0 "#PWR033" H 8600 2250 50 0001 C CNN F 1 "GND" H 8605 2327 50 0000 C CNN F 2 "" H 8600 2500 50 0001 C CNN F 3 "" H 8600 2500 50 0001 C CNN 1 8600 2500 1 0 0 -1 $EndComp Wire Wire Line 8550 2400 8550 2450 Wire Wire Line 8550 2450 8600 2450 Wire Wire Line 8650 2450 8650 2400 Wire Wire Line 8600 2500 8600 2450 Connection ~ 8600 2450 Wire Wire Line 8600 2450 8650 2450 Text Label 2400 2600 0 50 ~ 0 NRST Text Label 9550 1500 2 50 ~ 0 NRST Wire Wire Line 9150 1500 9550 1500 $Comp L power:+3.3V #PWR036 U 1 1 60851CAB P 8650 1100 F 0 "#PWR036" H 8650 950 50 0001 C CNN F 1 "+3.3V" H 8665 1273 50 0000 C CNN F 2 "" H 8650 1100 50 0001 C CNN F 3 "" H 8650 1100 50 0001 C CNN 1 8650 1100 1 0 0 -1 $EndComp Wire Wire Line 8650 1200 8650 1100 NoConn ~ 9150 2000 NoConn ~ 9150 1900 Text Label 2150 3500 0 50 ~ 0 LED_MUX_A Text Label 2150 3600 0 50 ~ 0 LED_MUX_B Text Label 2150 3700 0 50 ~ 0 LED_MUX_C Wire Wire Line 2150 3500 2650 3500 Wire Wire Line 2650 3600 2150 3600 Wire Wire Line 2150 3700 2650 3700 Text Label 1500 6000 0 50 ~ 0 LED_MUX_A Text Label 1500 6500 0 50 ~ 0 LED_MUX_B Text Label 1500 7000 0 50 ~ 0 LED_MUX_C $Comp L Device:R R24 U 1 1 608656B1 P 2250 6000 F 0 "R24" V 2043 6000 50 0000 C CNN F 1 "120" V 2134 6000 50 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 2180 6000 50 0001 C CNN F 3 "~" H 2250 6000 50 0001 C CNN 1 2250 6000 0 1 1 0 $EndComp $Comp L Device:R R25 U 1 1 60865C49 P 2250 6500 F 0 "R25" V 2043 6500 50 0000 C CNN F 1 "120" V 2134 6500 50 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 2180 6500 50 0001 C CNN F 3 "~" H 2250 6500 50 0001 C CNN 1 2250 6500 0 1 1 0 $EndComp $Comp L Device:R R26 U 1 1 608661D6 P 2250 7000 F 0 "R26" V 2043 7000 50 0000 C CNN F 1 "120" V 2134 7000 50 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 2180 7000 50 0001 C CNN F 3 "~" H 2250 7000 50 0001 C CNN 1 2250 7000 0 1 1 0 $EndComp Wire Wire Line 1500 7000 2100 7000 Wire Wire Line 1500 6500 2100 6500 Wire Wire Line 1500 6000 2100 6000 $Comp L Device:LED D8 U 1 1 6086C706 P 3500 6750 F 0 "D8" V 3447 6830 50 0000 L CNN F 1 "ERR_LOAD" V 3538 6830 50 0000 L CNN F 2 "LED_THT:LED_D5.0mm" H 3500 6750 50 0001 C CNN F 3 "~" H 3500 6750 50 0001 C CNN 1 3500 6750 0 1 1 0 $EndComp $Comp L Device:LED D7 U 1 1 6086CBD9 P 3500 6250 F 0 "D7" V 3447 6330 50 0000 L CNN F 1 "ERR_TEMP" V 3538 6330 50 0000 L CNN F 2 "LED_THT:LED_D5.0mm" H 3500 6250 50 0001 C CNN F 3 "~" H 3500 6250 50 0001 C CNN 1 3500 6250 0 1 1 0 $EndComp $Comp L Device:LED D9 U 1 1 6086CF4D P 4100 6500 F 0 "D9" V 4139 6382 50 0000 R CNN F 1 "CHARGE_PULSE" V 4048 6382 50 0000 R CNN F 2 "LED_THT:LED_D5.0mm" H 4100 6500 50 0001 C CNN F 3 "~" H 4100 6500 50 0001 C CNN 1 4100 6500 0 -1 -1 0 $EndComp Wire Wire Line 2400 6500 2750 6500 Wire Wire Line 3500 6500 3500 6400 Wire Wire Line 3500 6500 3500 6600 Connection ~ 3500 6500 Wire Wire Line 2750 6400 2750 6500 Connection ~ 2750 6500 Wire Wire Line 2750 6500 3500 6500 Wire Wire Line 2750 6500 2750 6600 Wire Wire Line 2400 6000 2750 6000 Wire Wire Line 4100 6000 4100 6350 Wire Wire Line 4100 6650 4100 7000 Wire Wire Line 4100 7000 3500 7000 Wire Wire Line 3500 6900 3500 7000 Connection ~ 3500 7000 Wire Wire Line 3500 7000 2750 7000 Wire Wire Line 2750 6900 2750 7000 Connection ~ 2750 7000 Wire Wire Line 2750 7000 2400 7000 Wire Wire Line 3500 6100 3500 6000 Connection ~ 3500 6000 Wire Wire Line 3500 6000 4100 6000 Wire Wire Line 2750 6100 2750 6000 Connection ~ 2750 6000 Wire Wire Line 2750 6000 3500 6000 $Comp L Interface_UART:MAX485E U8 U 1 1 6088823A P 8600 3900 F 0 "U8" H 8350 4350 50 0000 C CNN F 1 "MAX485E" H 8800 4350 50 0000 C CNN F 2 "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" H 8600 3200 50 0001 C CNN F 3 "https://datasheets.maximintegrated.com/en/ds/MAX1487E-MAX491E.pdf" H 8600 3950 50 0001 C CNN 1 8600 3900 1 0 0 -1 $EndComp $Comp L power:+5V #PWR034 U 1 1 6088AA47 P 8600 3150 F 0 "#PWR034" H 8600 3000 50 0001 C CNN F 1 "+5V" H 8615 3323 50 0000 C CNN F 2 "" H 8600 3150 50 0001 C CNN F 3 "" H 8600 3150 50 0001 C CNN 1 8600 3150 1 0 0 -1 $EndComp $Comp L Device:C C18 U 1 1 6088B928 P 8800 3200 F 0 "C18" V 8548 3200 50 0000 C CNN F 1 "100nF" V 8639 3200 50 0000 C CNN F 2 "Capacitor_SMD:C_0603_1608Metric" H 8838 3050 50 0001 C CNN F 3 "~" H 8800 3200 50 0001 C CNN 1 8800 3200 0 1 1 0 $EndComp Wire Wire Line 8600 3150 8600 3200 Wire Wire Line 8650 3200 8600 3200 Connection ~ 8600 3200 Wire Wire Line 8600 3200 8600 3400 Wire Wire Line 8950 3200 9150 3200 Wire Wire Line 9150 3200 9150 3250 $Comp L power:GND #PWR039 U 1 1 608941F3 P 9150 3250 F 0 "#PWR039" H 9150 3000 50 0001 C CNN F 1 "GND" H 9155 3077 50 0000 C CNN F 2 "" H 9150 3250 50 0001 C CNN F 3 "" H 9150 3250 50 0001 C CNN 1 9150 3250 1 0 0 -1 $EndComp Wire Wire Line 8200 3900 8000 3900 Wire Wire Line 8000 3900 8000 3950 Wire Wire Line 8000 4000 8200 4000 Connection ~ 8000 3950 Wire Wire Line 8000 3950 8000 4000 $Comp L Device:R R31 U 1 1 6089A49F P 9350 3950 F 0 "R31" H 9420 3996 50 0000 L CNN F 1 "120" H 9420 3905 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 9280 3950 50 0001 C CNN F 3 "~" H 9350 3950 50 0001 C CNN 1 9350 3950 1 0 0 -1 $EndComp Wire Wire Line 9000 3800 9350 3800 Wire Wire Line 9350 4100 9000 4100 Wire Wire Line 9350 3800 10000 3800 Connection ~ 9350 3800 Wire Wire Line 9350 4100 10000 4100 Connection ~ 9350 4100 Text Label 7250 3950 0 50 ~ 0 RS485_DE Text Label 7250 3800 0 50 ~ 0 RS485_RX Text Label 7250 4100 0 50 ~ 0 RS485_TX Wire Wire Line 7250 4100 7750 4100 Wire Wire Line 7250 3800 7750 3800 Text Label 2050 4000 0 50 ~ 0 RS485_TX Text Label 2050 4100 0 50 ~ 0 RS485_RX Wire Wire Line 2050 4000 2650 4000 Wire Wire Line 2650 4100 2050 4100 Text Label 2050 3900 0 50 ~ 0 RS485_DE Wire Wire Line 2050 3900 2650 3900 NoConn ~ 2650 3800 Text Label 5350 3300 2 50 ~ 0 EXT_MOSI Text Label 5350 3200 2 50 ~ 0 EXT_MISO Wire Wire Line 3750 3300 5350 3300 Wire Wire Line 3750 3200 5350 3200 Text Label 5350 3100 2 50 ~ 0 EXT_SCK Wire Wire Line 5350 3100 3750 3100 Wire Wire Line 3750 3500 5350 3500 Wire Wire Line 5350 3600 3750 3600 Text Label 5350 3500 2 50 ~ 0 EXT_SCL_TX Text Label 5350 3600 2 50 ~ 0 EXT_SDA_RX $Comp L power:GND #PWR035 U 1 1 608D0DBD P 8600 4500 F 0 "#PWR035" H 8600 4250 50 0001 C CNN F 1 "GND" H 8605 4327 50 0000 C CNN F 2 "" H 8600 4500 50 0001 C CNN F 3 "" H 8600 4500 50 0001 C CNN 1 8600 4500 1 0 0 -1 $EndComp $Comp L power:+5V #PWR037 U 1 1 608D359C P 8950 5000 F 0 "#PWR037" H 8950 4850 50 0001 C CNN F 1 "+5V" H 8965 5173 50 0000 C CNN F 2 "" H 8950 5000 50 0001 C CNN F 3 "" H 8950 5000 50 0001 C CNN 1 8950 5000 1 0 0 -1 $EndComp $Comp L power:+3.3V #PWR032 U 1 1 608D3C75 P 8250 5000 F 0 "#PWR032" H 8250 4850 50 0001 C CNN F 1 "+3.3V" H 8265 5173 50 0000 C CNN F 2 "" H 8250 5000 50 0001 C CNN F 3 "" H 8250 5000 50 0001 C CNN 1 8250 5000 1 0 0 -1 $EndComp Wire Wire Line 8250 5000 8250 5100 Wire Wire Line 8250 5100 8350 5100 Wire Wire Line 8850 5100 8950 5100 Wire Wire Line 8950 5100 8950 5000 $Comp L power:GND #PWR038 U 1 1 608DC55D P 8950 5600 F 0 "#PWR038" H 8950 5350 50 0001 C CNN F 1 "GND" H 8955 5427 50 0000 C CNN F 2 "" H 8950 5600 50 0001 C CNN F 3 "" H 8950 5600 50 0001 C CNN 1 8950 5600 1 0 0 -1 $EndComp Wire Wire Line 8950 5600 8950 5500 Wire Wire Line 8950 5500 8850 5500 Text Label 7850 5200 0 50 ~ 0 EXT_SCK Text Label 7850 5300 0 50 ~ 0 EXT_SDA_RX Text Label 7850 5400 0 50 ~ 0 EXT_SCL_TX Text Label 9400 5200 2 50 ~ 0 EXT_MOSI Text Label 9400 5300 2 50 ~ 0 EXT_MISO Wire Wire Line 9400 5300 8850 5300 Wire Wire Line 9400 5200 8850 5200 Wire Wire Line 8350 5200 7850 5200 Wire Wire Line 7850 5300 8350 5300 Wire Wire Line 8350 5400 7850 5400 NoConn ~ 3750 4100 Wire Wire Line 10350 3900 10000 3900 Wire Wire Line 10000 3900 10000 3800 Wire Wire Line 10350 4000 10000 4000 Wire Wire Line 10000 4000 10000 4100 Wire Wire Line 10350 3800 10250 3800 Wire Wire Line 10250 3800 10250 3700 Wire Wire Line 10350 4100 10250 4100 Wire Wire Line 10250 4100 10250 4200 $Comp L power:+5V #PWR040 U 1 1 6091328A P 10250 3700 F 0 "#PWR040" H 10250 3550 50 0001 C CNN F 1 "+5V" H 10265 3873 50 0000 C CNN F 2 "" H 10250 3700 50 0001 C CNN F 3 "" H 10250 3700 50 0001 C CNN 1 10250 3700 1 0 0 -1 $EndComp $Comp L power:GND #PWR041 U 1 1 609135C0 P 10250 4200 F 0 "#PWR041" H 10250 3950 50 0001 C CNN F 1 "GND" H 10255 4027 50 0000 C CNN F 2 "" H 10250 4200 50 0001 C CNN F 3 "" H 10250 4200 50 0001 C CNN 1 10250 4200 1 0 0 -1 $EndComp $Comp L Device:R R28 U 1 1 60914145 P 7000 3950 F 0 "R28" V 6793 3950 50 0000 C CNN F 1 "10k" V 6884 3950 50 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 6930 3950 50 0001 C CNN F 3 "~" H 7000 3950 50 0001 C CNN 1 7000 3950 0 1 1 0 $EndComp Wire Wire Line 7150 3950 8000 3950 Wire Wire Line 6850 3950 6750 3950 Wire Wire Line 6750 3950 6750 4050 $Comp L power:GND #PWR031 U 1 1 6091E5C3 P 6750 4050 F 0 "#PWR031" H 6750 3800 50 0001 C CNN F 1 "GND" H 6755 3877 50 0000 C CNN F 2 "" H 6750 4050 50 0001 C CNN F 3 "" H 6750 4050 50 0001 C CNN 1 6750 4050 1 0 0 -1 $EndComp $Comp L Device:R R29 U 1 1 6092BBA2 P 7900 3800 F 0 "R29" V 7800 3800 50 0000 C CNN F 1 "1k" V 7900 3800 50 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 7830 3800 50 0001 C CNN F 3 "~" H 7900 3800 50 0001 C CNN 1 7900 3800 0 1 1 0 $EndComp Wire Wire Line 8050 3800 8200 3800 $Comp L Device:R R30 U 1 1 6092C10F P 7900 4100 F 0 "R30" V 7800 4100 50 0000 C CNN F 1 "1k" V 7900 4100 50 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 7830 4100 50 0001 C CNN F 3 "~" H 7900 4100 50 0001 C CNN 1 7900 4100 0 1 1 0 $EndComp Wire Wire Line 8050 4100 8200 4100 $Comp L Connector_Generic:Conn_02x05_Odd_Even J4 U 1 1 60979F20 P 8550 5300 F 0 "J4" H 8600 5717 50 0000 C CNN F 1 "EXTENSION" H 8600 5626 50 0000 C CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical" H 8550 5300 50 0001 C CNN F 3 "~" H 8550 5300 50 0001 C CNN 1 8550 5300 1 0 0 -1 $EndComp Text Label 9400 5400 2 50 ~ 0 BOOT0 Wire Wire Line 9400 5400 8850 5400 Text Notes 7550 6150 0 50 ~ 0 EXT_SDA_RX and EXT_SCL_TX are shared between I2C1 and USART1.\nIf BOOT0 is pulled high during startup/reset, the ROM UART bootloader\nof the STM32 can be used via these pins. Text Label 7850 5500 0 50 ~ 0 NRST Wire Wire Line 7850 5500 8350 5500 $Comp L Connector:Screw_Terminal_01x04 J6 U 1 1 60934D44 P 10550 3900 F 0 "J6" H 10630 3892 50 0000 L CNN F 1 "RS485" H 10630 3801 50 0000 L CNN F 2 "TerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type059_RT06304HBWC_1x04_P3.50mm_Horizontal" H 10550 3900 50 0001 C CNN F 3 "~" H 10550 3900 50 0001 C CNN 1 10550 3900 1 0 0 -1 $EndComp $Comp L Device:LED D10 U 1 1 608A2881 P 5000 6550 F 0 "D10" V 4947 6630 50 0000 L CNN F 1 "DISCHARGE_PULSE" V 5038 6630 50 0000 L CNN F 2 "LED_THT:LED_D5.0mm" H 5000 6550 50 0001 C CNN F 3 "~" H 5000 6550 50 0001 C CNN 1 5000 6550 0 1 1 0 $EndComp $Comp L Device:LED D6 U 1 1 6086C29E P 2750 6750 F 0 "D6" V 2789 6632 50 0000 R CNN F 1 "LOAD_ON" V 2698 6632 50 0000 R CNN F 2 "LED_THT:LED_D5.0mm" H 2750 6750 50 0001 C CNN F 3 "~" H 2750 6750 50 0001 C CNN 1 2750 6750 0 -1 -1 0 $EndComp $Comp L Device:LED D5 U 1 1 6086B9FA P 2750 6250 F 0 "D5" V 2789 6132 50 0000 R CNN F 1 "SOLAR_ON" V 2698 6132 50 0000 R CNN F 2 "LED_THT:LED_D5.0mm" H 2750 6250 50 0001 C CNN F 3 "~" H 2750 6250 50 0001 C CNN 1 2750 6250 0 -1 -1 0 $EndComp Wire Wire Line 4100 6000 5000 6000 Wire Wire Line 5000 6000 5000 6400 Connection ~ 4100 6000 Wire Wire Line 5000 6700 5000 7000 Wire Wire Line 5000 7000 4100 7000 Connection ~ 4100 7000 Text Notes 3750 7400 0 50 ~ 0 CHARGE and DISCHARGE PULSE LEDs flash once\nper Coloumb (=A⋅s) transferred.\n=> 1 A = 1 flash per second, 10 A = 10 flashes per second $EndSCHEMATC