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 1 4 Title "Lab Switch (Overview and CPU)" Date "10 sep 2011" Rev "1" Comp "Werner Almesberger" Comment1 "" 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 5450 3550 5450 4600 Connection ~ 5850 4050 Wire Wire Line 5450 4050 6650 4050 Connection ~ 4650 4200 Wire Wire Line 4650 4600 4650 4200 Wire Wire Line 5850 5000 5850 5250 Connection ~ 4250 3750 Wire Wire Line 4250 4550 4250 3750 Connection ~ 3650 4050 Wire Wire Line 3650 4550 3650 3550 Wire Wire Line 8000 5200 8000 5400 Wire Wire Line 8300 5200 8300 5400 Wire Wire Line 8600 5200 8600 5400 Wire Wire Line 9450 4200 9650 4200 Wire Wire Line 9450 3750 9650 3750 Wire Wire Line 9450 3450 9650 3450 Wire Wire Line 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 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 "#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 #PWR03 U 1 1 4E6BE93E P 5050 5250 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 $EndComp $Comp L C C3 U 1 1 4E6BE90B P 5450 4800 F 0 "C3" H 5500 4900 50 0000 L CNN F 1 "4.7uF" H 5500 4700 50 0000 L CNN 1 5450 4800 1 0 0 -1 $EndComp $Comp L C C4 U 1 1 4E6BE909 P 5850 4800 F 0 "C4" H 5900 4900 50 0000 L CNN F 1 "100nF" H 5900 4700 50 0000 L CNN 1 5850 4800 1 0 0 -1 $EndComp Text Label 3250 3900 0 60 ~ 0 DM Text Label 3250 3750 0 60 ~ 0 DP $Comp L PWR_FLAG #FLG04 U 1 1 4E5600BD P 2450 6050 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 #PWR05 U 1 1 4E5600B6 P 2450 6250 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 #PWR06 U 1 1 4E560053 P 3650 3550 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 $EndComp Text GLabel 7850 5400 3 60 Output ~ 0 OUT_4 Text GLabel 8000 5400 3 60 Output ~ 0 OUT_3 Text GLabel 8150 5400 3 60 Output ~ 0 OUT_2 Text GLabel 8300 5400 3 60 Output ~ 0 OUT_1 Text GLabel 8600 5400 3 60 Output ~ 0 CH2_OPT Text GLabel 9650 4350 2 60 Output ~ 0 CH2_RELAY Text GLabel 8450 5400 3 60 Output ~ 0 CH1_OPT Text GLabel 9650 4200 2 60 Output ~ 0 CH1_RELAY NoConn ~ 9450 4050 NoConn ~ 9450 3900 Text GLabel 9650 3450 2 60 Output ~ 0 LED_CH2_G Text GLabel 9650 3300 2 60 Output ~ 0 LED_CH2_R Text GLabel 8600 2200 1 60 Output ~ 0 LED_CH1_G Text GLabel 8450 2200 1 60 Output ~ 0 LED_CH1_R Text GLabel 9650 3750 2 60 Output ~ 0 LED_MAIN_G Text GLabel 9650 3600 2 60 Output ~ 0 LED_MAIN_R Text GLabel 7550 2200 1 60 Input ~ 0 IN_4 Text GLabel 8150 2200 1 60 Input ~ 0 BUT_CH2 Text GLabel 8300 2200 1 60 Input ~ 0 BUT_CH1 Text GLabel 8000 2200 1 60 Input ~ 0 BUT_MAIN NoConn ~ 7850 2400 Text GLabel 7700 2200 1 60 Input ~ 0 IN_3 Text GLabel 6450 3450 0 60 Input ~ 0 IN_2 Text GLabel 6450 3300 0 60 Input ~ 0 IN_1 Text Label 7650 5950 1 60 ~ 0 C2D Text Label 7550 5950 1 60 ~ 0 C2CK Text Label 7450 5950 1 60 ~ 0 VBUS Text Label 7350 5950 1 60 ~ 0 GND $Comp L GND #PWR07 U 1 1 4E55CC91 P 7200 6150 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 $EndComp $Comp L CONN_4 P1 U 1 1 4E55CC1E P 7500 6500 F 0 "P1" V 7450 6500 50 0000 C CNN F 1 "CONN_4" V 7550 6500 50 0000 C CNN 1 7500 6500 0 -1 1 0 $EndComp $Comp L GND #PWR08 U 1 1 4E55CB76 P 5450 5250 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 #PWR09 U 1 1 4E55CB75 P 4650 5250 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 #PWR010 U 1 1 4E55CB70 P 6450 3600 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 $EndComp NoConn ~ 3050 3600 $Comp L C C1 U 1 1 4E55CABB P 4650 4800 F 0 "C1" H 4700 4900 50 0000 L CNN F 1 "4.7uF" H 4700 4700 50 0000 L CNN 1 4650 4800 1 0 0 -1 $EndComp $Comp L C C2 U 1 1 4E55CAB9 P 5050 4800 F 0 "C2" H 5100 4900 50 0000 L CNN F 1 "100nF" H 5100 4700 50 0000 L CNN 1 5050 4800 1 0 0 -1 $EndComp $Comp L GND #PWR011 U 1 1 4E55CA97 P 3650 5250 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 #PWR012 U 1 1 4E55CA95 P 4250 5250 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 #PWR013 U 1 1 4E55CA93 P 3950 5250 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 #PWR014 U 1 1 4E55CA58 P 3250 3450 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 #PWR015 U 1 1 4E55CA4A P 1700 4250 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 $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 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 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 8050 3800 F 0 "U1" H 7050 5000 60 0000 C CNN F 1 "C8051F320" H 8050 3800 60 0000 C CNN 1 8050 3800 1 0 0 -1 $EndComp $EndSCHEMATC