1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-26 23:28:05 +11:00
collapseos/recipes/rc2014/sdcard/spirelay/spirelay.sch
2019-05-07 15:47:49 -04:00

622 lines
13 KiB
Plaintext

EESchema Schematic File Version 4
LIBS:spirelay-cache
EELAYER 29 0
EELAYER END
$Descr USLetter 11000 8500
encoding utf-8
Sheet 1 1
Title "SPI relay"
Date ""
Rev ""
Comp ""
Comment1 "Wire all SCK connections to jumpers for easy SPI polarity adjustments"
Comment2 "SCK is wired to SPI mode 0"
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L local:Z80BUS J1
U 1 1 5CC2DD7B
P 2300 3400
F 0 "J1" H 2300 5200 50 0000 C CNN
F 1 "Z80BUS" H 2300 5100 50 0000 C CNN
F 2 "" H 2300 3450 50 0001 C CNN
F 3 " ~" H 2300 3450 50 0001 C CNN
1 2300 3400
-1 0 0 -1
$EndComp
$Comp
L Device:D D2
U 1 1 5CC3715D
P 2900 2450
F 0 "D2" V 2854 2371 50 0000 R CNN
F 1 "D" V 2945 2371 50 0000 R CNN
F 2 "" H 2900 2450 50 0001 C CNN
F 3 "~" H 2900 2450 50 0001 C CNN
1 2900 2450
0 -1 1 0
$EndComp
$Comp
L Device:D D3
U 1 1 5CC37D3A
P 3150 2450
F 0 "D3" V 3104 2371 50 0000 R CNN
F 1 "D" V 3195 2371 50 0000 R CNN
F 2 "" H 3150 2450 50 0001 C CNN
F 3 "~" H 3150 2450 50 0001 C CNN
1 3150 2450
0 -1 1 0
$EndComp
$Comp
L Device:D D4
U 1 1 5CC37F17
P 3400 2450
F 0 "D4" V 3354 2371 50 0000 R CNN
F 1 "D" V 3445 2371 50 0000 R CNN
F 2 "" H 3400 2450 50 0001 C CNN
F 3 "~" H 3400 2450 50 0001 C CNN
1 3400 2450
0 -1 1 0
$EndComp
$Comp
L Device:D D5
U 1 1 5CC39EE8
P 3650 2450
F 0 "D5" V 3604 2371 50 0000 R CNN
F 1 "D" V 3695 2371 50 0000 R CNN
F 2 "" H 3650 2450 50 0001 C CNN
F 3 "~" H 3650 2450 50 0001 C CNN
1 3650 2450
0 -1 1 0
$EndComp
$Comp
L Device:D D6
U 1 1 5CC3A0E2
P 3900 2450
F 0 "D6" V 3854 2371 50 0000 R CNN
F 1 "D" V 3945 2371 50 0000 R CNN
F 2 "" H 3900 2450 50 0001 C CNN
F 3 "~" H 3900 2450 50 0001 C CNN
1 3900 2450
0 -1 1 0
$EndComp
Wire Wire Line
2600 2600 2900 2600
Wire Wire Line
2600 2700 3150 2700
Wire Wire Line
3150 2700 3150 2600
Wire Wire Line
2600 2800 3400 2800
Wire Wire Line
3400 2800 3400 2600
Wire Wire Line
2600 2900 3650 2900
Wire Wire Line
3650 2900 3650 2600
Wire Wire Line
2600 3000 3900 3000
Wire Wire Line
3900 3000 3900 2600
Wire Wire Line
2900 2300 3150 2300
Connection ~ 3150 2300
Wire Wire Line
3150 2300 3400 2300
Connection ~ 3400 2300
Wire Wire Line
3400 2300 3650 2300
Connection ~ 3650 2300
Wire Wire Line
3650 2300 3900 2300
Connection ~ 3900 2300
Text Label 2600 3100 0 50 ~ 0
A2
Text Label 2600 3400 0 50 ~ 0
GND
Text Label 2600 3500 0 50 ~ 0
VCC
NoConn ~ 2600 1800
NoConn ~ 2600 1900
NoConn ~ 2600 2000
NoConn ~ 2600 2100
NoConn ~ 2600 2200
NoConn ~ 2600 2300
NoConn ~ 2600 2400
NoConn ~ 2600 2500
Text Label 3650 2050 0 50 ~ 0
A2
NoConn ~ 2600 3700
NoConn ~ 2600 3900
NoConn ~ 2600 4000
$Comp
L Device:D D1
U 1 1 5CC44D92
P 2900 2150
F 0 "D1" V 2854 2071 50 0000 R CNN
F 1 "D" V 2945 2071 50 0000 R CNN
F 2 "" H 2900 2150 50 0001 C CNN
F 3 "~" H 2900 2150 50 0001 C CNN
1 2900 2150
0 -1 -1 0
$EndComp
Text Label 2600 4300 0 50 ~ 0
IORQ
Text Label 2900 2000 0 50 ~ 0
IORQ
$Comp
L power:+5V #PWR02
U 1 1 5CC5F918
P 10000 1000
F 0 "#PWR02" H 10000 850 50 0001 C CNN
F 1 "+5V" H 10015 1173 50 0000 C CNN
F 2 "" H 10000 1000 50 0001 C CNN
F 3 "" H 10000 1000 50 0001 C CNN
1 10000 1000
1 0 0 -1
$EndComp
Text Label 10000 1100 0 50 ~ 0
VCC
Wire Wire Line
10000 1100 10000 1000
$Comp
L power:GND #PWR01
U 1 1 5CC60F2C
P 9700 1000
F 0 "#PWR01" H 9700 750 50 0001 C CNN
F 1 "GND" H 9705 827 50 0000 C CNN
F 2 "" H 9700 1000 50 0001 C CNN
F 3 "" H 9700 1000 50 0001 C CNN
1 9700 1000
1 0 0 -1
$EndComp
Text Label 9700 1000 0 50 ~ 0
GND
$Comp
L Device:R R1
U 1 1 5CC61617
P 4600 1900
F 0 "R1" H 4670 1946 50 0000 L CNN
F 1 "10K" H 4670 1855 50 0000 L CNN
F 2 "" V 4530 1900 50 0001 C CNN
F 3 "~" H 4600 1900 50 0001 C CNN
1 4600 1900
1 0 0 -1
$EndComp
Text Label 4600 1750 0 50 ~ 0
GND
Entry Wire Line
2650 4400 2750 4500
Entry Wire Line
2650 4500 2750 4600
Entry Wire Line
2650 4600 2750 4700
Entry Wire Line
2650 4700 2750 4800
Entry Wire Line
2650 4800 2750 4900
Entry Wire Line
2650 4900 2750 5000
Entry Wire Line
2650 5000 2750 5100
Entry Wire Line
2650 5100 2750 5200
Wire Wire Line
2600 4400 2650 4400
Wire Wire Line
2600 4500 2650 4500
Wire Wire Line
2600 4600 2650 4600
Wire Wire Line
2600 4700 2650 4700
Wire Wire Line
2600 4800 2650 4800
Wire Wire Line
2600 4900 2650 4900
Wire Wire Line
2600 5000 2650 5000
Wire Wire Line
2600 5100 2650 5100
$Comp
L 74xx:74HC595 U1
U 1 1 5CC7725A
P 3350 5000
F 0 "U1" H 3350 5781 50 0000 C CNN
F 1 "74HC595" H 3350 5690 50 0000 C CNN
F 2 "" H 3350 5000 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/sn74hc595.pdf" H 3350 5000 50 0001 C CNN
1 3350 5000
-1 0 0 -1
$EndComp
$Comp
L 74xx:74LS165 U3
U 1 1 5CC79C4A
P 4950 5050
F 0 "U3" H 4950 6131 50 0000 C CNN
F 1 "74LS165" H 4950 6040 50 0000 C CNN
F 2 "" H 4950 5050 50 0001 C CNN
F 3 "http://www.ti.com/lit/gpn/sn74LS165" H 4950 5050 50 0001 C CNN
1 4950 5050
-1 0 0 -1
$EndComp
Wire Bus Line
2750 6450 5750 6450
Entry Wire Line
5650 4550 5750 4650
Entry Wire Line
5650 4650 5750 4750
Entry Wire Line
5650 4750 5750 4850
Entry Wire Line
5650 4850 5750 4950
Entry Wire Line
5650 4950 5750 5050
Entry Wire Line
5650 5050 5750 5150
Entry Wire Line
5650 5150 5750 5250
Entry Wire Line
5650 5250 5750 5350
Wire Wire Line
5650 4550 5450 4550
Wire Wire Line
5450 4650 5650 4650
Wire Wire Line
5650 4750 5450 4750
Wire Wire Line
5650 4850 5450 4850
Wire Wire Line
5650 4950 5450 4950
Wire Wire Line
5650 5050 5450 5050
Wire Wire Line
5650 5150 5450 5150
Wire Wire Line
5650 5250 5450 5250
Entry Wire Line
2750 4500 2850 4600
Entry Wire Line
2750 4600 2850 4700
Entry Wire Line
2750 4700 2850 4800
Entry Wire Line
2750 4800 2850 4900
Entry Wire Line
2750 4900 2850 5000
Entry Wire Line
2750 5000 2850 5100
Entry Wire Line
2750 5100 2850 5200
Entry Wire Line
2750 5200 2850 5300
Wire Wire Line
2850 4600 2950 4600
Wire Wire Line
2950 4700 2850 4700
Wire Wire Line
2850 4800 2950 4800
Wire Wire Line
2950 4900 2850 4900
Wire Wire Line
2850 5000 2950 5000
Wire Wire Line
2950 5100 2850 5100
Wire Wire Line
2850 5200 2950 5200
Wire Wire Line
2950 5300 2850 5300
Text Label 2600 3800 0 50 ~ 0
CLK
Text Label 6250 5250 0 50 ~ 0
CLK
Text Label 6250 5450 0 50 ~ 0
~SWR
Text Label 7400 4450 0 50 ~ 0
SCK
Text Label 3750 4600 0 50 ~ 0
MISO
NoConn ~ 3750 4900
Text Label 3750 4800 0 50 ~ 0
SCK
Text Label 2600 4100 0 50 ~ 0
~WR
Text Label 5450 5650 0 50 ~ 0
~SCK
NoConn ~ 4450 4550
Text Label 4300 4450 0 50 ~ 0
MOSI
Wire Wire Line
4300 4450 4450 4450
Text Label 4950 6050 0 50 ~ 0
GND
Text Label 3350 5700 0 50 ~ 0
GND
Text Label 6900 5750 0 50 ~ 0
GND
Text Label 4950 4150 0 50 ~ 0
VCC
Text Label 6900 4150 0 50 ~ 0
VCC
Text Label 3350 4400 0 50 ~ 0
VCC
NoConn ~ 2950 5500
Connection ~ 2900 2300
Wire Wire Line
3750 2050 3650 2050
Text Label 2600 4200 0 50 ~ 0
~RD
Text Label 5450 5450 0 50 ~ 0
RUNNING
Text Label 3750 5200 0 50 ~ 0
~SRD
$Comp
L 74xx:74LS161 U5
U 1 1 5CC8C610
P 6900 4950
F 0 "U5" H 6900 5931 50 0000 C CNN
F 1 "74LS161" H 6900 5840 50 0000 C CNN
F 2 "" H 6900 4950 50 0001 C CNN
F 3 "http://www.ti.com/lit/gpn/sn74LS161" H 6900 4950 50 0001 C CNN
1 6900 4950
1 0 0 -1
$EndComp
Wire Wire Line
6250 5450 6400 5450
NoConn ~ 6400 4450
NoConn ~ 6400 4550
NoConn ~ 6400 4650
NoConn ~ 6400 4750
Text Label 6250 4950 0 50 ~ 0
VCC
Wire Wire Line
6250 4950 6400 4950
Text Label 6050 5050 0 50 ~ 0
RUNNING
Wire Wire Line
6050 5050 6400 5050
Wire Wire Line
6250 5250 6400 5250
NoConn ~ 7400 4550
NoConn ~ 7400 4650
NoConn ~ 7400 4750
$Comp
L 4xxx:40106 U6
U 2 1 5CCB00F9
P 8100 4950
F 0 "U6" H 8100 5267 50 0000 C CNN
F 1 "40106" H 8100 5176 50 0000 C CNN
F 2 "" H 8100 4950 50 0001 C CNN
F 3 "http://www.nxp.com/documents/data_sheet/HEF40106B.pdf" H 8100 4950 50 0001 C CNN
2 8100 4950
1 0 0 -1
$EndComp
Text Label 8400 4950 0 50 ~ 0
RUNNING
Text Label 5400 2300 0 50 ~ 0
~SELECT
Text Label 5450 5750 0 50 ~ 0
~RUNNING
Text Label 2600 3600 0 50 ~ 0
~M1
Text Label 3650 1850 0 50 ~ 0
~M1
Wire Wire Line
3650 1850 3750 1850
Text Label 6250 5150 0 50 ~ 0
VCC
Wire Wire Line
6250 5150 6400 5150
Text Label 7400 4950 0 50 ~ 0
~RUNNING
Wire Wire Line
7400 4950 7800 4950
Text Label 3750 5100 0 50 ~ 0
SRD
$Comp
L 4xxx:40106 U6
U 1 1 5CCB36F0
P 8100 4450
F 0 "U6" H 8100 4767 50 0000 C CNN
F 1 "40106" H 8100 4676 50 0000 C CNN
F 2 "" H 8100 4450 50 0001 C CNN
F 3 "http://www.nxp.com/documents/data_sheet/HEF40106B.pdf" H 8100 4450 50 0001 C CNN
1 8100 4450
1 0 0 -1
$EndComp
Wire Wire Line
7400 4450 7800 4450
Text Label 8400 4450 0 50 ~ 0
~SCK
Text Label 2600 3300 0 50 ~ 0
A0
Wire Wire Line
9650 3950 9800 3950
Text Label 9650 3950 0 50 ~ 0
~SS
Wire Wire Line
9650 3750 9800 3750
Wire Wire Line
9650 3650 9800 3650
Text Label 9650 3850 0 50 ~ 0
MISO
Text Label 9650 3750 0 50 ~ 0
MOSI
Text Label 9650 3650 0 50 ~ 0
SCK
$Comp
L Connector:Conn_01x04_Female J2
U 1 1 5CC93445
P 10000 3750
F 0 "J2" H 10028 3726 50 0000 L CNN
F 1 "SPI" H 10028 3635 50 0000 L CNN
F 2 "" H 10000 3750 50 0001 C CNN
F 3 "~" H 10000 3750 50 0001 C CNN
1 10000 3750
1 0 0 -1
$EndComp
Text Label 9050 3850 1 50 ~ 0
VCC
$Comp
L Device:R R2
U 1 1 5CCF7173
P 9200 3850
F 0 "R2" H 9270 3896 50 0000 L CNN
F 1 "10K" H 9270 3805 50 0000 L CNN
F 2 "" V 9130 3850 50 0001 C CNN
F 3 "~" H 9200 3850 50 0001 C CNN
1 9200 3850
0 -1 -1 0
$EndComp
Text Label 7900 1800 0 50 ~ 0
~SWR
Text Label 6700 2200 0 50 ~ 0
~SRD
Text Label 5550 2100 0 50 ~ 0
~RD
$Comp
L 74xx:74LS139 U4
U 2 1 5CD24CDF
P 7400 1900
F 0 "U4" H 7400 2267 50 0000 C CNN
F 1 "74LS139" H 7400 2176 50 0000 C CNN
F 2 "" H 7400 1900 50 0001 C CNN
F 3 "http://www.ti.com/lit/gpn/sn74LS139" H 7400 1900 50 0001 C CNN
2 7400 1900
1 0 0 -1
$EndComp
Text Label 6800 1900 0 50 ~ 0
A0
Wire Wire Line
6800 1900 6900 1900
NoConn ~ 7900 2100
Wire Wire Line
7900 1900 8150 1900
Wire Wire Line
8150 1900 8150 1650
Wire Wire Line
8150 1650 8600 1650
Wire Wire Line
7900 2000 8250 2000
Wire Wire Line
8250 2000 8250 2500
Wire Wire Line
8250 2500 8600 2500
Wire Wire Line
8600 1850 8600 1950
Wire Wire Line
8600 1950 9100 1950
Wire Wire Line
9100 1950 9100 2250
Wire Wire Line
9100 2250 9200 2250
Wire Wire Line
9200 2250 9200 2400
Text Label 9400 1750 0 50 ~ 0
~SS
Wire Wire Line
9200 1750 9400 1750
$Comp
L 74xx:74LS139 U4
U 1 1 5CD5E273
P 6200 2100
F 0 "U4" H 6200 2467 50 0000 C CNN
F 1 "74LS139" H 6200 2376 50 0000 C CNN
F 2 "" H 6200 2100 50 0001 C CNN
F 3 "http://www.ti.com/lit/gpn/sn74LS139" H 6200 2100 50 0001 C CNN
1 6200 2100
1 0 0 -1
$EndComp
Text Label 5550 2000 0 50 ~ 0
~WR
Wire Wire Line
5550 2000 5700 2000
Wire Wire Line
5550 2100 5700 2100
NoConn ~ 6700 2300
Wire Wire Line
6800 1800 6900 1800
Text Label 6800 1800 0 50 ~ 0
A1
Text Label 2600 3200 0 50 ~ 0
A1
Wire Wire Line
4350 2300 4600 2300
Connection ~ 4350 2300
Wire Wire Line
4600 2050 4600 2300
Connection ~ 4600 2300
Wire Wire Line
4600 2300 5700 2300
Wire Wire Line
3900 2300 4350 2300
$Comp
L 4xxx:4011 U2
U 1 1 5CD8A75D
P 8900 1750
F 0 "U2" H 8900 2075 50 0000 C CNN
F 1 "4011" H 8900 1984 50 0000 C CNN
F 2 "" H 8900 1750 50 0001 C CNN
F 3 "http://www.intersil.com/content/dam/Intersil/documents/cd40/cd4011bms-12bms-23bms.pdf" H 8900 1750 50 0001 C CNN
1 8900 1750
1 0 0 -1
$EndComp
$Comp
L 4xxx:4011 U2
U 2 1 5CD8BFFB
P 8900 2400
F 0 "U2" H 8900 2725 50 0000 C CNN
F 1 "4011" H 8900 2634 50 0000 C CNN
F 2 "" H 8900 2400 50 0001 C CNN
F 3 "http://www.intersil.com/content/dam/Intersil/documents/cd40/cd4011bms-12bms-23bms.pdf" H 8900 2400 50 0001 C CNN
2 8900 2400
1 0 0 -1
$EndComp
Wire Wire Line
9350 3850 9800 3850
Wire Wire Line
8600 2000 9200 2000
Wire Wire Line
9200 2000 9200 1750
Connection ~ 9200 1750
Wire Wire Line
8600 2000 8600 2300
$Comp
L 4xxx:4011 U2
U 3 1 5CCF97CB
P 4050 1950
F 0 "U2" H 4050 2275 50 0000 C CNN
F 1 "4011" H 4050 2184 50 0000 C CNN
F 2 "" H 4050 1950 50 0001 C CNN
F 3 "http://www.intersil.com/content/dam/Intersil/documents/cd40/cd4011bms-12bms-23bms.pdf" H 4050 1950 50 0001 C CNN
3 4050 1950
1 0 0 -1
$EndComp
Wire Wire Line
4350 1950 4350 2300
NoConn ~ 6700 2000
Wire Wire Line
6700 2100 6900 2100
NoConn ~ 5450 4450
$Comp
L 4xxx:40106 U?
U 2 1 5CD09E16
P 7250 2650
F 0 "U?" H 7250 2967 50 0000 C CNN
F 1 "40106" H 7250 2876 50 0000 C CNN
F 2 "" H 7250 2650 50 0001 C CNN
F 3 "http://www.nxp.com/documents/data_sheet/HEF40106B.pdf" H 7250 2650 50 0001 C CNN
2 7250 2650
1 0 0 -1
$EndComp
Wire Wire Line
6950 2650 6950 2200
Wire Wire Line
6950 2200 6700 2200
Wire Bus Line
2750 4500 2750 6450
Wire Bus Line
5750 4650 5750 6450
Text Label 7550 2650 0 50 ~ 0
SRD
$EndSCHEMATC