fehlfarbe / arduino-motorfocus

Arduino motorfocus with moonlite protocol for telescopes
MIT License
49 stars 13 forks source link

Focuser is initializing in moving motor state on connection #16

Open cinosh07 opened 2 years ago

cinosh07 commented 2 years ago

I'm using 28BYJ-48 stepper motor with ULN2003A breakout board and when I connect to the focuser, It always start in moving state to true. I have to go in the device hub, make a small move, then the moving state change to stop.

I have another one with A4899 and this behavior is not happening.

Here is my log ASCOM.MoonLite.txt

cybye commented 2 years ago

15 <- please check if this helps

cinosh07 commented 2 years ago

15 <- please check if this helps

Thanks for your reply, That's the first thing I've tried. At first I was thinking that it was doing that on only 1 of my 2 focuser. But finally it does it on both. On with 5v motor and the other one with the A4988 driver and 12 volt stepper. Both does the same thing. But I didn't change the bootloader. That's the original with capacitor added on both.