outbaxx Posted March 27, 2023 Posted March 27, 2023 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 1
Vinc_Vega Posted March 27, 2023 Posted March 27, 2023 Hi outbaxx, according to the structure definition I think you are right Regards, Vinc 1 Regards, Vinc real life: Royal Bavarian Airforce online: VJS-GermanKnights.de [sIGPIC][/sIGPIC]
lesthegrngo Posted March 29, 2023 Posted March 29, 2023 Guys, what's the difference between the VID60 and X27-168 type steppers? Cheers Les
Vinc_Vega Posted March 29, 2023 Posted March 29, 2023 (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 March 29, 2023 by Vinc_Vega Regards, Vinc real life: Royal Bavarian Airforce online: VJS-GermanKnights.de [sIGPIC][/sIGPIC]
lesthegrngo Posted March 30, 2023 Posted March 30, 2023 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
outbaxx Posted March 30, 2023 Author Posted March 30, 2023 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…
Recommended Posts