On 06/02/2015 11:25 AM, [email protected] wrote: > One more time, in reference to this dc spindle motor > http://www.ebay.com/itm/201280571303?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT > When power is applied to the controller the motor starts running > Is it ok to switch the controller off/on or better to put a relay between the > motor and the controller
As has been said in other replies, switching the driver output is generally a bad idea. In the fourth picture the one of the Chinese labels has PWM in it. I would assume you could run pin 4 from the left, marked +5V to the collector side of an opto-isolator, and the emitter to pin 5 from the left, marked PWM. The input or diode side could go to a bit pin in HAL to turn the opto on and off, or to a PWM pin to control speed. The diode side circuit may need a current limit resistor to limit the current to the spec. on the opto-isolator's input diode. Opto-isolators can be pretty slow, so if you have a fast PWM, get a fast opto. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
