1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 06:41:53 +02:00

labsw/ changed internal pull-ups to external to remove sneak current path

This commit is contained in:
Werner Almesberger 2011-09-10 20:23:59 -03:00
parent 5d32ade1e5
commit 6190dbe261
6 changed files with 1188 additions and 973 deletions

View File

@ -218,6 +218,9 @@ To do: debounce buttons (in software) before accepting a state change.
- changed DIP hole size from 0.5 mm to 0.8 mm, hole-to-copper ratio from
2.5 to 2
- bypass VBUS and VDD with 4.7 uF and 100 nF each
- added external pull-ups to IN_* and to buttons (so that we can turn
off the internal pull-ups and thus avoid sneak current through the
opto-coupler LEDs from VBUS via the pull-ups into VDD)
Pending:
- widen column cavities by 0.2 mm on each side
@ -228,10 +231,5 @@ Pending:
- add orientation markings on copper layer for MCU and DIP sockets
- verify 2512 footprint of 1 W resistors
- add ground zones
- solve opto LED current. Three approaches:
1) add 10 k in parallel to LED (tested workaround)
2) disable internal pull-ups and add external pull-ups to IN_*
and to buttons
3) drive opto LEDs from 3.3 V instead of 5 V (NOT ! Regulator
can only provide 100 mA, which wouldn't be enough if more than
two opto-couplers are active.)
- firmware: disable internal pull-ups
- add hardware revision ID pins

View File

@ -1,4 +1,4 @@
EESchema Schematic File Version 2 date Sat Sep 3 03:34:26 2011
EESchema Schematic File Version 2 date Sat Sep 10 20:21:28 2011
LIBS:power
LIBS:device
LIBS:conn
@ -12,412 +12,482 @@ LIBS:labsw-cache
EELAYER 24 0
EELAYER END
$Descr A4 11700 8267
Sheet 2 3
Sheet 3 4
Title "Lab Switch (Back panel)"
Date "3 sep 2011"
Rev "0"
Date "10 sep 2011"
Rev "1"
Comp "Werner Almesberger"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Label 4200 3050 0 60 ~ 0
EXT_IN_4_R
Text Label 4200 2450 0 60 ~ 0
EXT_IN_3_R
Text Label 4200 1850 0 60 ~ 0
EXT_IN_2_R
Text Label 4200 1250 0 60 ~ 0
EXT_IN_1_R
Connection ~ 2150 1200
Wire Wire Line
2150 1000 2150 1400
Connection ~ 2550 3300
Wire Wire Line
2550 1900 2550 3300
Connection ~ 2150 2100
Wire Wire Line
2150 1900 2150 2100
Connection ~ 2550 1200
Wire Wire Line
2550 1200 2550 1400
Wire Wire Line
3950 6350 2700 6350
Wire Wire Line
3950 5150 2700 5150
Wire Wire Line
1850 3300 3250 3300
Wire Wire Line
1850 2100 3250 2100
Connection ~ 3050 3500
Wire Wire Line
3050 3500 3250 3500
Wire Wire Line
3250 2300 3050 2300
Wire Wire Line
3050 2300 3050 4250
Wire Wire Line
4900 3900 4000 3900
Wire Wire Line
4000 2700 4900 2700
Wire Wire Line
4000 3500 5600 3500
Wire Wire Line
5600 3500 5600 3050
Wire Wire Line
5600 3050 7150 3050
Wire Wire Line
4000 2300 5600 2300
Wire Wire Line
5600 2300 5600 2850
Wire Wire Line
5600 2850 7150 2850
Wire Wire Line
7950 3050 9050 3050
Wire Wire Line
9050 3050 9050 3300
Wire Wire Line
9050 3300 5400 3300
Wire Wire Line
7950 2850 9050 2850
Wire Wire Line
9050 2850 9050 2100
Wire Wire Line
9050 2100 5400 2100
Wire Wire Line
3750 6150 3950 6150
Wire Wire Line
3750 4950 3950 4950
Connection ~ 3050 5550
Wire Wire Line
3050 5550 3250 5550
Wire Wire Line
3250 6750 3050 6750
Wire Wire Line
3050 6750 3050 4750
Wire Wire Line
7150 5950 4900 5950
Wire Wire Line
4900 5950 4900 6350
Wire Wire Line
4900 6350 4700 6350
Wire Wire Line
7150 5750 5100 5750
Wire Wire Line
5100 5750 5100 5150
Wire Wire Line
5100 5150 4700 5150
Wire Wire Line
7950 5950 9050 5950
Wire Wire Line
9050 5950 9050 6150
Wire Wire Line
9050 6150 4700 6150
Wire Wire Line
7950 5750 9250 5750
Wire Wire Line
9250 5750 9250 4950
Wire Wire Line
9250 4950 4700 4950
Wire Wire Line
4700 5550 9050 5550
Wire Wire Line
9050 5550 9050 5850
Wire Wire Line
9050 5850 7950 5850
Wire Wire Line
4700 6750 9250 6750
Wire Wire Line
9250 6750 9250 6050
Wire Wire Line
9250 6050 7950 6050
Wire Wire Line
4700 5750 4900 5750
Wire Wire Line
4900 5750 4900 5850
Wire Wire Line
4900 5850 7150 5850
Wire Wire Line
4700 6950 5100 6950
Wire Wire Line
5100 6950 5100 6050
Wire Wire Line
5100 6050 7150 6050
Wire Wire Line
3050 6150 3250 6150
Connection ~ 3050 6150
Wire Wire Line
3250 4950 3050 4950
Connection ~ 3050 4950
Wire Wire Line
3750 5550 3950 5550
Wire Wire Line
3750 6750 3950 6750
Wire Wire Line
5400 2700 9250 2700
Wire Wire Line
9250 2700 9250 2950
Wire Wire Line
9250 2950 7950 2950
Wire Wire Line
5400 3900 9250 3900
Wire Wire Line
9250 3900 9250 3150
Wire Wire Line
9250 3150 7950 3150
Wire Wire Line
7150 2950 5450 2950
Wire Wire Line
5450 2950 5450 2900
Wire Wire Line
5450 2900 4000 2900
Wire Wire Line
4000 2100 4900 2100
Wire Wire Line
4000 3300 4900 3300
Wire Wire Line
7150 3150 5800 3150
Wire Wire Line
5800 3150 5800 4100
Wire Wire Line
5800 4100 4000 4100
Wire Wire Line
3050 2900 3250 2900
Connection ~ 3050 2900
Wire Wire Line
3250 4100 3050 4100
Connection ~ 3050 4100
Wire Wire Line
1850 2700 3250 2700
Wire Wire Line
1850 3900 3250 3900
Wire Wire Line
3950 5750 2700 5750
Wire Wire Line
3950 6950 2700 6950
Wire Wire Line
2150 1200 2750 1200
Wire Wire Line
2750 1200 2750 1400
Wire Wire Line
2350 1400 2350 1200
Connection ~ 2350 1200
Wire Wire Line
2350 1900 2350 2700
Connection ~ 2350 2700
Wire Wire Line
2750 1900 2750 3900
Connection ~ 2750 3900
$Comp
L OPTO-TRANS-2X4 U3
U 2 1 4E5A35D5
P 3650 1350
F 0 "U3" H 3800 1550 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3650 1100 60 0000 C CNN
2 3650 1350
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U3
U 1 1 4E5A35D2
P 3650 1950
F 0 "U3" H 3800 2150 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3650 1700 60 0000 C CNN
1 3650 1950
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U4
U 2 1 4E5A35CF
P 3650 2550
F 0 "U4" H 3800 2750 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3650 2300 60 0000 C CNN
2 3650 2550
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U4
U 1 1 4E5A35CD
P 3650 3150
F 0 "U4" H 3800 3350 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3650 2900 60 0000 C CNN
1 3650 3150
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U6
U 2 1 4E5A3480
P 4300 4450
F 0 "U6" H 4200 4650 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 4300 4200 60 0000 C CNN
2 4300 4450
L VDD #PWR020
U 1 1 4E6BED41
P 2150 1000
F 0 "#PWR020" H 2150 1100 30 0001 C CNN
F 1 "VDD" H 2150 1110 50 0000 C CNN
1 2150 1000
1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U6
U 1 1 4E5A347D
L R R10
U 1 1 4E6BECF1
P 2750 1650
F 0 "R10" V 2830 1650 50 0000 C CNN
F 1 "10k" V 2750 1650 50 0000 C CNN
1 2750 1650
-1 0 0 1
$EndComp
$Comp
L R R9
U 1 1 4E6BECEB
P 2550 1650
F 0 "R9" V 2630 1650 50 0000 C CNN
F 1 "10k" V 2550 1650 50 0000 C CNN
1 2550 1650
-1 0 0 1
$EndComp
$Comp
L R R8
U 1 1 4E6BECC7
P 2350 1650
F 0 "R8" V 2430 1650 50 0000 C CNN
F 1 "10k" V 2350 1650 50 0000 C CNN
1 2350 1650
-1 0 0 -1
$EndComp
$Comp
L R R7
U 1 1 4E6BECC3
P 2150 1650
F 0 "R7" V 2230 1650 50 0000 C CNN
F 1 "10k" V 2150 1650 50 0000 C CNN
1 2150 1650
-1 0 0 1
$EndComp
Text Label 4200 3900 0 60 ~ 0
EXT_IN_4_R
Text Label 4200 3300 0 60 ~ 0
EXT_IN_3_R
Text Label 4200 2700 0 60 ~ 0
EXT_IN_2_R
Text Label 4200 2100 0 60 ~ 0
EXT_IN_1_R
$Comp
L OPTO-TRANS-2X4 U2
U 1 1 4E5A35D5
P 3650 2200
F 0 "U2" H 3800 2400 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3650 1950 60 0000 C CNN
1 3650 2200
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U2
U 2 1 4E5A35D2
P 3650 2800
F 0 "U2" H 3800 3000 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3650 2550 60 0000 C CNN
2 3650 2800
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U3
U 1 1 4E5A35CF
P 3650 3400
F 0 "U3" H 3800 3600 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3650 3150 60 0000 C CNN
1 3650 3400
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U3
U 2 1 4E5A35CD
P 3650 4000
F 0 "U3" H 3800 4200 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3650 3750 60 0000 C CNN
2 3650 4000
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U4
U 1 1 4E5A3480
P 4300 5050
F 0 "U6" H 4200 5250 60 0000 C CNN
F 0 "U4" H 4200 5250 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 4300 4800 60 0000 C CNN
1 4300 5050
1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U5
U 2 1 4E5A347B
L OPTO-TRANS-2X4 U4
U 2 1 4E5A347D
P 4300 5650
F 0 "U5" H 4200 5850 60 0000 C CNN
F 0 "U4" H 4200 5850 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 4300 5400 60 0000 C CNN
2 4300 5650
1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U5
U 1 1 4E5A3475
U 1 1 4E5A347B
P 4300 6250
F 0 "U5" H 4200 6450 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 4300 6000 60 0000 C CNN
1 4300 6250
1 0 0 -1
$EndComp
Text Label 6950 5450 2 60 ~ 0
$Comp
L OPTO-TRANS-2X4 U5
U 2 1 4E5A3475
P 4300 6850
F 0 "U5" H 4200 7050 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 4300 6600 60 0000 C CNN
2 4300 6850
1 0 0 -1
$EndComp
Text Label 6950 6050 2 60 ~ 0
EXT_OUT_4_N
Text Label 6950 5350 2 60 ~ 0
Text Label 6950 5950 2 60 ~ 0
EXT_OUT_3_N
Text Label 6950 5250 2 60 ~ 0
Text Label 6950 5850 2 60 ~ 0
EXT_OUT_2_N
Text Label 6950 5150 2 60 ~ 0
Text Label 6950 5750 2 60 ~ 0
EXT_OUT_1_N
Text Label 6950 2300 2 60 ~ 0
Text Label 6950 3150 2 60 ~ 0
EXT_IN_4_N
Text Label 6950 2200 2 60 ~ 0
Text Label 6950 3050 2 60 ~ 0
EXT_IN_3_N
Text Label 6950 2100 2 60 ~ 0
Text Label 6950 2950 2 60 ~ 0
EXT_IN_2_N
Text Label 6950 2000 2 60 ~ 0
Text Label 6950 2850 2 60 ~ 0
EXT_IN_1_N
Text Label 8150 5450 0 60 ~ 0
Text Label 8150 6050 0 60 ~ 0
EXT_OUT_4_P
Text Label 8150 5350 0 60 ~ 0
Text Label 8150 5950 0 60 ~ 0
EXT_OUT_3_P
Text Label 8150 5250 0 60 ~ 0
Text Label 8150 5850 0 60 ~ 0
EXT_OUT_2_P
Text Label 8150 5150 0 60 ~ 0
Text Label 8150 5750 0 60 ~ 0
EXT_OUT_1_P
Text Label 8150 2300 0 60 ~ 0
Text Label 8150 3150 0 60 ~ 0
EXT_IN_4_P
Text Label 8150 2200 0 60 ~ 0
Text Label 8150 3050 0 60 ~ 0
EXT_IN_3_P
Text Label 8150 2100 0 60 ~ 0
Text Label 8150 2950 0 60 ~ 0
EXT_IN_2_P
Text Label 8150 2000 0 60 ~ 0
Text Label 8150 2850 0 60 ~ 0
EXT_IN_1_P
Text GLabel 2700 6350 0 60 Input ~ 0
Text GLabel 2700 6950 0 60 Input ~ 0
OUT_4
Text GLabel 2700 5750 0 60 Input ~ 0
Text GLabel 2700 6350 0 60 Input ~ 0
OUT_3
Text GLabel 2700 5150 0 60 Input ~ 0
Text GLabel 2700 5750 0 60 Input ~ 0
OUT_2
Text GLabel 2700 4550 0 60 Input ~ 0
Text GLabel 2700 5150 0 60 Input ~ 0
OUT_1
Text GLabel 2600 3050 0 60 Output ~ 0
Text GLabel 1850 3900 0 60 Output ~ 0
IN_4
Text GLabel 2600 2450 0 60 Output ~ 0
Text GLabel 1850 3300 0 60 Output ~ 0
IN_3
Text GLabel 2600 1850 0 60 Output ~ 0
Text GLabel 1850 2700 0 60 Output ~ 0
IN_2
Text GLabel 2600 1250 0 60 Output ~ 0
Text GLabel 1850 2100 0 60 Output ~ 0
IN_1
Text Notes 9550 5300 0 60 ~ 0
Text Notes 9550 5900 0 60 ~ 0
Vmax = 80 V\nImax = 5...50 mA
Text Notes 9550 2050 0 60 ~ 0
Text Notes 9550 2900 0 60 ~ 0
Vmin = 1.5 V\nImin = 100 uA\nVmax = 30 V\nImax = 30 mA
$Comp
L CONN_4X2 P4
L CONN_4X2 P3
U 1 1 4E55BFB7
P 7550 2150
F 0 "P4" H 7550 2400 50 0000 C CNN
F 1 "CONN_4X2" V 7550 2150 40 0000 C CNN
1 7550 2150
P 7550 3000
F 0 "P3" H 7550 3250 50 0000 C CNN
F 1 "CONN_4X2" V 7550 3000 40 0000 C CNN
1 7550 3000
1 0 0 -1
$EndComp
$Comp
L CONN_4X2 P5
L CONN_4X2 P4
U 1 1 4E55BFB6
P 7550 5300
F 0 "P5" H 7550 5550 50 0000 C CNN
F 1 "CONN_4X2" V 7550 5300 40 0000 C CNN
1 7550 5300
P 7550 5900
F 0 "P4" H 7550 6150 50 0000 C CNN
F 1 "CONN_4X2" V 7550 5900 40 0000 C CNN
1 7550 5900
1 0 0 -1
$EndComp
$Comp
L +5V #PWR013
L +5V #PWR021
U 1 1 4E55BFB4
P 3050 4150
F 0 "#PWR013" H 3050 4240 20 0001 C CNN
F 1 "+5V" H 3050 4240 50 0000 C CNN
1 3050 4150
P 3050 4750
F 0 "#PWR021" H 3050 4840 20 0001 C CNN
F 1 "+5V" H 3050 4840 50 0000 C CNN
1 3050 4750
1 0 0 -1
$EndComp
$Comp
L R R3
L R R11
U 1 1 4E55BFB3
P 3500 4350
F 0 "R3" V 3580 4350 50 0000 C CNN
F 1 "150" V 3500 4350 50 0000 C CNN
1 3500 4350
0 -1 -1 0
$EndComp
$Comp
L R R4
U 1 1 4E55BFB2
P 3500 4950
F 0 "R4" V 3580 4950 50 0000 C CNN
F 0 "R11" V 3580 4950 50 0000 C CNN
F 1 "150" V 3500 4950 50 0000 C CNN
1 3500 4950
0 -1 -1 0
$EndComp
$Comp
L R R5
U 1 1 4E55BFB1
L R R12
U 1 1 4E55BFB2
P 3500 5550
F 0 "R5" V 3580 5550 50 0000 C CNN
F 0 "R12" V 3580 5550 50 0000 C CNN
F 1 "150" V 3500 5550 50 0000 C CNN
1 3500 5550
0 -1 -1 0
$EndComp
$Comp
L R R6
U 1 1 4E55BFB0
L R R13
U 1 1 4E55BFB1
P 3500 6150
F 0 "R6" V 3580 6150 50 0000 C CNN
F 0 "R13" V 3580 6150 50 0000 C CNN
F 1 "150" V 3500 6150 50 0000 C CNN
1 3500 6150
0 -1 -1 0
$EndComp
$Comp
L R R7
L R R14
U 1 1 4E55BFB0
P 3500 6750
F 0 "R14" V 3580 6750 50 0000 C CNN
F 1 "150" V 3500 6750 50 0000 C CNN
1 3500 6750
0 -1 -1 0
$EndComp
$Comp
L R R15
U 1 1 4E55BFAF
P 5150 1250
F 0 "R7" V 5230 1250 50 0000 C CNN
F 1 "1k" V 5150 1250 50 0000 C CNN
F 4 "1W" V 5050 1250 60 0000 C CNN "Field4"
1 5150 1250
P 5150 2100
F 0 "R15" V 5230 2100 50 0000 C CNN
F 1 "1k" V 5150 2100 50 0000 C CNN
F 4 "1W" V 5050 2100 60 0000 C CNN "Field4"
1 5150 2100
0 -1 -1 0
$EndComp
$Comp
L R R8
L R R16
U 1 1 4E55BFAE
P 5150 1850
F 0 "R8" V 5230 1850 50 0000 C CNN
F 1 "1k" V 5150 1850 50 0000 C CNN
F 4 "1W" V 5050 1850 60 0000 C CNN "Field4"
1 5150 1850
P 5150 2700
F 0 "R16" V 5230 2700 50 0000 C CNN
F 1 "1k" V 5150 2700 50 0000 C CNN
F 4 "1W" V 5050 2700 60 0000 C CNN "Field4"
1 5150 2700
0 -1 -1 0
$EndComp
$Comp
L R R9
L R R17
U 1 1 4E55BFAD
P 5150 2450
F 0 "R9" V 5230 2450 50 0000 C CNN
F 1 "1k" V 5150 2450 50 0000 C CNN
F 4 "1W" V 5050 2450 60 0000 C CNN "Field4"
1 5150 2450
P 5150 3300
F 0 "R17" V 5230 3300 50 0000 C CNN
F 1 "1k" V 5150 3300 50 0000 C CNN
F 4 "1W" V 5050 3300 60 0000 C CNN "Field4"
1 5150 3300
0 -1 -1 0
$EndComp
$Comp
L R R10
L R R18
U 1 1 4E55BFAC
P 5150 3050
F 0 "R10" V 5230 3050 50 0000 C CNN
F 1 "1k" V 5150 3050 50 0000 C CNN
F 4 "1W" V 5050 3050 60 0000 C CNN "Field4"
1 5150 3050
P 5150 3900
F 0 "R18" V 5230 3900 50 0000 C CNN
F 1 "1k" V 5150 3900 50 0000 C CNN
F 4 "1W" V 5050 3900 60 0000 C CNN "Field4"
1 5150 3900
0 -1 -1 0
$EndComp
$Comp
L GND #PWR014
L GND #PWR022
U 1 1 4E55BFAB
P 3050 3400
F 0 "#PWR014" H 3050 3400 30 0001 C CNN
F 1 "GND" H 3050 3330 30 0001 C CNN
1 3050 3400
P 3050 4250
F 0 "#PWR022" H 3050 4250 30 0001 C CNN
F 1 "GND" H 3050 4180 30 0001 C CNN
1 3050 4250
1 0 0 -1
$EndComp
Wire Wire Line
3950 5750 2700 5750
Wire Wire Line
3950 4550 2700 4550
Wire Wire Line
3250 2450 2600 2450
Wire Wire Line
3250 1250 2600 1250
Connection ~ 3050 2650
Wire Wire Line
3050 2650 3250 2650
Wire Wire Line
3250 1450 3050 1450
Wire Wire Line
3050 1450 3050 3400
Wire Wire Line
4900 3050 4000 3050
Wire Wire Line
4000 1850 4900 1850
Wire Wire Line
4000 2650 5600 2650
Wire Wire Line
5600 2650 5600 2200
Wire Wire Line
5600 2200 7150 2200
Wire Wire Line
4000 1450 5600 1450
Wire Wire Line
5600 1450 5600 2000
Wire Wire Line
5600 2000 7150 2000
Wire Wire Line
7950 2200 9050 2200
Wire Wire Line
9050 2200 9050 2450
Wire Wire Line
9050 2450 5400 2450
Wire Wire Line
7950 2000 9050 2000
Wire Wire Line
9050 2000 9050 1250
Wire Wire Line
9050 1250 5400 1250
Wire Wire Line
3750 5550 3950 5550
Wire Wire Line
3750 4350 3950 4350
Connection ~ 3050 4950
Wire Wire Line
3050 4950 3250 4950
Wire Wire Line
3250 6150 3050 6150
Wire Wire Line
3050 6150 3050 4150
Wire Wire Line
7150 5350 4900 5350
Wire Wire Line
4900 5350 4900 5750
Wire Wire Line
4900 5750 4700 5750
Wire Wire Line
7150 5150 5100 5150
Wire Wire Line
5100 5150 5100 4550
Wire Wire Line
5100 4550 4700 4550
Wire Wire Line
7950 5350 9050 5350
Wire Wire Line
9050 5350 9050 5550
Wire Wire Line
9050 5550 4700 5550
Wire Wire Line
7950 5150 9250 5150
Wire Wire Line
9250 5150 9250 4350
Wire Wire Line
9250 4350 4700 4350
Wire Wire Line
4700 4950 9050 4950
Wire Wire Line
9050 4950 9050 5250
Wire Wire Line
9050 5250 7950 5250
Wire Wire Line
4700 6150 9250 6150
Wire Wire Line
9250 6150 9250 5450
Wire Wire Line
9250 5450 7950 5450
Wire Wire Line
4700 5150 4900 5150
Wire Wire Line
4900 5150 4900 5250
Wire Wire Line
4900 5250 7150 5250
Wire Wire Line
4700 6350 5100 6350
Wire Wire Line
5100 6350 5100 5450
Wire Wire Line
5100 5450 7150 5450
Wire Wire Line
3050 5550 3250 5550
Connection ~ 3050 5550
Wire Wire Line
3250 4350 3050 4350
Connection ~ 3050 4350
Wire Wire Line
3750 4950 3950 4950
Wire Wire Line
3750 6150 3950 6150
Wire Wire Line
5400 1850 9250 1850
Wire Wire Line
9250 1850 9250 2100
Wire Wire Line
9250 2100 7950 2100
Wire Wire Line
5400 3050 9250 3050
Wire Wire Line
9250 3050 9250 2300
Wire Wire Line
9250 2300 7950 2300
Wire Wire Line
7150 2100 5450 2100
Wire Wire Line
5450 2100 5450 2050
Wire Wire Line
5450 2050 4000 2050
Wire Wire Line
4000 1250 4900 1250
Wire Wire Line
4000 2450 4900 2450
Wire Wire Line
7150 2300 5800 2300
Wire Wire Line
5800 2300 5800 3250
Wire Wire Line
5800 3250 4000 3250
Wire Wire Line
3250 2050 3050 2050
Connection ~ 3050 2050
Wire Wire Line
3250 3250 3050 3250
Connection ~ 3050 3250
Wire Wire Line
3250 1850 2600 1850
Wire Wire Line
3250 3050 2600 3050
Wire Wire Line
3950 5150 2700 5150
Wire Wire Line
3950 6350 2700 6350
$EndSCHEMATC

