EESchema Schematic File Version 2 date Sat Aug 27 13:17:47 2011 LIBS:power LIBS:device LIBS:conn LIBS:c8051f320 LIBS:mini_usb_b LIBS:opto-trans-4 LIBS:spdt-c LIBS:labsw-cache EELAYER 24 0 EELAYER END $Descr A4 11700 8267 Sheet 3 3 Title "Lab Switch (Front panel)" Date "27 aug 2011" Rev "0" Comp "Werner Almesberger" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr Connection ~ 10050 4700 Wire Wire Line 9850 4700 10050 4700 Wire Wire Line 10050 4850 10050 4500 Wire Wire Line 10050 4500 9850 4500 Wire Wire Line 8850 4500 9050 4500 Wire Wire Line 5500 5850 5700 5850 Wire Wire Line 5500 3350 5700 3350 Wire Wire Line 4100 5950 4400 5950 Wire Wire Line 4100 3450 4400 3450 Wire Wire Line 10250 3500 10250 3300 Wire Wire Line 10450 4000 10450 4400 Wire Wire Line 10450 4400 9850 4400 Wire Wire Line 10050 4000 10050 4200 Wire Wire Line 10050 4200 9850 4200 Connection ~ 4450 2950 Wire Wire Line 5200 2950 3950 2950 Wire Wire Line 4100 3250 4800 3250 Wire Wire Line 5200 2950 5200 3150 Wire Wire Line 5200 3550 5200 3750 Wire Wire Line 9050 4300 8850 4300 Wire Wire Line 4800 5200 4800 5750 Wire Wire Line 4450 5150 4450 5450 Wire Wire Line 3950 5250 3950 5450 Connection ~ 4650 1950 Wire Wire Line 4650 1800 4650 1950 Wire Wire Line 4800 2200 4800 1950 Wire Wire Line 4800 1950 3950 1950 Wire Wire Line 3950 1950 3950 2150 Connection ~ 4450 4450 Wire Wire Line 4450 4750 4450 4450 Wire Wire Line 1400 3800 2750 3800 Wire Wire Line 2750 3800 2750 3250 Wire Wire Line 2750 3250 3350 3250 Connection ~ 2950 2950 Wire Wire Line 3350 3450 2950 3450 Wire Wire Line 2950 3450 2950 2450 Wire Wire Line 1400 4950 2950 4950 Wire Wire Line 2950 5450 3750 5450 Wire Wire Line 3750 5450 3750 5250 Connection ~ 3750 4250 Wire Wire Line 3750 4650 3750 4250 Connection ~ 3550 4450 Wire Wire Line 3550 4650 3550 4450 Connection ~ 3550 1950 Wire Wire Line 3550 2150 3550 1950 Connection ~ 3650 2950 Wire Wire Line 3650 2750 3650 2950 Connection ~ 3750 1750 Wire Wire Line 3750 2150 3750 1750 Wire Wire Line 3850 2150 3850 1750 Wire Wire Line 3850 1750 2950 1750 Wire Wire Line 2950 1750 2950 2350 Wire Wire Line 2950 2350 1400 2350 Wire Wire Line 3750 2750 3750 2950 Wire Wire Line 3750 2950 2950 2950 Wire Wire Line 2950 2450 1400 2450 Wire Wire Line 1400 2550 3150 2550 Wire Wire Line 3650 1950 3150 1950 Wire Wire Line 3650 1950 3650 2150 Wire Wire Line 3650 4650 3650 4450 Wire Wire Line 3650 4450 3150 4450 Wire Wire Line 3150 4450 3150 5050 Wire Wire Line 3150 5050 1400 5050 Wire Wire Line 2950 4250 3850 4250 Wire Wire Line 2950 4250 2950 4850 Wire Wire Line 2950 4850 1400 4850 Wire Wire Line 3850 4250 3850 4650 Wire Wire Line 3650 5250 3650 5450 Connection ~ 3650 5450 Wire Wire Line 3150 1950 3150 2550 Wire Wire Line 2950 4950 2950 5950 Wire Wire Line 2950 5950 3350 5950 Connection ~ 2950 5450 Wire Wire Line 3350 5750 2750 5750 Wire Wire Line 2750 5750 2750 4000 Wire Wire Line 2750 4000 1400 4000 Wire Wire Line 3950 4650 3950 4450 Wire Wire Line 3950 4450 4800 4450 Wire Wire Line 4800 4450 4800 4700 Wire Wire Line 4650 4300 4650 4450 Connection ~ 4650 4450 Wire Wire Line 4450 2250 4450 1950 Connection ~ 4450 1950 Wire Wire Line 4450 2650 4450 2950 Wire Wire Line 3950 2950 3950 2750 Wire Wire Line 4800 3250 4800 2700 Wire Wire Line 8100 4200 9050 4200 Wire Wire Line 8100 4400 9050 4400 Wire Wire Line 5200 6250 5200 6050 Wire Wire Line 5200 5650 5200 5450 Wire Wire Line 4800 5750 4100 5750 Wire Wire Line 5200 5450 3950 5450 Connection ~ 4450 5450 Wire Wire Line 9850 4300 10250 4300 Wire Wire Line 10250 4300 10250 4000 Wire Wire Line 10050 3500 10050 3300 Wire Wire Line 10450 3500 10450 3300 Wire Wire Line 6200 3350 6400 3350 Wire Wire Line 6200 5850 6400 5850 Wire Wire Line 8100 4600 9050 4600 Wire Wire Line 8850 4700 9050 4700 Wire Wire Line 9850 4600 10050 4600 Connection ~ 10050 4600 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 5950 5850 F 0 "R15" V 6030 5850 50 0000 C CNN F 1 "1k" V 5950 5850 50 0000 C CNN 1 5950 5850 0 -1 -1 0 $EndComp $Comp L R R14 U 1 1 4E571F7B P 5950 3350 F 0 "R14" V 6030 3350 50 0000 C CNN F 1 "1k" V 5950 3350 50 0000 C CNN 1 5950 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 6400 5850 2 60 Input ~ 0 CH2_RELAY Text GLabel 6400 3350 2 60 Input ~ 0 CH1_RELAY $Comp L GND #PWR015 U 1 1 4E55FF49 P 5200 6250 F 0 "#PWR015" H 5200 6250 30 0001 C CNN F 1 "GND" H 5200 6180 30 0001 C CNN 1 5200 6250 1 0 0 -1 $EndComp $Comp L GND #PWR016 U 1 1 4E55FF3C P 5200 3750 F 0 "#PWR016" H 5200 3750 30 0001 C CNN F 1 "GND" H 5200 3680 30 0001 C CNN 1 5200 3750 1 0 0 -1 $EndComp $Comp L NPN Q2 U 1 1 4E55FF2E P 5300 5850 F 0 "Q2" H 5300 5700 50 0000 R CNN F 1 "NPN" H 5300 6000 50 0000 R CNN 1 5300 5850 -1 0 0 -1 $EndComp $Comp L NPN Q1 U 1 1 4E55FF19 P 5300 3350 F 0 "Q1" H 5300 3200 50 0000 R CNN F 1 "NPN" H 5300 3500 50 0000 R CNN 1 5300 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 4400 5950 2 60 Input ~ 0 CH2_OPT Text GLabel 4400 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 OPTO-TRANS-4 U2 U 1 1 4E55BFDA P 3750 3350 F 0 "U2" H 3600 3550 60 0000 C CNN F 1 "OPTO-TRANS-4" H 3750 3125 60 0000 C CNN 1 3750 3350 -1 0 0 -1 $EndComp $Comp L OPTO-TRANS-4 U3 U 1 1 4E55BFD9 P 3750 5850 F 0 "U3" H 3600 6050 60 0000 C CNN F 1 "OPTO-TRANS-4" H 3750 5625 60 0000 C CNN 1 3750 5850 -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 4800 4950 F 0 "R2" V 4880 4950 50 0000 C CNN F 1 "180" V 4800 4950 50 0000 C CNN 1 4800 4950 -1 0 0 1 $EndComp $Comp L R R1 U 1 1 4E55BFD4 P 4800 2450 F 0 "R1" V 4880 2450 50 0000 C CNN F 1 "180" V 4800 2450 50 0000 C CNN 1 4800 2450 -1 0 0 1 $EndComp $Comp L DIODE D1 U 1 1 4E55BFD3 P 4450 2450 F 0 "D1" H 4450 2550 40 0000 C CNN F 1 "DIODE" H 4450 2350 40 0000 C CNN 1 4450 2450 0 -1 -1 0 $EndComp $Comp L DIODE D2 U 1 1 4E55BFD2 P 4450 4950 F 0 "D2" H 4450 5050 40 0000 C CNN F 1 "DIODE" H 4450 4850 40 0000 C CNN 1 4450 4950 0 -1 -1 0 $EndComp $Comp L +5V #PWR018 U 1 1 4E55BFD1 P 4650 4300 F 0 "#PWR018" H 4650 4390 20 0001 C CNN F 1 "+5V" H 4650 4390 50 0000 C CNN 1 4650 4300 1 0 0 -1 $EndComp $Comp L +5V #PWR019 U 1 1 4E55BFD0 P 4650 1800 F 0 "#PWR019" H 4650 1890 20 0001 C CNN F 1 "+5V" H 4650 1890 50 0000 C CNN 1 4650 1800 1 0 0 -1 $EndComp $EndSCHEMATC