EESchema Schematic File Version 2 date Sun 14 Nov 2010 22:10:15 CET LIBS:power LIBS:device 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:contrib LIBS:valves LIBS:springuin LIBS:stepgeneratormcu-cache EELAYER 24 0 EELAYER END $Descr A4 11700 8267 Sheet 1 1 Title "Stepgenerator mcu" Date "14 nov 2010" Rev "1.1" Comp "TechDev - Springuin.nl" Comment1 "License: Creative Commons Attribution-ShareAlike 3.0 Unported" Comment2 "" Comment3 "" Comment4 "" $EndDescr Wire Wire Line 3900 4850 3900 4800 Wire Wire Line 8950 5100 8950 5200 Wire Wire Line 9250 4600 9250 4700 Wire Wire Line 9250 3700 9250 4100 Wire Wire Line 7500 4850 8000 4850 Connection ~ 5200 4650 Wire Wire Line 5400 4650 5000 4650 Wire Wire Line 7950 3950 7500 3950 Wire Wire Line 7950 5450 7500 5450 Wire Wire Line 7950 3650 7500 3650 Wire Wire Line 7950 3750 7500 3750 Wire Wire Line 7950 5550 7500 5550 Wire Wire Line 7950 4050 7500 4050 Connection ~ 5300 3050 Wire Wire Line 5300 3000 5300 3050 Wire Wire Line 8200 3150 7500 3150 Wire Wire Line 8200 3450 7500 3450 Wire Wire Line 8200 5750 7500 5750 Wire Wire Line 8200 5950 7500 5950 Wire Wire Line 7500 6150 8200 6150 Wire Wire Line 7500 4150 8200 4150 Wire Wire Line 7500 4250 8200 4250 Wire Wire Line 7500 4450 8200 4450 Wire Wire Line 7500 4650 8200 4650 Wire Wire Line 2300 2350 2500 2350 Wire Wire Line 1300 2400 1600 2400 Wire Wire Line 1600 2400 1600 2350 Wire Wire Line 1800 3900 1800 3200 Wire Wire Line 2000 3900 2000 3200 Wire Wire Line 2200 3900 2200 3200 Wire Wire Line 2300 3200 2300 3900 Wire Wire Line 2100 3900 2100 3200 Wire Wire Line 1900 3900 1900 3200 Wire Wire Line 1350 3950 1350 3900 Wire Wire Line 1350 3900 1500 3900 Wire Wire Line 1500 5450 1350 5450 Wire Wire Line 1350 5450 1350 5500 Wire Wire Line 1900 5450 1900 4650 Wire Wire Line 2100 5450 2100 4650 Wire Wire Line 2300 4650 2300 5450 Wire Wire Line 2200 5450 2200 4650 Wire Wire Line 2000 5450 2000 4650 Wire Wire Line 1800 5450 1800 4650 Wire Wire Line 1800 6800 1800 6050 Wire Wire Line 2000 6800 2000 6050 Wire Wire Line 2200 6800 2200 6050 Wire Wire Line 2300 6050 2300 6800 Wire Wire Line 2100 6800 2100 6050 Wire Wire Line 1900 6800 1900 6050 Wire Wire Line 1350 6850 1350 6800 Wire Wire Line 1350 6800 1500 6800 Wire Wire Line 2500 2250 2300 2250 Wire Wire Line 2300 2050 2500 2050 Wire Wire Line 2500 1850 2300 1850 Wire Wire Line 2500 1650 2300 1650 Wire Wire Line 2500 1450 2300 1450 Wire Wire Line 1600 2150 1150 2150 Wire Wire Line 1600 1950 1150 1950 Wire Wire Line 1600 1750 1150 1750 Wire Wire Line 1600 1550 1150 1550 Wire Wire Line 2300 1350 2400 1350 Wire Wire Line 1600 1450 1150 1450 Wire Wire Line 1600 1650 1150 1650 Wire Wire Line 1600 1850 1150 1850 Wire Wire Line 1600 2050 1150 2050 Wire Wire Line 1600 2250 1000 2250 Wire Wire Line 2300 1550 2500 1550 Wire Wire Line 2500 1750 2300 1750 Wire Wire Line 2500 1950 2300 1950 Wire Wire Line 2500 2150 2300 2150 Wire Wire Line 8800 6250 9300 6250 Wire Wire Line 9300 6150 9250 6150 Wire Wire Line 9300 6450 9250 6450 Wire Wire Line 10550 6150 10850 6150 Wire Wire Line 7500 5250 8000 5250 Wire Wire Line 8000 5050 7500 5050 Connection ~ 5400 4250 Wire Wire Line 5050 4050 5050 4100 Wire Wire Line 5400 3450 5050 3450 Connection ~ 5400 4750 Connection ~ 5400 4850 Wire Wire Line 5400 4550 5400 4900 Connection ~ 5400 4150 Wire Wire Line 5400 3850 5400 4250 Connection ~ 5400 4050 Connection ~ 5400 3950 Connection ~ 5400 4650 Wire Wire Line 5400 3250 5050 3250 Wire Wire Line 5400 3650 5050 3650 Wire Wire Line 7500 5150 8000 5150 Wire Wire Line 7500 5350 8000 5350 Wire Wire Line 10550 6050 10850 6050 Wire Wire Line 10550 6250 10850 6250 Wire Wire Line 10550 6450 10850 6450 Wire Wire Line 9050 6050 9050 6200 Wire Wire Line 9050 6200 9250 6200 Wire Wire Line 9250 6200 9250 6150 Wire Wire Line 9300 6050 9200 6050 Wire Wire Line 9200 6050 9200 6100 Wire Wire Line 9250 6450 9250 6500 Wire Wire Line 10950 6350 10550 6350 Wire Wire Line 4800 3050 5400 3050 Wire Wire Line 2400 1350 2400 1300 Wire Wire Line 2500 2350 2500 2400 Wire Wire Line 7500 4550 8200 4550 Wire Wire Line 8200 4350 7500 4350 Wire Wire Line 7500 6250 8200 6250 Wire Wire Line 7500 6050 8200 6050 Wire Wire Line 8200 5850 7500 5850 Wire Wire Line 7500 3550 8200 3550 Wire Wire Line 7500 3350 8200 3350 Wire Wire Line 8200 3250 7500 3250 Wire Wire Line 8200 3050 7500 3050 Wire Wire Line 5300 2500 5300 2450 Wire Wire Line 5400 4250 5000 4250 Connection ~ 5200 4250 Wire Wire Line 7500 4950 8000 4950 Wire Wire Line 8950 4100 8950 3700 Wire Wire Line 8950 4700 8950 4600 Wire Wire Line 9250 5200 9250 5100 Wire Wire Line 3900 4300 3900 4400 $Comp L GND #PWR8 U 1 1 4CD56878 P 3900 4850 F 0 "#PWR8" H 3900 4850 30 0001 C CNN F 1 "GND" H 3900 4780 30 0001 C CNN 1 3900 4850 1 0 0 -1 $EndComp $Comp L +5V #PWR7 U 1 1 4CD56871 P 3900 4300 F 0 "#PWR7" H 3900 4390 20 0001 C CNN F 1 "+5V" H 3900 4390 30 0000 C CNN 1 3900 4300 1 0 0 -1 $EndComp $Comp L CAPAPOL C11 U 1 1 4CD5686C P 3900 4600 F 0 "C11" H 3950 4700 50 0000 L CNN F 1 "100uF" H 3950 4500 50 0000 L CNN 1 3900 4600 1 0 0 -1 $EndComp Text Label 9250 3950 1 60 ~ 0 led2 Text Label 8950 3950 1 60 ~ 0 led1 $Comp L GND #PWR13 U 1 1 4CD56849 P 8950 5200 F 0 "#PWR13" H 8950 5200 30 0001 C CNN F 1 "GND" H 8950 5130 30 0001 C CNN 1 8950 5200 1 0 0 -1 $EndComp $Comp L GND #PWR16 U 1 1 4CD56842 P 9250 5200 F 0 "#PWR16" H 9250 5200 30 0001 C CNN F 1 "GND" H 9250 5130 30 0001 C CNN 1 9250 5200 1 0 0 -1 $EndComp $Comp L R R12 U 1 1 4CD5682E P 9250 4350 F 0 "R12" V 9330 4350 50 0000 C CNN F 1 "150" V 9250 4350 50 0000 C CNN 1 9250 4350 1 0 0 -1 $EndComp $Comp L R R11 U 1 1 4CD56829 P 8950 4350 F 0 "R11" V 9030 4350 50 0000 C CNN F 1 "150" V 8950 4350 50 0000 C CNN 1 8950 4350 1 0 0 -1 $EndComp Text Label 7600 4950 0 60 ~ 0 led2 Text Label 7600 4850 0 60 ~ 0 led1 $Comp L LED D2 U 1 1 4CD5680D P 9250 4900 F 0 "D2" H 9250 5000 50 0000 C CNN F 1 "LED" H 9250 4800 50 0000 C CNN 1 9250 4900 0 1 1 0 $EndComp $Comp L LED D1 U 1 1 4CD56801 P 8950 4900 F 0 "D1" H 8950 5000 50 0000 C CNN F 1 "LED" H 8950 4800 50 0000 C CNN 1 8950 4900 0 1 1 0 $EndComp $Comp L C C12 U 1 1 4CC2E4D4 P 5000 4450 F 0 "C12" H 5050 4550 50 0000 L CNN F 1 "100nF" H 5050 4350 50 0000 L CNN F 2 "C1" H 5000 4450 60 0001 C CNN 1 5000 4450 1 0 0 -1 $EndComp Text Label 7600 3650 0 60 ~ 0 stepz Text Label 7650 4050 0 60 ~ 0 dirx Text Label 7600 3950 0 60 ~ 0 stepx Text Label 7650 5550 0 60 ~ 0 diry Text Label 7600 5450 0 60 ~ 0 stepy Text Label 7650 3750 0 60 ~ 0 dirz Text Label 7550 3050 0 60 ~ 0 dir-B-z Text Label 7550 3150 0 60 ~ 0 current-B-z1 Text Label 7550 3250 0 60 ~ 0 current-B-z2 Text Label 7550 3350 0 60 ~ 0 dir-A-z Text Label 7550 3450 0 60 ~ 0 current-A-z1 Text Label 7550 3550 0 60 ~ 0 current-A-z2 Text Label 7600 6250 0 60 ~ 0 current-A-y2 Text Label 7600 6150 0 60 ~ 0 current-A-y1 Text Label 7550 6050 0 60 ~ 0 dir-A-y Text Label 7550 5950 0 60 ~ 0 current-B-y2 Text Label 7550 5850 0 60 ~ 0 current-B-y1 Text Label 7550 5750 0 60 ~ 0 dir-B-y Text Label 7600 4150 0 60 ~ 0 dir-B-x Text Label 7600 4250 0 60 ~ 0 current-B-x1 Text Label 7600 4350 0 60 ~ 0 current-B-x2 Text Label 7600 4450 0 60 ~ 0 dir-A-x Text Label 7600 4550 0 60 ~ 0 current-A-x1 Text Label 7600 4650 0 60 ~ 0 current-A-x2 $Comp L CONN_10 P2 U 1 1 4CC2BD43 P 1950 4250 F 0 "P2" V 1900 4250 60 0000 C CNN F 1 "CONN_10" V 2000 4250 60 0000 C CNN F 2 "SIL-10" H 1950 4250 60 0001 C CNN 1 1950 4250 0 1 1 0 $EndComp Text Notes 2550 6700 0 60 ~ 0 IC3, pins 11-20 Text Notes 2550 5400 0 60 ~ 0 IC2, pins 11-20 Text Notes 2550 4100 0 60 ~ 0 IC1, pins 11-20 Text Label 2300 3200 3 60 ~ 0 current-A-x2 Text Label 2200 3200 3 60 ~ 0 current-A-x1 Text Label 2100 3200 3 60 ~ 0 dir-A-x Text Label 2000 3200 3 60 ~ 0 current-B-x2 Text Label 1900 3200 3 60 ~ 0 current-B-x1 Text Label 1800 3200 3 60 ~ 0 dir-B-x $Comp L GND #PWR2 U 1 1 4CC2BD42 P 1350 3950 F 0 "#PWR2" H 1350 3950 30 0001 C CNN F 1 "GND" H 1350 3880 30 0001 C CNN 1 1350 3950 1 0 0 -1 $EndComp $Comp L GND #PWR3 U 1 1 4CC2BD41 P 1350 5500 F 0 "#PWR3" H 1350 5500 30 0001 C CNN F 1 "GND" H 1350 5430 30 0001 C CNN 1 1350 5500 1 0 0 -1 $EndComp Text Label 1800 4650 3 60 ~ 0 dir-A-B-y Text Label 1900 4650 3 60 ~ 0 current-B-y Text Label 2000 4650 3 60 ~ 0 current-B-y Text Label 2100 4650 3 60 ~ 0 dir-A-B-y Text Label 2200 4650 3 60 ~ 0 current-A-y Text Label 2300 4650 3 60 ~ 0 current-A-y $Comp L CONN_10 P3 U 1 1 4CC2BD40 P 1950 5800 F 0 "P3" V 1900 5800 60 0000 C CNN F 1 "CONN_10" V 2000 5800 60 0000 C CNN F 2 "SIL-10" H 1950 5800 60 0001 C CNN 1 1950 5800 0 1 1 0 $EndComp $Comp L CONN_10 P4 U 1 1 4CC2BD3F P 1950 7150 F 0 "P4" V 1900 7150 60 0000 C CNN F 1 "CONN_10" V 2000 7150 60 0000 C CNN F 2 "SIL-10" H 1950 7150 60 0001 C CNN 1 1950 7150 0 1 1 0 $EndComp Text Label 2300 6050 3 60 ~ 0 current-A-z2 Text Label 2200 6050 3 60 ~ 0 current-A-z1 Text Label 2100 6050 3 60 ~ 0 dir-A-z Text Label 2000 6050 3 60 ~ 0 current-B-z2 Text Label 1900 6050 3 60 ~ 0 current-B-z1 Text Label 1800 6050 3 60 ~ 0 dir-B-z $Comp L GND #PWR4 U 1 1 4CC2BD3E P 1350 6850 F 0 "#PWR4" H 1350 6850 30 0001 C CNN F 1 "GND" H 1350 6780 30 0001 C CNN 1 1350 6850 1 0 0 -1 $EndComp NoConn ~ 2400 3900 NoConn ~ 1700 3900 NoConn ~ 1600 3900 NoConn ~ 2400 5450 NoConn ~ 1700 5450 NoConn ~ 1700 6800 NoConn ~ 2400 6800 NoConn ~ 1600 6800 NoConn ~ 1600 5450 $Comp L GND #PWR6 U 1 1 4CC2BD22 P 2500 2400 F 0 "#PWR6" H 2500 2400 30 0001 C CNN F 1 "GND" H 2500 2330 30 0001 C CNN 1 2500 2400 1 0 0 -1 $EndComp $Comp L +24V #PWR1 U 1 1 4CC2BD21 P 1300 2400 F 0 "#PWR1" H 1300 2350 20 0001 C CNN F 1 "+24V" H 1300 2500 30 0000 C CNN 1 1300 2400 1 0 0 -1 $EndComp $Comp L +5V #PWR5 U 1 1 4CC2BD20 P 2400 1300 F 0 "#PWR5" H 2400 1390 20 0001 C CNN F 1 "+5V" H 2400 1390 30 0000 C CNN 1 2400 1300 1 0 0 -1 $EndComp Text Label 1200 1450 0 60 ~ 0 par-d7 Text Label 1200 1550 0 60 ~ 0 par-d6 Text Label 1300 1750 0 60 ~ 0 dirz Text Label 1250 1850 0 60 ~ 0 stepy Text Label 1300 1950 0 60 ~ 0 diry Text Label 1250 2050 0 60 ~ 0 stepx Text Label 1300 2150 0 60 ~ 0 dirx Text Label 1000 2250 0 60 ~ 0 par-strobe Text Label 1250 1650 0 60 ~ 0 stepz NoConn ~ 2500 2250 NoConn ~ 2500 2150 NoConn ~ 2500 2050 NoConn ~ 2500 1950 NoConn ~ 2500 1850 NoConn ~ 2500 1750 NoConn ~ 2500 1650 NoConn ~ 2500 1550 NoConn ~ 2500 1450 NoConn ~ 1150 1450 NoConn ~ 1000 2250 NoConn ~ 1150 1550 $Comp L DIL22 P1 U 1 1 4CC2BD1F P 1950 1900 F 0 "P1" H 1950 2600 70 0000 C CNN F 1 "DIL22" H 1950 1250 70 0000 C CNN F 2 "DIP-22__400" H 1950 1900 60 0001 C CNN 1 1950 1900 1 0 0 -1 $EndComp $Comp L +5V #PWR18 U 1 1 4CC2BA19 P 10950 6350 F 0 "#PWR18" H 10950 6440 20 0001 C CNN F 1 "+5V" H 10950 6440 30 0000 C CNN 1 10950 6350 1 0 0 -1 $EndComp $Comp L +5V #PWR14 U 1 1 4CC2BA13 P 9050 6050 F 0 "#PWR14" H 9050 6140 20 0001 C CNN F 1 "+5V" H 9050 6140 30 0000 C CNN 1 9050 6050 1 0 0 -1 $EndComp $Comp L +5V #PWR10 U 1 1 4CC2BA0B P 5300 2450 F 0 "#PWR10" H 5300 2540 20 0001 C CNN F 1 "+5V" H 5300 2540 30 0000 C CNN 1 5300 2450 1 0 0 -1 $EndComp $Comp L +5V #PWR11 U 1 1 4CC2BA08 P 5400 3850 F 0 "#PWR11" H 5400 3940 20 0001 C CNN F 1 "+5V" H 5400 3940 30 0000 C CNN 1 5400 3850 1 0 0 -1 $EndComp $Comp L MEGA644P-DIP IC1 U 1 1 4CBF483F P 6400 5050 F 0 "IC1" H 5600 7200 50 0000 L BNN F 1 "MEGA644P-DIP" H 5600 3400 50 0000 L BNN F 2 "DIP-40__600" H 6400 5200 50 0001 C CNN 1 6400 5050 1 0 0 -1 $EndComp $Comp L R R10 U 1 1 4C3DF981 P 5300 2750 F 0 "R10" V 5380 2750 50 0000 C CNN F 1 "10k" V 5300 2750 50 0000 C CNN F 2 "R1" H 5300 2750 60 0001 C CNN 1 5300 2750 -1 0 0 1 $EndComp NoConn ~ 9300 6350 Text Label 8850 6250 0 60 ~ 0 RST $Comp L GND #PWR15 U 1 1 4BB3A3A0 P 9200 6100 F 0 "#PWR15" H 9200 6100 30 0001 C CNN F 1 "GND" H 9200 6030 30 0001 C CNN 1 9200 6100 1 0 0 -1 $EndComp $Comp L GND #PWR17 U 1 1 4BB3A394 P 9250 6500 F 0 "#PWR17" H 9250 6500 30 0001 C CNN F 1 "GND" H 9250 6430 30 0001 C CNN 1 9250 6500 1 0 0 -1 $EndComp Text Label 10600 6450 0 60 ~ 0 TDI Text Label 10600 6250 0 60 ~ 0 TMS Text Label 10600 6150 0 60 ~ 0 TDO Text Label 10600 6050 0 60 ~ 0 TCK $Comp L ATMEL-JTAG J2 U 1 1 4BB3A343 P 9900 6350 F 0 "J2" H 9650 6750 60 0000 C CNN F 1 "ATMEL-JTAG" H 9950 6150 60 0000 C CNN F 2 "PIN_ARRAY_5x2" H 9900 6350 60 0001 C CNN 1 9900 6350 1 0 0 -1 $EndComp Text Label 7600 5350 0 60 ~ 0 TCK Text Label 7600 5250 0 60 ~ 0 TMS Text Label 7600 5150 0 60 ~ 0 TDO Text Label 7600 5050 0 60 ~ 0 TDI NoConn ~ 5050 3450 NoConn ~ 5050 3250 Text Label 5100 3050 0 60 ~ 0 RST $Comp L GND #PWR9 U 1 1 4BAA4C5F P 5050 4100 F 0 "#PWR9" H 5050 4100 30 0001 C CNN F 1 "GND" H 5050 4030 30 0001 C CNN 1 5050 4100 1 0 0 -1 $EndComp $Comp L C C9 U 1 1 4BAA4C56 P 5050 3850 F 0 "C9" H 5100 3950 50 0000 L CNN F 1 "100nF" H 5100 3750 50 0000 L CNN F 2 "C1" H 5050 3850 60 0001 C CNN 1 5050 3850 1 0 0 -1 $EndComp $Comp L C C10 U 1 1 4BAA4C4C P 5200 4450 F 0 "C10" H 5250 4550 50 0000 L CNN F 1 "100nF" H 5250 4350 50 0000 L CNN F 2 "C1" H 5200 4450 60 0001 C CNN 1 5200 4450 1 0 0 -1 $EndComp $Comp L GND #PWR12 U 1 1 4BAA4976 P 5400 4900 F 0 "#PWR12" H 5400 4900 30 0001 C CNN F 1 "GND" H 5400 4830 30 0001 C CNN 1 5400 4900 1 0 0 -1 $EndComp $EndSCHEMATC