Shooting the Moon with the Raspberry Pi!

Posted In: Blogroll

Shooting the moon has been a little obsession of mine for a very long time, in fact ever since I started photography. I guess it is my love of impossible images, science fiction and science fact that drove me to want to take photographs of the moon.

I tried a few things using the gear that I have collected over the years. Sadly, neither zoom lenses nor telephoto lenses ever really resulted in a clear picture of the moon.

UNTIL!!!

I got the Picamera! Now don’t laugh, this 5 megapixel wonder has a trick up its sleeve! You can remove the lens and expose light directly to the sensor – and if you happen to have access to a 3D printer, you can make a Canon EOS lens mount for the Picamera!

My good friends at Dimension Alley (a 3D printing café here in Berlin – seriously check them out!) recently ran a competition on Twitter for a 50 Euro gift voucher to print anything the winner could come up with. I won! Naturally, I had to think up something cool and Raspberry Pi related to print.

FULL DISCLOSURE:  This is not my design -I found the 3d print on thingiverse.com and sent it to be printed. The maker of the adapter does not know me, but I tried to contact him to thank him and to ask if I could write this post, but he’s not replied. If that’s you, please get in touch 😉

The file was made by thingiverse user Charmlee – find it here: http://www.thingiverse.com/thing:909176

image-20160318_124015

image-20160318_124036

image-20160318_123932

First, I removed the lens from the Picamera and attached it to the adapter. Then I connected my 18-55 mm kit lens from my Canon and wow, the picture was awesome! If you know photography and know how the kit lens works, you might have already noticed that it is zoomed in on that shelf (last picture above) quite closely. That’s because the 5 megapixel sensor only captures a tiny section of what the lens can actually see. In fact, you could put your finger on the edge of the glass and it wouldn’t be seen by the Picamera. The advantage: for that tiny section of lens, we get the full 5 megapixel worth of data/detail.

NOTE: If you want to print one of these bad boys yourself, use black filament and try and block all the light getting to the 3D print. Maybe paint it or cover it in duct tape. My photos have a pink edge to them, because I went with a red filament.

On to the moon!

On a whim, I thought I would try this out on my 78-300 mm lens – on the moon, from my balcony.20160324_002129

Sorry for the crappy picture, it was dark. Everything is connected to the Pi with a screen and tied to my tripod.

MIND BLOWN!

moon11

As my colleague from work put it…

Hey, you can see the holes in the cheese!

Could not have put it better myself. It’s not totally clear and there may be room for improvement, but I am super happy with the results. If you are in Berlin and have a lens longer than 300 mm, maybe drop me a message 😉

My final image is the same picture, but run through a little Photoshop editing to get rid of the pink and highlight the black shapes on the moon!

Final-moon