Wow. It really works! Astrophotography!

Well all the hard work has paid off. Here is a photo of the Pleiades.

After weeks of fully clouded skies days and nights… We had a clear night. And was I tired. I just went to bed.

I woke at about 4:30am, and went out and set up a reception experiement for weather satellite photos, and saw the sky was cool and clear…

So I brought all the equipment out to my back patio.. did a quick polar alignment with my red dot finder. Put the camera on and took a few test shots of a star.

It seemed to work for a 30 second photo… AND I focused by eye! The stars were so bright I could see them in the viewfinder.

And Oh Oh!.. There is Jupiter and to the left plain as day is the Pleiades, So I aimed the camera at it as best I could and took 12, 30 second shots… Stacked them… no calibration frames, cropped it and that’s what I got. Nice round stars!

Perseid Meteor Shower? I might actually need an umbrella.

Well. As I’ve done for most of my backyard astronomy life, I find myself at the big meteor shower of the summer, the Perseids, and as usual.. the weather prediction is for clouds.

Why… Why do I do astronomy in a light polluted, notoriously cloudy city?

According to the weather, it may clear up a bit in the 2am and 3am hours tonight, which is close enough to the peak time, that I might just give up a nights sleep over the hope.

I’d like to set up the barn door tracker, put the 40mm lens on the camera and aim it at the shower’s radiating point. With the tracker I think I can take 1 minute exposures (if I set my iso carefully) and maybe catch some meteor trails with a nice star field in the background.

The nice thing is with nice bright Jupiter up at that time, I know I’ll be able to use it to get a sharp focus.

This is something I can safely start running with my intervalometer and go inside and take a nap.. Or.. wait… it could just rain all over my camera… Ok, so no sleep for me.

Better Finder Scope Attachment for the Barn Door Tracker

Well, I’ve designed solid mounts so that I can mount my red dot finder to my camera and to the barn door tracker. What was going wrong in the first version is that there was a lot of wobble in the mounts. My fault, because my design for the shoe for the finder was inherently wobbly. The current attempt is based on a design on thingiverse.com, for basically a type of dovetail rail that the finder scope can attach too. The finder comes with it attached to an adapter to a Synta style shoe. And there’s absolutely no problem with that, except in my setup.. Here is a link if you want to buy one:

As you can see, the finder itself is clamped on to a pedestal that then attaches in to a shoe on a telescope… In my case that pedestal is so high, it limits the positions I can angle my camera to. So on thingiverse.com is a rail meant for my particular tracker that would accept a similar type of finder scope. Not exactly mine, but I used it as a starting point for my design. I ended up with a rail I can bolt to my tracker, has a low profile, and then I can slide the finder on and off and there is no wobble.

Rail for Barn Door Tracker

I also melded that rail design to a hot shoe mount, printed that, and that fits nice and snug into my camera hot shoe also without wobble.

Rail with Hot Shoe Mount

So the idea, as I think I explained in another blog entry, is that since the finder has alt/az thumbscrews on it that are normally used to align it to a telescope, I couldn’t count on those screws never turning. So without a reference of what 0 alt/0 az is, I saw no way to align it to my barn door tracker. There’s nothing on the tracker with which to sight the north star, to correct the aim of the finder. So my theory goes.. if my hot shoe is square and level to my camera lens axis, I can put the finder onto the camera, align it to the camera while sighting a star in the exact center of the camera frame and then adjust the thumb screws on the finder to line it up– conveniently my camera displays the square central focus spot through the viewfinder so I can really get exact. Once the finder is lined up, I can move it to the barn door tracker, and do a polar alignment.

So that’s step 1 in eliminating star trails. The tracker has to be well aligned to the pole. And I have to wait, looking like a week, for clear skies to try it.

A Much better Moon Photo! and some planets!

Again woke up at 4am, as is my pattern now I check the weather app and it says “mostly clear” so, ok, why sleep. I can go out and at least line up the finder scope to the camera… All photos here were done without the tracker, on a tripod– 200mm focal length, and yeah… maybe this was dumb but the lens at F8…

Well there was a nice moon out and Jupiter and Saturn… sooo… I used my bahtinov mask to focus in on Jupiter (since it’s nice and bright) and snapped this pic of it… focus ok, over exposed Jupiter, but I get 3 moons:

Then, I get the focus and exposure better, but no moons (unless I push some sliders in lightroom)

Then I take a shot of Saturn… oh… it is pretty far away at 200mm it’s just a few pixels, but you can imagine it’s overall shape:

That’s greatly cropped, but if you click on it I hope you can see it 🙂

And now what you’ve been waiting for… here is a nice pretty well focused and exposed shot of the moon:

I told myself i would not get up in the wee hours of the night for photos — I really need sleep, my new plan was ok, just do solar stuff till we get into winter when it gets dark enough while I’m still awake…

Analysis of My Astra V2.1 Tracker’s timing

