EESchema Schematic File Version 4 LIBS:Stairs-cache EELAYER 26 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "Stairs submodule" Date "2018-09-02" Rev "1" Comp "Mark van Renswoude" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L PCA9685-TSSOP:PCA9685-TSSOP PCA9685 U 1 1 5B8AD5C2 P 7350 2250 F 0 "PCA9685" H 7350 3265 50 0000 C CNN F 1 "PCA9685-TSSOP" H 7350 3174 50 0000 C CNN F 2 "Housings_SSOP:TSSOP-28_4.4x9.7mm_Pitch0.65mm" H 7350 2250 50 0001 C CNN F 3 "DOCUMENTATION" H 7350 2250 50 0001 C CNN 1 7350 2250 1 0 0 -1 $EndComp $Comp L MAX485:MAX485 U2 U 1 1 5B8AD72A P 5450 5500 F 0 "U2" H 5450 5967 50 0000 C CNN F 1 "MAX485" H 5450 5876 50 0000 C CNN F 2 "Housings_SOIC:SO-8_5.3x6.2mm_Pitch1.27mm" H 5450 5500 60 0001 C CNN F 3 "Maxim Integrated" H 5450 5500 50 0001 L BNN F 4 "None" H 5450 5500 50 0001 L BNN "Field4" F 5 "Unavailable" H 5450 5500 50 0001 L BNN "Field5" F 6 "None" H 5450 5500 50 0001 L BNN "Field6" F 7 "MAX485" H 5450 5500 50 0001 L BNN "Field7" F 8 "" H 5450 5500 50 0001 L BNN "Field8" 1 5450 5500 1 0 0 -1 $EndComp $Comp L Connector_Generic:Conn_01x02 P6 U 1 1 5B8AD8CA P 9550 4200 F 0 "P6" H 9628 4241 50 0000 L CNN F 1 "PWR_IN" H 9628 4150 50 0000 L CNN F 2 "Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm" H 9550 4200 50 0001 C CNN F 3 "" H 9550 4200 50 0001 C CNN 1 9550 4200 1 0 0 1 $EndComp $Comp L Connector_Generic:Conn_01x02 P5 U 1 1 5B8ADA74 P 8300 4100 F 0 "P5" H 8600 4050 50 0000 C CNN F 1 "PWR_OUT" H 8650 4150 50 0000 C CNN F 2 "Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm" H 8300 4100 50 0001 C CNN F 3 "" H 8300 4100 50 0001 C CNN 1 8300 4100 -1 0 0 -1 $EndComp $Comp L Connector_Generic:Conn_01x06 P3 U 1 1 5B8AE6A5 P 5100 6500 F 0 "P3" H 5178 6541 50 0000 L CNN F 1 "SENSOR" H 5178 6450 50 0000 L CNN F 2 "Terminal_Blocks:TerminalBlock_bornier-6_P5.08mm" H 5100 6500 50 0001 C CNN F 3 "" H 5100 6500 50 0001 C CNN 1 5100 6500 1 0 0 1 $EndComp $Comp L Connector_Generic:Conn_01x02 P1 U 1 1 5B8AE987 P 6650 5100 F 0 "P1" H 6728 5141 50 0000 L CNN F 1 "DATA_IN" H 6728 5050 50 0000 L CNN F 2 "Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm" H 6650 5100 50 0001 C CNN F 3 "" H 6650 5100 50 0001 C CNN 1 6650 5100 0 1 -1 0 $EndComp $Comp L Connector_Generic:Conn_01x02 P2 U 1 1 5B8AE9DD P 6650 5800 F 0 "P2" H 6950 5750 50 0000 C CNN F 1 "DATA_OUT" H 7000 5850 50 0000 C CNN F 2 "Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm" H 6650 5800 50 0001 C CNN F 3 "" H 6650 5800 50 0001 C CNN 1 6650 5800 0 1 1 0 $EndComp $Comp L AMS1117-5.0:AMS1117-5.0 AMS1117 U 1 1 5B8AFB24 P 2250 1350 F 0 "AMS1117" H 2250 1717 50 0000 C CNN F 1 "AMS1117-5" H 2250 1626 50 0000 C CNN F 2 "AMS1117-5.0:SOT229P700X180-4N" H 2250 1350 50 0001 L BNN F 3 "AMS1117-5.0" H 2250 1350 50 0001 L BNN F 4 "None" H 2250 1350 50 0001 L BNN "Field4" F 5 "Unavailable" H 2250 1350 50 0001 L BNN "Field5" F 6 "Sot223/Pkg 1-Amp 3.3-Volt Low Drop Out Voltage Regulatator" H 2250 1350 50 0001 L BNN "Field6" F 7 "Advanced Monolithic Systems" H 2250 1350 50 0001 L BNN "Field7" F 8 "None" H 2250 1350 50 0001 L BNN "Field8" 1 2250 1350 1 0 0 -1 $EndComp $Comp L power:GND #PWR05 U 1 1 5B8AFFEE P 3000 1600 F 0 "#PWR05" H 3000 1350 50 0001 C CNN F 1 "GND" H 3005 1427 50 0000 C CNN F 2 "" H 3000 1600 50 0001 C CNN F 3 "" H 3000 1600 50 0001 C CNN 1 3000 1600 1 0 0 -1 $EndComp $Comp L power:+12V #PWR02 U 1 1 5B8B02AC P 1500 1100 F 0 "#PWR02" H 1500 950 50 0001 C CNN F 1 "+12V" H 1515 1273 50 0000 C CNN F 2 "" H 1500 1100 50 0001 C CNN F 3 "" H 1500 1100 50 0001 C CNN 1 1500 1100 1 0 0 -1 $EndComp Wire Wire Line 1500 1100 1500 1250 Wire Wire Line 1500 1250 1650 1250 Wire Wire Line 2850 1250 3000 1250 Wire Wire Line 3000 1250 3000 1100 Wire Wire Line 2850 1450 3000 1450 Wire Wire Line 3000 1450 3000 1600 $Comp L Device:C C3 U 1 1 5B8B090B P 2350 3150 F 0 "C3" H 2465 3196 50 0000 L CNN F 1 "10µF" H 2465 3105 50 0000 L CNN F 2 "Capacitors_Tantalum_SMD:CP_Tantalum_Case-D_EIA-7343-31_Reflow" H 2388 3000 50 0001 C CNN F 3 "" H 2350 3150 50 0001 C CNN 1 2350 3150 1 0 0 -1 $EndComp $Comp L Device:C C4 U 1 1 5B8B1267 P 2850 3150 F 0 "C4" H 2965 3196 50 0000 L CNN F 1 "100nF" H 2965 3105 50 0000 L CNN F 2 "Capacitors_SMD:C_1206" H 2888 3000 50 0001 C CNN F 3 "" H 2850 3150 50 0001 C CNN 1 2850 3150 1 0 0 -1 $EndComp $Comp L power:GND #PWR011 U 1 1 5B8B1C8E P 3400 6400 F 0 "#PWR011" H 3400 6150 50 0001 C CNN F 1 "GND" H 3405 6227 50 0000 C CNN F 2 "" H 3400 6400 50 0001 C CNN F 3 "" H 3400 6400 50 0001 C CNN 1 3400 6400 1 0 0 -1 $EndComp Wire Wire Line 3400 6300 3400 6400 $Comp L power:GND #PWR013 U 1 1 5B8B3466 P 6150 5600 F 0 "#PWR013" H 6150 5350 50 0001 C CNN F 1 "GND" H 6155 5427 50 0000 C CNN F 2 "" H 6150 5600 50 0001 C CNN F 3 "" H 6150 5600 50 0001 C CNN 1 6150 5600 1 0 0 -1 $EndComp Wire Wire Line 6050 5300 6150 5300 Wire Wire Line 6050 5600 6150 5600 $Comp L power:GND #PWR010 U 1 1 5B8B3A20 P 6450 2900 F 0 "#PWR010" H 6450 2650 50 0001 C CNN F 1 "GND" H 6455 2727 50 0000 C CNN F 2 "" H 6450 2900 50 0001 C CNN F 3 "" H 6450 2900 50 0001 C CNN 1 6450 2900 1 0 0 -1 $EndComp Wire Wire Line 6450 2900 6600 2900 Wire Wire Line 8250 1600 8100 1600 $Comp L power:+5V #PWR03 U 1 1 5B8B883E P 3000 1100 F 0 "#PWR03" H 3000 950 50 0001 C CNN F 1 "+5V" H 3015 1273 50 0000 C CNN F 2 "" H 3000 1100 50 0001 C CNN F 3 "" H 3000 1100 50 0001 C CNN 1 3000 1100 1 0 0 -1 $EndComp $Comp L power:+5V #PWR06 U 1 1 5B8B8A0A P 3400 3150 F 0 "#PWR06" H 3400 3000 50 0001 C CNN F 1 "+5V" H 3415 3323 50 0000 C CNN F 2 "" H 3400 3150 50 0001 C CNN F 3 "" H 3400 3150 50 0001 C CNN 1 3400 3150 1 0 0 -1 $EndComp $Comp L power:+5V #PWR012 U 1 1 5B8B8BF6 P 6150 5300 F 0 "#PWR012" H 6150 5150 50 0001 C CNN F 1 "+5V" H 6165 5473 50 0000 C CNN F 2 "" H 6150 5300 50 0001 C CNN F 3 "" H 6150 5300 50 0001 C CNN 1 6150 5300 1 0 0 -1 $EndComp $Comp L power:+5V #PWR07 U 1 1 5B8B8E5A P 8250 1600 F 0 "#PWR07" H 8250 1450 50 0001 C CNN F 1 "+5V" H 8265 1773 50 0000 C CNN F 2 "" H 8250 1600 50 0001 C CNN F 3 "" H 8250 1600 50 0001 C CNN 1 8250 1600 1 0 0 -1 $EndComp $Comp L Device:C C2 U 1 1 5B8B93C9 P 2250 4250 F 0 "C2" H 2365 4296 50 0000 L CNN F 1 "33pF" H 2365 4205 50 0000 L CNN F 2 "Capacitors_SMD:C_1206" H 2288 4100 50 0001 C CNN F 3 "" H 2250 4250 50 0001 C CNN 1 2250 4250 0 1 1 0 $EndComp $Comp L Device:C C1 U 1 1 5B8B9824 P 2250 4750 F 0 "C1" H 2365 4796 50 0000 L CNN F 1 "33pF" H 2365 4705 50 0000 L CNN F 2 "Capacitors_SMD:C_1206" H 2288 4600 50 0001 C CNN F 3 "" H 2250 4750 50 0001 C CNN 1 2250 4750 0 1 1 0 $EndComp $Comp L Device:Crystal_Small XTAL1 U 1 1 5B8B9A62 P 2500 4500 F 0 "XTAL1" V 2454 4588 50 0000 L CNN F 1 "8 Mhz" V 2545 4588 50 0000 L CNN F 2 "Crystals:Crystal_HC49-U_Vertical" H 2500 4500 50 0001 C CNN F 3 "" H 2500 4500 50 0001 C CNN 1 2500 4500 0 1 1 0 $EndComp Wire Wire Line 2500 4250 2400 4250 Wire Wire Line 2500 4600 2500 4650 Wire Wire Line 2500 4750 2400 4750 Wire Wire Line 2500 4400 2500 4350 $Comp L power:GND #PWR09 U 1 1 5B8B9DAC P 2000 4750 F 0 "#PWR09" H 2000 4500 50 0001 C CNN F 1 "GND" H 2005 4577 50 0000 C CNN F 2 "" H 2000 4750 50 0001 C CNN F 3 "" H 2000 4750 50 0001 C CNN 1 2000 4750 1 0 0 -1 $EndComp $Comp L power:GND #PWR08 U 1 1 5B8B9E4D P 2000 4250 F 0 "#PWR08" H 2000 4000 50 0001 C CNN F 1 "GND" H 2005 4077 50 0000 C CNN F 2 "" H 2000 4250 50 0001 C CNN F 3 "" H 2000 4250 50 0001 C CNN 1 2000 4250 1 0 0 -1 $EndComp Wire Wire Line 2100 4250 2000 4250 Wire Wire Line 2100 4750 2000 4750 Wire Wire Line 6050 5500 6650 5500 Wire Wire Line 6650 5450 6650 5500 Wire Wire Line 6050 5400 6450 5400 Wire Wire Line 6650 5400 6650 5300 Wire Wire Line 6550 5300 6550 5450 Wire Wire Line 6550 5450 6650 5450 Connection ~ 6650 5500 Wire Wire Line 6550 5600 6450 5600 Wire Wire Line 6450 5600 6450 5400 Connection ~ 6450 5400 Wire Wire Line 4850 5400 4700 5400 Wire Wire Line 4700 5400 4700 5500 Wire Wire Line 4700 5500 4850 5500 $Comp L Device:R R1 U 1 1 5B8C2380 P 4300 3550 F 0 "R1" H 4370 3596 50 0000 L CNN F 1 "4.7K" H 4370 3505 50 0000 L CNN F 2 "Resistors_SMD:R_0603" V 4230 3550 50 0001 C CNN F 3 "" H 4300 3550 50 0001 C CNN 1 4300 3550 1 0 0 -1 $EndComp $Comp L power:+5V #PWR014 U 1 1 5B8C2462 P 4300 3300 F 0 "#PWR014" H 4300 3150 50 0001 C CNN F 1 "+5V" H 4315 3473 50 0000 C CNN F 2 "" H 4300 3300 50 0001 C CNN F 3 "" H 4300 3300 50 0001 C CNN 1 4300 3300 1 0 0 -1 $EndComp Wire Wire Line 4300 3300 4300 3400 Wire Wire Line 4000 3900 4300 3900 Wire Wire Line 4300 3900 4300 3700 $Comp L Connector_Generic:Conn_01x04 P7 U 1 1 5B8C32B0 P 9200 1800 F 0 "P7" H 9277 1841 50 0000 L CNN F 1 "SSD1306" H 9277 1750 50 0000 L CNN F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm" H 9200 1800 50 0001 C CNN F 3 "" H 9200 1800 50 0001 C CNN 1 9200 1800 1 0 0 -1 $EndComp Text Notes 9750 2050 0 60 ~ 0 1 = SDA\n2 = SCL\n3 = VCC\n4 = GND $Comp L power:+5V #PWR016 U 1 1 5B8C452D P 8750 1900 F 0 "#PWR016" H 8750 1750 50 0001 C CNN F 1 "+5V" H 8765 2073 50 0000 C CNN F 2 "" H 8750 1900 50 0001 C CNN F 3 "" H 8750 1900 50 0001 C CNN 1 8750 1900 -1 0 0 1 $EndComp $Comp L power:GND #PWR018 U 1 1 5B8C457C P 8900 2000 F 0 "#PWR018" H 8900 1750 50 0001 C CNN F 1 "GND" H 8905 1827 50 0000 C CNN F 2 "" H 8900 2000 50 0001 C CNN F 3 "" H 8900 2000 50 0001 C CNN 1 8900 2000 1 0 0 -1 $EndComp Wire Wire Line 9000 2000 8900 2000 Wire Wire Line 9000 1900 8750 1900 Wire Wire Line 8100 1700 8350 1700 Wire Wire Line 8100 1800 8550 1800 Connection ~ 8550 1800 Connection ~ 8350 1700 Connection ~ 4300 3900 Wire Wire Line 4550 5600 4850 5600 $Comp L Transistor_FET:IRLB8721PBF Q1 U 1 1 5B8C8EA8 P 5450 1900 F 0 "Q1" V 5778 1900 50 0000 C CNN F 1 "IRLB8721PBF" V 5687 1900 50 0000 C CNN F 2 "TO_SOT_Packages_THT:TO-220-3_Vertical" H 5700 1825 50 0001 L CIN F 3 "" H 5450 1900 50 0001 L CNN 1 5450 1900 0 -1 -1 0 $EndComp Wire Wire Line 4850 5300 4000 5300 Wire Wire Line 4000 5400 4550 5400 Wire Wire Line 4550 5400 4550 5600 Wire Wire Line 4000 4100 4300 4100 Wire Wire Line 4850 4100 4850 3600 Wire Wire Line 4850 3600 8550 3600 Wire Wire Line 8550 3600 8550 1800 Wire Wire Line 8350 1700 8350 3400 Wire Wire Line 8350 3400 4650 3400 Wire Wire Line 4650 3400 4650 3900 $Comp L Device:R R2 U 1 1 5B8CAD1E P 6100 2100 F 0 "R2" V 5893 2100 50 0000 C CNN F 1 "150" V 5984 2100 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 6030 2100 50 0001 C CNN F 3 "" H 6100 2100 50 0001 C CNN 1 6100 2100 0 1 1 0 $EndComp $Comp L Device:R R3 U 1 1 5B8CAE68 P 6100 2200 F 0 "R3" V 6300 2200 50 0000 C CNN F 1 "150" V 6200 2200 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 6030 2200 50 0001 C CNN F 3 "" H 6100 2200 50 0001 C CNN 1 6100 2200 0 1 1 0 $EndComp $Comp L Transistor_FET:IRLB8721PBF Q2 U 1 1 5B8CB00E P 5450 2400 F 0 "Q2" V 5686 2400 50 0000 C CNN F 1 "IRLB8721PBF" V 5777 2400 50 0000 C CNN F 2 "TO_SOT_Packages_THT:TO-220-3_Vertical" H 5700 2325 50 0001 L CIN F 3 "" H 5450 2400 50 0001 L CNN 1 5450 2400 0 -1 1 0 $EndComp $Comp L power:GND #PWR015 U 1 1 5B8CB569 P 5700 1800 F 0 "#PWR015" H 5700 1550 50 0001 C CNN F 1 "GND" H 5705 1627 50 0000 C CNN F 2 "" H 5700 1800 50 0001 C CNN F 3 "" H 5700 1800 50 0001 C CNN 1 5700 1800 0 -1 -1 0 $EndComp $Comp L power:GND #PWR020 U 1 1 5B8CB5C8 P 5700 2500 F 0 "#PWR020" H 5700 2250 50 0001 C CNN F 1 "GND" H 5705 2327 50 0000 C CNN F 2 "" H 5700 2500 50 0001 C CNN F 3 "" H 5700 2500 50 0001 C CNN 1 5700 2500 0 -1 -1 0 $EndComp $Comp L Connector_Generic:Conn_01x04 P4 U 1 1 5B8CBF27 P 4450 2200 F 0 "P4" H 4528 2241 50 0000 L CNN F 1 "LED" H 4528 2150 50 0000 L CNN F 2 "Terminal_Blocks:TerminalBlock_bornier-4_P5.08mm" H 4450 2200 50 0001 C CNN F 3 "" H 4450 2200 50 0001 C CNN 1 4450 2200 -1 0 0 1 $EndComp Text Notes 3400 2350 0 60 ~ 0 1 = LED1 GND\n2 = LED1 +12V\n3 = LED2 GND\n4 = LED2 +12V Wire Wire Line 5650 1800 5700 1800 Wire Wire Line 5650 2500 5700 2500 $Comp L power:+12V #PWR017 U 1 1 5B8CDFC1 P 4800 2000 F 0 "#PWR017" H 4800 1850 50 0001 C CNN F 1 "+12V" H 4815 2173 50 0000 C CNN F 2 "" H 4800 2000 50 0001 C CNN F 3 "" H 4800 2000 50 0001 C CNN 1 4800 2000 0 1 1 0 $EndComp $Comp L power:+12V #PWR019 U 1 1 5B8CE24A P 4800 2200 F 0 "#PWR019" H 4800 2050 50 0001 C CNN F 1 "+12V" H 4815 2373 50 0000 C CNN F 2 "" H 4800 2200 50 0001 C CNN F 3 "" H 4800 2200 50 0001 C CNN 1 4800 2200 0 1 1 0 $EndComp Wire Wire Line 4650 2000 4800 2000 Wire Wire Line 4650 2200 4800 2200 Wire Wire Line 4650 2100 5150 2100 Wire Wire Line 5150 2100 5150 1800 Wire Wire Line 5150 1800 5250 1800 Wire Wire Line 4650 2300 5150 2300 Wire Wire Line 5150 2300 5150 2500 Wire Wire Line 5150 2500 5250 2500 Wire Wire Line 5950 2200 5450 2200 Wire Wire Line 6250 2100 6600 2100 Wire Wire Line 6600 2200 6250 2200 Wire Wire Line 3400 3300 3400 3150 $Comp L power:GND #PWR022 U 1 1 5B8D17BD P 2600 2900 F 0 "#PWR022" H 2600 2650 50 0001 C CNN F 1 "GND" H 2605 2727 50 0000 C CNN F 2 "" H 2600 2900 50 0001 C CNN F 3 "" H 2600 2900 50 0001 C CNN 1 2600 2900 -1 0 0 1 $EndComp Wire Wire Line 2350 3000 2350 2900 Wire Wire Line 2350 2900 2600 2900 Wire Wire Line 2850 2900 2850 3000 Connection ~ 2600 2900 NoConn ~ 6600 2500 NoConn ~ 6600 2600 NoConn ~ 6600 2700 NoConn ~ 6600 2800 NoConn ~ 8100 2200 NoConn ~ 8100 2300 NoConn ~ 8100 2400 NoConn ~ 8100 2500 NoConn ~ 8100 2600 NoConn ~ 8100 2700 NoConn ~ 8100 2800 NoConn ~ 8100 2900 NoConn ~ 8100 1900 Wire Wire Line 6450 5400 6650 5400 Wire Wire Line 8550 1800 9000 1800 Wire Wire Line 8350 1700 9000 1700 Wire Wire Line 4300 3900 4650 3900 Wire Wire Line 2350 3300 2850 3300 Wire Wire Line 2600 2900 2850 2900 Wire Wire Line 6600 2000 6500 2000 Wire Wire Line 6500 2000 6500 1900 Wire Wire Line 6600 1600 6500 1600 Connection ~ 6500 1600 Wire Wire Line 6500 1600 6500 1500 Wire Wire Line 6600 1700 6500 1700 Connection ~ 6500 1700 Wire Wire Line 6500 1700 6500 1600 Wire Wire Line 6600 1800 6500 1800 Connection ~ 6500 1800 Wire Wire Line 6500 1800 6500 1700 Wire Wire Line 6600 1900 6500 1900 Connection ~ 6500 1900 Wire Wire Line 6500 1900 6500 1800 $Comp L Device:R R4 U 1 1 5B8C6BF9 P 6500 1350 F 0 "R4" V 6293 1350 50 0000 C CNN F 1 "10K" V 6384 1350 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 6430 1350 50 0001 C CNN F 3 "" H 6500 1350 50 0001 C CNN 1 6500 1350 -1 0 0 1 $EndComp $Comp L power:GND #PWR021 U 1 1 5B8C6F7E P 6500 1150 F 0 "#PWR021" H 6500 900 50 0001 C CNN F 1 "GND" H 6505 977 50 0000 C CNN F 2 "" H 6500 1150 50 0001 C CNN F 3 "" H 6500 1150 50 0001 C CNN 1 6500 1150 -1 0 0 1 $EndComp Wire Wire Line 6500 1150 6500 1200 Wire Wire Line 6400 1600 6500 1600 Text Label 6400 1600 2 50 ~ 0 PD Wire Wire Line 8200 2000 8150 2000 Text Label 8200 2000 0 50 ~ 0 PD Wire Wire Line 8100 2100 8150 2100 Wire Wire Line 8150 2100 8150 2000 Connection ~ 8150 2000 Wire Wire Line 8150 2000 8100 2000 Text Notes 10050 4250 0 60 ~ 0 1 = +12V\n2 = GND Wire Wire Line 9350 4200 8900 4200 $Comp L power:GND #PWR024 U 1 1 5B8E6FA0 P 8900 4350 F 0 "#PWR024" H 8900 4100 50 0001 C CNN F 1 "GND" H 8905 4177 50 0000 C CNN F 2 "" H 8900 4350 50 0001 C CNN F 3 "" H 8900 4350 50 0001 C CNN 1 8900 4350 1 0 0 -1 $EndComp $Comp L power:+12V #PWR023 U 1 1 5B8E7817 P 8900 4000 F 0 "#PWR023" H 8900 3850 50 0001 C CNN F 1 "+12V" H 8915 4173 50 0000 C CNN F 2 "" H 8900 4000 50 0001 C CNN F 3 "" H 8900 4000 50 0001 C CNN 1 8900 4000 1 0 0 -1 $EndComp Wire Wire Line 8900 4000 8900 4100 Connection ~ 8900 4100 Wire Wire Line 8900 4100 9350 4100 Wire Wire Line 8900 4350 8900 4200 Connection ~ 8900 4200 $Comp L power:+12V #PWR0101 U 1 1 5B8ED6A9 P 1000 1100 F 0 "#PWR0101" H 1000 950 50 0001 C CNN F 1 "+12V" H 1015 1273 50 0000 C CNN F 2 "" H 1000 1100 50 0001 C CNN F 3 "" H 1000 1100 50 0001 C CNN 1 1000 1100 1 0 0 -1 $EndComp $Comp L power:PWR_FLAG #FLG0101 U 1 1 5B8ED6E0 P 1000 1100 F 0 "#FLG0101" H 1000 1175 50 0001 C CNN F 1 "PWR_FLAG" H 1000 1273 50 0000 C CNN F 2 "" H 1000 1100 50 0001 C CNN F 3 "" H 1000 1100 50 0001 C CNN 1 1000 1100 -1 0 0 1 $EndComp NoConn ~ 4000 3700 NoConn ~ 4000 3800 NoConn ~ 4000 5700 NoConn ~ 4000 5800 $Comp L Device:R R5 U 1 1 5B925FBE P 4350 4950 F 0 "R5" V 4143 4950 50 0000 C CNN F 1 "10K" V 4234 4950 50 0000 C CNN F 2 "Resistors_SMD:R_0603" V 4280 4950 50 0001 C CNN F 3 "" H 4350 4950 50 0001 C CNN 1 4350 4950 1 0 0 1 $EndComp $Comp L power:+5V #PWR0102 U 1 1 5B92641E P 4350 4700 F 0 "#PWR0102" H 4350 4550 50 0001 C CNN F 1 "+5V" H 4365 4873 50 0000 C CNN F 2 "" H 4350 4700 50 0001 C CNN F 3 "" H 4350 4700 50 0001 C CNN 1 4350 4700 -1 0 0 -1 $EndComp Wire Wire Line 4350 4700 4350 4800 $Comp L power:GND #PWR0103 U 1 1 5B92CB1E P 1000 1700 F 0 "#PWR0103" H 1000 1450 50 0001 C CNN F 1 "GND" H 1005 1527 50 0000 C CNN F 2 "" H 1000 1700 50 0001 C CNN F 3 "" H 1000 1700 50 0001 C CNN 1 1000 1700 1 0 0 -1 $EndComp $Comp L power:PWR_FLAG #FLG0102 U 1 1 5B92CB57 P 1000 1700 F 0 "#FLG0102" H 1000 1775 50 0001 C CNN F 1 "PWR_FLAG" H 1000 1873 50 0000 C CNN F 2 "" H 1000 1700 50 0001 C CNN F 3 "" H 1000 1700 50 0001 C CNN 1 1000 1700 1 0 0 -1 $EndComp Text Notes 5500 6750 0 60 ~ 0 1 = Sensor 1 +5V\n2 = Sensor 1 GND\n3 = Sensor 1 DATA\n4 = Sensor 2 +5V\n5 = Sensor 2 GND\n6 = Sensor 2 DATA\n $Comp L power:+5V #PWR0104 U 1 1 5B93F20D P 4750 6400 F 0 "#PWR0104" H 4750 6250 50 0001 C CNN F 1 "+5V" H 4750 6700 50 0000 C CNN F 2 "" H 4750 6400 50 0001 C CNN F 3 "" H 4750 6400 50 0001 C CNN 1 4750 6400 0 -1 -1 0 $EndComp $Comp L power:+5V #PWR0105 U 1 1 5B93F49C P 4750 6700 F 0 "#PWR0105" H 4750 6550 50 0001 C CNN F 1 "+5V" H 4750 7000 50 0000 C CNN F 2 "" H 4750 6700 50 0001 C CNN F 3 "" H 4750 6700 50 0001 C CNN 1 4750 6700 0 -1 -1 0 $EndComp $Comp L power:GND #PWR0106 U 1 1 5B93F503 P 4750 6300 F 0 "#PWR0106" H 4750 6050 50 0001 C CNN F 1 "GND" H 4755 6127 50 0000 C CNN F 2 "" H 4750 6300 50 0001 C CNN F 3 "" H 4750 6300 50 0001 C CNN 1 4750 6300 0 1 1 0 $EndComp $Comp L power:GND #PWR0107 U 1 1 5B93F5DD P 4750 6600 F 0 "#PWR0107" H 4750 6350 50 0001 C CNN F 1 "GND" H 4755 6427 50 0000 C CNN F 2 "" H 4750 6600 50 0001 C CNN F 3 "" H 4750 6600 50 0001 C CNN 1 4750 6600 0 1 1 0 $EndComp Wire Wire Line 4750 6400 4900 6400 Wire Wire Line 4750 6300 4900 6300 Wire Wire Line 4750 6700 4900 6700 Wire Wire Line 4750 6600 4900 6600 Wire Wire Line 4000 4700 4200 4700 Wire Wire Line 4200 4700 4200 6200 Wire Wire Line 4200 6200 4900 6200 Wire Wire Line 4000 4600 4100 4600 Wire Wire Line 4100 4600 4100 6500 Wire Wire Line 4100 6500 4900 6500 Text Notes 6850 5500 0 60 ~ 0 1 = RS485 A\n2 = RS485 B Wire Wire Line 6650 5500 6650 5600 Wire Wire Line 8500 4100 8900 4100 Wire Wire Line 8500 4200 8900 4200 Wire Wire Line 5450 2100 5950 2100 $Comp L Connector_Generic:Conn_02x03_Odd_Even J1 U 1 1 5BEBD38C P 9250 5550 F 0 "J1" H 9300 5867 50 0000 C CNN F 1 "PROG" H 9300 5776 50 0000 C CNN F 2 "Pin_Headers:Pin_Header_Straight_2x03_Pitch2.54mm" H 9250 5550 50 0001 C CNN F 3 "~" H 9250 5550 50 0001 C CNN 1 9250 5550 1 0 0 -1 $EndComp Text GLabel 9050 5450 0 50 Input ~ 0 MISO Text GLabel 9050 5550 0 50 Input ~ 0 SCK Text GLabel 9050 5650 0 50 Input ~ 0 RST Text GLabel 9550 5550 2 50 Input ~ 0 MOSI $Comp L power:+5V #PWR0108 U 1 1 5BEBE75C P 9650 5450 F 0 "#PWR0108" H 9650 5300 50 0001 C CNN F 1 "+5V" H 9665 5623 50 0000 C CNN F 2 "" H 9650 5450 50 0001 C CNN F 3 "" H 9650 5450 50 0001 C CNN 1 9650 5450 1 0 0 -1 $EndComp $Comp L power:GND #PWR0109 U 1 1 5BEBE86F P 9650 5650 F 0 "#PWR0109" H 9650 5400 50 0001 C CNN F 1 "GND" H 9655 5477 50 0000 C CNN F 2 "" H 9650 5650 50 0001 C CNN F 3 "" H 9650 5650 50 0001 C CNN 1 9650 5650 1 0 0 -1 $EndComp Wire Wire Line 9550 5450 9650 5450 Wire Wire Line 9550 5650 9650 5650 Text GLabel 4550 5100 2 50 Input ~ 0 RST Wire Wire Line 4550 5100 4350 5100 Text GLabel 5200 4000 2 50 Input ~ 0 MISO Text GLabel 4500 4200 2 50 Input ~ 0 SCK Text GLabel 4300 3800 2 50 Input ~ 0 MOSI Wire Wire Line 4300 4100 4300 4200 Wire Wire Line 4300 4200 4500 4200 Connection ~ 4300 4100 Wire Wire Line 4300 4100 4850 4100 Wire Wire Line 4700 5500 4000 5500 Connection ~ 4700 5500 $Comp L Switch:SW_Push SW1 U 1 1 5BF329CF P 4700 2800 F 0 "SW1" H 4700 3085 50 0000 C CNN F 1 "Button" H 4700 2994 50 0000 C CNN F 2 "SMD-BUTTON_4P-5.2X5.2X1.5MM-SKQGAKE010_:SW4-SMD-5.2X5.2X1.5MM" H 4700 3000 50 0001 C CNN F 3 "" H 4700 3000 50 0001 C CNN 1 4700 2800 1 0 0 -1 $EndComp Wire Wire Line 4000 3600 4050 3600 Wire Wire Line 4050 2800 4500 2800 $Comp L power:GND #PWR01 U 1 1 5BF4430D P 4900 2800 F 0 "#PWR01" H 4900 2550 50 0001 C CNN F 1 "GND" H 4905 2627 50 0000 C CNN F 2 "" H 4900 2800 50 0001 C CNN F 3 "" H 4900 2800 50 0001 C CNN 1 4900 2800 1 0 0 -1 $EndComp $Comp L MCU_Microchip_ATmega:ATmega328-AU U1 U 1 1 5BF96964 P 3400 4800 F 0 "U1" H 2500 3650 50 0000 C CNN F 1 "ATmega328-AU" H 2500 3750 50 0000 C CNN F 2 "Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm" H 3400 4800 50 0001 C CIN F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf" H 3400 4800 50 0001 C CNN 1 3400 4800 1 0 0 -1 $EndComp Wire Wire Line 4050 2800 4050 3600 Wire Wire Line 3400 3300 3500 3300 Connection ~ 3400 3300 Wire Wire Line 3400 3300 2850 3300 Connection ~ 2850 3300 Wire Wire Line 4000 4300 4000 4350 Wire Wire Line 4000 4350 2500 4350 Connection ~ 2500 4350 Wire Wire Line 2500 4350 2500 4250 Wire Wire Line 4000 4200 4050 4200 Wire Wire Line 4050 4200 4050 4400 Wire Wire Line 4050 4400 2850 4400 Wire Wire Line 2850 4400 2850 4650 Wire Wire Line 2850 4650 2500 4650 Connection ~ 2500 4650 Wire Wire Line 2500 4650 2500 4750 NoConn ~ 4000 4500 NoConn ~ 4000 5600 NoConn ~ 4000 5900 NoConn ~ 4000 4800 NoConn ~ 4000 4900 NoConn ~ 4000 5000 Connection ~ 4350 5100 Wire Wire Line 4000 5100 4350 5100 $Comp L Device:R R6 U 1 1 5C0CFA3C P 5000 4250 F 0 "R6" H 5070 4296 50 0000 L CNN F 1 "4.7K" H 5070 4205 50 0000 L CNN F 2 "Resistors_SMD:R_0603" V 4930 4250 50 0001 C CNN F 3 "" H 5000 4250 50 0001 C CNN 1 5000 4250 1 0 0 -1 $EndComp $Comp L power:+5V #PWR04 U 1 1 5C0CFAB6 P 5000 4500 F 0 "#PWR04" H 5000 4350 50 0001 C CNN F 1 "+5V" H 5015 4673 50 0000 C CNN F 2 "" H 5000 4500 50 0001 C CNN F 3 "" H 5000 4500 50 0001 C CNN 1 5000 4500 -1 0 0 1 $EndComp Wire Wire Line 4000 4000 5000 4000 Wire Wire Line 5000 4100 5000 4000 Connection ~ 5000 4000 Wire Wire Line 5000 4000 5200 4000 Wire Wire Line 5000 4400 5000 4500 $Comp L Device:C C5 U 1 1 5C0DFCEB P 2350 3600 F 0 "C5" H 2465 3646 50 0000 L CNN F 1 "100nF" H 2465 3555 50 0000 L CNN F 2 "Capacitors_SMD:C_1206" H 2388 3450 50 0001 C CNN F 3 "" H 2350 3600 50 0001 C CNN 1 2350 3600 0 1 1 0 $EndComp $Comp L power:GND #PWR0110 U 1 1 5C0DFED2 P 2050 3600 F 0 "#PWR0110" H 2050 3350 50 0001 C CNN F 1 "GND" H 2055 3427 50 0000 C CNN F 2 "" H 2050 3600 50 0001 C CNN F 3 "" H 2050 3600 50 0001 C CNN 1 2050 3600 0 1 1 0 $EndComp Wire Wire Line 2050 3600 2200 3600 Wire Wire Line 2500 3600 2800 3600 NoConn ~ 2800 3800 NoConn ~ 2800 3900 NoConn ~ 4000 6000 $Comp L Device:LED D1 U 1 1 5BFAB89C P 6100 2700 F 0 "D1" H 6091 2916 50 0000 C CNN F 1 "LED" H 6091 2825 50 0000 C CNN F 2 "LEDs:LED_D5.0mm" H 6100 2700 50 0001 C CNN F 3 "~" H 6100 2700 50 0001 C CNN 1 6100 2700 1 0 0 -1 $EndComp $Comp L Device:LED D2 U 1 1 5BFABDA6 P 6100 3050 F 0 "D2" H 6091 3266 50 0000 C CNN F 1 "LED" H 6091 3175 50 0000 C CNN F 2 "LEDs:LED_D5.0mm" H 6100 3050 50 0001 C CNN F 3 "~" H 6100 3050 50 0001 C CNN 1 6100 3050 1 0 0 -1 $EndComp Wire Wire Line 6600 2300 6400 2300 Wire Wire Line 6400 2300 6400 2700 Wire Wire Line 6400 2700 6250 2700 Wire Wire Line 6600 2400 6450 2400 Wire Wire Line 6450 2400 6450 2800 Wire Wire Line 6450 2800 6250 2800 Wire Wire Line 6250 2800 6250 3050 $Comp L power:GND #PWR0111 U 1 1 5BFB7415 P 5750 3050 F 0 "#PWR0111" H 5750 2800 50 0001 C CNN F 1 "GND" H 5755 2877 50 0000 C CNN F 2 "" H 5750 3050 50 0001 C CNN F 3 "" H 5750 3050 50 0001 C CNN 1 5750 3050 1 0 0 -1 $EndComp Wire Wire Line 5950 2700 5750 2700 Wire Wire Line 5750 2700 5750 3050 Wire Wire Line 5950 3050 5750 3050 Connection ~ 5750 3050 $EndSCHEMATC