Reply To: Stepper Motor Configuration w/ Driver That is not EasyDriver
About › Forums › Forum › Stepper Motor Configuration w/ Driver That is not EasyDriver › Reply To: Stepper Motor Configuration w/ Driver That is not EasyDriver
Well, right now I plan to test a L293 with my motor… the problem might be because the driver I’m using has a minimum power supply voltage of 8V and my motor is rated for 3V. I started another thread on the Arduino forum too: http://forum.arduino.cc/index.php?topic=169583.0
I have changed all the variables and whatnot… I’ve even looked through all the code on FirmataStepper.cpp/FirmattaStepper.h/AdvancedFirmata… and went through the sample code in the .zip link on the .h/.cpp files. I just can’t figure out why it’s wrong.
I think it’s probably a timing issue because I know for a fact that I do have to change the 1 microsecond delay used for the EasyDriver to 2 microseconds as per the the spec sheet on the Pololu 8825 driver. I attached screenshots of the timing requirements for both the pololu driver and easydriver.
start = Date.now();
Then I attached the following bit of code to onStepperComplete():
end = Date.now();
Based on my calculations, it took the driver 2.17 minutes to do what should have been accomplished in 1 minute. The stepper didn’t miss any steps.
To make it easier for this “debug” I have attached the timing sections for both the easy driver and the pololu driver.
Any ideas on how to proceed? I’d like to add the additional configuration parameters but I’m not sure what a pull request is?