Last seen: 2022-10-22 8:18 pm
If you are using AccelStepper I found two issues that affected positions. My project is polar opposite to yours but It may be worth checking. MoveTo...
@inq Just found my error. should have made (n % 2 == 0)
@ronbentley1 Thank you, exactly what I was looking for. @inq Is this equivalent to your sketch? if (n % 2 = 0) { f = 1; b = -1;} else { f = ...
@inq Are you back? Hope you had or having a good break. I got rid of dropBox years ago when it backed up everything that didn't need backing up. Anywa...
@robotbuilder @will Your .run loop didn't work because moveTo recalculates speed. The solution is to set the speed after moveTo..... and it works! ...
@robotbuilder Nano
@robotbuilder Thank you. If you look at the action in the video you will see the problem. It happens when the yellow LED lights up. You will see one s...
That is an interesting thought. Here is what I think I am setting up. I am setting the current position to zero and telling the stepper to move to a t...
@zander Hmmm! Which "get it" don't I get? I don't get it. 🤔
@will setCurrentPosition(0) is important. Until yoyo, the current position is anywhere. yoyo takes its reference from current position. I tried it w...
@zander I have tried many combinations of the + and - signs. The negative MoveTo statement sends the stepper CCW. But AccelStepper info says negative ...
@will yes I replaced my function with yours. It compiled OK but had zero affect. My version works correctly for individual rotors but I need them both...
@zander The problem is at case 3: yoyo see this video /* //Two 28BYJ48 stepper */ #include // ***************** Constants *****...
@zander Thanks. I'll look for a video compressor. I tried stuffit but it only shrunk by about 4Meg.