Sun Tracking / Heliostat Program Discussion Board / Re: Arduino Sun Harvester Program: Next Generation Update and Ideas« on: October 22, 2015, 09:52:13 PM »
>> why not move the motors when they are due to be moved (allowing some minimal threshold).
Now that I think of it, you can already do this in the program by turning the "updateEvery" value down to 1 second. This probably needs to be tested more though because I'm not sure if having small differences between the previous and present calculated sun's position leads to errors.
Good idea. When I get my system up and going, I will probably work on this.
i would probably calculate the suns position every 30-sec or-so, and every 1-sec or-so drive the motors the required number of pulses (ie 2 for motor-A and 0.333 for motor-B as (in the above example))