# RPI Camera for Microscope

**URL:** <https://forum.core-electronics.com.au/t/rpi-camera-for-microscope/13128>\
**Category:** Uncategorized\
**Created:** [16 February 2022 22:38 UTC](https://forum.core-electronics.com.au/t/rpi-camera-for-microscope/13128 "2022-02-16T22:38:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher35732](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/christopher35732/32/501_2.png) [@Christopher35732](https://forum.core-electronics.com.au/u/Christopher35732)\
**Post date:** [16 February 2022 22:38 UTC](https://forum.core-electronics.com.au/t/rpi-camera-for-microscope/13128/1 "2022-02-16T22:38:30Z")

</div>

Hey all, I’m looking for a way to mount the RPI HD Camera onto my microscope (Saxon Prodigy MK II 40-1600x Biological Microscope). I’ve seen a couple tutorials out there but not sure/confident as to the right kit. I have a 3d printer and could possibly make the tube, but am not sure on the lens/how the camera would focus into (or instead of?) the eyepiece.

Does anyone have experience with this / suggestions on required parts?

Cheers!

---

<div class="post-metadata">

**Author:** ![Trent5487676](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/trent5487676/32/4583_2.png) [@Trent5487676](https://forum.core-electronics.com.au/u/Trent5487676)\
**Post date:** [16 February 2022 23:34 UTC](https://forum.core-electronics.com.au/t/rpi-camera-for-microscope/13128/2 "2022-02-16T23:34:07Z")

</div>

Hi Christopher,

I’ve never tried to mount a camera to a microscope myself but if you were going to make something to fit the Pi HQ camera I’d look into using the C and CS mounts that are built into it.  
The [documentation for the HQ camera](https://www.raspberrypi.com/documentation/accessories/camera.html#mechanical-drawings) has a basic [schematic](https://datasheets.raspberrypi.com/hq-camera/hq-camera-schematics.pdf) and [diagram](https://datasheets.raspberrypi.com/hq-camera/hq-camera-lensmount-drawing.pdf) but I haven’t found any great documentation on the physical size of a C and CS mount yet.

Perhaps someone more photography savvy than me can confirm if the mounts on the camera are a standardised photography size and if there are purpose-built mounts to suit already out there?

---

<div class="post-metadata">

**Author:** ![Oliver33](https://avatars.discourse-cdn.com/v4/letter/o/a9adbd/32.png) [@Oliver33](https://forum.core-electronics.com.au/u/Oliver33)\
**Post date:** [17 February 2022 06:04 UTC](https://forum.core-electronics.com.au/t/rpi-camera-for-microscope/13128/3 "2022-02-17T06:04:04Z")

</div>

FyI, pimoroni have a microscope lens for the HQ camera.

The standard Pu camera V2 will peobably work fine. You can get focus adjustment tools for them very cheaply.

As far as focusing on the subject vs the lens, just position the camera lens at about the same as your eyeballs. The trick is to use a lens which has a depth of field and focal distance that puts the eyepiece out of focus and the subject image in focus.

Small lenses are often hyperfocal lenses which gives them an extreme depth of field, which might cause some issues, but they’re cheap so perhaps try one and see how you go.

Else the pi hq with a wide angle will probably do it.

---

<div class="post-metadata">

**Author:** ![G177630](https://avatars.discourse-cdn.com/v4/letter/g/f07891/32.png) [@G177630](https://forum.core-electronics.com.au/u/G177630)\
**Post date:** [17 February 2022 12:49 UTC](https://forum.core-electronics.com.au/t/rpi-camera-for-microscope/13128/4 "2022-02-17T12:49:10Z")

</div>

Hi Christopher,

See if these help:

> **[Raspberry Pi High Quality Camera on the Microscope](https://www.briandorey.com/post/raspberry-pi-high-quality-camera-on-the-microscope)**
>
> Adding a live video feed to our Brunel BMSZ trinocular stereomicroscope using a Raspberry Pi High Quality Camera module and USB interface

> **[Raspberry Pi High Quality Camera powers up homemade microscope - Raspberry Pi](https://www.raspberrypi.com/news/raspberry-pi-high-quality-camera-powers-up-homemade-microscope/)**
>
> A team at IBM was tasked with providing high-quality photos and videos of their microfluidic chips. Cue Raspberry Pi to power an affordable solution.

> **[Raspberry Pi Captures Microscopic Wonders with HQ Camera - Swave Digest](https://swavedigest.com/2022/02/14/raspberry-pi-captures-microscopic-wonders-with-hq-camera/)**
>
> In a market with so many proprietary devices and one-function machines, it can be a big help to have something versatile like a Raspberry Pi on hand. No one

This article mentions a pimoroni microscope lens: [Raspberry Pi HQ Camera Microscope - a Minimalist LEGO Version : 9 Steps (with Pictures) - Instructables](https://www.instructables.com/Raspberry-Pi-HQ-Camera-Microscope-a-Minimalist-LEG/)

I just quick browsed the articles. From my experience in the lab, you would need a camera adapter. The last article mentions a pimoroni lens stand with a C-mount. Probably that would be the best way to go.

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam/32/3562_2.png) [@Liam](https://forum.core-electronics.com.au/u/Liam)\
**Post date:** [21 February 2022 02:50 UTC](https://forum.core-electronics.com.au/t/rpi-camera-for-microscope/13128/5 "2022-02-21T02:50:10Z")

</div>

Hi Christopher,  
Welcome back!

We actually stock a kit here that has the lens and stand included!

> **[Microscope stand with 0.12-1.8x lens kit for Raspberry Pi](https://core-electronics.com.au/microscope-stand-with-0-12-1-8x-lens.html)**
>
> This kit has CS/C mount lens ideal for looking closely at stuff and a stage to mount it to for fine adjustment for easy focusing. Connect up a Raspberry Pi HQ camera and Raspberry Pi for a complete digital microscope station or to fully accessorise...

PS: with anything requiring a high zoom you’ll want plenty of light, the product page mentions using an LED lamp 😃

On @Oliver33 's method of using a normal camera; you can grab a lens kit such as this one: [https://core-electronics.com.au/3-in-1-camera-lens-set-51059.html](https://core-electronics.com.au/3-in-1-camera-lens-set-51059.html)

I’m keen to see this one up and running!  
Liam.
