Calilasseia wrote:Always produces a warm feeling when you get your code working, doesn't it?
In my case it is more akin to figuring out that a bicycle only has two wheels.
No, you’re absolutely right. I went through several iterations as this version number suggests. I gained a close approximation of what I imagined several versions back, but those darned delays were killing the smooth ramp up/down needed to make this useful in its designed application. I set the slowest speeds so low that if I have a target in my field of view and need to only bump the joystick to move the device a tiny bit. If, however, I want to slew across the sky I can bury the joystick and the little mount will zip right along. Now the Arduino seems to multitask as both motors can turn independently and simultaneously. The little processor is fast enough to produce interleaving steps as the program loops. I can’t imagine the effects a faster Arduino, with the avaiable much speedier processor, would provide.
As silly as it sounds I am next going to try to figure out my gear ratios and set up a zero position so as to simulate a half ass goto function. This will require a good deal of pure math, and implementation of right ascension/declination digital setting circles, and the inclusion of a keypad for inputting the target’s data. Of course this will require delving into even more programing obscurities, and may take months of fiddling around. I may attempt to drive the Arduino via serial communications from a PC laptop where ASCOM control has already been chiphered by those an order of magnitude more insightful.
It would also be a small thing to add another Easy Driver and control the fine focus from the same prototype. The Nano has plenty of input and output pins left for such hardware expansion. Since that control would only be a trivial thing to add to my current program. I would never need to track the pointer and focus at the same time. It would be nice to be able to make fine focus adjustments without having to touch the scope if conditions shifted, and especially so if attempting photography.
RS
Sleeping in the hen house doesn't make you a chicken.