p-v-o-s / sky-sweep

2 stars 0 forks source link

Where are the latest sketches? #13

Open Fastie opened 9 years ago

Fastie commented 9 years ago

The latest sketches to run the SkyShield are at the KAPtery: http://kaptery.com/guides/.

There are three versions of the sketch, one for each beta version of the SkyShield:

Each version now has a mode for cameras with 37mm focal length lenses. Pat tried a PowerShot A495 and found that Mode 0 panned too far each time for the 37mm lens. Mode 6 now has 10 pan positions per rotation. This is Mode 8 on v2.0 which has 16 modes (modes 9-15 are repeats of modes 1-7 as placeholders). This new mode has not been tested at all.

For v .04 users, you can make any mode the default mode with a simple edit of the sketch (you have to install the Arduino IDE). For example, if you want to make Mode 6 the default so it runs whenever the SkyShield is powered on, in the "void loop()" section change "if(mode == 6)" to "if(mode == 0)" and the reciprocal change "if(mode == 0)" to "if(mode == 6)".

Fastie commented 8 years ago

I just updated the SkySweep sketch to version 2.07, and it now has a working mode for non-360° coverage. The sketch can be downloaded at the KAPtery Guides page. This sketch will not work on the original SkyShield (v 0.4) or the version 2.0 with a four switch DIP, but the code could be incorporated into older SkySweep sketches.

The new mode captures a 4x4 grid of photos and probably works best with wide angle lenses (around 24 mm equiv.) Let us know if you modify the sketch for other grids or other lenses.

There is more about the new sketch at the KAPtery.

I could not figure out how to store the name of an array in a variable and then use that variable to access the array. If anyone knows how to do that in a sketch, let me know. It might save two whole lines of code.