EESchema Schematic File Version 2 date 07/10/2010 19:01:35 LIBS:power LIBS:device LIBS:transistors LIBS:conn LIBS:linear LIBS:regul LIBS:74xx LIBS:cmos4000 LIBS:adc-dac LIBS:memory LIBS:xilinx LIBS:special LIBS:microcontrollers LIBS:dsp LIBS:microchip LIBS:analog_switches LIBS:motorola LIBS:texas LIBS:intel LIBS:audio LIBS:interface LIBS:digital-audio LIBS:philips LIBS:display LIBS:cypress LIBS:siliconi LIBS:opto LIBS:atmel LIBS:contrib LIBS:valves LIBS:attiny LIBS:cpcser-cache EELAYER 24 0 EELAYER END $Descr User 8000 7500 Sheet 1 1 Title "Micro-serial RS232 interface for CPC" Date "7 oct 2010" Rev "" Comp "Shinra/PulkoTronics" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr Wire Wire Line 4100 5700 4300 5700 Connection ~ 1550 5800 Wire Wire Line 1550 5650 1550 6250 Wire Wire Line 1450 5300 1650 5300 Wire Wire Line 1700 6350 1700 6550 Connection ~ 1550 5950 Connection ~ 1550 6400 Connection ~ 1550 6250 Wire Wire Line 1550 6100 1550 6550 Wire Wire Line 1050 6550 1150 6550 Wire Wire Line 1050 6250 1150 6250 Wire Wire Line 1050 5950 1150 5950 Wire Wire Line 2400 1600 2400 1550 Wire Wire Line 2400 1550 2550 1550 Connection ~ 2550 1750 Wire Wire Line 2550 1550 2550 1750 Wire Wire Line 6000 2050 6000 1850 Wire Wire Line 6000 2050 5550 2050 Wire Wire Line 6000 1850 6350 1850 Wire Wire Line 5550 1850 5650 1850 Wire Wire Line 7100 3050 7200 3050 Wire Wire Line 7100 2250 7200 2250 Wire Wire Line 7100 3350 7250 3350 Wire Wire Line 6200 3750 6300 3750 Wire Wire Line 6200 3650 6300 3650 Wire Wire Line 6200 3550 6300 3550 Wire Wire Line 6200 3450 6300 3450 Wire Wire Line 6200 4550 6300 4550 Wire Wire Line 6200 4450 6300 4450 Wire Wire Line 6200 4350 6300 4350 Wire Wire Line 6200 4250 6300 4250 Wire Wire Line 6200 4150 6300 4150 Wire Wire Line 6200 4050 6300 4050 Wire Wire Line 6200 3950 6300 3950 Wire Wire Line 6200 3850 6300 3850 Wire Wire Line 1150 4700 2450 4700 Wire Wire Line 2450 4700 2450 4100 Wire Wire Line 2450 4100 2400 4100 Wire Wire Line 2650 1750 2400 1750 Wire Wire Line 2400 1750 2400 2300 Wire Wire Line 750 2800 800 2800 Wire Wire Line 750 3300 800 3300 Wire Wire Line 2550 3200 2550 3300 Connection ~ 2550 3300 Connection ~ 2950 3350 Wire Wire Line 2950 3350 2950 3300 Wire Wire Line 2950 3300 2400 3300 Wire Wire Line 2400 3700 2550 3700 Connection ~ 2650 1750 Wire Wire Line 2650 950 2650 1950 Wire Wire Line 3050 3350 2900 3350 Connection ~ 6250 800 Wire Wire Line 6250 650 6250 800 Wire Wire Line 6350 1850 6350 1650 Connection ~ 6100 1850 Wire Wire Line 6100 1850 6100 1800 Wire Wire Line 5550 3550 5650 3550 Wire Wire Line 5550 3150 5650 3150 Wire Wire Line 5550 2750 5650 2750 Wire Wire Line 5550 2350 5650 2350 Wire Wire Line 5550 1450 5650 1450 Wire Wire Line 650 4100 800 4100 Wire Wire Line 5550 1050 5650 1050 Wire Wire Line 5550 850 5650 850 Wire Wire Line 650 3900 800 3900 Wire Wire Line 5550 1250 5650 1250 Wire Wire Line 5550 2550 5650 2550 Wire Wire Line 5550 2950 5650 2950 Wire Wire Line 5550 3350 5650 3350 Wire Wire Line 5550 3750 5650 3750 Wire Wire Line 6100 1200 6100 1300 Wire Wire Line 6350 1450 6350 1300 Wire Wire Line 6350 800 6100 800 Wire Wire Line 3050 3150 3050 3000 Wire Wire Line 3050 3650 3050 3550 Wire Wire Line 2400 3300 2400 3400 Wire Wire Line 2400 3200 2400 2850 Wire Wire Line 2400 2850 2550 2850 Wire Wire Line 2550 2850 2550 2800 Wire Wire Line 2400 2800 2400 2700 Wire Wire Line 2400 2700 2900 2700 Wire Wire Line 2900 2700 2900 3050 Wire Wire Line 2900 3050 3050 3050 Connection ~ 3050 3050 Wire Wire Line 750 3200 800 3200 Wire Wire Line 750 3700 800 3700 Wire Wire Line 2400 3900 2500 3900 Wire Wire Line 2500 3900 2500 4900 Wire Wire Line 2500 4900 1150 4900 Wire Wire Line 6300 4650 6150 4650 Wire Wire Line 7100 3850 7200 3850 Wire Wire Line 7100 3950 7200 3950 Wire Wire Line 7100 4050 7200 4050 Wire Wire Line 7100 4150 7200 4150 Wire Wire Line 7100 4250 7200 4250 Wire Wire Line 7100 4350 7200 4350 Wire Wire Line 7100 4450 7200 4450 Wire Wire Line 7100 4550 7200 4550 Wire Wire Line 7100 3450 7200 3450 Wire Wire Line 7100 3550 7200 3550 Wire Wire Line 7100 3650 7200 3650 Wire Wire Line 7100 3750 7200 3750 Wire Wire Line 7100 3150 7200 3150 Wire Wire Line 7100 2650 7200 2650 Wire Wire Line 6300 3150 6200 3150 Wire Wire Line 3050 1850 3050 1650 Connection ~ 3050 1750 Wire Wire Line 3050 850 3050 1050 Connection ~ 3050 950 Wire Wire Line 5550 1650 5650 1650 Wire Wire Line 2800 2600 2800 2700 Connection ~ 2800 2700 Wire Wire Line 1050 5800 1150 5800 Wire Wire Line 1050 6100 1150 6100 Wire Wire Line 1050 6400 1150 6400 Wire Wire Line 1550 6150 1700 6150 Connection ~ 1550 6150 Wire Wire Line 1450 5100 1650 5100 Wire Wire Line 2900 6250 2900 5800 Wire Wire Line 1150 5650 1150 5450 Wire Wire Line 1150 5450 2850 5450 Wire Wire Line 2850 5450 2850 5200 Wire Wire Line 2750 5600 2900 5600 $Comp L DIODE D? U 1 1 4CADB4AE P 1350 5650 F 0 "D?" H 1350 5750 40 0000 C CNN F 1 "DIODE" H 1350 5550 40 0000 C CNN 1 1350 5650 -1 0 0 1 $EndComp $Comp L DIODE D? U 1 1 4CADB241 P 1350 6400 F 0 "D?" H 1350 6500 40 0000 C CNN F 1 "DIODE" V 1350 6300 40 0000 C CNN 1 1350 6400 -1 0 0 1 $EndComp $Comp L DIODE D? U 1 1 4CADB240 P 1350 6550 F 0 "D?" H 1350 6650 40 0000 C CNN F 1 "DIODE" H 1350 6450 40 0000 C CNN 1 1350 6550 -1 0 0 1 $EndComp $Comp L DIODE D? U 1 1 4CADB201 P 1350 6250 F 0 "D?" H 1350 6350 40 0000 C CNN F 1 "DIODE" H 1350 6150 40 0000 C CNN 1 1350 6250 -1 0 0 1 $EndComp $Comp L DIODE D? U 1 1 4CADB1FE P 1350 6100 F 0 "D?" H 1350 6200 40 0000 C CNN F 1 "DIODE" H 1350 6000 40 0000 C CNN 1 1350 6100 -1 0 0 1 $EndComp $Comp L DIODE D? U 1 1 4CADB1FB P 1350 5950 AR Path="/4CADB1F7" Ref="D?" Part="1" AR Path="/4CADB1FB" Ref="D?" Part="1" F 0 "D?" H 1350 6050 40 0000 C CNN F 1 "DIODE" H 1350 5850 40 0000 C CNN 1 1350 5950 -1 0 0 1 $EndComp $Comp L DIODE D? U 1 1 4CADB1F7 P 1350 5800 F 0 "D?" H 1350 5900 40 0000 C CNN F 1 "DIODE" H 1350 5700 40 0000 C CNN 1 1350 5800 -1 0 0 1 $EndComp $Comp L 74LS02 U? U 2 1 4CADB1E6 P 3500 5700 AR Path="/4CADB1E1" Ref="U?" Part="1" AR Path="/4CADB1E6" Ref="U?" Part="2" F 0 "U?" H 3500 5750 60 0000 C CNN F 1 "74LS02" H 3550 5650 60 0000 C CNN 2 3500 5700 1 0 0 -1 $EndComp $Comp L 74LS02 U? U 1 1 4CADB1E4 P 2250 5200 AR Path="/4CADB1E1" Ref="U?" Part="1" AR Path="/4CADB1E4" Ref="U?" Part="1" F 0 "U?" H 2250 5250 60 0000 C CNN F 1 "74LS02" H 2300 5150 60 0000 C CNN 1 2250 5200 1 0 0 -1 $EndComp $Comp L 74LS02 U? U 1 1 4CADB1E1 P 2300 6250 F 0 "U?" H 2300 6300 60 0000 C CNN F 1 "74LS02" H 2350 6200 60 0000 C CNN 1 2300 6250 1 0 0 -1 $EndComp $Comp L VSS #PWR01 U 1 1 4CADA78C P 2400 1600 F 0 "#PWR01" H 2400 1600 30 0001 C CNN F 1 "VSS" H 2400 1530 30 0000 C CNN 1 2400 1600 1 0 0 -1 $EndComp $Comp L VCC #PWR02 U 1 1 4CADA740 P 2800 2600 F 0 "#PWR02" H 2800 2700 30 0001 C CNN F 1 "VCC" H 2800 2700 30 0000 C CNN 1 2800 2600 1 0 0 -1 $EndComp $Comp L GND #PWR03 U 1 1 4CACE094 P 7200 2250 F 0 "#PWR03" H 7200 2250 30 0001 C CNN F 1 "GND" H 7200 2180 30 0001 C CNN 1 7200 2250 0 -1 -1 0 $EndComp Text GLabel 7200 2650 2 60 Output ~ 0 RESET Text GLabel 7200 3050 2 60 Output ~ 0 WR Text GLabel 6200 3150 0 60 Output ~ 0 RD Text GLabel 7200 3150 2 60 Output ~ 0 IORQ $Comp L +5V #PWR04 U 1 1 4CACE020 P 7250 3350 F 0 "#PWR04" H 7250 3440 20 0001 C CNN F 1 "+5V" H 7250 3440 30 0000 C CNN 1 7250 3350 1 0 0 -1 $EndComp Text GLabel 7200 3750 2 60 BiDi ~ 0 D7 Text GLabel 6200 3750 0 60 BiDi ~ 0 D6 Text GLabel 7200 3650 2 60 BiDi ~ 0 D5 Text GLabel 6200 3650 0 60 BiDi ~ 0 D4 Text GLabel 7200 3550 2 60 BiDi ~ 0 D3 Text GLabel 6200 3550 0 60 BiDi ~ 0 D2 Text GLabel 7200 3450 2 60 BiDi ~ 0 D1 Text GLabel 6200 3450 0 60 BiDi ~ 0 D0 Text GLabel 6200 4550 0 60 Output ~ 0 A14 Text GLabel 7200 4450 2 60 Output ~ 0 A13 Text GLabel 6200 4450 0 60 Output ~ 0 A12 Text GLabel 7200 4350 2 60 Output ~ 0 A11 Text GLabel 6200 4350 0 60 Output ~ 0 A10 Text GLabel 7200 4250 2 60 Output ~ 0 A9 Text GLabel 6200 4250 0 60 Output ~ 0 A8 Text GLabel 7200 4150 2 60 Output ~ 0 A7 Text GLabel 6200 4150 0 60 Output ~ 0 A6 Text GLabel 7200 4050 2 60 Output ~ 0 A5 Text GLabel 6200 4050 0 60 Output ~ 0 A4 Text GLabel 7200 3950 2 60 Output ~ 0 A3 Text GLabel 6200 3950 0 60 Output ~ 0 A2 Text GLabel 7200 3850 2 60 Output ~ 0 A1 Text GLabel 6200 3850 0 60 Output ~ 0 A0 Text GLabel 7200 4550 2 60 Output ~ 0 A15 $Comp L GND #PWR05 U 1 1 4CACDF1B P 6150 4650 F 0 "#PWR05" H 6150 4650 30 0001 C CNN F 1 "GND" H 6150 4580 30 0001 C CNN 1 6150 4650 0 1 1 0 $EndComp $Comp L C C7 U 1 1 4CACDDC9 P 2400 2500 F 0 "C7" H 2450 2600 50 0000 L CNN F 1 "C" H 2450 2400 50 0000 L CNN 1 2400 2500 1 0 0 -1 $EndComp $Comp L CP1 C3 U 1 1 4CACDD41 P 2550 3000 F 0 "C3" H 2600 3100 50 0000 L CNN F 1 "1µF" H 2600 2900 50 0000 L CNN 1 2550 3000 1 0 0 -1 $EndComp $Comp L CP1 C4 U 1 1 4CACDD34 P 2550 3500 F 0 "C4" H 2600 3600 50 0000 L CNN F 1 "1µF" H 2600 3400 50 0000 L CNN 1 2550 3500 1 0 0 -1 $EndComp $Comp L CP1 C2 U 1 1 4CACDD2D P 750 3500 F 0 "C2" H 800 3600 50 0000 L CNN F 1 "1µF" H 800 3400 50 0000 L CNN 1 750 3500 1 0 0 -1 $EndComp $Comp L CP1 C1 U 1 1 4CACDD28 P 750 3000 F 0 "C1" H 800 3100 50 0000 L CNN F 1 "1µF" H 800 2900 50 0000 L CNN 1 750 3000 1 0 0 -1 $EndComp Text GLabel 3050 3650 3 60 Input ~ 0 RESET $Comp L GND #PWR06 U 1 1 4CACDC57 P 2650 1950 F 0 "#PWR06" H 2650 1950 30 0001 C CNN F 1 "GND" H 2650 1880 30 0001 C CNN 1 2650 1950 1 0 0 -1 $EndComp $Comp L C C5 U 1 1 4CACDC46 P 2850 950 F 0 "C5" H 2900 1050 50 0000 L CNN F 1 "22pF" H 2900 850 50 0000 L CNN 1 2850 950 0 1 1 0 $EndComp $Comp L C C6 U 1 1 4CACDC41 P 2850 1750 F 0 "C6" H 2900 1850 50 0000 L CNN F 1 "22pF" H 2900 1650 50 0000 L CNN 1 2850 1750 0 1 1 0 $EndComp $Comp L QUARTZCMS4 X1 U 1 1 4CACDC05 P 3050 1350 F 0 "X1" H 3050 1500 60 0000 C CNN F 1 "20MHz" H 3050 1200 60 0000 C CNN 1 3050 1350 0 1 1 0 $EndComp $Comp L GND #PWR07 U 1 1 4CACDB1A P 2900 3350 F 0 "#PWR07" H 2900 3350 30 0001 C CNN F 1 "GND" H 2900 3280 30 0001 C CNN 1 2900 3350 0 1 1 0 $EndComp $Comp L +5V #PWR08 U 1 1 4CACDB0E P 3050 3000 F 0 "#PWR08" H 3050 3090 20 0001 C CNN F 1 "+5V" H 3050 3090 30 0000 C CNN 1 3050 3000 1 0 0 -1 $EndComp Text Label 6350 700 0 60 ~ 0 GND $Comp L GND #PWR09 U 1 1 4CACDA24 P 6250 650 F 0 "#PWR09" H 6250 650 30 0001 C CNN F 1 "GND" H 6250 580 30 0001 C CNN 1 6250 650 -1 0 0 1 $EndComp $Comp L CONN_2 P2 U 1 1 4CACD9E4 P 6700 1550 F 0 "P2" V 6650 1550 40 0000 C CNN F 1 "FWUP" V 6750 1550 40 0000 C CNN 1 6700 1550 1 0 0 -1 $EndComp $Comp L R R1 U 1 1 4CACD9BF P 6350 1050 F 0 "R1" V 6430 1050 50 0000 C CNN F 1 "10MR" V 6350 1050 50 0000 C CNN 1 6350 1050 1 0 0 -1 $EndComp $Comp L R R2 U 1 1 4CACD9BD P 6100 1550 F 0 "R2" V 6180 1550 50 0000 C CNN F 1 "470R" V 6100 1550 50 0000 C CNN 1 6100 1550 1 0 0 -1 $EndComp $Comp L LED D1 U 1 1 4CACD9B5 P 6100 1000 F 0 "D1" H 6100 1100 50 0000 C CNN F 1 "LED" H 6100 900 50 0000 C CNN 1 6100 1000 0 1 1 0 $EndComp Text GLabel 5650 1650 2 60 Input ~ 0 MATCH Text GLabel 5650 3750 2 60 BiDi ~ 0 D7 Text GLabel 5650 3550 2 60 BiDi ~ 0 D6 Text GLabel 5650 3350 2 60 BiDi ~ 0 D5 Text GLabel 5650 3150 2 60 BiDi ~ 0 D4 Text GLabel 5650 2950 2 60 BiDi ~ 0 D3 Text GLabel 5650 2750 2 60 BiDi ~ 0 D2 Text GLabel 5650 2550 2 60 BiDi ~ 0 D1 Text GLabel 5650 2350 2 60 BiDi ~ 0 D0 Text GLabel 5650 1850 2 60 Input ~ 0 A0 Text GLabel 5650 1450 2 60 Input ~ 0 WR Text GLabel 5650 1250 2 60 Input ~ 0 RD Text GLabel 650 3900 0 60 Input ~ 0 TX Text GLabel 650 4100 0 60 Output ~ 0 RX $Comp L DB9 J1 U 1 1 4CACD835 P 700 4900 F 0 "J1" H 700 5450 70 0000 C CNN F 1 "DB9" H 700 4350 70 0000 C CNN 1 700 4900 -1 0 0 1 $EndComp Text GLabel 5650 1050 2 60 Output ~ 0 TX Text GLabel 5650 850 2 60 Input ~ 0 RX Text GLabel 4300 5700 2 60 Output ~ 0 MATCH $Comp L GND #PWR011 U 1 1 4CACD740 P 1700 6550 F 0 "#PWR011" H 1700 6550 30 0001 C CNN F 1 "GND" H 1700 6480 30 0001 C CNN 1 1700 6550 1 0 0 -1 $EndComp Text GLabel 2750 5600 0 60 Input ~ 0 IORQ Text GLabel 1050 5800 0 60 Input ~ 0 A8 Text GLabel 1450 5300 0 60 Input ~ 0 A7 Text GLabel 1050 6550 0 60 Input ~ 0 A6 Text GLabel 1050 6400 0 60 Input ~ 0 A5 Text GLabel 1050 6250 0 60 Input ~ 0 A4 Text GLabel 1050 6100 0 60 Input ~ 0 A3 Text GLabel 1450 5100 0 60 Input ~ 0 A2 Text GLabel 1050 5950 0 60 Input ~ 0 A1 $Comp L ATTINY2313MLF U2 U 1 1 4CACCD81 P 4300 2300 F 0 "U2" H 4275 3800 60 0000 C CNN F 1 "ATTINY2313MLF" H 4300 4000 60 0000 C CNN 1 4300 2300 1 0 0 -1 $EndComp $Comp L CONN_25X2 P1 U 1 1 4CACCCFC P 6700 3450 F 0 "P1" H 6700 4750 60 0000 C CNN F 1 "CONN_25X2" V 6700 3500 50 0000 C CNN 1 6700 3450 -1 0 0 1 $EndComp $Comp L MAX232 U3 U 1 1 4CACCC83 P 1600 3500 F 0 "U3" H 1600 4350 70 0000 C CNN F 1 "MAX232" H 1600 2650 70 0000 C CNN 1 1600 3500 1 0 0 -1 $EndComp $EndSCHEMATC