Jump to content

Recommended Posts

Posted

Hi

im revisiting my stepper sketches, im using i think its Ian's code made for CraigS for X27 and VID60 steppers and i saw this:

struct StepperConfig {
  unsigned int maxSteps;
  unsigned int acceleration;
  unsigned int maxSpeed;
};

but later when using the struct it looks like this:

struct StepperConfig stepperConfig = {
  5760,  // maxSteps 720full*8micro
  3000, // maxSpeed
  500 // acceleration
  };

Shouldnt it actually look like this?:

struct StepperConfig stepperConfig = {
  5760,  // maxSteps 720full*8micro
  500, // acceleration
  3000 // maxSpeed
  };

To me it look like the order of acceleration and maxSpeed is wrong and should be as in the last example of code.

Cant say ive noticed it under the years ive been running the steppers but i just might have had luck with the initial numbers 🙂

/F

  • Thanks 1
Posted

Hi outbaxx,

according to the structure definition I think you are right 👍

 

Regards, Vinc

  • Like 1

Regards, Vinc

real life: Royal Bavarian Airforce

online: VJS-GermanKnights.de

[sIGPIC][/sIGPIC]

Posted (edited)

Hi Les,

I think the difference is, that a Vid60 has builtin zero detection and a second needle pin. Although I believe that second axle is reduced 12:1 for clock applications.

https://www.ecplaza.net/products/vid60-02-zero-detection-car-clock_2714715

 

https://m.de.aliexpress.com/i/32355222935.html?gatewayAdapt=gloPc2deuMsite

 

Regards, Vinc

Edited by Vinc_Vega

Regards, Vinc

real life: Royal Bavarian Airforce

online: VJS-GermanKnights.de

[sIGPIC][/sIGPIC]

Posted

Thanks Vinc - would have made my Altimeter stuff a bit easier if I had known about it! 

Still, good to know as it means any similar gauges I make in the future have a new possible way to go forward. I did enjoy learning how to make the old one work too 

Cheers

 

Les

Posted

I use the X40, its a double shaft stepper without zero detection so you need to use external detectors.
I think there are some other stepper with double shafts too but the VID60 with built in detection is more or less unobtanium…

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...