Ralphxyz
@ralphxyz
Member
Joined: 2020-03-12 1:22 pm
Last seen: 2023-02-12 5:55 pm
Topics: 4 / Replies: 57
Reply
RE: Large Stepper Code does not work

Thanks Will, deep in the back of my mind I thought duh integers are real numbers. It is nice to have the refresher. Ralph

2 years ago
Reply
RE: Large Stepper Code does not work

"expecting (and giving results as) integers." so what is .05 then? so what is 20 then? Remember I am as bad at math as I am at programming. R...

2 years ago
Reply
RE: Large Stepper Code does not work

Ok Will, I am using Bill's modified code from the Big Stepper project. The motor does not spin as fast as I have seen other programs (which I canno...

2 years ago
Reply
RE: Large Stepper Code does not work

They do change the motor speed but erratically not smoothly, they will even go from running fast to running slow back to running fast without my tou...

2 years ago
Reply
RE: Large Stepper Code does not work

Bill's and DaveE's code also do not rotate the motor as compared with the my original code speed wise and are even noisier than your code. This is...

2 years ago
Reply
RE: Large Stepper Code does not work

Will, I am getting good results from your program. Except the Reverse does not latch with button push. Well sometimes it laches if I hold the button f...

2 years ago
Reply
RE: Large Stepper Code does not work

Thanks Will, that is a interesting thought. Of course I haven't the slightest idea how to test it. Ralph

2 years ago
Reply
RE: Large Stepper Code does not work

How do I mark my original question "Solved"? While the thread is continuing with some great/informative discussions my original question has been answ...

2 years ago
Reply
RE: Large Stepper Code does not work

I started talking about movement of my leadscrews (linear distance travelled per step). .001" and .005". Will was answering those question. But whe...

2 years ago
Reply
RE: Large Stepper Code does not work

@robotbuilder The problem we were discussing is getting .78 steps. "so 1 degree = 6400/360 = (appx) 17.78 steps" Ralph

2 years ago
Reply
RE: Large Stepper Code does not work

@will So are people reporting .5° accuracy just rounding their numbers and going for close enough? So if I wanted 1° I would just do 17 steps using 32...

2 years ago
Reply
RE: Large Stepper Code does not work

@will How would one get "(20 revs X 200 steps/rev)/(60 sec) = 4000 steps/60 sec = (appx) 66.667 steps/second." 66.667 steps or for .001" 1.6 steps? ...

2 years ago
Reply
RE: Large Stepper Code does not work

@will Thank you so much. That is one of the best explanation I have seen. I am going to copy it to keep as a ready reference. Ralph

2 years ago
Reply
RE: Large Stepper Code does not work

@will I was talking about multiple other programs I have downloaded. Bill's sketch is now working but it did not work when I first tried. Ralph

2 years ago
Reply
RE: Large Stepper Code does not work

I almost understand what you are saying. My driver is set to 200 which I assume means 200 steps per revolution. So with 2*25 = 50 uS (i.e. .000050...

2 years ago
Page 1 / 5