So I’ve built a star tracker, and with a 40mm lens and only using an iPhone compass and bubble level to polar align it, I was able to get 30 second photos without star trails.

But I need to push the envelope. I want longer exposures and now have an external intervalometer to do that, and I also want to be able to use my 18-200mm lens at 200mm.

Initial tests with the 18-200mm lens, again with iPhone alignment, said — I get star trails.. So I set it up level in the house, and ran it for a while with the camera on and the iPhone level on it, making casual readings with a stop watch, and for sure, the lens was probably too heavy for that little stepper and an 8mm pitch lead screw.

So I got a 4mm pitch lead screw, it should be able to lift twice as much right? Got up at some insane time of night and took photos at 200mm and got star trails.

Ok, so there are at least two things that cause this… ok 3 things. One is that the longer the lens the more inaccuracies of the whole setup will show and cause star trails. Two is that if the polar alignment is out… you get star trails, three if the system clock of the microcontroller is inaccurate, you get star trails.

So to get a lot more precise in looking for causes, I did this:

I set the tracker up level on a tripod in my house. I put a big X on white background registration mark at the pivot, and at the end of the arm that swings. And I made a 30fps HD video of it for about 16 minutes.

That’s the data collection, now for processing I loaded the movie file into blender and used object tracking to track those two marks for the 16 minutes of the video.

Then I played all day with blender… ok but really then I wrote a python script that transforms the swing arm tracker’s position so that the pivot position is the origin — for each frame and printed to a file the angle of rotation of the swing arm tracker about the pivot origin.

