On Tue, 2011-11-08 at 11:56 +0000, andy pugh wrote: > On 8 November 2011 11:16, James Louis <[email protected]> wrote: > > Good morning all, > > There is an ad running in Digital Machinist magazine for an RC speed > > control of a brushless motor with ESC. If interested go to www.logicnc.com > > It gives EMC2 a way to control spindle speed from the parallel port. I > > haven't used one yet though. > > It isn't strictly necessary. As the RC pulse protocol is a 1 - 2mS > pulse every 20mS the standard EMC2 PWM function can be used, but gives > fairly poor resolution. (20 discrete steps with a 25,000nS base > thread).
I played with an AVR to get the fast PWM needed. See: http://wiki.linuxcnc.org/emcinfo.pl?AVR For spindle speed output only the SPP example could work. For multi-parameter I/O the Modbus example could be a base to build on. I believe many RC ESC's are AVR based so the PWM link could be changed to SPI or Modbus fairly easily. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