372
labsw/ch12.sch Normal file
View File

@ -0,0 +1,372 @@
EESchema Schematic File Version 2 date Sat Sep 10 20:21:28 2011
LIBS:power
LIBS:device
LIBS:conn
LIBS:c8051f320
LIBS:mini_usb_b
LIBS:opto-trans-4
LIBS:spdt-c
LIBS:dual_diode
LIBS:opto-trans-8
LIBS:labsw-cache
EELAYER 24 0
EELAYER END
$Descr A4 11700 8267
Sheet 2 4
Title "Lab Switch (CH1/2)"
Date "10 sep 2011"
Rev "1"
Comp "Werner Almesberger"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L +5V #PWR016
U 1 1 4E6BEEF5
P 6600 1600
F 0 "#PWR016" H 6600 1690 20 0001 C CNN
F 1 "+5V" H 6600 1690 50 0000 C CNN
1 6600 1600
1 0 0 -1
$EndComp
$Comp
L +5V #PWR017
U 1 1 4E6BEEF4
P 6600 4100
F 0 "#PWR017" H 6600 4190 20 0001 C CNN
F 1 "+5V" H 6600 4190 50 0000 C CNN
1 6600 4100
1 0 0 -1
$EndComp
$Comp
L R R19
U 1 1 4E6BEEF3
P 6750 2250
F 0 "R19" V 6830 2250 50 0000 C CNN
F 1 "150" V 6750 2250 50 0000 C CNN
1 6750 2250
-1 0 0 1
$EndComp
$Comp
L R R20
U 1 1 4E6BEEF2
P 6750 4750
F 0 "R20" V 6830 4750 50 0000 C CNN
F 1 "150" V 6750 4750 50 0000 C CNN
1 6750 4750
-1 0 0 1
$EndComp
$Comp
L CONN_2 P5
U 1 1 4E6BEEF1
P 2600 3700
F 0 "P5" V 2550 3700 40 0000 C CNN
F 1 "CONN_2" V 2650 3700 40 0000 C CNN
1 2600 3700
-1 0 0 -1
$EndComp
$Comp
L CONN_3 K2
U 1 1 4E6BEEF0
P 2600 4750
F 0 "K2" V 2550 4750 50 0000 C CNN
F 1 "CONN_3" V 2650 4750 40 0000 C CNN
1 2600 4750
-1 0 0 -1
$EndComp
$Comp
L CONN_3 K1
U 1 1 4E6BEEEF
P 2600 2250
F 0 "K1" V 2550 2250 50 0000 C CNN
F 1 "CONN_3" V 2650 2250 40 0000 C CNN
1 2600 2250
-1 0 0 -1
$EndComp
$Comp
L SPDT-C K4
U 1 1 4E6BEEEE
P 5400 4750
F 0 "K4" H 5100 4750 60 0000 C CNN
F 1 "SPDT-C" H 5850 4700 60 0000 C CNN
1 5400 4750
-1 0 0 -1
$EndComp
$Comp
L SPDT-C K3
U 1 1 4E6BEEED
P 5400 2250
F 0 "K3" H 5100 2250 60 0000 C CNN
F 1 "SPDT-C" H 5850 2200 60 0000 C CNN
1 5400 2250
-1 0 0 -1
$EndComp
Text GLabel 6350 3250 2 60 Input ~ 0
CH1_OPT
Text GLabel 6350 5750 2 60 Input ~ 0
CH2_OPT
$Comp
L NPN Q1
U 1 1 4E6BEEEC
P 7250 3150
F 0 "Q1" H 7250 3000 50 0000 R CNN
F 1 "NPN" H 7250 3300 50 0000 R CNN
1 7250 3150
-1 0 0 -1
$EndComp
$Comp
L NPN Q2
U 1 1 4E6BEEEB
P 7250 5650
F 0 "Q2" H 7250 5500 50 0000 R CNN
F 1 "NPN" H 7250 5800 50 0000 R CNN
1 7250 5650
-1 0 0 -1
$EndComp
$Comp
L GND #PWR018
U 1 1 4E6BEEEA
P 7150 3550
F 0 "#PWR018" H 7150 3550 30 0001 C CNN
F 1 "GND" H 7150 3480 30 0001 C CNN
1 7150 3550
1 0 0 -1
$EndComp
$Comp
L GND #PWR019
U 1 1 4E6BEEE9
P 7150 6050
F 0 "#PWR019" H 7150 6050 30 0001 C CNN
F 1 "GND" H 7150 5980 30 0001 C CNN
1 7150 6050
1 0 0 -1
$EndComp
Text GLabel 8350 3150 2 60 Input ~ 0
CH1_RELAY
Text GLabel 8350 5650 2 60 Input ~ 0
CH2_RELAY
$Comp
L R R21
U 1 1 4E6BEEE8
P 7900 3150
F 0 "R21" V 7980 3150 50 0000 C CNN
F 1 "1k" V 7900 3150 50 0000 C CNN
1 7900 3150
0 -1 -1 0
$EndComp
$Comp
L R R22
U 1 1 4E6BEEE7
P 7900 5650
F 0 "R22" V 7980 5650 50 0000 C CNN
F 1 "1k" V 7900 5650 50 0000 C CNN
1 7900 5650
0 -1 -1 0
$EndComp
Text Label 3150 2150 0 60 ~ 0
EXT_CH1_OFF
Text Label 3150 2250 0 60 ~ 0
EXT_CH1_COM
Text Label 3150 2350 0 60 ~ 0
EXT_CH1_ON
Text Label 3150 4650 0 60 ~ 0
EXT_CH2_OFF
Text Label 3150 4750 0 60 ~ 0
EXT_CH2_COM
Text Label 3150 4850 0 60 ~ 0
EXT_CH2_ON
Text Label 3150 3600 0 60 ~ 0
EXT_CH1_OPT
Text Label 3150 3800 0 60 ~ 0
EXT_CH2_OPT
$Comp
L DS D1
U 1 1 4E6BEEE6
P 6200 2250
F 0 "D1" H 6000 2400 40 0000 C CNN
F 1 "DS" H 6200 2100 40 0000 C CNN
1 6200 2250
1 0 0 -1
$EndComp
$Comp
L DS D2
U 1 1 4E6BEEE5
P 6200 4750
F 0 "D2" H 6000 4900 40 0000 C CNN
F 1 "DS" H 6200 4600 40 0000 C CNN
1 6200 4750
1 0 0 -1
$EndComp
NoConn ~ 6400 2500
NoConn ~ 6400 5000
Connection ~ 6000 2750
Wire Wire Line
6000 2500 6000 2750
Wire Wire Line
7450 5650 7650 5650
Wire Wire Line
7450 3150 7650 3150
Wire Wire Line
5650 5750 6350 5750
Wire Wire Line
5650 3250 6350 3250
Wire Wire Line
7150 2750 5500 2750
Wire Wire Line
5650 3050 6750 3050
Wire Wire Line
7150 2750 7150 2950
Wire Wire Line
7150 3350 7150 3550
Wire Wire Line
6750 5000 6750 5550
Wire Wire Line
5500 5050 5500 5250
Connection ~ 6600 1750
Wire Wire Line
6600 1600 6600 1750
Wire Wire Line
6750 2000 6750 1750
Wire Wire Line
6750 1750 5500 1750
Wire Wire Line
5500 1750 5500 1950
Wire Wire Line
2950 3600 4300 3600
Wire Wire Line
4300 3600 4300 3050
Wire Wire Line
4300 3050 4900 3050
Connection ~ 4500 2750
Wire Wire Line
4900 3250 4500 3250
Wire Wire Line
4500 3250 4500 2250
Wire Wire Line
2950 4750 4500 4750
Wire Wire Line
4500 5250 5300 5250
Wire Wire Line
5300 5250 5300 5050
Connection ~ 5300 4050
Wire Wire Line
5300 4450 5300 4050
Connection ~ 5100 4250
Wire Wire Line
5100 4450 5100 4250
Connection ~ 5100 1750
Wire Wire Line
5100 1950 5100 1750
Connection ~ 5200 2750
Wire Wire Line
5200 2550 5200 2750
Connection ~ 5300 1550
Wire Wire Line
5300 1950 5300 1550
Wire Wire Line
5400 1950 5400 1550
Wire Wire Line
5400 1550 4500 1550
Wire Wire Line
4500 1550 4500 2150
Wire Wire Line
4500 2150 2950 2150
Wire Wire Line
5300 2550 5300 2750
Wire Wire Line
5300 2750 4500 2750
Wire Wire Line
4500 2250 2950 2250
Wire Wire Line
2950 2350 4700 2350
Wire Wire Line
5200 1750 4700 1750
Wire Wire Line
5200 1750 5200 1950
Wire Wire Line
5200 4450 5200 4250
Wire Wire Line
5200 4250 4700 4250
Wire Wire Line
4700 4250 4700 4850
Wire Wire Line
4700 4850 2950 4850
Wire Wire Line
4500 4050 5400 4050
Wire Wire Line
4500 4050 4500 4650
Wire Wire Line
4500 4650 2950 4650
Wire Wire Line
5400 4050 5400 4450
Wire Wire Line
5200 5050 5200 5250
Connection ~ 5200 5250
Wire Wire Line
4700 1750 4700 2350
Wire Wire Line
4500 4750 4500 5750
Wire Wire Line
4500 5750 4900 5750
Connection ~ 4500 5250
Wire Wire Line
4900 5550 4300 5550
Wire Wire Line
4300 5550 4300 3800
Wire Wire Line
4300 3800 2950 3800
Wire Wire Line
5500 4450 5500 4250
Wire Wire Line
5500 4250 6750 4250
Wire Wire Line
6750 4250 6750 4500
Wire Wire Line
6600 4100 6600 4250
Connection ~ 6600 4250
Wire Wire Line
5500 2750 5500 2550
Wire Wire Line
6750 3050 6750 2500
Wire Wire Line
7150 6050 7150 5850
Wire Wire Line
7150 5450 7150 5250
Wire Wire Line
6750 5550 5650 5550
Wire Wire Line
7150 5250 5500 5250
Wire Wire Line
8150 3150 8350 3150
Wire Wire Line
8150 5650 8350 5650
Wire Wire Line
6200 2000 6200 1750
Connection ~ 6200 1750
Wire Wire Line
6200 4250 6200 4500
Connection ~ 6200 4250
Wire Wire Line
6000 5000 6000 5250
Connection ~ 6000 5250
$Comp
L OPTO-TRANS-2X4 U6
U 2 1 4E6BEEE4
P 5300 5650
F 0 "U6" H 5450 5850 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 5300 5400 60 0000 C CNN
2 5300 5650
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U6
U 1 1 4E6BEEE3
P 5300 3150
F 0 "U6" H 5450 3350 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 5300 2900 60 0000 C CNN
1 5300 3150
-1 0 0 -1
$EndComp
$EndSCHEMATC

