Saturday, April 19, 2014
AstroSurvey and AstroShare API
I initially made AstroSurvey to work with SkySafari. If you view a region of the sky in SkySafari and then launch AstroSurvey for SkySafari, it will show that region in AstroSurvey. You can also go the other way: browse the sky in AstroSurvey and then view the region in SkySafari (Menu, SkySafari View), though this feature may still be buggy (I've had it corrupt my SkySafari star brightness preferences in testing).
AstroSurvey is also designed to interface with other astronomy apps by supporting what I am calling the AstroShare API, which is an extension of the SkEye ACTION_VIEW API, with an extra "Size" field (Double, in radians) for the size of the field of view. So you can choose "AstroShare" in AstroSurvey and view the current field of view in any supporting astronomy app (right now SkEye is the only released one), and any supporting astronomy app can launch AstroSurvey. The next release of the Open Star Map port of Google Sky Map supports AstroShare as well.
AstroSurvey is basically a wrapper around the Android WebView which gets pointed to Aladin Lite (and imposes some patches for touch-screen devices). That's why the UI is not quite what you'd expect. I may eventually impose more patches and make a more Androidy UI.
Monday, March 31, 2014
Reduce tangent error on Haig barndoor mount
Over the weekend, I made myself a simple hand-powered Haig barndoor mount with the standard 1 RPM dimensions (11.43" distance of bolt from hinges, 20 per inch thread). Not wanting to deal with hardware complication, I planned to do tangent correction in software (i.e., I made a simple Android app that shows where to turn the circle). But I noticed that when I put in all the parameters, the amount of tangent correction from my app was strangely small.
It turned out that a chance modification I made to the Haig design reduced tangent error quite a bit.
To save a few cents, instead of using an acorn nut on threaded rod, I used a carriage bolt's rounded head to bear on the upper surface of the mount. (Of course I filed and sanded the head for smoothness, by chucking the bolt into a drill press.) The cost of this modification was nil, and the amount of work was a few minutes of filing and sanding.
It turns out that the wide rounded head of the carriage bolt corrects tangent error quite a bit. Assuming that the threaded insert for the bolt is slightly countersunk (I didn't actually do this, but optimum performance would then be achieved) so that at minimum extension we get zero angle in the mount, tangent error after 10 minutes of operation is about one second of arc, versus seven seconds of arc for the standard mount.
Here is a graph of the tangent error. The x-axis is time in minutes and the y-axis is tangent error in seconds of arc. Red line is standard Haig tangent mount and blue is the mount with the rounded head. In the calculations, I assumed the head is spherical in profile, and my estimate of the sphere radius is 0.378. (The larger the sphere radius, the better the correction, I think.)And here's the mount.