EESchema Schematic File Version 2 date Fri Sep 30 02:13:49 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 1 4 Title "Lab Switch (Overview and CPU)" Date "30 sep 2011" Rev "1" Comp "Werner Almesberger" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr Wire Notes Line 9100 5950 9100 6400 Wire Notes Line 8550 6100 10900 6100 Wire Wire Line 9150 5200 9150 5400 Wire Wire Line 9150 4700 9150 4050 Wire Wire Line 9150 4050 8950 4050 Wire Wire Line 6150 4200 3150 4200 Wire Wire Line 5350 4600 5350 4050 Connection ~ 4550 4200 Wire Wire Line 4550 4600 4550 4200 Wire Wire Line 4550 5000 4550 5250 Wire Wire Line 1950 6050 1950 6250 Wire Wire Line 7350 5200 7350 5400 Wire Wire Line 7650 5200 7650 5400 Wire Wire Line 7950 5200 7950 5400 Wire Wire Line 8950 4350 9950 4350 Wire Wire Line 8950 3600 9950 3600 Wire Wire Line 8950 3300 9950 3300 Wire Wire Line 7950 2200 7950 2400 Wire Wire Line 7650 2200 7650 2400 Wire Wire Line 7050 2400 7050 2200 Wire Wire Line 6150 3450 5950 3450 Wire Wire Line 6700 6150 6700 5600 Wire Wire Line 6700 5600 6850 5600 Wire Wire Line 6850 5600 6850 6150 Wire Wire Line 7150 6150 7150 5400 Wire Wire Line 7150 5400 7200 5400 Wire Wire Line 7200 5400 7200 5200 Wire Wire Line 4950 5000 4950 5250 Connection ~ 3150 4200 Wire Wire Line 3150 4050 2550 4050 Wire Wire Line 2550 3750 6150 3750 Wire Wire Line 3150 5050 3150 5250 Wire Wire Line 3750 5050 3750 5250 Connection ~ 1200 3900 Wire Wire Line 1200 3900 1400 3900 Wire Wire Line 1200 4050 1400 4050 Wire Wire Line 1400 3450 1200 3450 Wire Wire Line 1400 3600 1200 3600 Connection ~ 1200 3600 Wire Wire Line 1200 3450 1200 4250 Connection ~ 1200 4050 Wire Wire Line 3450 5050 3450 5250 Wire Wire Line 2550 3900 6150 3900 Wire Wire Line 2550 3450 2750 3450 Wire Wire Line 6150 4350 5950 4350 Connection ~ 5950 4200 Wire Wire Line 3450 3900 3450 4550 Connection ~ 3450 3900 Wire Wire Line 4150 5000 4150 5250 Wire Wire Line 7050 5200 7050 6150 Wire Wire Line 6950 6150 6950 5400 Wire Wire Line 6950 5400 5950 5400 Wire Wire Line 5950 5400 5950 4200 Connection ~ 5950 4350 Wire Wire Line 6150 3600 5950 3600 Wire Wire Line 6150 3300 5950 3300 Wire Wire Line 7200 2400 7200 2200 Wire Wire Line 7500 2200 7500 2400 Wire Wire Line 7800 2200 7800 2400 Wire Wire Line 8100 2200 8100 2400 Wire Wire Line 8950 3450 9950 3450 Wire Wire Line 8950 3750 9950 3750 Wire Wire Line 8950 4200 9950 4200 Wire Wire Line 8100 5200 8100 5400 Wire Wire Line 7800 5200 7800 5400 Wire Wire Line 7500 5200 7500 5400 Wire Wire Line 3150 4550 3150 3550 Connection ~ 3150 4050 Wire Wire Line 3750 4550 3750 3750 Connection ~ 3750 3750 Wire Wire Line 5350 5000 5350 5250 Wire Wire Line 4150 4600 4150 4200 Connection ~ 4150 4200 Wire Wire Line 6150 4050 4950 4050 Connection ~ 5350 4050 Wire Wire Line 4950 3550 4950 4600 Connection ~ 4950 4050 Wire Wire Line 8950 3900 9350 3900 Wire Wire Line 9350 3900 9350 4700 Wire Wire Line 9350 5200 9350 5400 Wire Notes Line 8800 5950 8800 6400 Text Notes 9150 6400 0 60 ~ 0 1 (external pull-ups; I/O reassigned) Text Notes 9150 6250 0 60 ~ 0 0 (internal pull-ups) Text Notes 8550 6400 0 60 ~ 0 0 Text Notes 8850 6400 0 60 ~ 0 NC Text Notes 8850 6250 0 60 ~ 0 NC Text Notes 8550 6250 0 60 ~ 0 NC Text Notes 9150 6050 0 60 ~ 0 Revision Text Notes 8850 6050 0 60 ~ 0 R27 Text Notes 8550 6050 0 60 ~ 0 R26 Text Notes 8550 5850 0 60 ~ 0 Board revision $Comp L GND #PWR01 U 1 1 4E6BF49D P 9350 5400 F 0 "#PWR01" H 9350 5400 30 0001 C CNN F 1 "GND" H 9350 5330 30 0001 C CNN 1 9350 5400 1 0 0 -1 $EndComp $Comp L GND #PWR02 U 1 1 4E6BF49A P 9150 5400 F 0 "#PWR02" H 9150 5400 30 0001 C CNN F 1 "GND" H 9150 5330 30 0001 C CNN 1 9150 5400 1 0 0 -1 $EndComp $Comp L R R27 U 1 1 4E6BF47E P 9350 4950 F 0 "R27" V 9430 4950 50 0000 C CNN F 1 "0" V 9350 4950 50 0000 C CNN 1 9350 4950 -1 0 0 1 $EndComp $Comp L R R26 U 1 1 4E6BF476 P 9150 4950 F 0 "R26" V 9230 4950 50 0000 C CNN F 1 "NC" V 9150 4950 50 0000 C CNN 1 9150 4950 -1 0 0 1 $EndComp 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 $Comp L VDD #PWR03 U 1 1 4E6BEDBD P 4950 3550 F 0 "#PWR03" H 4950 3650 30 0001 C CNN F 1 "VDD" H 4950 3660 50 0000 C CNN 1 4950 3550 1 0 0 -1 $EndComp $Comp L GND #PWR04 U 1 1 4E6BE98F P 5350 5250 F 0 "#PWR04" H 5350 5250 30 0001 C CNN F 1 "GND" H 5350 5180 30 0001 C CNN 1 5350 5250 1 0 0 -1 $EndComp $Comp L GND #PWR05 U 1 1 4E6BE93E P 4550 5250 F 0 "#PWR05" H 4550 5250 30 0001 C CNN F 1 "GND" H 4550 5180 30 0001 C CNN 1 4550 5250 1 0 0 -1 $EndComp $Comp L C C3 U 1 1 4E6BE90B P 4950 4800 F 0 "C3" H 5000 4900 50 0000 L CNN F 1 "4.7uF" H 5000 4700 50 0000 L CNN 1 4950 4800 1 0 0 -1 $EndComp $Comp L C C4 U 1 1 4E6BE909 P 5350 4800 F 0 "C4" H 5400 4900 50 0000 L CNN F 1 "100nF" H 5400 4700 50 0000 L CNN 1 5350 4800 1 0 0 -1 $EndComp Text Label 2750 3900 0 60 ~ 0 DM Text Label 2750 3750 0 60 ~ 0 DP $Comp L PWR_FLAG #FLG06 U 1 1 4E5600BD P 1950 6050 F 0 "#FLG06" H 1950 6320 30 0001 C CNN F 1 "PWR_FLAG" H 1950 6280 30 0000 C CNN 1 1950 6050 1 0 0 -1 $EndComp $Comp L GND #PWR07 U 1 1 4E5600B6 P 1950 6250 F 0 "#PWR07" H 1950 6250 30 0001 C CNN F 1 "GND" H 1950 6180 30 0001 C CNN 1 1950 6250 1 0 0 -1 $EndComp $Comp L +5V #PWR08 U 1 1 4E560053 P 3150 3550 F 0 "#PWR08" H 3150 3640 20 0001 C CNN F 1 "+5V" H 3150 3640 50 0000 C CNN 1 3150 3550 1 0 0 -1 $EndComp Text GLabel 7800 5400 3 60 Output ~ 0 OUT_4 Text GLabel 7650 5400 3 60 Output ~ 0 OUT_3 Text GLabel 7500 5400 3 60 Output ~ 0 OUT_2 Text GLabel 7350 5400 3 60 Output ~ 0 OUT_1 Text GLabel 8100 5400 3 60 Output ~ 0 CH2_OPT Text GLabel 9950 4200 2 60 Output ~ 0 CH2_RELAY Text GLabel 9950 4350 2 60 Output ~ 0 CH1_OPT Text GLabel 7950 5400 3 60 Output ~ 0 CH1_RELAY Text GLabel 9950 3300 2 60 Output ~ 0 LED_CH2_G Text GLabel 9950 3450 2 60 Output ~ 0 LED_CH2_R Text GLabel 9950 3600 2 60 Output ~ 0 LED_CH1_G Text GLabel 9950 3750 2 60 Output ~ 0 LED_CH1_R Text GLabel 7950 2200 1 60 Output ~ 0 LED_MAIN_G Text GLabel 8100 2200 1 60 Output ~ 0 LED_MAIN_R Text GLabel 7200 2200 1 60 Input ~ 0 IN_4 Text GLabel 7650 2200 1 60 Input ~ 0 BUT_CH2 Text GLabel 7800 2200 1 60 Input ~ 0 BUT_CH1 Text GLabel 7500 2200 1 60 Input ~ 0 BUT_MAIN NoConn ~ 7350 2400 Text GLabel 7050 2200 1 60 Input ~ 0 IN_3 Text GLabel 5950 3300 0 60 Input ~ 0 IN_2 Text GLabel 5950 3450 0 60 Input ~ 0 IN_1 Text Label 7150 5950 1 60 ~ 0 C2D Text Label 7050 5950 1 60 ~ 0 C2CK Text Label 6950 5950 1 60 ~ 0 VBUS Text Label 6850 5950 1 60 ~ 0 GND $Comp L GND #PWR09 U 1 1 4E55CC91 P 6700 6150 F 0 "#PWR09" H 6700 6150 30 0001 C CNN F 1 "GND" H 6700 6080 30 0001 C CNN 1 6700 6150 1 0 0 -1 $EndComp $Comp L CONN_4 P1 U 1 1 4E55CC1E P 7000 6500 F 0 "P1" V 6950 6500 50 0000 C CNN F 1 "CONN_4" V 7050 6500 50 0000 C CNN 1 7000 6500 0 -1 1 0 $EndComp $Comp L GND #PWR010 U 1 1 4E55CB76 P 4950 5250 F 0 "#PWR010" H 4950 5250 30 0001 C CNN F 1 "GND" H 4950 5180 30 0001 C CNN 1 4950 5250 1 0 0 -1 $EndComp $Comp L GND #PWR011 U 1 1 4E55CB75 P 4150 5250 F 0 "#PWR011" H 4150 5250 30 0001 C CNN F 1 "GND" H 4150 5180 30 0001 C CNN 1 4150 5250 1 0 0 -1 $EndComp $Comp L GND #PWR012 U 1 1 4E55CB70 P 5950 3600 F 0 "#PWR012" H 5950 3600 30 0001 C CNN F 1 "GND" H 5950 3530 30 0001 C CNN 1 5950 3600 0 1 1 0 $EndComp NoConn ~ 2550 3600 $Comp L C C1 U 1 1 4E55CABB P 4150 4800 F 0 "C1" H 4200 4900 50 0000 L CNN F 1 "4.7uF" H 4200 4700 50 0000 L CNN 1 4150 4800 1 0 0 -1 $EndComp $Comp L C C2 U 1 1 4E55CAB9 P 4550 4800 F 0 "C2" H 4600 4900 50 0000 L CNN F 1 "100nF" H 4600 4700 50 0000 L CNN 1 4550 4800 1 0 0 -1 $EndComp $Comp L GND #PWR013 U 1 1 4E55CA97 P 3150 5250 F 0 "#PWR013" H 3150 5250 30 0001 C CNN F 1 "GND" H 3150 5180 30 0001 C CNN 1 3150 5250 1 0 0 -1 $EndComp $Comp L GND #PWR014 U 1 1 4E55CA95 P 3750 5250 F 0 "#PWR014" H 3750 5250 30 0001 C CNN F 1 "GND" H 3750 5180 30 0001 C CNN 1 3750 5250 1 0 0 -1 $EndComp $Comp L GND #PWR015 U 1 1 4E55CA93 P 3450 5250 F 0 "#PWR015" H 3450 5250 30 0001 C CNN F 1 "GND" H 3450 5180 30 0001 C CNN 1 3450 5250 1 0 0 -1 $EndComp $Comp L GND #PWR016 U 1 1 4E55CA58 P 2750 3450 F 0 "#PWR016" H 2750 3450 30 0001 C CNN F 1 "GND" H 2750 3380 30 0001 C CNN 1 2750 3450 0 -1 -1 0 $EndComp $Comp L GND #PWR017 U 1 1 4E55CA4A P 1200 4250 F 0 "#PWR017" H 1200 4250 30 0001 C CNN F 1 "GND" H 1200 4180 30 0001 C CNN 1 1200 4250 1 0 0 -1 $EndComp $Comp L VR VR1 U 1 1 4E55CA29 P 3150 4800 F 0 "VR1" V 3230 4800 50 0000 C CNN F 1 "VR" V 3150 4800 50 0000 C CNN 1 3150 4800 -1 0 0 1 $EndComp $Comp L VR VR3 U 1 1 4E55CA27 P 3750 4800 F 0 "VR3" V 3830 4800 50 0000 C CNN F 1 "VR" V 3750 4800 50 0000 C CNN 1 3750 4800 -1 0 0 1 $EndComp $Comp L VR VR2 U 1 1 4E55CA26 P 3450 4800 F 0 "VR2" V 3530 4800 50 0000 C CNN F 1 "VR" V 3450 4800 50 0000 C CNN 1 3450 4800 -1 0 0 1 $EndComp Text Notes 4700 1550 0 60 ~ 0 4 Opto In\n4 Opto Out\n(USB) Text Notes 1600 1550 0 60 ~ 0 3 R/G LEDs\n3 Buttons $Sheet S 4500 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 1950 3750 F 0 "CON1" H 1950 4250 60 0000 C CNN F 1 "MINI_USB_B" H 1950 3250 60 0000 C CNN 1 1950 3750 -1 0 0 1 $EndComp $Comp L C8051F320 U1 U 1 1 4E5344A0 P 7550 3800 F 0 "U1" H 6550 5000 60 0000 C CNN F 1 "C8051F320" H 7550 3800 60 0000 C CNN 1 7550 3800 1 0 0 -1 $EndComp $EndSCHEMATC