View File

@ -1,4 +1,4 @@
EESchema Schematic File Version 2 date Sat Sep 3 03:34:26 2011
EESchema Schematic File Version 2 date Sat Sep 10 20:21:28 2011
LIBS:power
LIBS:device
LIBS:conn
@ -12,464 +12,172 @@ LIBS:labsw-cache
EELAYER 24 0
EELAYER END
$Descr A4 11700 8267
Sheet 3 3
Sheet 4 4
Title "Lab Switch (Front panel)"
Date "3 sep 2011"
Rev "0"
Date "10 sep 2011"
Rev "1"
Comp "Werner Almesberger"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Connection ~ 5100 4300
Wire Wire Line
5100 3900 5100 4300
Connection ~ 4700 4100
Wire Wire Line
4700 3900 4700 4100
Connection ~ 4700 3200
Wire Wire Line
4700 3200 5100 3200
Wire Wire Line
5100 3200 5100 3400
Connection ~ 8150 4200
Wire Wire Line
7950 4200 8150 4200
Wire Wire Line
3750 4300 7150 4300
Wire Wire Line
4400 4200 7150 4200
Wire Wire Line
8550 3100 8550 2900
Wire Wire Line
8150 3100 8150 2900
Wire Wire Line
8350 3600 8350 3900
Wire Wire Line
8350 3900 7950 3900
Wire Wire Line
6200 4000 7150 4000
Wire Wire Line
6200 3800 7150 3800
Wire Wire Line
7150 3900 6950 3900
Wire Wire Line
7950 3800 8150 3800
Wire Wire Line
8150 3800 8150 3600
Wire Wire Line
7950 4000 8550 4000
Wire Wire Line
8550 4000 8550 3600
Wire Wire Line
8350 3100 8350 2900
Wire Wire Line
3750 4100 7150 4100
Wire Wire Line
7950 4100 8150 4100
Wire Wire Line
8150 4100 8150 4450
Wire Wire Line
7950 4300 8150 4300
Connection ~ 8150 4300
Wire Wire Line
4700 3000 4700 3400
Wire Wire Line
4900 3400 4900 3200
Connection ~ 4900 3200
Wire Wire Line
4900 3900 4900 4200
Connection ~ 4900 4200
$Comp
L OPTO-TRANS-2X4 U2
U 2 1 4E5A3025
P 3750 3350
F 0 "U2" H 3900 3550 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3750 3100 60 0000 C CNN
2 3750 3350
-1 0 0 -1
$EndComp
$Comp
L OPTO-TRANS-2X4 U2
U 1 1 4E5A3010
P 3750 5850
F 0 "U2" H 3900 6050 60 0000 C CNN
F 1 "OPTO-TRANS-2X4" H 3750 5600 60 0000 C CNN
1 3750 5850
-1 0 0 -1
$EndComp
Connection ~ 4450 5450
Wire Wire Line
4450 5200 4450 5450
Connection ~ 4650 4450
Wire Wire Line
4650 4450 4650 4700
Connection ~ 4650 1950
Wire Wire Line
4650 2200 4650 1950
Connection ~ 10050 4600
Wire Wire Line
9850 4600 10050 4600
Wire Wire Line
8850 4700 9050 4700
Wire Wire Line
8100 4600 9050 4600
Wire Wire Line
6600 5850 6800 5850
Wire Wire Line
6600 3350 6800 3350
Wire Wire Line
10450 3500 10450 3300
Wire Wire Line
10050 3500 10050 3300
Wire Wire Line
10250 4000 10250 4300
Wire Wire Line
10250 4300 9850 4300
Wire Wire Line
5600 5450 3950 5450
Wire Wire Line
4100 5750 5200 5750
Wire Wire Line
5600 5450 5600 5650
Wire Wire Line
5600 6250 5600 6050
Wire Wire Line
8100 4400 9050 4400
Wire Wire Line
8100 4200 9050 4200
Wire Wire Line
5200 2700 5200 3250
Wire Wire Line
3950 2750 3950 2950
Connection ~ 5050 4450
Wire Wire Line
5050 4300 5050 4450
Wire Wire Line
5200 4700 5200 4450
Wire Wire Line
5200 4450 3950 4450
Wire Wire Line
3950 4450 3950 4650
Wire Wire Line
1400 4000 2750 4000
Wire Wire Line
2750 4000 2750 5750
Wire Wire Line
2750 5750 3350 5750
Connection ~ 2950 5450
Wire Wire Line
3350 5950 2950 5950
Wire Wire Line
2950 5950 2950 4950
Wire Wire Line
3150 1950 3150 2550
Connection ~ 3650 5450
Wire Wire Line
3650 5250 3650 5450
Wire Wire Line
3850 4650 3850 4250
Wire Wire Line
1400 4850 2950 4850
Wire Wire Line
2950 4850 2950 4250
Wire Wire Line
2950 4250 3850 4250
Wire Wire Line
1400 5050 3150 5050
Wire Wire Line
3150 5050 3150 4450
Wire Wire Line
3150 4450 3650 4450
Wire Wire Line
3650 4450 3650 4650
Wire Wire Line
3650 2150 3650 1950
Wire Wire Line
3650 1950 3150 1950
Wire Wire Line
3150 2550 1400 2550
Wire Wire Line
1400 2450 2950 2450
Wire Wire Line
2950 2950 3750 2950
Wire Wire Line
3750 2950 3750 2750
Wire Wire Line
1400 2350 2950 2350
Wire Wire Line
2950 2350 2950 1750
Wire Wire Line
2950 1750 3850 1750
Wire Wire Line
3850 1750 3850 2150
Wire Wire Line
3750 2150 3750 1750
Connection ~ 3750 1750
Wire Wire Line
3650 2750 3650 2950
Connection ~ 3650 2950
Wire Wire Line
3550 2150 3550 1950
Connection ~ 3550 1950
Wire Wire Line
3550 4650 3550 4450
Connection ~ 3550 4450
Wire Wire Line
3750 4650 3750 4250
Connection ~ 3750 4250
Wire Wire Line
3750 5250 3750 5450
Wire Wire Line
3750 5450 2950 5450
Wire Wire Line
2950 4950 1400 4950
Wire Wire Line
2950 2450 2950 3450
Wire Wire Line
2950 3450 3350 3450
Connection ~ 2950 2950
Wire Wire Line
3350 3250 2750 3250
Wire Wire Line
2750 3250 2750 3800
Wire Wire Line
2750 3800 1400 3800
Wire Wire Line
3950 2150 3950 1950
Wire Wire Line
3950 1950 5200 1950
Wire Wire Line
5200 1950 5200 2200
Wire Wire Line
5050 1800 5050 1950
Connection ~ 5050 1950
Wire Wire Line
3950 5450 3950 5250
Wire Wire Line
5200 5750 5200 5200
Wire Wire Line
9050 4300 8850 4300
Wire Wire Line
5600 3550 5600 3750
Wire Wire Line
5600 3150 5600 2950
Wire Wire Line
5200 3250 4100 3250
Wire Wire Line
5600 2950 3950 2950
Wire Wire Line
9850 4200 10050 4200
Wire Wire Line
10050 4200 10050 4000
Wire Wire Line
9850 4400 10450 4400
Wire Wire Line
10450 4400 10450 4000
Wire Wire Line
10250 3500 10250 3300
Wire Wire Line
4100 3450 4800 3450
Wire Wire Line
4100 5950 4800 5950
Wire Wire Line
5900 3350 6100 3350
Wire Wire Line
5900 5850 6100 5850
Wire Wire Line
8850 4500 9050 4500
Wire Wire Line
9850 4500 10050 4500
Wire Wire Line
10050 4500 10050 4850
Wire Wire Line
9850 4700 10050 4700
Connection ~ 10050 4700
Wire Wire Line
4450 2700 4450 2950
Connection ~ 4450 2950
NoConn ~ 4850 5200
NoConn ~ 4850 2700
$Comp
L DS D2
U 1 1 4E595CFC
P 4650 4950
F 0 "D2" H 4450 5100 40 0000 C CNN
F 1 "DS" H 4650 4800 40 0000 C CNN
1 4650 4950
L VDD #PWR023
U 1 1 4E6BEF5F
P 4700 3000
F 0 "#PWR023" H 4700 3100 30 0001 C CNN
F 1 "VDD" H 4700 3110 50 0000 C CNN
1 4700 3000
1 0 0 -1
$EndComp
$Comp
L DS D1
U 1 1 4E595CFA
P 4650 2450
F 0 "D1" H 4450 2600 40 0000 C CNN
F 1 "DS" H 4650 2300 40 0000 C CNN
1 4650 2450
1 0 0 -1
$EndComp
Text Label 1600 4000 0 60 ~ 0
EXT_CH2_OPT
Text Label 1600 3800 0 60 ~ 0
EXT_CH1_OPT
Text Label 1600 5050 0 60 ~ 0
EXT_CH2_ON
Text Label 1600 4950 0 60 ~ 0
EXT_CH2_COM
Text Label 1600 4850 0 60 ~ 0
EXT_CH2_OFF
Text Label 1600 2550 0 60 ~ 0
EXT_CH1_ON
Text Label 1600 2450 0 60 ~ 0
EXT_CH1_COM
Text Label 1600 2350 0 60 ~ 0
EXT_CH1_OFF
$Comp
L R R15
U 1 1 4E571F7D
P 6350 5850
F 0 "R15" V 6430 5850 50 0000 C CNN
F 1 "1k" V 6350 5850 50 0000 C CNN
1 6350 5850
0 -1 -1 0
$EndComp
$Comp
L R R14
U 1 1 4E571F7B
P 6350 3350
F 0 "R14" V 6430 3350 50 0000 C CNN
F 1 "1k" V 6350 3350 50 0000 C CNN
1 6350 3350
0 -1 -1 0
$EndComp
$Comp
L R R13
U 1 1 4E571DEB
P 10450 3750
F 0 "R13" V 10530 3750 50 0000 C CNN
F 1 "100" V 10450 3750 50 0000 C CNN
1 10450 3750
L R R3
U 1 1 4E6BEF55
P 5100 3650
F 0 "R3" V 5180 3650 50 0000 C CNN
F 1 "10k" V 5100 3650 50 0000 C CNN
1 5100 3650
-1 0 0 1
$EndComp
$Comp
L R R12
U 1 1 4E571DE9
P 10250 3750
F 0 "R12" V 10330 3750 50 0000 C CNN
F 1 "100" V 10250 3750 50 0000 C CNN
1 10250 3750
-1 0 0 1
$EndComp
$Comp
L R R11
U 1 1 4E571DE7
P 10050 3750
F 0 "R11" V 10130 3750 50 0000 C CNN
F 1 "100" V 10050 3750 50 0000 C CNN
1 10050 3750
-1 0 0 1
$EndComp
Text GLabel 6800 5850 2 60 Input ~ 0
CH2_RELAY
Text GLabel 6800 3350 2 60 Input ~ 0
CH1_RELAY
$Comp
L GND #PWR015
U 1 1 4E55FF49
P 5600 6250
F 0 "#PWR015" H 5600 6250 30 0001 C CNN
F 1 "GND" H 5600 6180 30 0001 C CNN
1 5600 6250
1 0 0 -1
$EndComp
$Comp
L GND #PWR016
U 1 1 4E55FF3C
P 5600 3750
F 0 "#PWR016" H 5600 3750 30 0001 C CNN
F 1 "GND" H 5600 3680 30 0001 C CNN
1 5600 3750
1 0 0 -1
$EndComp
$Comp
L NPN Q2
U 1 1 4E55FF2E
P 5700 5850
F 0 "Q2" H 5700 5700 50 0000 R CNN
F 1 "NPN" H 5700 6000 50 0000 R CNN
1 5700 5850
-1 0 0 -1
$EndComp
$Comp
L NPN Q1
U 1 1 4E55FF19
P 5700 3350
F 0 "Q1" H 5700 3200 50 0000 R CNN
F 1 "NPN" H 5700 3500 50 0000 R CNN
1 5700 3350
-1 0 0 -1
$EndComp
Text GLabel 10450 3300 1 60 Input ~ 0
LED_MAIN_R
Text GLabel 10250 3300 1 60 Input ~ 0
LED_CH2_R
Text GLabel 10050 3300 1 60 Input ~ 0
LED_CH1_R
Text GLabel 8850 4700 0 60 Input ~ 0
BUT_MAIN
Text GLabel 8100 4600 0 60 Input ~ 0
BUT_CH2
Text GLabel 8850 4500 0 60 Input ~ 0
BUT_CH1
Text GLabel 8100 4400 0 60 Input ~ 0
LED_MAIN_G
Text GLabel 8850 4300 0 60 Input ~ 0
LED_CH2_G
Text GLabel 8100 4200 0 60 Input ~ 0
LED_CH1_G
Text GLabel 4800 5950 2 60 Input ~ 0
CH2_OPT
Text GLabel 4800 3450 2 60 Input ~ 0
CH1_OPT
$Comp
L CONN_6X2 P3
U 1 1 4E55C01D
P 9450 4450
F 0 "P3" H 9450 4800 60 0000 C CNN
F 1 "CONN_6X2" V 9450 4450 60 0000 C CNN
1 9450 4450
1 0 0 -1
$EndComp
$Comp
L GND #PWR017
U 1 1 4E55C01C
P 10050 4850
F 0 "#PWR017" H 10050 4850 30 0001 C CNN
F 1 "GND" H 10050 4780 30 0001 C CNN
1 10050 4850
1 0 0 -1
$EndComp
$Comp
L SPDT-C K3
U 1 1 4E55BFDC
P 3850 2450
F 0 "K3" H 3550 2450 60 0000 C CNN
F 1 "SPDT-C" H 4300 2400 60 0000 C CNN
1 3850 2450
-1 0 0 -1
$EndComp
$Comp
L SPDT-C K4
U 1 1 4E55BFDB
P 3850 4950
F 0 "K4" H 3550 4950 60 0000 C CNN
F 1 "SPDT-C" H 4300 4900 60 0000 C CNN
1 3850 4950
-1 0 0 -1
$EndComp
$Comp
L CONN_3 K1
U 1 1 4E55BFD8
P 1050 2450
F 0 "K1" V 1000 2450 50 0000 C CNN
F 1 "CONN_3" V 1100 2450 40 0000 C CNN
1 1050 2450
-1 0 0 -1
$EndComp
$Comp
L CONN_3 K2
U 1 1 4E55BFD7
P 1050 4950
F 0 "K2" V 1000 4950 50 0000 C CNN
F 1 "CONN_3" V 1100 4950 40 0000 C CNN
1 1050 4950
-1 0 0 -1
$EndComp
$Comp
L CONN_2 P2
U 1 1 4E55BFD6
P 1050 3900
F 0 "P2" V 1000 3900 40 0000 C CNN
F 1 "CONN_2" V 1100 3900 40 0000 C CNN
1 1050 3900
-1 0 0 -1
$EndComp
$Comp
L R R2
U 1 1 4E55BFD5
P 5200 4950
F 0 "R2" V 5280 4950 50 0000 C CNN
F 1 "150" V 5200 4950 50 0000 C CNN
1 5200 4950
U 1 1 4E6BEF4F
P 4900 3650
F 0 "R2" V 4980 3650 50 0000 C CNN
F 1 "10k" V 4900 3650 50 0000 C CNN
1 4900 3650
-1 0 0 1
$EndComp
$Comp
L R R1
U 1 1 4E55BFD4
P 5200 2450
F 0 "R1" V 5280 2450 50 0000 C CNN
F 1 "150" V 5200 2450 50 0000 C CNN
1 5200 2450
U 1 1 4E6BEF4C
P 4700 3650
F 0 "R1" V 4780 3650 50 0000 C CNN
F 1 "10k" V 4700 3650 50 0000 C CNN
1 4700 3650
-1 0 0 1
$EndComp
$Comp
L +5V #PWR018
U 1 1 4E55BFD1
P 5050 4300
F 0 "#PWR018" H 5050 4390 20 0001 C CNN
F 1 "+5V" H 5050 4390 50 0000 C CNN
1 5050 4300
L R R6
U 1 1 4E571DEB
P 8550 3350
F 0 "R6" V 8630 3350 50 0000 C CNN
F 1 "100" V 8550 3350 50 0000 C CNN
1 8550 3350
-1 0 0 1
$EndComp
$Comp
L R R5
U 1 1 4E571DE9
P 8350 3350
F 0 "R5" V 8430 3350 50 0000 C CNN
F 1 "100" V 8350 3350 50 0000 C CNN
1 8350 3350
-1 0 0 1
$EndComp
$Comp
L R R4
U 1 1 4E571DE7
P 8150 3350
F 0 "R4" V 8230 3350 50 0000 C CNN
F 1 "100" V 8150 3350 50 0000 C CNN
1 8150 3350
-1 0 0 1
$EndComp
Text GLabel 8550 2900 1 60 Input ~ 0
LED_MAIN_R
Text GLabel 8350 2900 1 60 Input ~ 0
LED_CH2_R
Text GLabel 8150 2900 1 60 Input ~ 0
LED_CH1_R
Text GLabel 3750 4300 0 60 Input ~ 0
BUT_MAIN
Text GLabel 4400 4200 0 60 Input ~ 0
BUT_CH2
Text GLabel 3750 4100 0 60 Input ~ 0
BUT_CH1
Text GLabel 6200 4000 0 60 Input ~ 0
LED_MAIN_G
Text GLabel 6950 3900 0 60 Input ~ 0
LED_CH2_G
Text GLabel 6200 3800 0 60 Input ~ 0
LED_CH1_G
$Comp
L CONN_6X2 P2
U 1 1 4E55C01D
P 7550 4050
F 0 "P2" H 7550 4400 60 0000 C CNN
F 1 "CONN_6X2" V 7550 4050 60 0000 C CNN
1 7550 4050
1 0 0 -1
$EndComp
$Comp
L +5V #PWR019
U 1 1 4E55BFD0
P 5050 1800
F 0 "#PWR019" H 5050 1890 20 0001 C CNN
F 1 "+5V" H 5050 1890 50 0000 C CNN
1 5050 1800
L GND #PWR024
U 1 1 4E55C01C
P 8150 4450
F 0 "#PWR024" H 8150 4450 30 0001 C CNN
F 1 "GND" H 8150 4380 30 0001 C CNN
1 8150 4450
1 0 0 -1
$EndComp
$EndSCHEMATC

