EESchema Schematic File Version 2 date Sun Aug 28 10:43:27 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 3 3 Title "Lab Switch (Front panel)" Date "28 aug 2011" Rev "0" Comp "Werner Almesberger" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $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 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 -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 "180" V 5200 4950 50 0000 C CNN 1 5200 4950 -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 "180" V 5200 2450 50 0000 C CNN 1 5200 2450 -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 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 1 0 0 -1 $EndComp $EndSCHEMATC