Closed frankbraker closed 1 year ago
Hey, sorry for my late response. The builtin LED turns on when the motor is moving but it seems that the target position and the current position is the same in your screenshot even though "is moving" is set to true :thinking:
The connection seems to be ok because NINA sends commands and gets responses but you can't move the motor with the buttons?
Correct, both the buttons are unresponsive, and there is nothing that can be done via the driver in NINA.
Might be a bug for the GI ("is motor running?") command. Can you try this branch: https://github.com/fehlfarbe/arduino-motorfocus/tree/fixrunning ? I tested it with NINA in my Windows VM and it seems to work.
Also the LED should only turn on when the motor is moving.
Well there are 2 lights: the amber one lights up (but fails to move) when I press a button. It's the red light that is doing the blinky pattern.
I'll try the branch and let you know if it behaves differently.
Now even after I remove the 10uF cap from reset it doesn't program:
Now if I revert to the old stuff that worked before for me, and I select the atmega328new_A988driver - it builds and does upload successfully - so there's something that has broken in the latest branch. When I try to build that it gives an error "no id" or something like that.
Believe me, I tried every flavor of atmega328_A988 - new, not new, everything. AND THEN, for no explainable reason, trying it again on your latest commit on your branch and it suddenly does upload! No idea why, when it failed at least 4 times before.
I'll try this now to see how much better it works (if at all).
Yes it connects and sort of works. It is way too slow, and I imagine it might be best to at least half, if not quarter step to insure steps are never ever missed, but the problem that opened this bug seems to be addressed now and I'm able to send commands over NINA. Thanks for the help!
Unless anybody wants to reopen this I'm marking it closed.
When I connect from N.I.N.A, Windows claims it connected, but the red LED on Arduino blinks 1 on, off for about a second, then 2 rapid ons, and off for about another second.
ASCOM.MoonLite.2015.119360.txt
I tried it again with different cables, and maybe the LED is just blinking on and off at about 1Hz. I might be mistaken about that double blink in the pattern.