View File

@ -1,4 +1,4 @@
Cmp-Mod V01 Created by CvPCB (2010-12-27 BZR 2685)-unstable date = Sat Sep 10 19:58:29 2011
Cmp-Mod V01 Created by CvPCB (2010-12-27 BZR 2685)-unstable date = Sat Sep 10 20:21:25 2011
BeginCmp
TimeStamp = /4E55CABB;
@ -36,42 +36,42 @@ IdModule = miniUSB_B;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E595CFA;
TimeStamp = /4E6BEDF0/4E6BEEE6;
Reference = D1;
ValeurCmp = DS;
IdModule = SOT-323;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E595CFC;
TimeStamp = /4E6BEDF0/4E6BEEE5;
Reference = D2;
ValeurCmp = DS;
IdModule = SOT-323;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55BFD8;
TimeStamp = /4E6BEDF0/4E6BEEEF;
Reference = K1;
ValeurCmp = CONN_3;
IdModule = HDR-3x1-200mil;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55BFD7;
TimeStamp = /4E6BEDF0/4E6BEEF0;
Reference = K2;
ValeurCmp = CONN_3;
IdModule = HDR-3x1-200mil;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55BFDC;
TimeStamp = /4E6BEDF0/4E6BEEED;
Reference = K3;
ValeurCmp = SPDT-C;
IdModule = RELAY;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55BFDB;
TimeStamp = /4E6BEDF0/4E6BEEEE;
Reference = K4;
ValeurCmp = SPDT-C;
IdModule = RELAY;
@ -85,148 +85,197 @@ IdModule = HDR-4x1-100mil;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55BFD6;
TimeStamp = /4E55BEC4/4E55C01D;
Reference = P2;
ValeurCmp = CONN_2;
ValeurCmp = CONN_6X2;
IdModule = HDR-2x1-100mil;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55C01D;
TimeStamp = /4E55BED6/4E55BFB7;
Reference = P3;
ValeurCmp = CONN_6X2;
ValeurCmp = CONN_4X2;
IdModule = HDR-6x2-100mil;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB7;
TimeStamp = /4E55BED6/4E55BFB6;
Reference = P4;
ValeurCmp = CONN_4X2;
IdModule = HDR-4x2-100mil;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB6;
TimeStamp = /4E6BEDF0/4E6BEEF1;
Reference = P5;
ValeurCmp = CONN_4X2;
ValeurCmp = CONN_2;
IdModule = HDR-4x2-100mil;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55FF19;
TimeStamp = /4E6BEDF0/4E6BEEEC;
Reference = Q1;
ValeurCmp = NPN;
IdModule = SOT-323-CW;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55FF2E;
TimeStamp = /4E6BEDF0/4E6BEEEB;
Reference = Q2;
ValeurCmp = NPN;
IdModule = SOT-323-CW;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55BFD4;
TimeStamp = /4E55BEC4/4E6BEF4C;
Reference = R1;
ValeurCmp = 150;
ValeurCmp = 10k;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E55BFD5;
TimeStamp = /4E55BEC4/4E6BEF4F;
Reference = R2;
ValeurCmp = 150;
ValeurCmp = 10k;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB3;
TimeStamp = /4E55BEC4/4E6BEF55;
Reference = R3;
ValeurCmp = 150;
ValeurCmp = 10k;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB2;
Reference = R4;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB1;
Reference = R5;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB0;
Reference = R6;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFAF;
Reference = R7;
ValeurCmp = 1k;
IdModule = 2512;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFAE;
Reference = R8;
ValeurCmp = 1k;
IdModule = 2512;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFAD;
Reference = R9;
ValeurCmp = 1k;
IdModule = 2512;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFAC;
Reference = R10;
ValeurCmp = 1k;
IdModule = 2512;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E571DE7;
Reference = R11;
Reference = R4;
ValeurCmp = 100;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E571DE9;
Reference = R12;
Reference = R5;
ValeurCmp = 100;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E571DEB;
Reference = R13;
Reference = R6;
ValeurCmp = 100;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E571F7B;
TimeStamp = /4E55BED6/4E6BECC3;
Reference = R7;
ValeurCmp = 10k;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E6BECC7;
Reference = R8;
ValeurCmp = 10k;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E6BECEB;
Reference = R9;
ValeurCmp = 10k;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E6BECF1;
Reference = R10;
ValeurCmp = 10k;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB3;
Reference = R11;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB2;
Reference = R12;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB1;
Reference = R13;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFB0;
Reference = R14;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFAF;
Reference = R15;
ValeurCmp = 1k;
IdModule = 2512;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFAE;
Reference = R16;
ValeurCmp = 1k;
IdModule = 2512;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFAD;
Reference = R17;
ValeurCmp = 1k;
IdModule = 2512;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E55BFAC;
Reference = R18;
ValeurCmp = 1k;
IdModule = 2512;
EndCmp
BeginCmp
TimeStamp = /4E6BEDF0/4E6BEEF3;
Reference = R19;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E6BEDF0/4E6BEEF2;
Reference = R20;
ValeurCmp = 150;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E6BEDF0/4E6BEEE8;
Reference = R21;
ValeurCmp = 1k;
IdModule = 0603;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E571F7D;
Reference = R15;
TimeStamp = /4E6BEDF0/4E6BEEE7;
Reference = R22;
ValeurCmp = 1k;
IdModule = 0603;
EndCmp
@ -239,21 +288,21 @@ IdModule = LQFP32;
EndCmp
BeginCmp
TimeStamp = /4E55BEC4/4E5A3025;
TimeStamp = /4E55BED6/4E5A35D5;
Reference = U2;
ValeurCmp = OPTO-TRANS-2X4;
IdModule = DIP-8-300mil;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E5A35D5;
TimeStamp = /4E55BED6/4E5A35CF;
Reference = U3;
ValeurCmp = OPTO-TRANS-2X4;
IdModule = DIP-8-300mil;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E5A35CF;
TimeStamp = /4E55BED6/4E5A3480;
Reference = U4;
ValeurCmp = OPTO-TRANS-2X4;
IdModule = DIP-8-300mil;
@ -267,7 +316,7 @@ IdModule = DIP-8-300mil;
EndCmp
BeginCmp
TimeStamp = /4E55BED6/4E5A3480;
TimeStamp = /4E6BEDF0/4E6BEEE4;
Reference = U6;
ValeurCmp = OPTO-TRANS-2X4;
IdModule = DIP-8-300mil;

