2011-08-28 18:04:38 +03:00
|
|
|
EESchema Schematic File Version 2 date Sun Aug 28 12:04:00 2011
|
2011-08-26 07:34:12 +03:00
|
|
|
LIBS:power
|
|
|
|
LIBS:device
|
|
|
|
LIBS:conn
|
|
|
|
LIBS:c8051f320
|
|
|
|
LIBS:mini_usb_b
|
|
|
|
LIBS:opto-trans-4
|
|
|
|
LIBS:spdt-c
|
2011-08-28 00:24:02 +03:00
|
|
|
LIBS:dual_diode
|
2011-08-28 16:46:02 +03:00
|
|
|
LIBS:opto-trans-8
|
2011-08-26 07:34:12 +03:00
|
|
|
LIBS:labsw-cache
|
|
|
|
EELAYER 24 0
|
|
|
|
EELAYER END
|
|
|
|
$Descr A4 11700 8267
|
|
|
|
Sheet 1 3
|
|
|
|
Title "Lab Switch (Overview and CPU)"
|
2011-08-28 16:46:02 +03:00
|
|
|
Date "28 aug 2011"
|
2011-08-26 07:34:12 +03:00
|
|
|
Rev "0"
|
|
|
|
Comp "Werner Almesberger"
|
|
|
|
Comment1 ""
|
|
|
|
Comment2 ""
|
|
|
|
Comment3 ""
|
|
|
|
Comment4 ""
|
|
|
|
$EndDescr
|
2011-08-27 19:18:08 +03:00
|
|
|
Text Label 3250 3900 0 60 ~ 0
|
|
|
|
DM
|
|
|
|
Text Label 3250 3750 0 60 ~ 0
|
|
|
|
DP
|
2011-08-26 07:34:12 +03:00
|
|
|
Connection ~ 4250 3750
|
|
|
|
Wire Wire Line
|
|
|
|
4250 4550 4250 3750
|
|
|
|
Connection ~ 3650 4050
|
|
|
|
Wire Wire Line
|
|
|
|
3650 3550 3650 4550
|
|
|
|
Wire Wire Line
|
|
|
|
7100 5200 7100 5400
|
|
|
|
Wire Wire Line
|
|
|
|
7400 5200 7400 5400
|
|
|
|
Wire Wire Line
|
|
|
|
7700 5200 7700 5400
|
|
|
|
Wire Wire Line
|
|
|
|
8550 4200 8750 4200
|
|
|
|
Wire Wire Line
|
|
|
|
8550 3750 8750 3750
|
|
|
|
Wire Wire Line
|
|
|
|
8550 3450 8750 3450
|
|
|
|
Wire Wire Line
|
|
|
|
7700 2200 7700 2400
|
|
|
|
Wire Wire Line
|
|
|
|
7400 2200 7400 2400
|
|
|
|
Wire Wire Line
|
|
|
|
7100 2200 7100 2400
|
|
|
|
Wire Wire Line
|
|
|
|
6800 2400 6800 2200
|
|
|
|
Wire Wire Line
|
|
|
|
5750 3300 5550 3300
|
|
|
|
Wire Wire Line
|
|
|
|
5750 3600 5550 3600
|
|
|
|
Connection ~ 5550 4350
|
|
|
|
Wire Wire Line
|
|
|
|
5550 4200 5550 5400
|
|
|
|
Wire Wire Line
|
|
|
|
5550 5400 6550 5400
|
|
|
|
Wire Wire Line
|
|
|
|
6550 5400 6550 6150
|
|
|
|
Wire Wire Line
|
|
|
|
6650 5200 6650 6150
|
|
|
|
Wire Wire Line
|
|
|
|
4650 5000 4650 5250
|
|
|
|
Wire Wire Line
|
|
|
|
5750 4050 4650 4050
|
|
|
|
Wire Wire Line
|
|
|
|
4650 4050 4650 4600
|
|
|
|
Connection ~ 3950 3900
|
|
|
|
Wire Wire Line
|
|
|
|
3950 3900 3950 4550
|
|
|
|
Connection ~ 5550 4200
|
|
|
|
Wire Wire Line
|
|
|
|
5550 4350 5750 4350
|
|
|
|
Wire Wire Line
|
|
|
|
3050 3450 3250 3450
|
|
|
|
Wire Wire Line
|
|
|
|
5750 3900 3050 3900
|
|
|
|
Wire Wire Line
|
|
|
|
3950 5050 3950 5250
|
|
|
|
Connection ~ 1700 4050
|
|
|
|
Wire Wire Line
|
|
|
|
1700 4250 1700 3450
|
|
|
|
Connection ~ 1700 3600
|
|
|
|
Wire Wire Line
|
|
|
|
1900 3600 1700 3600
|
|
|
|
Wire Wire Line
|
|
|
|
1700 3450 1900 3450
|
|
|
|
Wire Wire Line
|
|
|
|
1700 4050 1900 4050
|
|
|
|
Wire Wire Line
|
|
|
|
1700 3900 1900 3900
|
|
|
|
Connection ~ 1700 3900
|
|
|
|
Wire Wire Line
|
|
|
|
4250 5050 4250 5250
|
|
|
|
Wire Wire Line
|
|
|
|
3650 5050 3650 5250
|
|
|
|
Wire Wire Line
|
|
|
|
5750 3750 3050 3750
|
|
|
|
Wire Wire Line
|
|
|
|
3650 4050 3050 4050
|
|
|
|
Wire Wire Line
|
|
|
|
5750 4200 3650 4200
|
|
|
|
Connection ~ 3650 4200
|
|
|
|
Wire Wire Line
|
|
|
|
5100 4600 5100 4200
|
|
|
|
Connection ~ 5100 4200
|
|
|
|
Wire Wire Line
|
|
|
|
5100 5000 5100 5250
|
|
|
|
Wire Wire Line
|
|
|
|
6800 5200 6800 5400
|
|
|
|
Wire Wire Line
|
|
|
|
6800 5400 6750 5400
|
|
|
|
Wire Wire Line
|
|
|
|
6750 5400 6750 6150
|
|
|
|
Wire Wire Line
|
|
|
|
6450 6150 6450 5600
|
|
|
|
Wire Wire Line
|
|
|
|
6450 5600 6300 5600
|
|
|
|
Wire Wire Line
|
|
|
|
6300 5600 6300 6150
|
|
|
|
Wire Wire Line
|
|
|
|
5750 3450 5550 3450
|
|
|
|
Wire Wire Line
|
|
|
|
6650 2400 6650 2200
|
|
|
|
Wire Wire Line
|
|
|
|
7250 2200 7250 2400
|
|
|
|
Wire Wire Line
|
|
|
|
7550 2200 7550 2400
|
|
|
|
Wire Wire Line
|
|
|
|
8550 3300 8750 3300
|
|
|
|
Wire Wire Line
|
|
|
|
8550 3600 8750 3600
|
|
|
|
Wire Wire Line
|
|
|
|
8550 4350 8750 4350
|
|
|
|
Wire Wire Line
|
|
|
|
7550 5200 7550 5400
|
|
|
|
Wire Wire Line
|
|
|
|
7250 5200 7250 5400
|
|
|
|
Wire Wire Line
|
|
|
|
6950 5200 6950 5400
|
|
|
|
Wire Wire Line
|
|
|
|
2450 6050 2450 6250
|
|
|
|
$Comp
|
|
|
|
L PWR_FLAG #FLG01
|
|
|
|
U 1 1 4E5600BD
|
|
|
|
P 2450 6050
|
|
|
|
F 0 "#FLG01" H 2450 6320 30 0001 C CNN
|
|
|
|
F 1 "PWR_FLAG" H 2450 6280 30 0000 C CNN
|
|
|
|
1 2450 6050
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR02
|
|
|
|
U 1 1 4E5600B6
|
|
|
|
P 2450 6250
|
|
|
|
F 0 "#PWR02" H 2450 6250 30 0001 C CNN
|
|
|
|
F 1 "GND" H 2450 6180 30 0001 C CNN
|
|
|
|
1 2450 6250
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L +5V #PWR03
|
|
|
|
U 1 1 4E560053
|
|
|
|
P 3650 3550
|
|
|
|
F 0 "#PWR03" H 3650 3640 20 0001 C CNN
|
|
|
|
F 1 "+5V" H 3650 3640 50 0000 C CNN
|
|
|
|
1 3650 3550
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
2011-08-28 18:04:38 +03:00
|
|
|
Text GLabel 6950 5400 3 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
OUT_4
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 7100 5400 3 60 Output ~ 0
|
2011-08-28 18:04:38 +03:00
|
|
|
OUT_3
|
|
|
|
Text GLabel 7250 5400 3 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
OUT_2
|
2011-08-28 18:04:38 +03:00
|
|
|
Text GLabel 7400 5400 3 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
OUT_1
|
|
|
|
Text GLabel 7700 5400 3 60 Output ~ 0
|
2011-08-27 19:18:08 +03:00
|
|
|
CH2_OPT
|
2011-08-26 07:34:12 +03:00
|
|
|
Text GLabel 8750 4350 2 60 Output ~ 0
|
2011-08-27 19:18:08 +03:00
|
|
|
CH2_RELAY
|
|
|
|
Text GLabel 7550 5400 3 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
CH1_OPT
|
|
|
|
Text GLabel 8750 4200 2 60 Output ~ 0
|
|
|
|
CH1_RELAY
|
|
|
|
NoConn ~ 8550 4050
|
|
|
|
NoConn ~ 8550 3900
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 8750 3450 2 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
LED_CH2_G
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 8750 3300 2 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
LED_CH2_R
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 7700 2200 1 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
LED_CH1_G
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 7550 2200 1 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
LED_CH1_R
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 8750 3750 2 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
LED_MAIN_G
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 8750 3600 2 60 Output ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
LED_MAIN_R
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 6650 2200 1 60 Input ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
IN_4
|
|
|
|
Text GLabel 7250 2200 1 60 Input ~ 0
|
2011-08-27 19:18:08 +03:00
|
|
|
BUT_CH2
|
|
|
|
Text GLabel 7400 2200 1 60 Input ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
BUT_CH1
|
|
|
|
Text GLabel 7100 2200 1 60 Input ~ 0
|
|
|
|
BUT_MAIN
|
|
|
|
NoConn ~ 6950 2400
|
2011-08-27 19:18:08 +03:00
|
|
|
Text GLabel 6800 2200 1 60 Input ~ 0
|
2011-08-26 07:34:12 +03:00
|
|
|
IN_3
|
|
|
|
Text GLabel 5550 3450 0 60 Input ~ 0
|
2011-08-27 19:18:08 +03:00
|
|
|
IN_2
|
2011-08-28 18:04:38 +03:00
|
|
|
Text GLabel 5550 3300 0 60 Input Italic 0
|
2011-08-26 07:34:12 +03:00
|
|
|
IN_1
|
|
|
|
Text Label 6750 5950 1 60 ~ 0
|
|
|
|
C2D
|
|
|
|
Text Label 6650 5950 1 60 ~ 0
|
|
|
|
C2CK
|
|
|
|
Text Label 6550 5950 1 60 ~ 0
|
|
|
|
VBUS
|
|
|
|
Text Label 6450 5950 1 60 ~ 0
|
|
|
|
GND
|
|
|
|
$Comp
|
|
|
|
L GND #PWR04
|
|
|
|
U 1 1 4E55CC91
|
|
|
|
P 6300 6150
|
|
|
|
F 0 "#PWR04" H 6300 6150 30 0001 C CNN
|
|
|
|
F 1 "GND" H 6300 6080 30 0001 C CNN
|
|
|
|
1 6300 6150
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L CONN_4 P1
|
|
|
|
U 1 1 4E55CC1E
|
|
|
|
P 6600 6500
|
|
|
|
F 0 "P1" V 6550 6500 50 0000 C CNN
|
|
|
|
F 1 "CONN_4" V 6650 6500 50 0000 C CNN
|
|
|
|
1 6600 6500
|
|
|
|
0 -1 1 0
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR05
|
|
|
|
U 1 1 4E55CB76
|
|
|
|
P 5100 5250
|
|
|
|
F 0 "#PWR05" H 5100 5250 30 0001 C CNN
|
|
|
|
F 1 "GND" H 5100 5180 30 0001 C CNN
|
|
|
|
1 5100 5250
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR06
|
|
|
|
U 1 1 4E55CB75
|
|
|
|
P 4650 5250
|
|
|
|
F 0 "#PWR06" H 4650 5250 30 0001 C CNN
|
|
|
|
F 1 "GND" H 4650 5180 30 0001 C CNN
|
|
|
|
1 4650 5250
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR07
|
|
|
|
U 1 1 4E55CB70
|
|
|
|
P 5550 3600
|
|
|
|
F 0 "#PWR07" H 5550 3600 30 0001 C CNN
|
|
|
|
F 1 "GND" H 5550 3530 30 0001 C CNN
|
|
|
|
1 5550 3600
|
|
|
|
0 1 1 0
|
|
|
|
$EndComp
|
|
|
|
NoConn ~ 3050 3600
|
|
|
|
$Comp
|
|
|
|
L C C2
|
|
|
|
U 1 1 4E55CABB
|
|
|
|
P 5100 4800
|
|
|
|
F 0 "C2" H 5150 4900 50 0000 L CNN
|
|
|
|
F 1 "4.7uF" H 5150 4700 50 0000 L CNN
|
|
|
|
1 5100 4800
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L C C1
|
|
|
|
U 1 1 4E55CAB9
|
|
|
|
P 4650 4800
|
|
|
|
F 0 "C1" H 4700 4900 50 0000 L CNN
|
|
|
|
F 1 "100nF" H 4700 4700 50 0000 L CNN
|
|
|
|
1 4650 4800
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR08
|
|
|
|
U 1 1 4E55CA97
|
|
|
|
P 3650 5250
|
|
|
|
F 0 "#PWR08" H 3650 5250 30 0001 C CNN
|
|
|
|
F 1 "GND" H 3650 5180 30 0001 C CNN
|
|
|
|
1 3650 5250
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR09
|
|
|
|
U 1 1 4E55CA95
|
|
|
|
P 4250 5250
|
|
|
|
F 0 "#PWR09" H 4250 5250 30 0001 C CNN
|
|
|
|
F 1 "GND" H 4250 5180 30 0001 C CNN
|
|
|
|
1 4250 5250
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR010
|
|
|
|
U 1 1 4E55CA93
|
|
|
|
P 3950 5250
|
|
|
|
F 0 "#PWR010" H 3950 5250 30 0001 C CNN
|
|
|
|
F 1 "GND" H 3950 5180 30 0001 C CNN
|
|
|
|
1 3950 5250
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR011
|
|
|
|
U 1 1 4E55CA58
|
|
|
|
P 3250 3450
|
|
|
|
F 0 "#PWR011" H 3250 3450 30 0001 C CNN
|
|
|
|
F 1 "GND" H 3250 3380 30 0001 C CNN
|
|
|
|
1 3250 3450
|
|
|
|
0 -1 -1 0
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L GND #PWR012
|
|
|
|
U 1 1 4E55CA4A
|
|
|
|
P 1700 4250
|
|
|
|
F 0 "#PWR012" H 1700 4250 30 0001 C CNN
|
|
|
|
F 1 "GND" H 1700 4180 30 0001 C CNN
|
|
|
|
1 1700 4250
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L VR VR1
|
|
|
|
U 1 1 4E55CA29
|
|
|
|
P 3650 4800
|
|
|
|
F 0 "VR1" V 3730 4800 50 0000 C CNN
|
|
|
|
F 1 "VR" V 3650 4800 50 0000 C CNN
|
|
|
|
1 3650 4800
|
|
|
|
-1 0 0 1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L VR VR3
|
|
|
|
U 1 1 4E55CA27
|
|
|
|
P 4250 4800
|
|
|
|
F 0 "VR3" V 4330 4800 50 0000 C CNN
|
|
|
|
F 1 "VR" V 4250 4800 50 0000 C CNN
|
|
|
|
1 4250 4800
|
|
|
|
-1 0 0 1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L VR VR2
|
|
|
|
U 1 1 4E55CA26
|
|
|
|
P 3950 4800
|
|
|
|
F 0 "VR2" V 4030 4800 50 0000 C CNN
|
|
|
|
F 1 "VR" V 3950 4800 50 0000 C CNN
|
|
|
|
1 3950 4800
|
|
|
|
-1 0 0 1
|
|
|
|
$EndComp
|
|
|
|
Text Notes 3150 1550 0 60 ~ 0
|
|
|
|
4 Opto In\n4 Opto Out\n(USB)
|
|
|
|
Text Notes 1600 1550 0 60 ~ 0
|
|
|
|
2 Relays+2 Opto\n3 R/G LEDs\n3 Buttons
|
|
|
|
$Sheet
|
|
|
|
S 2950 1100 1200 1000
|
|
|
|
U 4E55BED6
|
|
|
|
F0 "Back" 60
|
|
|
|
F1 "back.sch" 60
|
|
|
|
$EndSheet
|
|
|
|
$Sheet
|
|
|
|
S 1400 1100 1200 1000
|
|
|
|
U 4E55BEC4
|
|
|
|
F0 "Front" 60
|
|
|
|
F1 "front.sch" 60
|
|
|
|
$EndSheet
|
|
|
|
$Comp
|
|
|
|
L MINI_USB_B CON1
|
|
|
|
U 1 1 4E534734
|
|
|
|
P 2450 3750
|
|
|
|
F 0 "CON1" H 2450 4250 60 0000 C CNN
|
|
|
|
F 1 "MINI_USB_B" H 2450 3250 60 0000 C CNN
|
|
|
|
1 2450 3750
|
|
|
|
-1 0 0 1
|
|
|
|
$EndComp
|
|
|
|
$Comp
|
|
|
|
L C8051F320 U1
|
|
|
|
U 1 1 4E5344A0
|
|
|
|
P 7150 3800
|
|
|
|
F 0 "U1" H 6150 5000 60 0000 C CNN
|
|
|
|
F 1 "C8051F320" H 7150 3800 60 0000 C CNN
|
|
|
|
1 7150 3800
|
|
|
|
1 0 0 -1
|
|
|
|
$EndComp
|
|
|
|
$EndSCHEMATC
|