Stairs/kicad/Stairs.sch

993 lines
22 KiB
Plaintext
Raw Normal View History

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 7950 2600
F 0 "PCA9685" H 7950 3615 50 0000 C CNN
F 1 "PCA9685-TSSOP" H 7950 3524 50 0000 C CNN
F 2 "Housings_SSOP:TSSOP-28_4.4x9.7mm_Pitch0.65mm" H 7950 2600 50 0001 C CNN
F 3 "DOCUMENTATION" H 7950 2600 50 0001 C CNN
1 7950 2600
1 0 0 -1
$EndComp
$Comp
L MAX485:MAX485 U2
U 1 1 5B8AD72A
P 6050 5050
F 0 "U2" H 6050 5517 50 0000 C CNN
F 1 "MAX485" H 6050 5426 50 0000 C CNN
F 2 "Housings_SOIC:SO-8_5.3x6.2mm_Pitch1.27mm" H 6050 5050 60 0001 C CNN
F 3 "Maxim Integrated" H 6050 5050 50 0001 L BNN
F 4 "None" H 6050 5050 50 0001 L BNN "Field4"
F 5 "Unavailable" H 6050 5050 50 0001 L BNN "Field5"
F 6 "None" H 6050 5050 50 0001 L BNN "Field6"
F 7 "MAX485" H 6050 5050 50 0001 L BNN "Field7"
F 8 "" H 6050 5050 50 0001 L BNN "Field8"
1 6050 5050
1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x02 P6
U 1 1 5B8AD8CA
P 4650 6700
F 0 "P6" H 4728 6741 50 0000 L CNN
F 1 "PWR_IN" H 4728 6650 50 0000 L CNN
F 2 "Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm" H 4650 6700 50 0001 C CNN
F 3 "" H 4650 6700 50 0001 C CNN
1 4650 6700
1 0 0 1
$EndComp
$Comp
L Connector_Generic:Conn_01x02 P5
U 1 1 5B8ADA74
P 3400 6600
F 0 "P5" H 3700 6550 50 0000 C CNN
F 1 "PWR_OUT" H 3750 6650 50 0000 C CNN
F 2 "Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm" H 3400 6600 50 0001 C CNN
F 3 "" H 3400 6600 50 0001 C CNN
1 3400 6600
-1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x06 P3
U 1 1 5B8AE6A5
P 5700 6050
F 0 "P3" H 5778 6091 50 0000 L CNN
F 1 "SENSOR" H 5778 6000 50 0000 L CNN
F 2 "Terminal_Blocks:TerminalBlock_bornier-6_P5.08mm" H 5700 6050 50 0001 C CNN
F 3 "" H 5700 6050 50 0001 C CNN
1 5700 6050
1 0 0 1
$EndComp
$Comp
L Connector_Generic:Conn_01x02 P1
U 1 1 5B8AE987
P 7250 4650
F 0 "P1" H 7328 4691 50 0000 L CNN
F 1 "DATA_IN" H 7328 4600 50 0000 L CNN
F 2 "Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm" H 7250 4650 50 0001 C CNN
F 3 "" H 7250 4650 50 0001 C CNN
1 7250 4650
0 1 -1 0
$EndComp
$Comp
L Connector_Generic:Conn_01x02 P2
U 1 1 5B8AE9DD
P 7250 5350
F 0 "P2" H 7550 5300 50 0000 C CNN
F 1 "DATA_OUT" H 7600 5400 50 0000 C CNN
F 2 "Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm" H 7250 5350 50 0001 C CNN
F 3 "" H 7250 5350 50 0001 C CNN
1 7250 5350
0 1 1 0
$EndComp
$Comp
L AMS1117-5.0:AMS1117-5.0 AMS1117
U 1 1 5B8AFB24
P 2450 2150
F 0 "AMS1117" H 2450 2517 50 0000 C CNN
F 1 "AMS1117-5" H 2450 2426 50 0000 C CNN
F 2 "AMS1117-5.0:SOT229P700X180-4N" H 2450 2150 50 0001 L BNN
F 3 "AMS1117-5.0" H 2450 2150 50 0001 L BNN
F 4 "None" H 2450 2150 50 0001 L BNN "Field4"
F 5 "Unavailable" H 2450 2150 50 0001 L BNN "Field5"
F 6 "Sot223/Pkg 1-Amp 3.3-Volt Low Drop Out Voltage Regulatator" H 2450 2150 50 0001 L BNN "Field6"
F 7 "Advanced Monolithic Systems" H 2450 2150 50 0001 L BNN "Field7"
F 8 "None" H 2450 2150 50 0001 L BNN "Field8"
1 2450 2150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR05
U 1 1 5B8AFFEE
P 3200 2400
F 0 "#PWR05" H 3200 2150 50 0001 C CNN
F 1 "GND" H 3205 2227 50 0000 C CNN
F 2 "" H 3200 2400 50 0001 C CNN
F 3 "" H 3200 2400 50 0001 C CNN
1 3200 2400
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR02
U 1 1 5B8B02AC
P 1700 1900
F 0 "#PWR02" H 1700 1750 50 0001 C CNN
F 1 "+12V" H 1715 2073 50 0000 C CNN
F 2 "" H 1700 1900 50 0001 C CNN
F 3 "" H 1700 1900 50 0001 C CNN
1 1700 1900
1 0 0 -1
$EndComp
Wire Wire Line
1700 1900 1700 2050
Wire Wire Line
1700 2050 1850 2050
Wire Wire Line
3050 2050 3200 2050
Wire Wire Line
3200 2050 3200 1900
Wire Wire Line
3050 2250 3200 2250
Wire Wire Line
3200 2250 3200 2400
$Comp
L Device:C C3
U 1 1 5B8B090B
P 4450 3500
F 0 "C3" H 4565 3546 50 0000 L CNN
F 1 "10µF" H 4565 3455 50 0000 L CNN
F 2 "Capacitors_Tantalum_SMD:CP_Tantalum_Case-D_EIA-7343-31_Hand" H 4488 3350 50 0001 C CNN
F 3 "" H 4450 3500 50 0001 C CNN
1 4450 3500
1 0 0 -1
$EndComp
$Comp
L Device:C C4
U 1 1 5B8B1267
P 4950 3500
F 0 "C4" H 5065 3546 50 0000 L CNN
F 1 "100nF" H 5065 3455 50 0000 L CNN
F 2 "Capacitors_SMD:C_1206_HandSoldering" H 4988 3350 50 0001 C CNN
F 3 "" H 4950 3500 50 0001 C CNN
1 4950 3500
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR011
U 1 1 5B8B1C8E
P 4000 5850
F 0 "#PWR011" H 4000 5600 50 0001 C CNN
F 1 "GND" H 4005 5677 50 0000 C CNN
F 2 "" H 4000 5850 50 0001 C CNN
F 3 "" H 4000 5850 50 0001 C CNN
1 4000 5850
1 0 0 -1
$EndComp
Wire Wire Line
4000 5750 4000 5850
$Comp
L power:GND #PWR013
U 1 1 5B8B3466
P 6750 5150
F 0 "#PWR013" H 6750 4900 50 0001 C CNN
F 1 "GND" H 6755 4977 50 0000 C CNN
F 2 "" H 6750 5150 50 0001 C CNN
F 3 "" H 6750 5150 50 0001 C CNN
1 6750 5150
1 0 0 -1
$EndComp
Wire Wire Line
6650 4850 6750 4850
Wire Wire Line
6650 5150 6750 5150
$Comp
L power:GND #PWR010
U 1 1 5B8B3A20
P 7050 3250
F 0 "#PWR010" H 7050 3000 50 0001 C CNN
F 1 "GND" H 7055 3077 50 0000 C CNN
F 2 "" H 7050 3250 50 0001 C CNN
F 3 "" H 7050 3250 50 0001 C CNN
1 7050 3250
1 0 0 -1
$EndComp
Wire Wire Line
7050 3250 7200 3250
Wire Wire Line
8850 1950 8700 1950
$Comp
L power:+5V #PWR03
U 1 1 5B8B883E
P 3200 1900
F 0 "#PWR03" H 3200 1750 50 0001 C CNN
F 1 "+5V" H 3215 2073 50 0000 C CNN
F 2 "" H 3200 1900 50 0001 C CNN
F 3 "" H 3200 1900 50 0001 C CNN
1 3200 1900
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR06
U 1 1 5B8B8A0A
P 4000 3500
F 0 "#PWR06" H 4000 3350 50 0001 C CNN
F 1 "+5V" H 4015 3673 50 0000 C CNN
F 2 "" H 4000 3500 50 0001 C CNN
F 3 "" H 4000 3500 50 0001 C CNN
1 4000 3500
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR012
U 1 1 5B8B8BF6
P 6750 4850
F 0 "#PWR012" H 6750 4700 50 0001 C CNN
F 1 "+5V" H 6765 5023 50 0000 C CNN
F 2 "" H 6750 4850 50 0001 C CNN
F 3 "" H 6750 4850 50 0001 C CNN
1 6750 4850
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR07
U 1 1 5B8B8E5A
P 8850 1950
F 0 "#PWR07" H 8850 1800 50 0001 C CNN
F 1 "+5V" H 8865 2123 50 0000 C CNN
F 2 "" H 8850 1950 50 0001 C CNN
F 3 "" H 8850 1950 50 0001 C CNN
1 8850 1950
1 0 0 -1
$EndComp
$Comp
L MCU_Microchip_ATtiny:ATtiny2313A-SU U1
U 1 1 5B8AD3B8
P 4000 4750
F 0 "U1" H 4000 6400 50 0000 C CNN
F 1 "ATTINY2313A-SU" H 4000 6300 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-20W_7.5x12.8mm_Pitch1.27mm" H 4000 4750 50 0001 C CIN
F 3 "" H 4000 4750 50 0001 C CNN
1 4000 4750
1 0 0 -1
$EndComp
$Comp
L Device:C C2
U 1 1 5B8B93C9
P 2350 4000
F 0 "C2" H 2465 4046 50 0000 L CNN
F 1 "33pF" H 2465 3955 50 0000 L CNN
F 2 "Capacitors_SMD:C_1206_HandSoldering" H 2388 3850 50 0001 C CNN
F 3 "" H 2350 4000 50 0001 C CNN
1 2350 4000
0 1 1 0
$EndComp
$Comp
L Device:C C1
U 1 1 5B8B9824
P 2350 4500
F 0 "C1" H 2465 4546 50 0000 L CNN
F 1 "33pF" H 2465 4455 50 0000 L CNN
F 2 "Capacitors_SMD:C_1206_HandSoldering" H 2388 4350 50 0001 C CNN
F 3 "" H 2350 4500 50 0001 C CNN
1 2350 4500
0 1 1 0
$EndComp
$Comp
L Device:Crystal_Small XTAL1
U 1 1 5B8B9A62
P 2600 4250
F 0 "XTAL1" V 2554 4338 50 0000 L CNN
F 1 "8 Mhz" V 2645 4338 50 0000 L CNN
F 2 "Crystals:Crystal_HC49-U_Vertical" H 2600 4250 50 0001 C CNN
F 3 "" H 2600 4250 50 0001 C CNN
1 2600 4250
0 1 1 0
$EndComp
Wire Wire Line
3400 4350 2600 4350
Wire Wire Line
2600 4000 2500 4000
Wire Wire Line
2600 4350 2600 4500
Wire Wire Line
2600 4500 2500 4500
Wire Wire Line
3400 4150 2600 4150
Wire Wire Line
2600 4150 2600 4000
$Comp
L power:GND #PWR09
U 1 1 5B8B9DAC
P 2100 4500
F 0 "#PWR09" H 2100 4250 50 0001 C CNN
F 1 "GND" H 2105 4327 50 0000 C CNN
F 2 "" H 2100 4500 50 0001 C CNN
F 3 "" H 2100 4500 50 0001 C CNN
1 2100 4500
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR08
U 1 1 5B8B9E4D
P 2100 4000
F 0 "#PWR08" H 2100 3750 50 0001 C CNN
F 1 "GND" H 2105 3827 50 0000 C CNN
F 2 "" H 2100 4000 50 0001 C CNN
F 3 "" H 2100 4000 50 0001 C CNN
1 2100 4000
1 0 0 -1
$EndComp
Wire Wire Line
2200 4000 2100 4000
Wire Wire Line
2200 4500 2100 4500
Wire Wire Line
6650 5050 7250 5050
Wire Wire Line
7250 5000 7250 5050
Wire Wire Line
6650 4950 7050 4950
Wire Wire Line
7250 4950 7250 4850
Wire Wire Line
7150 4850 7150 5000
Wire Wire Line
7150 5000 7250 5000
Connection ~ 7250 5050
Wire Wire Line
7150 5150 7050 5150
Wire Wire Line
7050 5150 7050 4950
Connection ~ 7050 4950
Wire Wire Line
5450 4950 5300 4950
Wire Wire Line
5300 4950 5300 5050
Wire Wire Line
5300 5050 5450 5050
$Comp
L Device:R R1
U 1 1 5B8C2380
P 4900 4150
F 0 "R1" H 4970 4196 50 0000 L CNN
F 1 "10K" H 4970 4105 50 0000 L CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 4830 4150 50 0001 C CNN
F 3 "" H 4900 4150 50 0001 C CNN
1 4900 4150
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR014
U 1 1 5B8C2462
P 4900 3950
F 0 "#PWR014" H 4900 3800 50 0001 C CNN
F 1 "+5V" H 4915 4123 50 0000 C CNN
F 2 "" H 4900 3950 50 0001 C CNN
F 3 "" H 4900 3950 50 0001 C CNN
1 4900 3950
1 0 0 -1
$EndComp
Wire Wire Line
4900 3950 4900 4000
Wire Wire Line
4600 4450 4900 4450
Wire Wire Line
4900 4450 4900 4300
$Comp
L Connector_Generic:Conn_01x04 P7
U 1 1 5B8C32B0
P 9800 2150
F 0 "P7" H 9877 2191 50 0000 L CNN
F 1 "SSD1306" H 9877 2100 50 0000 L CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm" H 9800 2150 50 0001 C CNN
F 3 "" H 9800 2150 50 0001 C CNN
1 9800 2150
1 0 0 -1
$EndComp
Text Notes 10350 2400 0 60 ~ 0
1 = SDA\n2 = SCL\n3 = VCC\n4 = GND
$Comp
L power:+5V #PWR016
U 1 1 5B8C452D
P 9350 2250
F 0 "#PWR016" H 9350 2100 50 0001 C CNN
F 1 "+5V" H 9365 2423 50 0000 C CNN
F 2 "" H 9350 2250 50 0001 C CNN
F 3 "" H 9350 2250 50 0001 C CNN
1 9350 2250
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR018
U 1 1 5B8C457C
P 9500 2350
F 0 "#PWR018" H 9500 2100 50 0001 C CNN
F 1 "GND" H 9505 2177 50 0000 C CNN
F 2 "" H 9500 2350 50 0001 C CNN
F 3 "" H 9500 2350 50 0001 C CNN
1 9500 2350
1 0 0 -1
$EndComp
Wire Wire Line
9600 2350 9500 2350
Wire Wire Line
9600 2250 9350 2250
Wire Wire Line
8700 2050 8950 2050
Wire Wire Line
8700 2150 9150 2150
Connection ~ 9150 2150
Connection ~ 8950 2050
Connection ~ 4900 4450
Wire Wire Line
5150 5150 5450 5150
$Comp
L Transistor_FET:IRLB8721PBF Q1
U 1 1 5B8C8EA8
P 6050 2250
F 0 "Q1" V 6378 2250 50 0000 C CNN
F 1 "IRLB8721PBF" V 6287 2250 50 0000 C CNN
F 2 "TO_SOT_Packages_THT:TO-220-3_Horizontal" H 6300 2175 50 0001 L CIN
F 3 "" H 6050 2250 50 0001 L CNN
1 6050 2250
0 -1 -1 0
$EndComp
Wire Wire Line
5450 4850 4600 4850
Wire Wire Line
4600 4950 5150 4950
Wire Wire Line
5150 4950 5150 5150
Wire Wire Line
4600 4650 4700 4650
Wire Wire Line
5450 4650 5450 3950
Wire Wire Line
5450 3950 9150 3950
Wire Wire Line
9150 3950 9150 2150
Wire Wire Line
8950 2050 8950 3750
Wire Wire Line
8950 3750 5250 3750
Wire Wire Line
5250 3750 5250 4450
$Comp
L Device:R R2
U 1 1 5B8CAD1E
P 6700 2450
F 0 "R2" V 6493 2450 50 0000 C CNN
F 1 "150" V 6584 2450 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 6630 2450 50 0001 C CNN
F 3 "" H 6700 2450 50 0001 C CNN
1 6700 2450
0 1 1 0
$EndComp
$Comp
L Device:R R3
U 1 1 5B8CAE68
P 6700 2550
F 0 "R3" V 6900 2550 50 0000 C CNN
F 1 "150" V 6800 2550 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 6630 2550 50 0001 C CNN
F 3 "" H 6700 2550 50 0001 C CNN
1 6700 2550
0 1 1 0
$EndComp
$Comp
L Transistor_FET:IRLB8721PBF Q2
U 1 1 5B8CB00E
P 6050 2750
F 0 "Q2" V 6286 2750 50 0000 C CNN
F 1 "IRLB8721PBF" V 6377 2750 50 0000 C CNN
F 2 "TO_SOT_Packages_THT:TO-220-3_Horizontal" H 6300 2675 50 0001 L CIN
F 3 "" H 6050 2750 50 0001 L CNN
1 6050 2750
0 -1 1 0
$EndComp
$Comp
L power:GND #PWR015
U 1 1 5B8CB569
P 6300 2150
F 0 "#PWR015" H 6300 1900 50 0001 C CNN
F 1 "GND" H 6305 1977 50 0000 C CNN
F 2 "" H 6300 2150 50 0001 C CNN
F 3 "" H 6300 2150 50 0001 C CNN
1 6300 2150
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR020
U 1 1 5B8CB5C8
P 6300 2850
F 0 "#PWR020" H 6300 2600 50 0001 C CNN
F 1 "GND" H 6305 2677 50 0000 C CNN
F 2 "" H 6300 2850 50 0001 C CNN
F 3 "" H 6300 2850 50 0001 C CNN
1 6300 2850
0 -1 -1 0
$EndComp
$Comp
L Connector_Generic:Conn_01x04 P4
U 1 1 5B8CBF27
P 5050 2550
F 0 "P4" H 5128 2591 50 0000 L CNN
F 1 "LED" H 5128 2500 50 0000 L CNN
F 2 "Terminal_Blocks:TerminalBlock_bornier-4_P5.08mm" H 5050 2550 50 0001 C CNN
F 3 "" H 5050 2550 50 0001 C CNN
1 5050 2550
-1 0 0 1
$EndComp
Text Notes 4000 2700 0 60 ~ 0
1 = LED1 +12V\n2 = LED1 GND\n3 = LED2 +12V\n4 = LED2 GND
Wire Wire Line
6250 2150 6300 2150
Wire Wire Line
6250 2850 6300 2850
$Comp
L power:+12V #PWR017
U 1 1 5B8CDFC1
P 5400 2350
F 0 "#PWR017" H 5400 2200 50 0001 C CNN
F 1 "+12V" H 5415 2523 50 0000 C CNN
F 2 "" H 5400 2350 50 0001 C CNN
F 3 "" H 5400 2350 50 0001 C CNN
1 5400 2350
0 1 1 0
$EndComp
$Comp
L power:+12V #PWR019
U 1 1 5B8CE24A
P 5400 2550
F 0 "#PWR019" H 5400 2400 50 0001 C CNN
F 1 "+12V" H 5415 2723 50 0000 C CNN
F 2 "" H 5400 2550 50 0001 C CNN
F 3 "" H 5400 2550 50 0001 C CNN
1 5400 2550
0 1 1 0
$EndComp
Wire Wire Line
5250 2350 5400 2350
Wire Wire Line
5250 2550 5400 2550
Wire Wire Line
5250 2450 5750 2450
Wire Wire Line
5750 2450 5750 2150
Wire Wire Line
5750 2150 5850 2150
Wire Wire Line
5250 2650 5750 2650
Wire Wire Line
5750 2650 5750 2850
Wire Wire Line
5750 2850 5850 2850
Wire Wire Line
6550 2550 6050 2550
Wire Wire Line
6850 2450 7200 2450
Wire Wire Line
7200 2550 6850 2550
Wire Wire Line
4000 3650 4450 3650
Connection ~ 4450 3650
Wire Wire Line
4000 3650 4000 3500
$Comp
L power:GND #PWR022
U 1 1 5B8D17BD
P 4700 3250
F 0 "#PWR022" H 4700 3000 50 0001 C CNN
F 1 "GND" H 4705 3077 50 0000 C CNN
F 2 "" H 4700 3250 50 0001 C CNN
F 3 "" H 4700 3250 50 0001 C CNN
1 4700 3250
-1 0 0 1
$EndComp
Wire Wire Line
4450 3350 4450 3250
Wire Wire Line
4450 3250 4700 3250
Wire Wire Line
4950 3250 4950 3350
Connection ~ 4700 3250
NoConn ~ 7200 2650
NoConn ~ 7200 2750
NoConn ~ 7200 2850
NoConn ~ 7200 2950
NoConn ~ 7200 3050
NoConn ~ 7200 3150
NoConn ~ 8700 2550
NoConn ~ 8700 2650
NoConn ~ 8700 2750
NoConn ~ 8700 2850
NoConn ~ 8700 2950
NoConn ~ 8700 3050
NoConn ~ 8700 3150
NoConn ~ 8700 3250
NoConn ~ 8700 2250
Wire Wire Line
7050 4950 7250 4950
Wire Wire Line
9150 2150 9600 2150
Wire Wire Line
8950 2050 9600 2050
Wire Wire Line
4900 4450 5250 4450
Wire Wire Line
4450 3650 4950 3650
Wire Wire Line
4700 3250 4950 3250
Wire Wire Line
7200 2350 7100 2350
Wire Wire Line
7100 2350 7100 2250
Wire Wire Line
7200 1950 7100 1950
Connection ~ 7100 1950
Wire Wire Line
7100 1950 7100 1850
Wire Wire Line
7200 2050 7100 2050
Connection ~ 7100 2050
Wire Wire Line
7100 2050 7100 1950
Wire Wire Line
7200 2150 7100 2150
Connection ~ 7100 2150
Wire Wire Line
7100 2150 7100 2050
Wire Wire Line
7200 2250 7100 2250
Connection ~ 7100 2250
Wire Wire Line
7100 2250 7100 2150
$Comp
L Device:R R4
U 1 1 5B8C6BF9
P 7100 1700
F 0 "R4" V 6893 1700 50 0000 C CNN
F 1 "10K" V 6984 1700 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 7030 1700 50 0001 C CNN
F 3 "" H 7100 1700 50 0001 C CNN
1 7100 1700
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR021
U 1 1 5B8C6F7E
P 7100 1500
F 0 "#PWR021" H 7100 1250 50 0001 C CNN
F 1 "GND" H 7105 1327 50 0000 C CNN
F 2 "" H 7100 1500 50 0001 C CNN
F 3 "" H 7100 1500 50 0001 C CNN
1 7100 1500
-1 0 0 1
$EndComp
Wire Wire Line
7100 1500 7100 1550
Wire Wire Line
7000 1950 7100 1950
Text Label 7000 1950 2 50 ~ 0
PD
Wire Wire Line
8800 2350 8750 2350
Text Label 8800 2350 0 50 ~ 0
PD
Wire Wire Line
8700 2450 8750 2450
Wire Wire Line
8750 2450 8750 2350
Connection ~ 8750 2350
Wire Wire Line
8750 2350 8700 2350
Text Notes 5150 6750 0 60 ~ 0
1 = +12V\n2 = GND
Wire Wire Line
4450 6700 4000 6700
$Comp
L power:GND #PWR024
U 1 1 5B8E6FA0
P 4000 6850
F 0 "#PWR024" H 4000 6600 50 0001 C CNN
F 1 "GND" H 4005 6677 50 0000 C CNN
F 2 "" H 4000 6850 50 0001 C CNN
F 3 "" H 4000 6850 50 0001 C CNN
1 4000 6850
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR023
U 1 1 5B8E7817
P 4000 6500
F 0 "#PWR023" H 4000 6350 50 0001 C CNN
F 1 "+12V" H 4015 6673 50 0000 C CNN
F 2 "" H 4000 6500 50 0001 C CNN
F 3 "" H 4000 6500 50 0001 C CNN
1 4000 6500
1 0 0 -1
$EndComp
Wire Wire Line
4000 6500 4000 6600
Connection ~ 4000 6600
Wire Wire Line
4000 6600 4450 6600
Wire Wire Line
4000 6850 4000 6700
Connection ~ 4000 6700
$Comp
L power:+12V #PWR0101
U 1 1 5B8ED6A9
P 1200 1900
F 0 "#PWR0101" H 1200 1750 50 0001 C CNN
F 1 "+12V" H 1215 2073 50 0000 C CNN
F 2 "" H 1200 1900 50 0001 C CNN
F 3 "" H 1200 1900 50 0001 C CNN
1 1200 1900
1 0 0 -1
$EndComp
$Comp
L power:PWR_FLAG #FLG0101
U 1 1 5B8ED6E0
P 1200 1900
F 0 "#FLG0101" H 1200 1975 50 0001 C CNN
F 1 "PWR_FLAG" H 1200 2073 50 0000 C CNN
F 2 "" H 1200 1900 50 0001 C CNN
F 3 "" H 1200 1900 50 0001 C CNN
1 1200 1900
-1 0 0 1
$EndComp
NoConn ~ 4600 4050
NoConn ~ 4600 4150
NoConn ~ 4600 4250
NoConn ~ 4600 4350
NoConn ~ 4600 5250
NoConn ~ 4600 5350
$Comp
L Device:R R5
U 1 1 5B925FBE
P 3250 3800
F 0 "R5" V 3043 3800 50 0000 C CNN
F 1 "10K" V 3134 3800 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 3180 3800 50 0001 C CNN
F 3 "" H 3250 3800 50 0001 C CNN
1 3250 3800
-1 0 0 1
$EndComp
$Comp
L power:+5V #PWR0102
U 1 1 5B92641E
P 3250 3550
F 0 "#PWR0102" H 3250 3400 50 0001 C CNN
F 1 "+5V" H 3265 3723 50 0000 C CNN
F 2 "" H 3250 3550 50 0001 C CNN
F 3 "" H 3250 3550 50 0001 C CNN
1 3250 3550
1 0 0 -1
$EndComp
Wire Wire Line
3250 3550 3250 3650
Wire Wire Line
3250 3950 3400 3950
$Comp
L power:GND #PWR0103
U 1 1 5B92CB1E
P 1200 2500
F 0 "#PWR0103" H 1200 2250 50 0001 C CNN
F 1 "GND" H 1205 2327 50 0000 C CNN
F 2 "" H 1200 2500 50 0001 C CNN
F 3 "" H 1200 2500 50 0001 C CNN
1 1200 2500
1 0 0 -1
$EndComp
$Comp
L power:PWR_FLAG #FLG0102
U 1 1 5B92CB57
P 1200 2500
F 0 "#FLG0102" H 1200 2575 50 0001 C CNN
F 1 "PWR_FLAG" H 1200 2673 50 0000 C CNN
F 2 "" H 1200 2500 50 0001 C CNN
F 3 "" H 1200 2500 50 0001 C CNN
1 1200 2500
1 0 0 -1
$EndComp
Connection ~ 2600 4150
Connection ~ 2600 4350
Connection ~ 4000 3650
Text Notes 6100 6300 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 5350 5750
F 0 "#PWR0104" H 5350 5600 50 0001 C CNN
F 1 "+5V" H 5350 6050 50 0000 C CNN
F 2 "" H 5350 5750 50 0001 C CNN
F 3 "" H 5350 5750 50 0001 C CNN
1 5350 5750
0 -1 -1 0
$EndComp
$Comp
L power:+5V #PWR0105
U 1 1 5B93F49C
P 5350 6050
F 0 "#PWR0105" H 5350 5900 50 0001 C CNN
F 1 "+5V" H 5350 6350 50 0000 C CNN
F 2 "" H 5350 6050 50 0001 C CNN
F 3 "" H 5350 6050 50 0001 C CNN
1 5350 6050
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR0106
U 1 1 5B93F503
P 5350 5850
F 0 "#PWR0106" H 5350 5600 50 0001 C CNN
F 1 "GND" H 5355 5677 50 0000 C CNN
F 2 "" H 5350 5850 50 0001 C CNN
F 3 "" H 5350 5850 50 0001 C CNN
1 5350 5850
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0107
U 1 1 5B93F5DD
P 5350 6150
F 0 "#PWR0107" H 5350 5900 50 0001 C CNN
F 1 "GND" H 5355 5977 50 0000 C CNN
F 2 "" H 5350 6150 50 0001 C CNN
F 3 "" H 5350 6150 50 0001 C CNN
1 5350 6150
0 1 1 0
$EndComp
Wire Wire Line
5350 5750 5500 5750
Wire Wire Line
5350 5850 5500 5850
Wire Wire Line
5350 6050 5500 6050
Wire Wire Line
5350 6150 5500 6150
Wire Wire Line
4600 5050 4850 5050
Wire Wire Line
4850 5050 4850 5950
Wire Wire Line
4850 5950 5500 5950
Wire Wire Line
4600 5150 4750 5150
Wire Wire Line
4750 5150 4750 6250
Wire Wire Line
4750 6250 5500 6250
Text Notes 7450 5050 0 60 ~ 0
1 = RS485 A\n2 = RS485 B
Connection ~ 4000 5850
Wire Wire Line
7250 5050 7250 5150
Wire Wire Line
3600 6600 4000 6600
Wire Wire Line
3600 6700 4000 6700
Wire Wire Line
6050 2450 6550 2450
$Comp
L Connector_Generic:Conn_02x03_Counter_Clockwise J1
U 1 1 5BEBD38C
P 9850 5900
F 0 "J1" H 9900 6217 50 0000 C CNN
F 1 "PROG" H 9900 6126 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_2x03_Pitch2.54mm" H 9850 5900 50 0001 C CNN
F 3 "~" H 9850 5900 50 0001 C CNN
1 9850 5900
1 0 0 -1
$EndComp
Text GLabel 9650 5800 0 50 Input ~ 0
MISO
Text GLabel 9650 5900 0 50 Input ~ 0
SCK
Text GLabel 9650 6000 0 50 Input ~ 0
RST
Text GLabel 10150 5900 2 50 Input ~ 0
MOSI
$Comp
L power:+5V #PWR0108
U 1 1 5BEBE75C
P 10250 5800
F 0 "#PWR0108" H 10250 5650 50 0001 C CNN
F 1 "+5V" H 10265 5973 50 0000 C CNN
F 2 "" H 10250 5800 50 0001 C CNN
F 3 "" H 10250 5800 50 0001 C CNN
1 10250 5800
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0109
U 1 1 5BEBE86F
P 10250 6000
F 0 "#PWR0109" H 10250 5750 50 0001 C CNN
F 1 "GND" H 10255 5827 50 0000 C CNN
F 2 "" H 10250 6000 50 0001 C CNN
F 3 "" H 10250 6000 50 0001 C CNN
1 10250 6000
1 0 0 -1
$EndComp
Wire Wire Line
10150 5800 10250 5800
Wire Wire Line
10150 6000 10250 6000
Text GLabel 3100 3950 0 50 Input ~ 0
RST
Wire Wire Line
3100 3950 3250 3950
Connection ~ 3250 3950
Text GLabel 4600 4550 2 50 Input ~ 0
MISO
Text GLabel 4850 4750 2 50 Input ~ 0
SCK
Text GLabel 5050 4550 2 50 Input ~ 0
MOSI
Wire Wire Line
4700 4650 4700 4750
Wire Wire Line
4700 4750 4850 4750
Connection ~ 4700 4650
Wire Wire Line
4700 4650 5450 4650
Wire Wire Line
4900 4450 4900 4550
Wire Wire Line
4900 4550 5050 4550
Wire Wire Line
5300 5050 5300 5450
Wire Wire Line
5300 5450 4600 5450
Connection ~ 5300 5050
$Comp
L Switch:SW_Push SW1
U 1 1 5BF329CF
P 5700 3500
F 0 "SW1" H 5700 3785 50 0000 C CNN
F 1 "Button" H 5700 3694 50 0000 C CNN
F 2 "SMD-BUTTON_4P-5.2X5.2X1.5MM-SKQGAKE010_:SW4-SMD-5.2X5.2X1.5MM" H 5700 3700 50 0001 C CNN
F 3 "" H 5700 3700 50 0001 C CNN
1 5700 3500
1 0 0 -1
$EndComp
Wire Wire Line
4600 3950 4800 3950
Wire Wire Line
4800 3950 4800 3700
Wire Wire Line
4800 3700 5500 3700
Wire Wire Line
5500 3700 5500 3500
$Comp
L power:GND #PWR01
U 1 1 5BF4430D
P 5900 3500
F 0 "#PWR01" H 5900 3250 50 0001 C CNN
F 1 "GND" H 5905 3327 50 0000 C CNN
F 2 "" H 5900 3500 50 0001 C CNN
F 3 "" H 5900 3500 50 0001 C CNN
1 5900 3500
1 0 0 -1
$EndComp
$EndSCHEMATC