author
3Comments

Tell us about yourself!

  • Running Accelstepper Faster - Code HodgePodging for a Faster Maximum Step Speed

    boy this system is a mess.I got an e-mail with a reply link but it doesn't work so replying here. I did not see a date on the original posting so had no idea how old it was. I am using a 3.2 and have both 3.5 and 3.6 to try too. The problem i have is not the speed of the teensy, it is that the way i am driving a servo motor (step and direction gecko controller) causes it to fault if acceleration is too high but i can not use the accelstepper code along because it makes the motor a slug applying the acceleration curve over all the motion. i need to limit it to just the first part of the motion. i understand that you were writing an instructable with the intention of providing every last detail, but having all this as comments in the code really gets in the way of understanding it for me....

    see more »

    boy this system is a mess.I got an e-mail with a reply link but it doesn't work so replying here. I did not see a date on the original posting so had no idea how old it was. I am using a 3.2 and have both 3.5 and 3.6 to try too. The problem i have is not the speed of the teensy, it is that the way i am driving a servo motor (step and direction gecko controller) causes it to fault if acceleration is too high but i can not use the accelstepper code along because it makes the motor a slug applying the acceleration curve over all the motion. i need to limit it to just the first part of the motion. i understand that you were writing an instructable with the intention of providing every last detail, but having all this as comments in the code really gets in the way of understanding it for me. i know teensies and i know steppers and am familiar with the use of accelstepper. so the man comments get in the way for me and to be able to see an overview of the code and understand it i would either need to edit out the pages and pages of comments or print it and highlight the key parts. i understand your basic concept but wanted to understand it in detail without making it a huge project of editing etc.i would be interested in knowing what approach you would take now. it would sure be nice if accelstepper had the option to modify the acceleration curve but does not seem to be the case even with recent updates. i have not tested it yet

    thanks for all the thing to check out. when i have a decent internet connection i will check them all. i am not using a stepper, a servo that is driven like a stepper. it has an encoder and generates a fault if it can not get to the target position within a selected number of encoder ticks. it is also huge so has a lot of mass to be accelerated but all i care about is staying inside the error allowance. this project only needs relative position and not precision but it needs to not fault the driver. it also has to seem "responsive" it is a strange application and has different needs from most. my cnc mill needs precision for example but it is fine as long as all axis move in sync. i do not need the constant acceleration across every move that accelstepper does which is why i n...

    see more »

    thanks for all the thing to check out. when i have a decent internet connection i will check them all. i am not using a stepper, a servo that is driven like a stepper. it has an encoder and generates a fault if it can not get to the target position within a selected number of encoder ticks. it is also huge so has a lot of mass to be accelerated but all i care about is staying inside the error allowance. this project only needs relative position and not precision but it needs to not fault the driver. it also has to seem "responsive" it is a strange application and has different needs from most. my cnc mill needs precision for example but it is fine as long as all axis move in sync. i do not need the constant acceleration across every move that accelstepper does which is why i need to modify it. tonight if i have time i will get to see if my first attempt has any promise. will look to your suggestions for ideas when it doesn't

    View Instructable »