On Sun, 2010-10-31 at 16:33 +0000, cristian pisoni wrote: > hi, > i'm going to build a cnc with my friends, i need to create the driver > for the motors. do you know where i can find something that show the > output signal of emc? ex: pin out and voltage of parallel port? thx
Drivers could be software or hardware. Do you need software to control some hardware, or do you need the hardware that controls and powers the motors? Basically, EMC2 has two methods of interfacing with hardware, one being the parallel port the other is a PCI card. The parallel port can interface with your hardware directly using software signal generation or talk to a card that generates signals from the card's hardware. For parallel port software generated signals check out this: http://www.linuxcnc.org/docview/html//hal_drivers.html You can use this with step and direction motor drivers such as Gecko's: http://www.geckodrive.com/ for stepper motors or DC motors. Or you can generate quadrature or PWM signals to drive an H-bridge for steppers or DC motors: http://axis.unpy.net/index.cgi/etchcnc http://emergent.unpythonic.net/projects/01142347802 The problem with parallel port software generated signals is that they can be fairly slow, and with PWM, you usually need to compromise either frequency or resolution. Hardware signal generators are much faster and can interface to a PCI slot or the parallel port. See: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware What is most appropriate for your setup depends on the size of your machine or rather axis speed, pitch and resolution. You might want to check out machines that are similar to what you want and try to copy the parts that apply: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Case_Studies http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Videos The start for most research should be here: http://linuxcnc.org/ http://www.linuxcnc.org/content/view/5/5/lang,english/ http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers