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! A Raspberry PI camera module. 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.

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.

Here is how awesome the magnification is:

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 70-300 mm lens – on the moon, from my balcony.

Everything is connected to the Pi with a screen and tied to my tripod.

MIND BLOWN!

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!

About The Author

James Mitchell is a leader of the Raspberry Jam Berlin community – a user group of Raspberry Pi enthusiasts looking to learn or teach what they know. You can follow their adventures on raspberryjamberlin.de, Instagram and youtube channel. This article was also published here.