r/raspberry_pi • • 5d ago

Show-and-Tell Raspberry Pi Controlled Telescope for Capturing Photos of Aircraft

My post in r/aviation got mostly comments about aircraft looking like they are crashing. This effect is from the direction the plane was flying and the angle between the telescope and the plane. The images are mirrored though by the refractor’s diagonal.

I am using a Raspberry Pi 4 to control the telescope. The aircraft telemetry comes from an RTL-SDR Blog v4 running dump1090 to capture ADS-B packets. Aircraft that are on a track to cross through the portion of the sky visible through the window the telescope is pointed out are identified automatically. The scope then moves to a position to intercept the aircraft. Tracking is used to keep the plane in the frame for longer, but my mount can’t track at the speed the aircraft is moving. The frames in the video are cropped to keep the plane in the center for as long as possible. The camera takes 22 fps bursts through the pass.

It’s pretty fun to just let run during the day and see what aircraft I capture. Then at night I can just switch over to astronomy.

268 Upvotes

18 comments sorted by

16

u/N2DPSKY 5d ago

Is this on an equatorial mount?

12

u/Wesleygmitchell219 5d ago

Yes, an old Orion Sirius.

5

u/Gibraldi 5d ago

Nice! I’ve set something similar up on my Dwarf 3.

6

u/Wesleygmitchell219 5d ago

That’s awesome! It makes me happy that the smart scopes are not locking down the software to do stuff like this. I always assumed they had to be controlled just through their apps.

3

u/Gibraldi 5d ago

I avoided saying it because I didn’t wanted to be downvoted to hell, but the Dwarf 3 connected easily via Claude and I’ve managed to do both plane tracking via similar method and separately bird spotting using Ollama for identification.

4

u/Wesleygmitchell219 5d ago

Nice. Automated bird watching sounds very cool. I was talking to someone today about trying something like that. Seems a lot harder since birds don’t constantly blast out their location like planes do.

4

u/nat_aash_tehuja 5d ago

Do the planes fly straight up from the camera? If not, how far approx

4

u/Wesleygmitchell219 5d ago

The window limits me to around 45 degrees max azimuth. High altitude planes are much easier to intercept due to having a stable predictable track and lower relative speed. Most aircraft in this video are between 10 and 16 miles from the mount.

I’d love to see the results if I took the scope outside, but I need stars to calibrate the telescope pointing after I move it. That would mean either waking up early enough to calibrate while it’s dark or leaving the scope in my front yard all night.

2

u/nat_aash_tehuja 5d ago

I apologise for my ignorance but what do you mean by “stars to calibrate the telescope”, are you using an actual telescope, and if so how does the pi control that

3

u/Wesleygmitchell219 5d ago

Yes, the photos of the aircraft a taken with a Svbony SV503 102ED telescope and a Orion Sirius mount. The pi can move the telescope’s mount using a serial interface and control the camera through USB. To calibrate I take a photo of the stars and use software called ASTAP to match the stars with what it has in its database. Then I know what stars are in the photo. With that information, the time, and the location you can figure out where exactly the scope is pointing (altitude and azimuth).

1

u/nat_aash_tehuja 5d ago

Fascinating

3

u/GetSecure 5d ago

I don't know why, but I had this same random idea a few years ago. I wonder why a big enough telescope and a faster track if you could actually make out a person in a window?

3

u/Wesleygmitchell219 5d ago

Ha! Probably could do it with a lot of time and money. You would probably need a much more stable mount, a much longer focal length, perfect atmospheric conditions, and hundreds of images stacked.

I can’t find it now but I did see someone on AstroBin get amazingly detailed aircraft photos by tracking the aircraft through the pass and stacking the images like you would when imaging a deep space object. That is my eventual goal, but I’ll need to replace the stock mount controller with a ESP32 and some stepper drivers. The stock firmware is just not built for tracking high speed objects.

1

u/GetSecure 4d ago

Nice idea that's great, you should do it.

It came back to me. We live 30 minutes from an airport. I was using flight radar with the kids to track my wife's plane and they asked, "if we had a really big telescope, could we see mummy?" Then my mind went wild with ideas!

1

u/AmazingEmployment684 4d ago

The way your mount cant track the plane so it eventually drops out of the cropped frame is perfect, makes it look like it enters the frame for inspection then just drops out. What telescope do you have and how is it for astronomy? Do you also use it with the rpi?

1

u/Wesleygmitchell219 4d ago

The telescope is an Svbony SV503 102ED. I’ve liked it a lot. I bought it from someone on Facebook Marketplace that was reselling Amazon returns. They had it priced for the 70mm variant, so I’m not sure if I would have gotten it at full price.

I use it for astronomy with the pi. It’s quite nice because my 10ah 12v battery can power the mount and the pi all night. I can also monitor and control the scope from my phone while I’m inside. I also will queue up a list of objects to image and it will automatically take stacks of long exposures of each object. I am still getting the hang of astrophotography but it’s been a really fun project.

1

u/cazwax 4d ago

Is this a waterproof setup?

1

u/Wesleygmitchell219 4d ago

No it is not unfortunately. I have the telescope pointing out a window currently (I’m sure the window glass is hurting the image quality). I would love to build a waterproof version, but I think with the current scope and mount it wouldn’t be feasible.