io_output/expander.sch

591 lines
15 KiB
Plaintext

EESchema Schematic File Version 4
LIBS:io_output-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 2 5
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Connector_Generic:Conn_02x10_Odd_Even J?
U 1 1 5B9FD66F
P 7950 2450
AR Path="/5B9FD66F" Ref="J?" Part="1"
AR Path="/5B9E4862/5B9FD66F" Ref="J1" Part="1"
AR Path="/5BA49184/5B9FD66F" Ref="J2" Part="1"
AR Path="/5BA4919B/5B9FD66F" Ref="J6" Part="1"
AR Path="/5BA491B2/5B9FD66F" Ref="J7" Part="1"
F 0 "J1" H 8000 3067 50 0000 C CNN
F 1 "Conn_02x10_Odd_Even" H 8000 2976 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_Vertical_SMD" H 7950 2450 50 0001 C CNN
F 3 "~" H 7950 2450 50 0001 C CNN
1 7950 2450
1 0 0 -1
$EndComp
Wire Wire Line
8250 2350 8400 2350
Wire Wire Line
8250 2450 8400 2450
Wire Wire Line
8400 2450 8400 2350
Connection ~ 8400 2350
Wire Wire Line
8250 2550 8400 2550
Wire Wire Line
8400 2550 8400 2450
Connection ~ 8400 2450
Wire Wire Line
8250 2650 8400 2650
Wire Wire Line
8400 2650 8400 2550
Connection ~ 8400 2550
$Comp
L microchip:MCP23S17 U?
U 1 1 5B9FD686
P 3750 3900
AR Path="/5B9FD686" Ref="U?" Part="1"
AR Path="/5B9E4862/5B9FD686" Ref="U1" Part="1"
AR Path="/5BA49184/5B9FD686" Ref="U4" Part="1"
AR Path="/5BA4919B/5B9FD686" Ref="U7" Part="1"
AR Path="/5BA491B2/5B9FD686" Ref="U10" Part="1"
F 0 "U1" H 3750 5078 50 0000 C CNN
F 1 "MCP23S17" H 3750 4987 50 0000 C CNN
F 2 "Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm" H 3800 2950 50 0001 L CNN
F 3 "" H 4000 4900 50 0001 C CNN
1 3750 3900
-1 0 0 -1
$EndComp
$Comp
L Device:R R?
U 1 1 5B9FD68D
P 2850 2850
AR Path="/5B9FD68D" Ref="R?" Part="1"
AR Path="/5B9E4862/5B9FD68D" Ref="R1" Part="1"
AR Path="/5BA49184/5B9FD68D" Ref="R2" Part="1"
AR Path="/5BA4919B/5B9FD68D" Ref="R3" Part="1"
AR Path="/5BA491B2/5B9FD68D" Ref="R4" Part="1"
F 0 "R1" H 2920 2896 50 0000 L CNN
F 1 "10K" H 2920 2805 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 2780 2850 50 0001 C CNN
F 3 "~" H 2850 2850 50 0001 C CNN
1 2850 2850
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 5B9FD694
P 2850 2650
AR Path="/5B9FD694" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5B9FD694" Ref="#PWR0102" Part="1"
AR Path="/5BA49184/5B9FD694" Ref="#PWR0118" Part="1"
AR Path="/5BA4919B/5B9FD694" Ref="#PWR0137" Part="1"
AR Path="/5BA491B2/5B9FD694" Ref="#PWR0145" Part="1"
F 0 "#PWR0102" H 2850 2500 50 0001 C CNN
F 1 "+3.3V" H 2865 2823 50 0000 C CNN
F 2 "" H 2850 2650 50 0001 C CNN
F 3 "" H 2850 2650 50 0001 C CNN
1 2850 2650
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 5B9FD69A
P 3750 2650
AR Path="/5B9FD69A" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5B9FD69A" Ref="#PWR0103" Part="1"
AR Path="/5BA49184/5B9FD69A" Ref="#PWR0119" Part="1"
AR Path="/5BA4919B/5B9FD69A" Ref="#PWR0138" Part="1"
AR Path="/5BA491B2/5B9FD69A" Ref="#PWR0146" Part="1"
F 0 "#PWR0103" H 3750 2500 50 0001 C CNN
F 1 "+3.3V" H 3765 2823 50 0000 C CNN
F 2 "" H 3750 2650 50 0001 C CNN
F 3 "" H 3750 2650 50 0001 C CNN
1 3750 2650
1 0 0 -1
$EndComp
Wire Wire Line
3750 2650 3750 2900
Wire Wire Line
2850 2650 2850 2700
Wire Wire Line
3250 3100 2850 3100
Wire Wire Line
2850 3100 2850 3000
$Comp
L Transistor_Array:ULN2804A U?
U 1 1 5B9FD6AC
P 6050 2850
AR Path="/5B9FD6AC" Ref="U?" Part="1"
AR Path="/5B9E4862/5B9FD6AC" Ref="U2" Part="1"
AR Path="/5BA49184/5B9FD6AC" Ref="U5" Part="1"
AR Path="/5BA4919B/5B9FD6AC" Ref="U8" Part="1"
AR Path="/5BA491B2/5B9FD6AC" Ref="U11" Part="1"
F 0 "U2" H 6050 3417 50 0000 C CNN
F 1 "ULN2804A" H 6050 3326 50 0000 C CNN
F 2 "Package_SO:SOIC-18W_7.5x11.6mm_P1.27mm" H 6100 2200 50 0001 L CNN
F 3 "http://www.promelec.ru/pdf/1536.pdf" H 6150 2650 50 0001 C CNN
1 6050 2850
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5B9FD6B3
P 6250 3550
AR Path="/5B9FD6B3" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5B9FD6B3" Ref="#PWR0104" Part="1"
AR Path="/5BA49184/5B9FD6B3" Ref="#PWR0120" Part="1"
AR Path="/5BA4919B/5B9FD6B3" Ref="#PWR0139" Part="1"
AR Path="/5BA491B2/5B9FD6B3" Ref="#PWR0147" Part="1"
F 0 "#PWR0104" H 6250 3300 50 0001 C CNN
F 1 "GND" H 6255 3377 50 0000 C CNN
F 2 "" H 6250 3550 50 0001 C CNN
F 3 "" H 6250 3550 50 0001 C CNN
1 6250 3550
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5B9FD6B9
P 5850 3700
AR Path="/5B9FD6B9" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5B9FD6B9" Ref="#PWR0109" Part="1"
AR Path="/5BA49184/5B9FD6B9" Ref="#PWR0121" Part="1"
AR Path="/5BA4919B/5B9FD6B9" Ref="#PWR0140" Part="1"
AR Path="/5BA491B2/5B9FD6B9" Ref="#PWR0148" Part="1"
F 0 "#PWR0109" H 5850 3450 50 0001 C CNN
F 1 "GND" H 5855 3527 50 0000 C CNN
F 2 "" H 5850 3700 50 0001 C CNN
F 3 "" H 5850 3700 50 0001 C CNN
1 5850 3700
1 0 0 -1
$EndComp
Wire Wire Line
6250 3550 6050 3550
Wire Wire Line
4250 3100 4700 3100
Wire Wire Line
4700 3100 4700 2650
Wire Wire Line
4700 2650 5650 2650
Wire Wire Line
4250 3200 4800 3200
Wire Wire Line
4800 3200 4800 2750
Wire Wire Line
4800 2750 5650 2750
Wire Wire Line
4250 3300 4900 3300
Wire Wire Line
4900 3300 4900 2850
Wire Wire Line
4900 2850 5650 2850
Wire Wire Line
4250 3400 5000 3400
Wire Wire Line
5000 3400 5000 2950
Wire Wire Line
5000 2950 5650 2950
Wire Wire Line
5650 3050 5100 3050
Wire Wire Line
5100 3050 5100 3500
Wire Wire Line
5100 3500 4250 3500
Wire Wire Line
4250 3600 5200 3600
Wire Wire Line
5200 3600 5200 3150
Wire Wire Line
5200 3150 5650 3150
Wire Wire Line
5650 3250 5300 3250
Wire Wire Line
5300 3250 5300 3700
Wire Wire Line
5300 3700 4250 3700
Wire Wire Line
4250 3800 5400 3800
Wire Wire Line
5400 3800 5400 3350
Wire Wire Line
5400 3350 5650 3350
Wire Wire Line
8250 2950 8300 2950
Wire Wire Line
8300 2950 8300 3050
Wire Wire Line
8350 3150 8350 2850
Wire Wire Line
8350 2850 8250 2850
Wire Wire Line
8400 3250 8400 2750
Wire Wire Line
8400 2750 8250 2750
Wire Wire Line
6450 4000 6900 4000
Wire Wire Line
6900 4000 6900 2450
Wire Wire Line
6900 2450 7750 2450
Wire Wire Line
6450 4100 7000 4100
Wire Wire Line
7000 4100 7000 2350
Wire Wire Line
7000 2350 7750 2350
Wire Wire Line
6450 4200 7100 4200
Wire Wire Line
7100 4200 7100 2250
Wire Wire Line
7100 2250 7750 2250
Wire Wire Line
6450 4300 7200 4300
Wire Wire Line
7200 4300 7200 2150
Wire Wire Line
7200 2150 7750 2150
Wire Wire Line
6450 4400 7300 4400
Wire Wire Line
8250 2050 8500 2050
Wire Wire Line
6450 4500 8500 4500
Wire Wire Line
8500 2050 8500 4500
Wire Wire Line
8600 4600 8600 2150
Wire Wire Line
8600 2150 8250 2150
Wire Wire Line
6450 4600 8600 4600
Wire Wire Line
6450 4700 8700 4700
Wire Wire Line
8700 4700 8700 2250
Wire Wire Line
8700 2250 8250 2250
Wire Wire Line
6450 3350 7600 3350
Wire Wire Line
6450 2650 7750 2650
Wire Wire Line
6450 2750 7750 2750
Wire Wire Line
6450 2850 7750 2850
Wire Wire Line
6450 2950 7750 2950
Wire Wire Line
6450 3050 8300 3050
Wire Wire Line
6450 3250 8400 3250
Wire Wire Line
6450 3150 8350 3150
Wire Wire Line
7600 2550 7750 2550
Wire Wire Line
7600 2550 7600 3350
Wire Wire Line
7300 2050 7750 2050
Wire Wire Line
7300 2050 7300 4400
Wire Wire Line
8400 1950 8400 2350
Wire Wire Line
6450 2550 6550 2550
Wire Wire Line
6550 2550 6550 2500
Wire Wire Line
4250 4000 5650 4000
Wire Wire Line
4250 4100 5650 4100
Wire Wire Line
4250 4200 5650 4200
Wire Wire Line
4250 4300 5650 4300
Wire Wire Line
4250 4400 5650 4400
Wire Wire Line
4250 4500 5650 4500
Wire Wire Line
4250 4600 5650 4600
Wire Wire Line
4250 4700 5650 4700
$Comp
L Transistor_Array:ULN2804A U?
U 1 1 5B9FD711
P 6050 4500
AR Path="/5B9FD711" Ref="U?" Part="1"
AR Path="/5B9E4862/5B9FD711" Ref="U3" Part="1"
AR Path="/5BA49184/5B9FD711" Ref="U6" Part="1"
AR Path="/5BA4919B/5B9FD711" Ref="U9" Part="1"
AR Path="/5BA491B2/5B9FD711" Ref="U12" Part="1"
F 0 "U3" H 6050 5067 50 0000 C CNN
F 1 "ULN2804A" H 6050 4976 50 0000 C CNN
F 2 "Package_SO:SOIC-18W_7.5x11.6mm_P1.27mm" H 6100 3850 50 0001 L CNN
F 3 "http://www.promelec.ru/pdf/1536.pdf" H 6150 4300 50 0001 C CNN
1 6050 4500
1 0 0 1
$EndComp
Wire Wire Line
5850 3700 6050 3700
Wire Wire Line
6050 3700 6050 3800
$Comp
L power:GND #PWR?
U 1 1 5BA245CC
P 3750 4950
AR Path="/5BA245CC" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5BA245CC" Ref="#PWR0115" Part="1"
AR Path="/5BA49184/5BA245CC" Ref="#PWR0123" Part="1"
AR Path="/5BA4919B/5BA245CC" Ref="#PWR0142" Part="1"
AR Path="/5BA491B2/5BA245CC" Ref="#PWR0150" Part="1"
F 0 "#PWR0115" H 3750 4700 50 0001 C CNN
F 1 "GND" H 3755 4777 50 0000 C CNN
F 2 "" H 3750 4950 50 0001 C CNN
F 3 "" H 3750 4950 50 0001 C CNN
1 3750 4950
1 0 0 -1
$EndComp
Text HLabel 2800 4000 0 50 Input ~ 0
CS
Text HLabel 2800 4100 0 50 Input ~ 0
SCK
Text HLabel 2800 4200 0 50 Input ~ 0
MOSI
Text HLabel 2800 4300 0 50 Input ~ 0
MISO
Wire Wire Line
2800 4300 3250 4300
Wire Wire Line
2800 4200 3250 4200
Wire Wire Line
2800 4100 3250 4100
Wire Wire Line
2800 4000 3250 4000
Wire Wire Line
6450 4800 6550 4800
Wire Wire Line
6550 4800 6550 4950
Wire Wire Line
6550 4950 6750 4950
Wire Wire Line
3750 4900 3750 4950
$Comp
L Connector_Generic:Conn_01x03 J14
U 1 1 5BA64207
P 1800 4600
AR Path="/5BA4919B/5BA64207" Ref="J14" Part="1"
AR Path="/5B9E4862/5BA64207" Ref="J8" Part="1"
AR Path="/5BA49184/5BA64207" Ref="J11" Part="1"
AR Path="/5BA491B2/5BA64207" Ref="J17" Part="1"
F 0 "J8" H 1880 4642 50 0000 L CNN
F 1 "Conn_01x03" H 1880 4551 50 0000 L CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical_SMD_Pin1Left" H 1800 4600 50 0001 C CNN
F 3 "~" H 1800 4600 50 0001 C CNN
1 1800 4600
-1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x03 J15
U 1 1 5BA64309
P 1800 5000
AR Path="/5BA4919B/5BA64309" Ref="J15" Part="1"
AR Path="/5B9E4862/5BA64309" Ref="J9" Part="1"
AR Path="/5BA49184/5BA64309" Ref="J12" Part="1"
AR Path="/5BA491B2/5BA64309" Ref="J18" Part="1"
F 0 "J9" H 1880 5042 50 0000 L CNN
F 1 "Conn_01x03" H 1880 4951 50 0000 L CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical_SMD_Pin1Left" H 1800 5000 50 0001 C CNN
F 3 "~" H 1800 5000 50 0001 C CNN
1 1800 5000
-1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x03 J16
U 1 1 5BA6433B
P 1800 5400
AR Path="/5BA4919B/5BA6433B" Ref="J16" Part="1"
AR Path="/5B9E4862/5BA6433B" Ref="J10" Part="1"
AR Path="/5BA49184/5BA6433B" Ref="J13" Part="1"
AR Path="/5BA491B2/5BA6433B" Ref="J19" Part="1"
F 0 "J10" H 1880 5442 50 0000 L CNN
F 1 "Conn_01x03" H 1880 5351 50 0000 L CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical_SMD_Pin1Left" H 1800 5400 50 0001 C CNN
F 3 "~" H 1800 5400 50 0001 C CNN
1 1800 5400
-1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 5BA64367
P 2150 4300
AR Path="/5BA64367" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5BA64367" Ref="#PWR03" Part="1"
AR Path="/5BA49184/5BA64367" Ref="#PWR07" Part="1"
AR Path="/5BA4919B/5BA64367" Ref="#PWR011" Part="1"
AR Path="/5BA491B2/5BA64367" Ref="#PWR015" Part="1"
F 0 "#PWR03" H 2150 4150 50 0001 C CNN
F 1 "+3.3V" H 2165 4473 50 0000 C CNN
F 2 "" H 2150 4300 50 0001 C CNN
F 3 "" H 2150 4300 50 0001 C CNN
1 2150 4300
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5BA64382
P 2300 5600
AR Path="/5BA64382" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5BA64382" Ref="#PWR04" Part="1"
AR Path="/5BA49184/5BA64382" Ref="#PWR08" Part="1"
AR Path="/5BA4919B/5BA64382" Ref="#PWR012" Part="1"
AR Path="/5BA491B2/5BA64382" Ref="#PWR016" Part="1"
F 0 "#PWR04" H 2300 5350 50 0001 C CNN
F 1 "GND" H 2305 5427 50 0000 C CNN
F 2 "" H 2300 5600 50 0001 C CNN
F 3 "" H 2300 5600 50 0001 C CNN
1 2300 5600
1 0 0 -1
$EndComp
Wire Wire Line
2000 5500 2300 5500
Wire Wire Line
2300 5500 2300 5600
Wire Wire Line
2000 5100 2300 5100
Wire Wire Line
2300 5100 2300 5500
Connection ~ 2300 5500
Wire Wire Line
2000 4700 2300 4700
Wire Wire Line
2300 4700 2300 5100
Connection ~ 2300 5100
Wire Wire Line
2000 4500 2150 4500
Wire Wire Line
2150 4500 2150 4300
Wire Wire Line
2000 4900 2150 4900
Wire Wire Line
2150 4900 2150 4500
Connection ~ 2150 4500
Wire Wire Line
2000 5300 2150 5300
Wire Wire Line
2150 5300 2150 4900
Connection ~ 2150 4900
Wire Wire Line
2000 4600 2500 4600
Wire Wire Line
2500 4600 2500 4500
Wire Wire Line
2500 4500 3250 4500
Wire Wire Line
2000 5000 2600 5000
Wire Wire Line
2600 5000 2600 4600
Wire Wire Line
2600 4600 3250 4600
Wire Wire Line
2000 5400 2750 5400
Wire Wire Line
2750 5400 2750 4700
Wire Wire Line
2750 4700 3250 4700
$Comp
L Device:C C?
U 1 1 5BA944F5
P 1550 3300
AR Path="/5BA944F5" Ref="C?" Part="1"
AR Path="/5B9E4862/5BA944F5" Ref="C4" Part="1"
AR Path="/5BA49184/5BA944F5" Ref="C8" Part="1"
AR Path="/5BA4919B/5BA944F5" Ref="C9" Part="1"
AR Path="/5BA491B2/5BA944F5" Ref="C10" Part="1"
F 0 "C4" H 1665 3346 50 0000 L CNN
F 1 "100n" H 1665 3255 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 1588 3150 50 0001 C CNN
F 3 "~" H 1550 3300 50 0001 C CNN
1 1550 3300
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 5BA944FC
P 1550 2950
AR Path="/5BA944FC" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5BA944FC" Ref="#PWR01" Part="1"
AR Path="/5BA49184/5BA944FC" Ref="#PWR05" Part="1"
AR Path="/5BA4919B/5BA944FC" Ref="#PWR09" Part="1"
AR Path="/5BA491B2/5BA944FC" Ref="#PWR013" Part="1"
F 0 "#PWR01" H 1550 2800 50 0001 C CNN
F 1 "+3.3V" H 1565 3123 50 0000 C CNN
F 2 "" H 1550 2950 50 0001 C CNN
F 3 "" H 1550 2950 50 0001 C CNN
1 1550 2950
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5BA94502
P 1550 3650
AR Path="/5BA94502" Ref="#PWR?" Part="1"
AR Path="/5B9E4862/5BA94502" Ref="#PWR02" Part="1"
AR Path="/5BA49184/5BA94502" Ref="#PWR06" Part="1"
AR Path="/5BA4919B/5BA94502" Ref="#PWR010" Part="1"
AR Path="/5BA491B2/5BA94502" Ref="#PWR014" Part="1"
F 0 "#PWR02" H 1550 3400 50 0001 C CNN
F 1 "GND" H 1555 3477 50 0000 C CNN
F 2 "" H 1550 3650 50 0001 C CNN
F 3 "" H 1550 3650 50 0001 C CNN
1 1550 3650
1 0 0 -1
$EndComp
Wire Wire Line
1550 3650 1550 3450
Wire Wire Line
1550 3150 1550 2950
$Comp
L power:+12V #PWR?
U 1 1 5BD37855
P 6550 2500
F 0 "#PWR?" H 6550 2350 50 0001 C CNN
F 1 "+12V" H 6565 2673 50 0000 C CNN
F 2 "" H 6550 2500 50 0001 C CNN
F 3 "" H 6550 2500 50 0001 C CNN
1 6550 2500
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR?
U 1 1 5BD37879
P 8400 1950
F 0 "#PWR?" H 8400 1800 50 0001 C CNN
F 1 "+12V" H 8415 2123 50 0000 C CNN
F 2 "" H 8400 1950 50 0001 C CNN
F 3 "" H 8400 1950 50 0001 C CNN
1 8400 1950
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR?
U 1 1 5BD4117E
P 6750 4950
F 0 "#PWR?" H 6750 4800 50 0001 C CNN
F 1 "+12V" H 6765 5123 50 0000 C CNN
F 2 "" H 6750 4950 50 0001 C CNN
F 3 "" H 6750 4950 50 0001 C CNN
1 6750 4950
1 0 0 -1
$EndComp
$EndSCHEMATC