EESchema Schematic File Version 2 LIBS:power,pinhead,device,conn,linear,regul,74xx,cmos4000,adc-dac,memory,xilinx,special,microcontrollers,dsp,microchip,analog_switches,motorola,texas,intel,audio,interface,digital-audio,philips,display,cypress,siliconi,contrib,valves,./dulcimer.cache EELAYER 24 0 EELAYER END $Descr A4 11700 8267 Sheet 1 1 Title "Dulcimer - USB Keyboard Controller" Date "10 jul 2008" Rev "090324" Comp "Ronald Schaten - http://www.schatenseite.de" Comment1 "Version for IBM Host Keyboard" Comment2 "" Comment3 "" Comment4 "" $EndDescr NoConn ~ 4400 4600 NoConn ~ 4400 4400 Text Label 4600 4300 0 60 ~ R19 Text Label 4600 4200 0 60 ~ R18 Text Label 4600 4100 0 60 ~ R17 Text Label 4600 4000 0 60 ~ R16 Entry Wire Line 5350 4300 5450 4200 Entry Wire Line 5350 4200 5450 4100 Entry Wire Line 5350 4100 5450 4000 Entry Wire Line 5350 4000 5450 3900 Wire Wire Line 4400 4300 5350 4300 Wire Wire Line 4400 4200 5350 4200 Wire Wire Line 4400 4100 5350 4100 Wire Wire Line 4400 4000 5350 4000 Wire Wire Line 9250 2900 9950 2900 Wire Wire Line 3150 6600 4650 6600 Wire Wire Line 4650 6600 4650 6400 Wire Wire Line 4850 6400 4850 6750 Wire Wire Line 3150 6850 3150 7100 Wire Wire Line 9450 6350 8900 6350 Wire Wire Line 9450 6250 8900 6250 Wire Wire Line 9450 6150 8900 6150 Wire Wire Line 8850 4750 9950 4750 Wire Wire Line 8850 4550 9950 4550 Wire Wire Line 8850 4350 9950 4350 Wire Wire Line 8850 4150 9950 4150 Wire Wire Line 9250 2700 9950 2700 Wire Wire Line 9250 2500 9950 2500 Wire Wire Line 9250 2300 9950 2300 Wire Wire Line 9250 2100 9950 2100 Wire Wire Line 9250 1900 9950 1900 Wire Wire Line 9250 1700 9950 1700 Wire Wire Line 9250 1500 9950 1500 Wire Wire Line 4400 2800 5700 2800 Wire Wire Line 4400 2600 5700 2600 Wire Wire Line 5700 2400 4400 2400 Wire Wire Line 5700 2200 4400 2200 Wire Wire Line 4400 3700 5350 3700 Wire Wire Line 4400 3500 5350 3500 Wire Wire Line 4400 3300 5350 3300 Wire Wire Line 4400 3100 5350 3100 Wire Wire Line 4400 1900 5350 1900 Wire Wire Line 4400 1700 5350 1700 Wire Wire Line 4400 1500 5350 1500 Wire Bus Line 9150 3100 9150 850 Wire Bus Line 9150 850 5450 850 Wire Bus Line 5450 850 5450 4200 Connection ~ 10150 6250 Wire Wire Line 10150 6250 9750 6250 Wire Wire Line 10150 6550 10150 6050 Wire Wire Line 10150 6050 9750 6050 Connection ~ 1900 2300 Connection ~ 1900 1700 Connection ~ 3850 6750 Wire Wire Line 3850 7000 3850 6750 Wire Wire Line 3500 6900 3500 6450 Wire Wire Line 4200 7550 4200 7400 Wire Wire Line 3500 7550 3500 7400 Wire Wire Line 2400 6600 2200 6600 Wire Wire Line 2200 6600 2200 6350 Wire Wire Line 1550 4200 1550 4450 Wire Wire Line 1000 4200 1000 4450 Wire Wire Line 1150 2300 850 2300 Wire Wire Line 2200 2100 2200 2300 Wire Wire Line 2200 2100 2400 2100 Wire Wire Line 3300 1000 3300 800 Wire Wire Line 1400 1300 1150 1300 Wire Wire Line 1150 1300 1150 1100 Wire Wire Line 1900 1300 2400 1300 Wire Wire Line 850 1700 1150 1700 Wire Wire Line 1550 1700 2400 1700 Wire Wire Line 2200 2300 1550 2300 Wire Wire Line 1000 3600 1000 3800 Wire Wire Line 1550 3600 1550 3800 Wire Wire Line 3300 5000 3300 5150 Wire Wire Line 2200 7100 2200 6750 Wire Wire Line 2200 6750 2400 6750 Wire Wire Line 3850 7400 3850 7550 Connection ~ 3500 6750 Wire Wire Line 3500 5950 3500 5850 Wire Wire Line 4200 6600 4200 7000 Connection ~ 4200 6600 Wire Wire Line 9750 5950 10150 5950 Wire Wire Line 10150 5950 10150 5800 Wire Wire Line 9750 6150 10150 6150 Connection ~ 10150 6150 Wire Wire Line 10150 6350 9750 6350 Connection ~ 10150 6350 Wire Bus Line 5800 2800 5800 1750 Wire Bus Line 5800 1750 8750 1750 Wire Bus Line 8750 1750 8750 4750 Wire Wire Line 5350 1400 4400 1400 Wire Wire Line 5350 1600 4400 1600 Wire Wire Line 5350 1800 4400 1800 Wire Wire Line 5350 2000 4400 2000 Wire Wire Line 5350 3200 4400 3200 Wire Wire Line 5350 3400 4400 3400 Wire Wire Line 5350 3600 4400 3600 Wire Wire Line 5350 3800 4400 3800 Wire Wire Line 4400 2300 5700 2300 Wire Wire Line 5700 2500 4400 2500 Wire Wire Line 5700 2700 4400 2700 Wire Wire Line 5700 2900 4400 2900 Wire Wire Line 9950 1400 9250 1400 Wire Wire Line 9950 1600 9250 1600 Wire Wire Line 9950 1800 9250 1800 Wire Wire Line 9950 2000 9250 2000 Wire Wire Line 9950 2200 9250 2200 Wire Wire Line 9950 2400 9250 2400 Wire Wire Line 9950 2600 9250 2600 Wire Wire Line 9950 2800 9250 2800 Wire Wire Line 9950 4250 8850 4250 Wire Wire Line 9950 4450 8850 4450 Wire Wire Line 9950 4650 8850 4650 Wire Wire Line 9950 4850 8850 4850 Wire Wire Line 9250 1300 9950 1300 Wire Wire Line 4400 1300 5350 1300 Wire Wire Line 9450 5950 8900 5950 Wire Wire Line 2400 6850 2400 7100 Wire Wire Line 4400 4700 4850 4700 Wire Wire Line 4850 4700 4850 5900 Wire Wire Line 4400 4500 4650 4500 Wire Wire Line 4650 4500 4650 5900 Wire Wire Line 4850 6750 3150 6750 Wire Wire Line 9950 3000 9250 3000 Wire Wire Line 9950 3100 9250 3100 Wire Wire Line 9950 3200 9250 3200 Text Label 9450 3200 0 60 ~ R19 Text Label 9450 3100 0 60 ~ R18 Text Label 9450 3000 0 60 ~ R17 Text Label 9450 2900 0 60 ~ R16 Entry Wire Line 9150 3100 9250 3200 Entry Wire Line 9150 2700 9250 2800 Entry Wire Line 9150 3000 9250 3100 Entry Wire Line 9150 2900 9250 3000 Entry Wire Line 9150 2800 9250 2900 $Comp L PINHD-1X20 JP1 U 1 1 49C89FF7 P 10050 2200 F 0 "JP1" H 9800 3225 50 0000 L B F 1 "Keyboard Rows" H 9800 1000 50 0000 L B F 2 "pinhead-1X20" H 10050 2350 50 0001 C C 1 10050 2200 1 0 0 -1 $EndComp $Comp L GND #PWR01 U 1 1 480611E8 P 3150 7100 F 0 "#PWR01" H 3150 7100 30 0001 C C F 1 "GND" H 3150 7030 30 0001 C C 1 3150 7100 1 0 0 -1 $EndComp $Comp L GND #PWR02 U 1 1 480611E3 P 2400 7100 F 0 "#PWR02" H 2400 7100 30 0001 C C F 1 "GND" H 2400 7030 30 0001 C C 1 2400 7100 1 0 0 -1 $EndComp Text Notes 9500 5700 0 60 ~ ISP Text Label 4900 2300 0 60 ~ MISO Text Label 8900 6350 0 60 ~ MISO Text Label 4900 2200 0 60 ~ SCK Text Label 8900 6250 0 60 ~ SCK Text Label 8900 5950 0 60 ~ MOSI Text Label 4900 2400 0 60 ~ MOSI Text Label 8900 6150 0 60 ~ Reset Text Label 2000 1300 0 60 ~ Reset Text Label 9450 2800 0 60 ~ R15 Text Label 9450 2700 0 60 ~ R14 Text Label 9450 2600 0 60 ~ R13 Text Label 9450 2500 0 60 ~ R12 Text Label 9450 2400 0 60 ~ R11 Text Label 9450 2300 0 60 ~ R10 Text Label 9450 2200 0 60 ~ R9 Text Label 9450 2100 0 60 ~ R8 Text Label 9450 2000 0 60 ~ R7 Text Label 9450 1900 0 60 ~ R6 Text Label 9450 1800 0 60 ~ R5 Text Label 9450 1700 0 60 ~ R4 Text Label 9450 1600 0 60 ~ R3 Text Label 9450 1500 0 60 ~ R2 Text Label 9450 1400 0 60 ~ R1 Text Label 9450 1300 0 60 ~ R0 Text Label 4600 3800 0 60 ~ R15 Text Label 4600 3700 0 60 ~ R14 Text Label 4600 3600 0 60 ~ R13 Text Label 4600 3500 0 60 ~ R12 Text Label 4600 3400 0 60 ~ R11 Text Label 4600 3300 0 60 ~ R10 Text Label 4600 3200 0 60 ~ R9 Text Label 4600 3100 0 60 ~ R8 Text Label 4600 1300 0 60 ~ R7 Text Label 4600 1400 0 60 ~ R6 Text Label 4600 1500 0 60 ~ R5 Text Label 4600 1600 0 60 ~ R4 Text Label 4600 1700 0 60 ~ R3 Text Label 4600 1800 0 60 ~ R2 Text Label 4600 1900 0 60 ~ R1 Text Label 4600 2000 0 60 ~ R0 Text Label 4600 2200 0 60 ~ C7 Text Label 4600 2300 0 60 ~ C6 Text Label 4600 2400 0 60 ~ C5 Text Label 4600 2500 0 60 ~ C4 Text Label 4600 2600 0 60 ~ C3 Text Label 4600 2700 0 60 ~ C2 Text Label 4600 2800 0 60 ~ C1 Text Label 4600 2900 0 60 ~ C0 Text Label 9450 4850 0 60 ~ C7 Text Label 9450 4750 0 60 ~ C6 Text Label 9450 4650 0 60 ~ C5 Text Label 9450 4550 0 60 ~ C4 Text Label 9450 4450 0 60 ~ C3 Text Label 9450 4350 0 60 ~ C2 Text Label 9450 4250 0 60 ~ C1 Text Label 9450 4150 0 60 ~ C0 Entry Wire Line 9150 1200 9250 1300 Entry Wire Line 9150 1300 9250 1400 Entry Wire Line 9150 1400 9250 1500 Entry Wire Line 9150 1500 9250 1600 Entry Wire Line 9150 1600 9250 1700 Entry Wire Line 9150 1700 9250 1800 Entry Wire Line 9150 1800 9250 1900 Entry Wire Line 9150 1900 9250 2000 Entry Wire Line 9150 2000 9250 2100 Entry Wire Line 9150 2100 9250 2200 Entry Wire Line 9150 2200 9250 2300 Entry Wire Line 9150 2300 9250 2400 Entry Wire Line 9150 2400 9250 2500 Entry Wire Line 9150 2500 9250 2600 Entry Wire Line 9150 2600 9250 2700 Entry Wire Line 8750 4050 8850 4150 Entry Wire Line 8750 4150 8850 4250 Entry Wire Line 8750 4250 8850 4350 Entry Wire Line 8750 4350 8850 4450 Entry Wire Line 8750 4450 8850 4550 Entry Wire Line 8750 4550 8850 4650 Entry Wire Line 8750 4650 8850 4750 Entry Wire Line 8750 4750 8850 4850 Entry Wire Line 5700 2900 5800 2800 Entry Wire Line 5700 2800 5800 2700 Entry Wire Line 5700 2700 5800 2600 Entry Wire Line 5700 2600 5800 2500 Entry Wire Line 5700 2500 5800 2400 Entry Wire Line 5700 2400 5800 2300 Entry Wire Line 5700 2300 5800 2200 Entry Wire Line 5700 2200 5800 2100 Entry Wire Line 5350 3800 5450 3700 Entry Wire Line 5350 3700 5450 3600 Entry Wire Line 5350 3600 5450 3500 Entry Wire Line 5350 3500 5450 3400 Entry Wire Line 5350 3400 5450 3300 Entry Wire Line 5350 3300 5450 3200 Entry Wire Line 5350 3200 5450 3100 Entry Wire Line 5350 3100 5450 3000 Entry Wire Line 5350 2000 5450 1900 Entry Wire Line 5350 1900 5450 1800 Entry Wire Line 5350 1800 5450 1700 Entry Wire Line 5350 1700 5450 1600 Entry Wire Line 5350 1600 5450 1500 Entry Wire Line 5350 1500 5450 1400 Entry Wire Line 5350 1400 5450 1300 Entry Wire Line 5350 1300 5450 1200 $Comp L GND #PWR03 U 1 1 4804562B P 10150 6550 F 0 "#PWR03" H 10150 6550 30 0001 C C F 1 "GND" H 10150 6480 30 0001 C C 1 10150 6550 1 0 0 -1 $EndComp $Comp L VCC #PWR04 U 1 1 4804561C P 10150 5800 F 0 "#PWR04" H 10150 5900 30 0001 C C F 1 "VCC" H 10150 5900 30 0000 C C 1 10150 5800 1 0 0 -1 $EndComp NoConn ~ 9450 6050 NoConn ~ 3400 5000 NoConn ~ 2400 2500 NoConn ~ 3400 1000 $Comp L VCC #PWR05 U 1 1 480450B7 P 3500 5850 F 0 "#PWR05" H 3500 5950 30 0001 C C F 1 "VCC" H 3500 5950 30 0000 C C 1 3500 5850 1 0 0 -1 $EndComp $Comp L VCC #PWR06 U 1 1 48044F99 P 1150 1100 F 0 "#PWR06" H 1150 1200 30 0001 C C F 1 "VCC" H 1150 1200 30 0000 C C 1 1150 1100 1 0 0 -1 $EndComp $Comp L GND #PWR07 U 1 1 48044DD0 P 2200 7100 F 0 "#PWR07" H 2200 7100 30 0001 C C F 1 "GND" H 2200 7030 30 0001 C C 1 2200 7100 1 0 0 -1 $EndComp $Comp L VCC #PWR08 U 1 1 48044DC6 P 2200 6350 F 0 "#PWR08" H 2200 6450 30 0001 C C F 1 "VCC" H 2200 6450 30 0000 C C 1 2200 6350 1 0 0 -1 $EndComp $Comp L VCC #PWR09 U 1 1 48044DB8 P 1550 3600 F 0 "#PWR09" H 1550 3700 30 0001 C C F 1 "VCC" H 1550 3700 30 0000 C C 1 1550 3600 1 0 0 -1 $EndComp $Comp L VCC #PWR010 U 1 1 48044DB5 P 1000 3600 F 0 "#PWR010" H 1000 3700 30 0001 C C F 1 "VCC" H 1000 3700 30 0000 C C 1 1000 3600 1 0 0 -1 $EndComp $Comp L VCC #PWR011 U 1 1 48044D21 P 3300 800 F 0 "#PWR011" H 3300 900 30 0001 C C F 1 "VCC" H 3300 900 30 0000 C C 1 3300 800 1 0 0 -1 $EndComp $Comp L GND #PWR012 U 1 1 48044A9D P 4200 7550 F 0 "#PWR012" H 4200 7550 30 0001 C C F 1 "GND" H 4200 7480 30 0001 C C 1 4200 7550 1 0 0 -1 $EndComp $Comp L GND #PWR013 U 1 1 48044A97 P 3850 7550 F 0 "#PWR013" H 3850 7550 30 0001 C C F 1 "GND" H 3850 7480 30 0001 C C 1 3850 7550 1 0 0 -1 $EndComp $Comp L GND #PWR014 U 1 1 48044A95 P 3500 7550 F 0 "#PWR014" H 3500 7550 30 0001 C C F 1 "GND" H 3500 7480 30 0001 C C 1 3500 7550 1 0 0 -1 $EndComp $Comp L GND #PWR015 U 1 1 48044A93 P 1550 4450 F 0 "#PWR015" H 1550 4450 30 0001 C C F 1 "GND" H 1550 4380 30 0001 C C 1 1550 4450 1 0 0 -1 $EndComp $Comp L GND #PWR016 U 1 1 48044A8D P 1000 4450 F 0 "#PWR016" H 1000 4450 30 0001 C C F 1 "GND" H 1000 4380 30 0001 C C 1 1000 4450 1 0 0 -1 $EndComp $Comp L GND #PWR017 U 1 1 48044A8A P 3300 5150 F 0 "#PWR017" H 3300 5150 30 0001 C C F 1 "GND" H 3300 5080 30 0001 C C 1 3300 5150 1 0 0 -1 $EndComp $Comp L GND #PWR018 U 1 1 48044A88 P 850 1700 F 0 "#PWR018" H 850 1700 30 0001 C C F 1 "GND" H 850 1630 30 0001 C C 1 850 1700 0 1 1 0 $EndComp $Comp L GND #PWR019 U 1 1 48044A82 P 850 2300 F 0 "#PWR019" H 850 2300 30 0001 C C F 1 "GND" H 850 2230 30 0001 C C 1 850 2300 0 1 1 0 $EndComp $Comp L PINHD-2X5M JP7 U 1 1 48044A4D P 9550 6150 F 0 "JP7" H 9300 6475 50 0000 L B F 1 "ISP" H 9300 5750 50 0000 L B F 2 "pinhead-2X05M" H 9550 6300 50 0001 C C 1 9550 6150 1 0 0 -1 $EndComp $Comp L PINHD-1X8M JP2 U 1 1 48044A0E P 10050 4550 F 0 "JP2" H 9800 5075 50 0000 L B F 1 "Keyboard Columns" H 9800 4050 50 0000 L B F 2 "pinhead-1X08M" H 10050 4700 50 0001 C C 1 10050 4550 1 0 0 -1 $EndComp $Comp L MEGA32-P IC1 U 1 1 480447FC P 3400 3000 F 0 "IC1" H 3450 3050 50 0000 L B F 1 "MEGA32-P" H 3600 1000 50 0000 L B F 2 "atmel-DIL40" H 3400 3150 50 0001 C C 1 3400 3000 1 0 0 -1 $EndComp $Comp L ZENER D2 U 1 1 48044798 P 4200 7200 F 0 "D2" H 4200 7300 50 0000 C C F 1 "3.6V" H 4200 7100 40 0000 C C 1 4200 7200 0 -1 -1 0 $EndComp $Comp L ZENER D1 U 1 1 48044791 P 3850 7200 F 0 "D1" H 3850 7300 50 0000 C C F 1 "3.6V" H 3850 7100 40 0000 C C 1 3850 7200 0 -1 -1 0 $EndComp $Comp L CRYSTAL X1 U 1 1 4804477C P 1900 2000 F 0 "X1" H 1900 2150 60 0000 C C F 1 "12MHz" H 1900 1850 60 0000 C C 1 1900 2000 0 1 1 0 $EndComp $Comp L CP C2 U 1 1 48044769 P 1550 4000 F 0 "C2" H 1600 4100 50 0000 L C F 1 "10u" H 1600 3900 50 0000 L C 1 1550 4000 -1 0 0 -1 $EndComp $Comp L C C1 U 1 1 48044756 P 1000 4000 F 0 "C1" H 1050 4100 50 0000 L C F 1 "100n" H 1050 3900 50 0000 L C 1 1000 4000 -1 0 0 -1 $EndComp $Comp L C C4 U 1 1 48044754 P 1350 2300 F 0 "C4" H 1400 2400 50 0000 L C F 1 "22p" H 1400 2200 50 0000 L C 1 1350 2300 0 1 1 0 $EndComp $Comp L C C3 U 1 1 48044750 P 1350 1700 F 0 "C3" H 1400 1800 50 0000 L C F 1 "22p" H 1400 1600 50 0000 L C 1 1350 1700 0 1 1 0 $EndComp $Comp L R R8 U 1 1 48044743 P 4850 6150 F 0 "R8" V 4930 6150 50 0000 C C F 1 "68" V 4850 6150 50 0000 C C 1 4850 6150 -1 0 0 1 $EndComp $Comp L R R7 U 1 1 48044741 P 4650 6150 F 0 "R7" V 4730 6150 50 0000 C C F 1 "68" V 4650 6150 50 0000 C C 1 4650 6150 -1 0 0 1 $EndComp $Comp L R R1 U 1 1 4804473F P 1650 1300 F 0 "R1" V 1730 1300 50 0000 C C F 1 "10k" V 1650 1300 50 0000 C C 1 1650 1300 0 1 1 0 $EndComp $Comp L R R2 U 1 1 4804473B P 3500 6200 F 0 "R2" V 3580 6200 50 0000 C C F 1 "2k2" V 3500 6200 50 0000 C C 1 3500 6200 1 0 0 -1 $EndComp $Comp L R R6 U 1 1 48044739 P 3500 7150 F 0 "R6" V 3580 7150 50 0000 C C F 1 "4k7" V 3500 7150 50 0000 C C 1 3500 7150 1 0 0 -1 $EndComp $Comp L USB J1 U 1 1 480446AA P 2800 6400 F 0 "J1" H 2750 6800 60 0000 C C F 1 "USB" V 2550 6550 60 0000 C C 1 2800 6400 1 0 0 -1 $EndComp $EndSCHEMATC