Now by subtracting the start angle from the end angle, I had the total degrees (Yes I work in degrees not radians 🙂 swung in 16 minutes… it should have been so close to 4 degrees it’s not funny. But it actually came out to 3.75 ish degrees which is 6% slow.

That and a bad polar alignment probably explains star trails… since the stars are rotating slightly faster than the camera. For short exposures, it might not be noticeable, but I want long exposures, and I believe I can do it with this tracker with a little work.

Let see, does this data imply that I “should” see star trails in a 60 second exposure… We can figure this out… Photo Pills will give the max exposure time for an untracked photo with a given camera and lens combination. For my camera and that lens it says the NPF rule for it says max exposure of .94 seconds before a noticeable star trail. Ok, so 6% of 60 seconds is 3.6 seconds.. so I should see star trails due to the difference between .94 and 3.6, and Yes I did. Also I also took exposures at 30 seconds – which are 1.8 seconds slow… again that’s greater than .94 seconds, and yes I saw trails.

So the barn door tracker is basically a sidereal clock. At the root of it is it’s dependence on an accurate system time, since the amount of turns per degree for the lead screw depends on how wide the hinge is already open… Unlike a tracker with a curved screw, this tracker has a straight screw so the steps per degree needs to be variable.

Well the system clock on the ESP32 is based on a quartz crystal and so that in itself is very accurate, but there are a plethora of other places inaccuracies come in. Like we’re dealing with physical things all manufactured to their individual tolerances… the screw is a 4mm pitch screw, but not exactly 4mm. The stepper has so many steps per revolution, and that should be accurate, but how accurate? The trigonometry used in the program to compute the number of steps at time T, depends on the dimensions of the tracker, The designer used the dimensions in the design files, but what I have is something printed on my printer… My printer prints things to pretty accurate dimensions, but accurate enough? How far of from ideal?

So you could go through the whole system looking for sources of inaccuracies… and try to refine things, but there is another approach….

So in 16 minutes I measured a 6% discrepancy in angle… (ooh.. there’s also inaccuracies in my measurements too), how consistent is that? Well looking at the star trails in a 1 minute exposure gives me nice clean looking trails… if there was any speeding up and slowing down cycle, or just changes in speed the thickness of the trails would not be nice and uniform.

So on the assumption that the system all together is slow, what I can do is make a longer measurement. Set it up again, and video it for like 2 hours (that max I’d want to use the thing without resetting it)… and run that through my Blender code. From that I should be able to make a time dependent correction factor to the number of steps needed at any given point in time to bring it into correct timing.

It’s worth a try — alternatively I say — well this was fun— and spend thousands on a manufactured equatorial mount, and a guide scope… Thousands. Of. Dollars.

I think I’ll try the hardware hacking approach.

Update on the failure to make a polar alignment scope

OK, so a few days back I posted about a couple clips I made so I could attach a red dot finder to both my camera and my Astra tracker.

See that entry for how I thought it should go, but how it actually went was I could not calibrate the scope. No matter how much I tried I got star trails even at 30 sec exposures, and the other night, just using an iPhone compass and level I was able to do 1 minute exposures with no trails.

So back to the drawing board. A person on thingiverse.com posted a shoe to attach the same red dot finder that I bought to the Astra. It has a lower profile and it looks like it will be far less wobbly than the one I made.

I do still need to adapt it to attach to my camera hot shoe, because I have no other way I can think about to calibrate the finder. It has 2 thumb screws one for fine adjust up/down and one for left/right.

To adjust to adjust those on the mount alone seems impossible.. You’d have to use the iphone to get a rough alignment, dial the scope to the north star, take a photo, see if it trails and then… what?… guess which way to move the mount and trial and error hunt for no trails?

No I figure if I attach it to the camera on a tripod, center a bright star in the camera view, which seems easy since there is a red box to center it in, dial in the finder, move the finder to the Astra mount, and well it should now be easy to point that at the north star.

It will take another sleepless, but clear, night to try again… I got up at 3:30am today, and clouds rolled in by 4:45, so also there’s not a lot of time to experiment in a cloudy region.

Add a spotting scope to your Astra V2.1 barn door tracker.

THIS DID NOT WORK! See the later blog entry.

Note This is a work in progress, I need to verify that the setup and use works well the next clear night

While you can do pretty well aligning the tracker with an iPhone’s compass and bubble level, it would work out better to use a spotting scope to line it up with the North star.

What I’ve done is bought this red dot finding scope from Amazon — note if you buy from the links on this page I’ll earn a little bit.

Red Dot Finder Scope
And a supply of M4 screws nuts washers — you’ll need two 20mm ones

I’ve used it and it’s easy to set up and use. And you might think a whole box of M4 screws is over kill but this is a great size for all kinds of projects including building the tracker itself

So what I did was create a clip that attaches to the tracker to hold the finder scope, but also a clip that fits on the shoe of my DSLR camera.

Why both? Because the finder scope needs alignment and so if I only attach it to the tracker I’d have some complex iterative process where I align the tracker by iPhone, then turn the dials on the spotter until the dot lines up with the north star, then test shoot to see if I get trails, and repeat the process until it’s perfect.

Instead I use the shoe mount and the spotter on the camera, easily turn the dials to align the spotter to the camera (pick a bright star or planet and make it go inside the central auto-focus spot square, and align the scope), now since the bracket is square to the tracker, moving the spotter to the tracker mount should now have it aligned to the axis of the tracker.

Hey… now you can set up you tracker on a tripod, put the spotter on it, line it up with the north star, place your camera on the tracker, re-check and adjust the tracker aim, and now move the spotter to the camera. Turn on the tracker. Now you can use the spotter to help aim the camera to the desired star or area of the sky.

Here is a link to my Thingiverse page for the two 3D models you’ll need to print. for both of them, print them standing on end and you wont need supports. I did not need brim, as PLA sticks real well, sometimes too well, to my build plate.

Upgrading the Astra V2.1 Star Tracker

Well, as I’ve mentioned, the tracker did not quite have enough torque for my heavy ball mount and camera with my 18-200mm lens. It worked fine with my micro 40mm lens.

So the designer’s suggestion was to try a finer pitch lead screw. That may have done the trick.

Originally I had used a 2mm pitch, 4 start, 8mm lead, lead screw — confusing parameters, but for sure that screw advances 8mm per revolution. Now I bought a 2mm pitch, 2 start, 4mm lead. and that does advance 4mm per revolution.

The idea is if it takes twice as many revolutions to advance the same distance that it should support a heavier weight for the ball mount/camera/lens combination.

And indoor tests with the camera with lens on, in the most challenging orientation say that it is advancing about .25 degrees a minute.

Now, since the threading is different, the nuts are different between the two screws, so you can’t just thread in the new rod. Since I had to buy a set of 5 stepper motors, I opted to not try to take apart the original motor mount, but to just print and assemble a new one. A couple things came up. First the mounting holes in the new nut are smaller, and so the nut did not fit on the gear with the peg. So I had to print the peg-less version. Also the hole in the drive screw head seemed a bit too small. Rather than print one with the hole enlarged, I just tightened it on as best I could.

Also a software change needed to be made. The screw has to advance faster so if you look at the formula:
step_tgt = 1.56365E5 * sin(8.809E-2 + 3.646E-8 * millis()) - 13756.5;

Two terms need to be twice as much:

step_tgt = 1.56365E5*2 * sin(8.809E-2 + 3.646E-8 * millis()) - 13756.5*2;

The proof that it works will be to go out and track a star. Like see if I can get a one minute exposure. Oh, but this is the North East and stars don’t shine through clouds much.

Link to the Astra V2.1 web site

Design and 3D Print a Bahtinov Mask

When doing astrophotography, you need to focus on dim things in the dark, and in my case, with old eyes. So you really need some kind of aid to get the super sharp focus you need for the task.

Fortunately there is what’s called a Bahtinov mask. Basically a grating you put over the end of your telescope or DSLR lens that causes a diffraction pattern that makes it easy to see when a star is in focus.

Here is a video I put together that shows the steps to design, convert to a 3D model and slice a Bahtinov mask for a DSLR lens.

Wikipedia page describing Bahtinov masks

Bahtinov Mask Design Tool page

FreeCAD download page