Thanks, Christian, for the link, but I managed to get the necessary math implemented in my panohead using a lookup table and some fix point aritmethics :-)
You set the angle between the shots on the horizon and it will automatically calculate the reduced numer of shots needed when looking up/down a certain angle, i.e. setting the starting angle to 45° it will nicely produce the above pattern. The software will also reduce the angle between the shots to an angle wich the FOV can be divided through without rest. For example setting the start angle to 45° on a 360x180 will work fine, giving exactly 8 positions, but looking up/down a certain angle, the calculated angle between shots could be something like 163, so you need 3 images to get all 360° covered, now my routine uses the number of shots needed to calculate a proper angle, in this case 360/3 = 120°. So I always have a nice regular pattern like you can see above. The nice thing is that this also optimizes panoramas with another FOV, so shooting something with a FOV of 80° will automatically use 40° steps, without the need to chamge the setting.
That was a lot of head scratching and generating big excel tables with many formulas to get it reduced enough to get it in this small AVR ATMega8 controller :-)
I even reduced the back lash of my gears, so the noise level was reduced a lot and I was able to drive the motors a little faster, so bracket shooting a 360x180 at +-5EV is done now in about 5 minutes, resulting in an image set consisting of 102 images :-)
So, good night for today!!!
And all this in a 2 kb rom? Great work!
And yes, my generator had been a lot of headscratching too. You can either enter the vertical and horizontal angle of your lens, or it can calculate the angles by focal length and sensor size. Useable for wide angle up to telephoto. For superwideangle, let me say 14mm on full frame, or for fisheye, my algorithm is unuseable.
Plus the desired minimum overlap horizontal and vertical gives the final steps.
greetings from Wuppertal
ps i see you come from Braunschweig. When you ever come near Wuppertal, phone me. I am curious to se your little machine.