EESchema Schematic File Version 4 EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L Device:C C6 U 1 1 5E588ABC P 10400 2150 F 0 "C6" H 10515 2196 50 0000 L CNN F 1 "100n" H 10515 2105 50 0000 L CNN F 2 "Capacitors_SMD:C_0603_HandSoldering" H 10438 2000 50 0001 C CNN F 3 "~" H 10400 2150 50 0001 C CNN 1 10400 2150 1 0 0 -1 $EndComp $Comp L power:GND #PWR017 U 1 1 5E588AC2 P 10400 2400 F 0 "#PWR017" H 10400 2150 50 0001 C CNN F 1 "GND" H 10405 2227 50 0000 C CNN F 2 "" H 10400 2400 50 0001 C CNN F 3 "" H 10400 2400 50 0001 C CNN 1 10400 2400 1 0 0 -1 $EndComp Wire Wire Line 10400 2400 10400 2300 Wire Wire Line 9750 2000 10400 2000 $Comp L power:VCC #PWR015 U 1 1 5E58967F P 9750 1900 F 0 "#PWR015" H 9750 1750 50 0001 C CNN F 1 "VCC" H 9767 2073 50 0000 C CNN F 2 "" H 9750 1900 50 0001 C CNN F 3 "" H 9750 1900 50 0001 C CNN 1 9750 1900 1 0 0 -1 $EndComp Wire Wire Line 9750 1900 9750 2000 Connection ~ 9750 2000 Text GLabel 9150 2450 0 50 Input ~ 0 MISO Text GLabel 9150 2550 0 50 Input ~ 0 SCK Text GLabel 9150 2650 0 50 Input ~ 0 NRF24_CS Wire Wire Line 9950 5000 9850 5000 Wire Wire Line 9850 5200 9950 5200 Wire Wire Line 9950 5400 9850 5400 Wire Wire Line 9850 5600 9950 5600 $Comp L power:GND #PWR016 U 1 1 5E595499 P 9750 3350 F 0 "#PWR016" H 9750 3100 50 0001 C CNN F 1 "GND" H 9755 3177 50 0000 C CNN F 2 "" H 9750 3350 50 0001 C CNN F 3 "" H 9750 3350 50 0001 C CNN 1 9750 3350 1 0 0 -1 $EndComp Text GLabel 7850 2900 2 50 Input ~ 0 MISO Text GLabel 7850 2600 2 50 Input ~ 0 MOSI Text GLabel 7850 3200 2 50 Input ~ 0 SCK Text GLabel 6150 4800 2 50 Input ~ 0 NRF24_CS Text GLabel 6150 2700 2 50 Input ~ 0 BME280_CS Text GLabel 6150 4900 2 50 Input ~ 0 CE Text GLabel 9150 2850 0 50 Input ~ 0 CE Text GLabel 9150 2350 0 50 Input ~ 0 MOSI Text GLabel 9950 5200 2 50 Input ~ 0 SCK Text GLabel 9950 5000 2 50 Input ~ 0 MISO Text GLabel 9950 5400 2 50 Input ~ 0 MOSI Text GLabel 9950 5600 2 50 Input ~ 0 BME280_CS $Comp L Device:D_Zener D1 U 1 1 5E5B4A6A P 2750 7050 F 0 "D1" V 2704 7129 50 0000 L CNN F 1 " ESDZL5-1F4" V 2795 7129 50 0000 L CNN F 2 "Diodes_SMD:D_0603" H 2750 7050 50 0001 C CNN F 3 "http://www.st.com/content/ccc/resource/technical/document/datasheet/group3/fe/b3/9c/68/77/e8/4e/0c/DM00360302/files/DM00360302.pdf/jcr:content/translations/en.DM00360302.pdf" H 2750 7050 50 0001 C CNN F 4 "497-17544-1-ND" V 2750 7050 50 0001 C CNN "Digikey PN" F 5 "https://www.digikey.de/product-detail/de/stmicroelectronics/ESDZL5-1F4/497-17544-1-ND/7400400" V 2750 7050 50 0001 C CNN "Digikey link" 1 2750 7050 0 1 1 0 $EndComp Wire Wire Line 2950 6800 2750 6800 Wire Wire Line 2750 6800 2750 6900 Connection ~ 2750 6800 Wire Wire Line 2750 6800 2500 6800 $Comp L Device:Battery_Cell BT1 U 1 1 5E5BF5B4 P 700 6450 F 0 "BT1" H 818 6546 50 0000 L CNN F 1 "AAA battery" H 818 6455 50 0000 L CNN F 2 "footprints:aaa_holder_keystone_591+597" V 700 6510 50 0001 C CNN F 3 "~" V 700 6510 50 0001 C CNN 1 700 6450 1 0 0 -1 $EndComp $Comp L Device:Battery_Cell BT2 U 1 1 5E5C0221 P 700 6850 F 0 "BT2" H 818 6946 50 0000 L CNN F 1 "AAA battery" H 818 6855 50 0000 L CNN F 2 "footprints:aaa_holder_keystone_591+597" V 700 6910 50 0001 C CNN F 3 "~" V 700 6910 50 0001 C CNN 1 700 6850 1 0 0 -1 $EndComp Wire Wire Line 700 6650 700 6550 Wire Wire Line 700 6250 700 6100 Wire Wire Line 700 6100 850 6100 Wire Wire Line 2150 6100 2150 6500 Wire Wire Line 700 7450 850 7450 Wire Wire Line 2150 7450 2150 7100 Wire Wire Line 2150 7450 2750 7450 Wire Wire Line 2750 7450 2750 7200 Connection ~ 2150 7450 Wire Wire Line 2750 7450 3250 7450 Wire Wire Line 3250 7450 3250 7000 Connection ~ 2750 7450 Wire Wire Line 3250 6600 3250 6500 $Comp L power:VCC #PWR06 U 1 1 5E5DC9B3 P 3800 6100 F 0 "#PWR06" H 3800 5950 50 0001 C CNN F 1 "VCC" H 3817 6273 50 0000 C CNN F 2 "" H 3800 6100 50 0001 C CNN F 3 "" H 3800 6100 50 0001 C CNN 1 3800 6100 1 0 0 -1 $EndComp $Comp L power:GND #PWR07 U 1 1 5E5DD008 P 3800 6500 F 0 "#PWR07" H 3800 6250 50 0001 C CNN F 1 "GND" H 3805 6327 50 0000 C CNN F 2 "" H 3800 6500 50 0001 C CNN F 3 "" H 3800 6500 50 0001 C CNN 1 3800 6500 1 0 0 -1 $EndComp Wire Notes Line 550 5850 4050 5850 Wire Notes Line 4050 5850 4050 7700 Wire Notes Line 4050 7700 550 7700 Wire Notes Line 550 7700 550 5850 Text Notes 2900 7650 0 50 ~ 0 disconnect battery when\nvoltage drops below 2V Wire Wire Line 700 6950 700 7450 $Comp L Device:Q_NMOS_GSD Q1 U 1 1 5E5B7982 P 3150 6800 F 0 "Q1" H 3354 6846 50 0000 L CNN F 1 "SSM3K36FS" H 3354 6755 50 0000 L CNN F 2 "footprints:SOT-416_SC-90_Handsoldering" H 3350 6900 50 0001 C CNN F 3 "http://toshiba.semicon-storage.com/info/docget.jsp?did=11220&prodName=SSM3K36FS" H 3150 6800 50 0001 C CNN F 4 "https://www.digikey.de/product-detail/de/toshiba-semiconductor-and-storage/SSM3K36FS-LF/SSM3K36FSLFCT-ND/3191346" H 3150 6800 50 0001 C CNN "Digikey link" F 5 "SSM3K36FSLFCT-ND" H 3150 6800 50 0001 C CNN "Digikey PN" 1 3150 6800 1 0 0 -1 $EndComp $Comp L Device:C C3 U 1 1 5E888344 P 4550 1950 F 0 "C3" H 4665 1996 50 0000 L CNN F 1 "100n" H 4665 1905 50 0000 L CNN F 2 "Capacitors_SMD:C_0603_HandSoldering" H 4588 1800 50 0001 C CNN F 3 "~" H 4550 1950 50 0001 C CNN 1 4550 1950 1 0 0 -1 $EndComp Wire Wire Line 4550 1700 5000 1700 $Comp L power:GND #PWR09 U 1 1 5E88834B P 4550 2150 F 0 "#PWR09" H 4550 1900 50 0001 C CNN F 1 "GND" H 4555 1977 50 0000 C CNN F 2 "" H 4550 2150 50 0001 C CNN F 3 "" H 4550 2150 50 0001 C CNN 1 4550 2150 1 0 0 -1 $EndComp Wire Wire Line 4550 2150 4550 2100 Wire Wire Line 5550 1700 5550 2200 Wire Wire Line 5450 1700 5450 2200 Connection ~ 5450 1700 Wire Wire Line 5450 1700 5550 1700 Wire Wire Line 4550 1700 4550 1800 Wire Wire Line 6150 2700 6050 2700 Wire Wire Line 6150 4800 6050 4800 Wire Wire Line 6150 4900 6050 4900 Text GLabel 1700 1700 0 50 Input ~ 0 Reset Text GLabel 1700 1500 0 50 Input ~ 0 ISP_MISO Text GLabel 2400 1600 2 50 Input ~ 0 ISP_MOSI Text GLabel 1700 1600 0 50 Input ~ 0 ISP_SCK Text GLabel 7100 2650 1 50 Input ~ 0 ISP_MISO Text GLabel 7250 2650 1 50 Input ~ 0 ISP_MOSI Text GLabel 6950 2650 1 50 Input ~ 0 ISP_SCK $Comp L Device:R R3 U 1 1 5E925192 P 7600 2600 F 0 "R3" V 7393 2600 50 0000 C CNN F 1 "330" V 7484 2600 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 7530 2600 50 0001 C CNN F 3 "~" H 7600 2600 50 0001 C CNN 1 7600 2600 0 1 1 0 $EndComp $Comp L Device:R R4 U 1 1 5E92566D P 7600 2900 F 0 "R4" V 7393 2900 50 0000 C CNN F 1 "330" V 7484 2900 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 7530 2900 50 0001 C CNN F 3 "~" H 7600 2900 50 0001 C CNN 1 7600 2900 0 1 1 0 $EndComp $Comp L Device:R R5 U 1 1 5E9299BA P 7600 3200 F 0 "R5" V 7393 3200 50 0000 C CNN F 1 "330" V 7484 3200 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 7530 3200 50 0001 C CNN F 3 "~" H 7600 3200 50 0001 C CNN 1 7600 3200 0 1 1 0 $EndComp Wire Wire Line 7850 3200 7750 3200 Wire Wire Line 7850 2900 7750 2900 Wire Wire Line 7750 2600 7850 2600 Wire Wire Line 7400 2800 7400 2600 Wire Wire Line 7400 2600 7450 2600 Wire Wire Line 6050 2800 7250 2800 Wire Wire Line 6050 2900 7100 2900 Wire Wire Line 7400 3000 7400 3200 Wire Wire Line 7400 3200 7450 3200 Wire Wire Line 6050 3000 6950 3000 Wire Wire Line 6950 3000 6950 2650 Connection ~ 6950 3000 Wire Wire Line 6950 3000 7400 3000 Wire Wire Line 7100 2650 7100 2900 Connection ~ 7100 2900 Connection ~ 2150 6100 Wire Wire Line 2150 6100 3700 6100 Wire Wire Line 3800 6500 3700 6500 Wire Wire Line 3700 6100 3800 6100 Connection ~ 3700 6100 Connection ~ 3700 6500 Wire Wire Line 3700 6500 3700 6450 Wire Wire Line 3700 6150 3700 6100 $Comp L Device:C C1 U 1 1 5E5D6526 P 3700 6300 F 0 "C1" H 3815 6346 50 0000 L CNN F 1 "10uF" H 3815 6255 50 0000 L CNN F 2 "Capacitors_SMD:C_0603_HandSoldering" H 3738 6150 50 0001 C CNN F 3 "~" H 3700 6300 50 0001 C CNN F 4 "587-5869-1-ND " H 3700 6300 50 0001 C CNN "Digikey PN" 1 3700 6300 1 0 0 -1 $EndComp Wire Wire Line 3250 6500 3400 6500 $Comp L Connector_Generic:Conn_02x03_Odd_Even J1 U 1 1 5E81C273 P 2000 1600 F 0 "J1" H 2050 1917 50 0000 C CNN F 1 "Conn_02x03_Odd_Even" H 2050 1826 50 0000 C CNN F 2 "Pin_Headers:Pin_Header_Straight_2x03_Pitch2.54mm" H 2000 1600 50 0001 C CNN F 3 "~" H 2000 1600 50 0001 C CNN 1 2000 1600 1 0 0 -1 $EndComp $Comp L power:VCC #PWR04 U 1 1 5E8263C4 P 2550 1500 F 0 "#PWR04" H 2550 1350 50 0001 C CNN F 1 "VCC" H 2567 1673 50 0000 C CNN F 2 "" H 2550 1500 50 0001 C CNN F 3 "" H 2550 1500 50 0001 C CNN 1 2550 1500 1 0 0 -1 $EndComp Wire Wire Line 2550 1500 2300 1500 $Comp L power:GND #PWR05 U 1 1 5E829021 P 2550 1700 F 0 "#PWR05" H 2550 1450 50 0001 C CNN F 1 "GND" H 2555 1527 50 0000 C CNN F 2 "" H 2550 1700 50 0001 C CNN F 3 "" H 2550 1700 50 0001 C CNN 1 2550 1700 1 0 0 -1 $EndComp Wire Wire Line 2550 1700 2300 1700 Wire Wire Line 2300 1600 2400 1600 Wire Wire Line 1800 1500 1700 1500 Wire Wire Line 1700 1600 1800 1600 Text Notes 1200 2200 0 50 ~ 0 Place the debug connection under the batteries\nto prevent the MCU being powered from both\nthe batteries and the debug connection. $Comp L Device:C C2 U 1 1 5E863B11 P 4350 2750 F 0 "C2" H 4465 2796 50 0000 L CNN F 1 "100n" H 4465 2705 50 0000 L CNN F 2 "Capacitors_SMD:C_0603_HandSoldering" H 4388 2600 50 0001 C CNN F 3 "~" H 4350 2750 50 0001 C CNN 1 4350 2750 1 0 0 -1 $EndComp Wire Wire Line 4350 2500 4850 2500 $Comp L power:GND #PWR08 U 1 1 5E863B18 P 4350 2950 F 0 "#PWR08" H 4350 2700 50 0001 C CNN F 1 "GND" H 4355 2777 50 0000 C CNN F 2 "" H 4350 2950 50 0001 C CNN F 3 "" H 4350 2950 50 0001 C CNN 1 4350 2950 1 0 0 -1 $EndComp Wire Wire Line 4350 2950 4350 2900 Wire Wire Line 4350 2500 4350 2600 NoConn ~ 4850 2700 NoConn ~ 4850 2800 Text GLabel 6150 4700 2 50 Input ~ 0 IRQ Wire Wire Line 6150 4700 6050 4700 Text GLabel 9150 2950 0 50 Input ~ 0 IRQ $Comp L BU49xx:BU49xx U2 U 1 1 5E8BAA55 P 2250 6800 F 0 "U2" H 2007 6846 50 0000 R CNN F 1 "BU4920G-TR" H 2007 6755 50 0000 R CNN F 2 "Housings_SSOP:TSOP-5_1.65x3.05mm_Pitch0.95mm" H 2150 6800 50 0001 C CNN F 3 "https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/voltage_detector/bd48xxg-e.pdf" H 2150 6800 50 0001 C CNN F 4 "BU4920GCT-ND " H 2250 6800 50 0001 C CNN "Digikey PN" F 5 "https://www.digikey.de/product-detail/de/rohm-semiconductor/BU4920G-TR/BU4920GCT-ND/3769270" H 2250 6800 50 0001 C CNN "Dikikey link" 1 2250 6800 1 0 0 -1 $EndComp Text Notes 1200 1200 0 50 ~ 0 Debug connection Wire Notes Line 1150 1100 1150 2250 Wire Notes Line 1150 2250 3150 2250 Wire Notes Line 3150 2250 3150 1100 Wire Notes Line 3150 1100 1150 1100 $Comp L power:VCC #PWR0101 U 1 1 5E7A04E7 P 5450 1600 F 0 "#PWR0101" H 5450 1450 50 0001 C CNN F 1 "VCC" H 5467 1773 50 0000 C CNN F 2 "" H 5450 1600 50 0001 C CNN F 3 "" H 5450 1600 50 0001 C CNN 1 5450 1600 1 0 0 -1 $EndComp Wire Wire Line 5450 1600 5450 1700 Wire Wire Line 1800 1700 1700 1700 Wire Wire Line 5450 5200 5450 5250 Wire Wire Line 5450 5250 5000 5250 Wire Wire Line 5000 5250 5000 5300 NoConn ~ 6050 2500 $Comp L power:PWR_FLAG #FLG0101 U 1 1 5E801D06 P 850 6100 F 0 "#FLG0101" H 850 6175 50 0001 C CNN F 1 "PWR_FLAG" H 850 6273 50 0000 C CNN F 2 "" H 850 6100 50 0001 C CNN F 3 "~" H 850 6100 50 0001 C CNN 1 850 6100 1 0 0 -1 $EndComp Connection ~ 850 6100 Wire Wire Line 850 6100 2150 6100 $Comp L power:PWR_FLAG #FLG0102 U 1 1 5E80230C P 850 7450 F 0 "#FLG0102" H 850 7525 50 0001 C CNN F 1 "PWR_FLAG" H 850 7623 50 0000 C CNN F 2 "" H 850 7450 50 0001 C CNN F 3 "~" H 850 7450 50 0001 C CNN 1 850 7450 1 0 0 -1 $EndComp Connection ~ 850 7450 Wire Wire Line 850 7450 2150 7450 $Comp L power:GND #PWR0102 U 1 1 5E8112C3 P 5000 5300 F 0 "#PWR0102" H 5000 5050 50 0001 C CNN F 1 "GND" H 5005 5127 50 0000 C CNN F 2 "" H 5000 5300 50 0001 C CNN F 3 "" H 5000 5300 50 0001 C CNN 1 5000 5300 1 0 0 -1 $EndComp $Comp L power:PWR_FLAG #FLG0103 U 1 1 5E813A35 P 3400 6500 F 0 "#FLG0103" H 3400 6575 50 0001 C CNN F 1 "PWR_FLAG" H 3400 6673 50 0000 C CNN F 2 "" H 3400 6500 50 0001 C CNN F 3 "~" H 3400 6500 50 0001 C CNN 1 3400 6500 1 0 0 -1 $EndComp Connection ~ 3400 6500 Wire Wire Line 3400 6500 3700 6500 Wire Wire Line 6800 3950 6800 4000 Connection ~ 6800 4000 Wire Wire Line 6800 4000 6800 4050 $Comp L power:GND #PWR0104 U 1 1 5E826963 P 6800 4400 F 0 "#PWR0104" H 6800 4150 50 0001 C CNN F 1 "GND" H 6805 4227 50 0000 C CNN F 2 "" H 6800 4400 50 0001 C CNN F 3 "" H 6800 4400 50 0001 C CNN 1 6800 4400 1 0 0 -1 $EndComp Wire Wire Line 6800 4400 6800 4350 Text GLabel 6850 4000 2 50 Input ~ 0 Reset Wire Wire Line 6850 4000 6800 4000 $Comp L Device:C C7 U 1 1 5E81E0CA P 6800 4200 F 0 "C7" H 6915 4246 50 0000 L CNN F 1 "100n" H 6915 4155 50 0000 L CNN F 2 "Capacitors_SMD:C_0603_HandSoldering" H 6838 4050 50 0001 C CNN F 3 "~" H 6800 4200 50 0001 C CNN 1 6800 4200 1 0 0 -1 $EndComp Wire Wire Line 9250 2950 9150 2950 Wire Wire Line 9250 2450 9150 2450 Wire Wire Line 9150 2350 9250 2350 Wire Wire Line 9150 2550 9250 2550 Wire Wire Line 9250 2650 9150 2650 Wire Wire Line 9150 2850 9250 2850 Wire Wire Line 9750 2000 9750 2050 Wire Wire Line 9750 3250 9750 3350 $Comp L NRF24L01_Breakout_SMD:NRF24L01_Breakout_SMD U1 U 1 1 5E84E88A P 9750 2650 F 0 "U1" H 10130 2696 50 0000 L CNN F 1 "NRF24L01_Breakout_SMD" H 10130 2605 50 0000 L CNN F 2 "footprints:NRF24L01+breakout_SMD" H 9900 3250 50 0001 L CIN F 3 "http://www.nordicsemi.com/eng/content/download/2730/34105/file/nRF24L01_Product_Specification_v2_0.pdf" H 9750 2550 50 0001 C CNN 1 9750 2650 1 0 0 -1 $EndComp $Comp L power:VCC #PWR01 U 1 1 5E7B2EA0 P 9350 4650 F 0 "#PWR01" H 9350 4500 50 0001 C CNN F 1 "VCC" H 9367 4823 50 0000 C CNN F 2 "" H 9350 4650 50 0001 C CNN F 3 "" H 9350 4650 50 0001 C CNN 1 9350 4650 1 0 0 -1 $EndComp Wire Wire Line 9350 4650 9350 4700 $Comp L power:GND #PWR02 U 1 1 5E7B9C9F P 9350 5950 F 0 "#PWR02" H 9350 5700 50 0001 C CNN F 1 "GND" H 9355 5777 50 0000 C CNN F 2 "" H 9350 5950 50 0001 C CNN F 3 "" H 9350 5950 50 0001 C CNN 1 9350 5950 1 0 0 -1 $EndComp Wire Wire Line 9350 5950 9350 5900 $Comp L GY-B11_EP_280:GY-B11_EP_280 U4 U 1 1 5E7E5A65 P 9350 5300 F 0 "U4" H 9020 5346 50 0000 R CNN F 1 "GY-B11_EP_280" H 9020 5255 50 0000 R CNN F 2 "footprints:GY-B11_EP_280_SMD" H 10850 4850 50 0001 C CNN F 3 "https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280-DS002.pdf" H 9250 5100 50 0001 C CNN 1 9350 5300 1 0 0 -1 $EndComp $Comp L Device:C C4 U 1 1 5E817D49 P 5000 1950 F 0 "C4" H 5115 1996 50 0000 L CNN F 1 "100n" H 5115 1905 50 0000 L CNN F 2 "Capacitors_SMD:C_0603_HandSoldering" H 5038 1800 50 0001 C CNN F 3 "~" H 5000 1950 50 0001 C CNN 1 5000 1950 1 0 0 -1 $EndComp Wire Wire Line 5000 1800 5000 1700 Connection ~ 5000 1700 Wire Wire Line 5000 1700 5450 1700 $Comp L Device:R R1 U 1 1 5E8179ED P 6800 3800 F 0 "R1" H 6870 3846 50 0000 L CNN F 1 "4k7" H 6870 3755 50 0000 L CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 6730 3800 50 0001 C CNN F 3 "~" H 6800 3800 50 0001 C CNN 1 6800 3800 1 0 0 -1 $EndComp Wire Wire Line 5000 2100 4550 2100 Connection ~ 4550 2100 Wire Wire Line 6800 3600 6800 3650 $Comp L power:VCC #PWR0103 U 1 1 5E823307 P 6800 3600 F 0 "#PWR0103" H 6800 3450 50 0001 C CNN F 1 "VCC" H 6817 3773 50 0000 C CNN F 2 "" H 6800 3600 50 0001 C CNN F 3 "" H 6800 3600 50 0001 C CNN 1 6800 3600 1 0 0 -1 $EndComp $Comp L power:VCC #PWR03 U 1 1 5E846989 P 1050 3950 F 0 "#PWR03" H 1050 3800 50 0001 C CNN F 1 "VCC" H 1067 4123 50 0000 C CNN F 2 "" H 1050 3950 50 0001 C CNN F 3 "" H 1050 3950 50 0001 C CNN 1 1050 3950 1 0 0 -1 $EndComp Wire Wire Line 1050 3950 1050 4000 $Comp L power:GND #PWR010 U 1 1 5E84988C P 1050 4100 F 0 "#PWR010" H 1050 3850 50 0001 C CNN F 1 "GND" H 1055 3927 50 0000 C CNN F 2 "" H 1050 4100 50 0001 C CNN F 3 "" H 1050 4100 50 0001 C CNN 1 1050 4100 1 0 0 -1 $EndComp Wire Wire Line 1350 4050 1350 3900 Wire Wire Line 1050 4000 1250 4000 Wire Wire Line 1250 4000 1250 3900 Text GLabel 1550 4000 3 50 Input ~ 0 MISO Text GLabel 1650 4000 3 50 Input ~ 0 SCK Text GLabel 1450 4000 3 50 Input ~ 0 MOSI Wire Wire Line 1550 3900 1550 4000 Wire Wire Line 1450 4000 1450 3900 Wire Wire Line 1650 4000 1650 3900 Wire Wire Line 1350 4050 1050 4050 Wire Wire Line 1050 4050 1050 4100 Text GLabel 2450 4000 3 50 Input ~ 0 PD1 Text GLabel 2350 4000 3 50 Input ~ 0 PD0 Text GLabel 2550 4000 3 50 Input ~ 0 PD2 Text GLabel 1950 4000 3 50 Input ~ 0 PC2 Text GLabel 2050 4000 3 50 Input ~ 0 PC3 Text GLabel 2150 4000 3 50 Input ~ 0 PC4 Text GLabel 2250 4000 3 50 Input ~ 0 PC5 Wire Wire Line 1750 3900 1750 4000 Wire Wire Line 1850 3900 1850 4000 Wire Wire Line 1950 3900 1950 4000 Wire Wire Line 2050 3900 2050 4000 Wire Wire Line 2150 3900 2150 4000 Wire Wire Line 2250 3900 2250 4000 Wire Wire Line 2350 3900 2350 4000 Text GLabel 6150 4300 2 50 Input ~ 0 PD1 Text GLabel 6150 4200 2 50 Input ~ 0 PD0 Text GLabel 6150 4400 2 50 Input ~ 0 PD2 Text GLabel 6150 3600 2 50 Input ~ 0 PC2 Text GLabel 6150 3700 2 50 Input ~ 0 PC3 Text GLabel 6150 3800 2 50 Input ~ 0 PC4 Text GLabel 6150 3900 2 50 Input ~ 0 PC5 Wire Wire Line 6050 4000 6800 4000 $Comp L MCU_Microchip_ATmega:ATmega48PA-AU U3 U 1 1 5E857B8D P 5450 3700 F 0 "U3" H 5450 2111 50 0000 C CNN F 1 "ATmega48PA-AU" H 5450 2020 50 0000 C CNN F 2 "Housings_QFP:LQFP-32_7x7mm_Pitch0.8mm" H 5450 3700 50 0001 C CIN F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48PA_88PA_168PA-Data-Sheet-40002011A.pdf" H 5450 3700 50 0001 C CNN F 4 " ATMEGA48PA-AURCT-ND" H 5450 3700 50 0001 C CNN "Digikey PN" F 5 "https://www.digikey.de/product-detail/de/microchip-technology/ATMEGA48PA-AUR/ATMEGA48PA-AURCT-ND/3789467" H 5450 3700 50 0001 C CNN "Digikey link" 1 5450 3700 1 0 0 -1 $EndComp Wire Wire Line 6050 4400 6150 4400 Wire Wire Line 6150 4300 6050 4300 Wire Wire Line 6050 4200 6150 4200 Wire Wire Line 6150 3900 6050 3900 Wire Wire Line 6050 3800 6150 3800 Wire Wire Line 6150 3700 6050 3700 Wire Wire Line 6050 3600 6150 3600 Text GLabel 1750 4000 3 50 Input ~ 0 PC0 Text GLabel 1850 4000 3 50 Input ~ 0 PC1 Wire Wire Line 2450 3900 2450 4000 Wire Wire Line 2550 4000 2550 3900 Text GLabel 6150 3400 2 50 Input ~ 0 PC0 Text GLabel 6150 3500 2 50 Input ~ 0 PC1 Wire Wire Line 6150 3400 6050 3400 Wire Wire Line 6050 3500 6150 3500 $Comp L Connector_Generic:Conn_01x14 J2 U 1 1 5E93123D P 1850 3700 F 0 "J2" V 2067 3646 50 0000 C CNN F 1 "Conn_01x14" V 1976 3646 50 0000 C CNN F 2 "footprints:Pin_Header_Side_1x14_Pitch2.54mm_SMD" H 1850 3700 50 0001 C CNN F 3 "~" H 1850 3700 50 0001 C CNN 1 1850 3700 0 -1 -1 0 $EndComp NoConn ~ 6050 2600 Wire Wire Line 7100 2900 7450 2900 Wire Wire Line 7250 2650 7250 2800 Connection ~ 7250 2800 Wire Wire Line 7250 2800 7400 2800 Wire Wire Line 7700 5700 7700 5750 Wire Wire Line 7700 5950 7600 5950 Wire Wire Line 7600 5850 7700 5850 Connection ~ 7700 5850 Wire Wire Line 7700 5850 7700 5950 Wire Wire Line 7600 5750 7700 5750 Connection ~ 7700 5750 Wire Wire Line 7700 5750 7700 5850 Text GLabel 6900 5750 0 50 Input ~ 0 pin_prog_1 Text GLabel 6900 5850 0 50 Input ~ 0 pin_prog_2 Text GLabel 6900 5950 0 50 Input ~ 0 pin_prog_3 Wire Wire Line 6900 5750 7000 5750 Wire Wire Line 7000 5850 6900 5850 Wire Wire Line 6900 5950 7000 5950 Text GLabel 6150 3100 2 50 Input ~ 0 pin_prog_1 Text GLabel 6150 3200 2 50 Input ~ 0 pin_prog_2 Text GLabel 6150 4600 2 50 Input ~ 0 pin_prog_3 Wire Wire Line 6050 3100 6150 3100 Wire Wire Line 6150 3200 6050 3200 Wire Wire Line 6050 4600 6150 4600 $Comp L Switch:SW_DIP_x03 SW1 U 1 1 5E7B54BE P 7300 5950 F 0 "SW1" H 7300 6417 50 0000 C CNN F 1 "SW_DIP_x03" H 7300 6326 50 0000 C CNN F 2 "footprints:DS04-254-2-03BK-SMT" H 7300 5950 50 0001 C CNN F 3 "https://www.cuidevices.com/product/resource/digikeypdf/ds04-254-smt.pdf" H 7300 5950 50 0001 C CNN F 4 "2223-DS04-254-2-03BK-SMT-ND" H 7300 5950 50 0001 C CNN "Digikey PN" F 5 "https://www.digikey.de/product-detail/de/cui-devices/DS04-254-2-03BK-SMT/2223-DS04-254-2-03BK-SMT-ND/11310920" H 7300 5950 50 0001 C CNN "Digikey link" 1 7300 5950 1 0 0 -1 $EndComp $Comp L power:VCC #PWR011 U 1 1 5E800E93 P 7700 5700 F 0 "#PWR011" H 7700 5550 50 0001 C CNN F 1 "VCC" H 7717 5873 50 0000 C CNN F 2 "" H 7700 5700 50 0001 C CNN F 3 "" H 7700 5700 50 0001 C CNN 1 7700 5700 1 0 0 -1 $EndComp $Comp L Device:LED D2 U 1 1 5E7DCBE7 P 7000 1200 F 0 "D2" H 6993 1416 50 0000 C CNN F 1 "150060SS75000" H 6993 1325 50 0000 C CNN F 2 "Diodes_SMD:D_0603" H 7000 1200 50 0001 C CNN F 3 "https://katalog.we-online.de/led/datasheet/150060SS75000.pdf" H 7000 1200 50 0001 C CNN F 4 "732-4979-1-ND" H 7000 1200 50 0001 C CNN "Digikey PN" F 5 "https://www.digikey.de/product-detail/de/w%C3%BCrth-elektronik/150060SS75000/732-4979-1-ND/448990" H 7000 1200 50 0001 C CNN "Digikey link" 1 7000 1200 1 0 0 -1 $EndComp Text GLabel 7250 1200 2 50 Input ~ 0 LED Wire Wire Line 7250 1200 7150 1200 $Comp L Device:R R2 U 1 1 5E7C7865 P 6550 1200 F 0 "R2" V 6343 1200 50 0000 C CNN F 1 "47" V 6434 1200 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 6480 1200 50 0001 C CNN F 3 "~" H 6550 1200 50 0001 C CNN 1 6550 1200 0 1 1 0 $EndComp Wire Wire Line 6700 1200 6850 1200 $Comp L power:GND #PWR012 U 1 1 5E7CCDAC P 6300 1200 F 0 "#PWR012" H 6300 950 50 0001 C CNN F 1 "GND" H 6305 1027 50 0000 C CNN F 2 "" H 6300 1200 50 0001 C CNN F 3 "" H 6300 1200 50 0001 C CNN 1 6300 1200 1 0 0 -1 $EndComp Wire Wire Line 6300 1200 6400 1200 Text GLabel 6150 4500 2 50 Input ~ 0 LED Wire Wire Line 6050 4500 6150 4500 Text Notes 2850 7250 0 50 ~ 0 TODO: other diode in 0603 package $EndSCHEMATC