Hi everyone! Sorry if this is the wrong place to post, first time here. Right now, I've got a DQ542MA microstepping driver, hooked up to a NEMA23 motor. For the controller board, I've got an Arduino hooked up to Labview (sorry, project requirements). I'm currently just trying to achieve linear actuation with this setup. The one caveat is that I need the actuation to be smooth at low speed, hence microstepping. Setup (DQ542MA) PUL+(+5V) <----Arduino 5V PUL-(PUL) <----Arduino Pin 9 (PWM-capable) DIR+(+5V) <----Arduino 5V DIR-(DIR) <----Arduino Pin 8 (PWM-capable) Overview of code: DIR- is written hi or lo depending on desired direction. PUL- is being pulsed (hi then lo) for steps at a given rate. I figure all the PWM translation would be handled on the DQ542MA, so nothing fancy is going on here.... Currently, I can get the thing to actuate just fine, but the thing is none of the microstepping options seem to work. I've flicked all the switches, but nothing seems to change. Am I wiring something wrong? How do I get this to microstep. Thanks!!
Hi Props, Make sure to do the dip switching with the power off, or at least power cycle the driver (power off for a few seconds for caps to dissipate) then try again. Another thing, is i'm not sure PWM is correct for signalling the driver, you want a fixed pulse length 10 micro sec and vary the frequency. PWM would vary the pulse width.... cheers Gary
Hi Gary, Combined with some code fixes of my spaghetti program, this saved the day!! Thanks a lot. Cheers!