View File

@ -1,4 +1,4 @@
EESchema Schematic File Version 2 date Sat Sep 10 19:57:25 2011
EESchema Schematic File Version 2 date Sat Sep 10 20:21:28 2011
LIBS:power
LIBS:device
LIBS:conn
@ -12,7 +12,7 @@ LIBS:labsw-cache
EELAYER 24 0
EELAYER END
$Descr A4 11700 8267
Sheet 1 3
Sheet 1 4
Title "Lab Switch (Overview and CPU)"
Date "10 sep 2011"
Rev "1"
@ -22,150 +22,168 @@ Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Notes 3150 1550 0 60 ~ 0
2 Relays+2 Opto
$Sheet
S 2950 1100 1200 1000
U 4E6BEDF0
F0 "CH12" 60
F1 "ch12.sch" 60
$EndSheet
Connection ~ 5450 4050
Wire Wire Line
3650 4200 6650 4200
5450 3550 5450 4600
Connection ~ 5850 4050
Wire Wire Line
5850 4050 5850 4600
Connection ~ 5050 4200
5450 4050 6650 4050
Connection ~ 4650 4200
Wire Wire Line
5050 4600 5050 4200
4650 4600 4650 4200
Wire Wire Line
5050 5000 5050 5250
5850 5000 5850 5250
Connection ~ 4250 3750
Wire Wire Line
2450 6050 2450 6250
4250 4550 4250 3750
Connection ~ 3650 4050
Wire Wire Line
7850 5200 7850 5400
Wire Wire Line
8150 5200 8150 5400
Wire Wire Line
8450 5200 8450 5400
Wire Wire Line
9450 4350 9650 4350
Wire Wire Line
9450 3600 9650 3600
Wire Wire Line
9450 3300 9650 3300
Wire Wire Line
8450 2200 8450 2400
Wire Wire Line
8150 2200 8150 2400
Wire Wire Line
7550 2400 7550 2200
Wire Wire Line
6650 3450 6450 3450
Wire Wire Line
7200 6150 7200 5600
Wire Wire Line
7200 5600 7350 5600
Wire Wire Line
7350 5600 7350 6150
Wire Wire Line
7650 6150 7650 5400
Wire Wire Line
7650 5400 7700 5400
Wire Wire Line
7700 5400 7700 5200
Wire Wire Line
5450 5000 5450 5250
Connection ~ 3650 4200
Wire Wire Line
3650 4050 3050 4050
Wire Wire Line
3050 3750 6650 3750
Wire Wire Line
3650 5050 3650 5250
Wire Wire Line
4250 5050 4250 5250
Connection ~ 1700 3900
Wire Wire Line
1700 3900 1900 3900
Wire Wire Line
1700 4050 1900 4050
Wire Wire Line
1900 3450 1700 3450
Wire Wire Line
1900 3600 1700 3600
Connection ~ 1700 3600
Wire Wire Line
1700 3450 1700 4250
Connection ~ 1700 4050
Wire Wire Line
3950 5050 3950 5250
Wire Wire Line
3050 3900 6650 3900
Wire Wire Line
3050 3450 3250 3450
Wire Wire Line
6650 4350 6450 4350
Connection ~ 6450 4200
Wire Wire Line
3950 3900 3950 4550
Connection ~ 3950 3900
Wire Wire Line
4650 5000 4650 5250
Wire Wire Line
7550 5200 7550 6150
Wire Wire Line
7450 6150 7450 5400
Wire Wire Line
7450 5400 6450 5400
Wire Wire Line
6450 5400 6450 4200
Connection ~ 6450 4350
Wire Wire Line
6650 3600 6450 3600
Wire Wire Line
6650 3300 6450 3300
Wire Wire Line
7700 2400 7700 2200
Wire Wire Line
8000 2200 8000 2400
Wire Wire Line
8300 2200 8300 2400
Wire Wire Line
8600 2200 8600 2400
Wire Wire Line
9450 3450 9650 3450
Wire Wire Line
9450 3750 9650 3750
Wire Wire Line
9450 4200 9650 4200
Wire Wire Line
8600 5200 8600 5400
Wire Wire Line
8300 5200 8300 5400
3650 4550 3650 3550
Wire Wire Line
8000 5200 8000 5400
Wire Wire Line
3650 4550 3650 3550
Connection ~ 3650 4050
8300 5200 8300 5400
Wire Wire Line
4250 4550 4250 3750
Connection ~ 4250 3750
8600 5200 8600 5400
Wire Wire Line
5850 5000 5850 5250
9450 4200 9650 4200
Wire Wire Line
4650 4600 4650 4200
Connection ~ 4650 4200
9450 3750 9650 3750
Wire Wire Line
5450 4600 5450 4050
9450 3450 9650 3450
Wire Wire Line
5450 4050 6650 4050
Connection ~ 5850 4050
8600 2200 8600 2400
Wire Wire Line
8300 2200 8300 2400
Wire Wire Line
8000 2200 8000 2400
Wire Wire Line
7700 2400 7700 2200
Wire Wire Line
6650 3300 6450 3300
Wire Wire Line
6650 3600 6450 3600
Connection ~ 6450 4350
Wire Wire Line
6450 4200 6450 5400
Wire Wire Line
6450 5400 7450 5400
Wire Wire Line
7450 5400 7450 6150
Wire Wire Line
7550 5200 7550 6150
Wire Wire Line
4650 5000 4650 5250
Connection ~ 3950 3900
Wire Wire Line
3950 3900 3950 4550
Connection ~ 6450 4200
Wire Wire Line
6650 4350 6450 4350
Wire Wire Line
3050 3450 3250 3450
Wire Wire Line
3050 3900 6650 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
3050 3750 6650 3750
Wire Wire Line
3650 4050 3050 4050
Connection ~ 3650 4200
Wire Wire Line
5450 5000 5450 5250
Wire Wire Line
7700 5200 7700 5400
Wire Wire Line
7700 5400 7650 5400
Wire Wire Line
7650 5400 7650 6150
Wire Wire Line
7350 6150 7350 5600
Wire Wire Line
7350 5600 7200 5600
Wire Wire Line
7200 5600 7200 6150
Wire Wire Line
6650 3450 6450 3450
Wire Wire Line
7550 2400 7550 2200
Wire Wire Line
8150 2200 8150 2400
Wire Wire Line
8450 2200 8450 2400
Wire Wire Line
9450 3300 9650 3300
Wire Wire Line
9450 3600 9650 3600
Wire Wire Line
9450 4350 9650 4350
Wire Wire Line
8450 5200 8450 5400
Wire Wire Line
8150 5200 8150 5400
Wire Wire Line
7850 5200 7850 5400
Wire Wire Line
2450 6050 2450 6250
Wire Wire Line
5050 5000 5050 5250
Wire Wire Line
5050 4600 5050 4200
Connection ~ 5050 4200
Wire Wire Line
5850 4050 5850 4600
Wire Wire Line
3650 4200 6650 4200
$Comp
L GND #PWR01
L VDD #PWR01
U 1 1 4E6BEDBD
P 5450 3550
F 0 "#PWR01" H 5450 3650 30 0001 C CNN
F 1 "VDD" H 5450 3660 50 0000 C CNN
1 5450 3550
1 0 0 -1
$EndComp
$Comp
L GND #PWR02
U 1 1 4E6BE98F
P 5850 5250
F 0 "#PWR01" H 5850 5250 30 0001 C CNN
F 0 "#PWR02" H 5850 5250 30 0001 C CNN
F 1 "GND" H 5850 5180 30 0001 C CNN
1 5850 5250
1 0 0 -1
$EndComp
$Comp
L GND #PWR02
L GND #PWR03
U 1 1 4E6BE93E
P 5050 5250
F 0 "#PWR02" H 5050 5250 30 0001 C CNN
F 0 "#PWR03" H 5050 5250 30 0001 C CNN
F 1 "GND" H 5050 5180 30 0001 C CNN
1 5050 5250
1 0 0 -1
@ -193,28 +211,28 @@ DM
Text Label 3250 3750 0 60 ~ 0
DP
$Comp
L PWR_FLAG #FLG03
L PWR_FLAG #FLG04
U 1 1 4E5600BD
P 2450 6050
F 0 "#FLG03" H 2450 6320 30 0001 C CNN
F 0 "#FLG04" 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 #PWR04
L GND #PWR05
U 1 1 4E5600B6
P 2450 6250
F 0 "#PWR04" H 2450 6250 30 0001 C CNN
F 0 "#PWR05" 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 #PWR05
L +5V #PWR06
U 1 1 4E560053
P 3650 3550
F 0 "#PWR05" H 3650 3640 20 0001 C CNN
F 0 "#PWR06" H 3650 3640 20 0001 C CNN
F 1 "+5V" H 3650 3640 50 0000 C CNN
1 3650 3550
1 0 0 -1
@ -273,10 +291,10 @@ VBUS
Text Label 7350 5950 1 60 ~ 0
GND
$Comp
L GND #PWR06
L GND #PWR07
U 1 1 4E55CC91
P 7200 6150
F 0 "#PWR06" H 7200 6150 30 0001 C CNN
F 0 "#PWR07" H 7200 6150 30 0001 C CNN
F 1 "GND" H 7200 6080 30 0001 C CNN
1 7200 6150
1 0 0 -1
@ -291,28 +309,28 @@ F 1 "CONN_4" V 7550 6500 50 0000 C CNN
0 -1 1 0
$EndComp
$Comp
L GND #PWR07
L GND #PWR08
U 1 1 4E55CB76
P 5450 5250
F 0 "#PWR07" H 5450 5250 30 0001 C CNN
F 0 "#PWR08" H 5450 5250 30 0001 C CNN
F 1 "GND" H 5450 5180 30 0001 C CNN
1 5450 5250
1 0 0 -1
$EndComp
$Comp
L GND #PWR08
L GND #PWR09
U 1 1 4E55CB75
P 4650 5250
F 0 "#PWR08" H 4650 5250 30 0001 C CNN
F 0 "#PWR09" 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 #PWR09
L GND #PWR010
U 1 1 4E55CB70
P 6450 3600
F 0 "#PWR09" H 6450 3600 30 0001 C CNN
F 0 "#PWR010" H 6450 3600 30 0001 C CNN
F 1 "GND" H 6450 3530 30 0001 C CNN
1 6450 3600
0 1 1 0
@ -337,46 +355,46 @@ F 1 "100nF" H 5100 4700 50 0000 L CNN
1 0 0 -1
$EndComp
$Comp
L GND #PWR010
L GND #PWR011
U 1 1 4E55CA97
P 3650 5250
F 0 "#PWR010" H 3650 5250 30 0001 C CNN
F 0 "#PWR011" 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 #PWR011
L GND #PWR012
U 1 1 4E55CA95
P 4250 5250
F 0 "#PWR011" H 4250 5250 30 0001 C CNN
F 0 "#PWR012" 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 #PWR012
L GND #PWR013
U 1 1 4E55CA93
P 3950 5250
F 0 "#PWR012" H 3950 5250 30 0001 C CNN
F 0 "#PWR013" 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 #PWR013
L GND #PWR014
U 1 1 4E55CA58
P 3250 3450
F 0 "#PWR013" H 3250 3450 30 0001 C CNN
F 0 "#PWR014" 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 #PWR014
L GND #PWR015
U 1 1 4E55CA4A
P 1700 4250
F 0 "#PWR014" H 1700 4250 30 0001 C CNN
F 0 "#PWR015" H 1700 4250 30 0001 C CNN
F 1 "GND" H 1700 4180 30 0001 C CNN
1 1700 4250
1 0 0 -1
@ -408,12 +426,12 @@ 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
Text Notes 4700 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
3 R/G LEDs\n3 Buttons
$Sheet
S 2950 1100 1200 1000
S 4500 1100 1200 1000
U 4E55BED6
F0 "Back" 60
F1 "back.sch" 60