Microscope Camera


Global Moderator
Staff member
H-M Lifetime Diamond Member
Feb 8, 2014
A couple of weeks ago I spent about 8 hours peering through a microscope to make some tooling to stamp out a very small electrical part. I got to thinking how nice it would be if I could display it on a screen rather than having the stare into the eyepiece. Yes, I know that there are microscope cameras available, but that was not an option at the time. That job was completed successfully and on the next project.

II had a few extra parts and pieces kicking around so I decided to make a camera mount for my spindle microscope. Not even sure how I’m going to use it just yet except that now I can ‘’look’’ through the microscope without twisting my neck around to get under the head.


The only piece I had to make was the aluminum, slip on adapter. It doesn’t show in any of the pictures, but the sleeve is slotted so that it is a spring fit onto the microscope eyepiece. The lens end it threaded into the filter mount on the lens. A bit of a trick to figure out what the thread actually was. The only thing I had to work from was the internal threads of the lens. Pretty sure it’s 25mm x .75 but close enough to 32 TPI so I used that rather than change my lathe over to metric threads. I used the microscope to measure the thread pitch, then measured the minor diameter, and calculated the approximate major diameter. Then it was a matter of take a cut, check fit, file a little bit take another cut, rinse/repeat until the lens screws on.


I found that one of the 16mm lenses that I had was the perfect focal length to work with the microscope. The camera is a color CCD, 640x480, industrial firewire camera. I use these cameras in some machine upgrades that I do for the lumber industry, used to measure board widths on the fly. The software will edge find and measure in 2 axis and will also measure in 3D if a laser is used as a light source.

The microscope is 50x so it can see some pretty small features. I haven’t done the calibration yet, but the resolution should be a half thou or better. The cross hairs are from the retical in the microscope and are too wide on the screen. It removes easily and I’ll add a crosshair overlay on the picture. Once that is completed and calibrated, the crosshairs will line up properly on the machine axis, and will be centered on the spindle centerline. The software is capable of measuring features as a stand alone, or may be used with the DRO for measuring larger parts.

The lighting in this picture is terrible, from one side only. I need to build a tiny LED ring light for it. Also this scaled down picture does not do the actual image justice, it’s much clearer on the screen. The D in the picture is the mint mark on a penny.


The plan is to eventually automate the process for checking parts or something, but mostly just to play with.


I integrated the imaging software into my CNC program, so all I have to do is bring up the picture with a mouse click. I wrote the imaging software a few years ago, so it was pretty much just drop the imaging modules into the CNC program, not a major programming effort.

Last edited:


Grumpy Old Man
H-M Supporter Gold Member
Jan 9, 2013
Thats one cool idea Jim!

Chuck the grumpy old guy


Dec 19, 2014
I wrote the imaging software a few years ago, so it was pretty much just drop the imaging modules into the CNC program, not a major programming effort.
Not a big deal. Sorry, I stopped at Fortran IV and Turbo Basic was hot stuff. Core memory, octal & hex program. I wish I had kept up on programming. Career took me in another direction.
You did a great job. I'm impressed


Forum Guest
Register Today
been using one on my scope for years


Tony Wells

Jan 22, 2011
A few years ago, of all places, Toys-R-Us had a kiddie USB microscope. Turned out to be a variable magnification up to 200x as I recall. Not really a toy to me any way. At the time, I was designing and testing fluids filtration equipment and needed to run many patch tests. As opposed to a regular microscope, the little toy was a breeze. It cost about $60 at the time and had some decent software along as a bonus. I tried to find more, but the one at the local store was the last one they had in stock and they never got any more. I'd have really loved to get one for myself but finally gave up on it. I don't recall it having any brand marking, so no idea where to hunt for one like it.


Active User
H-M Platinum Supporter
Aug 22, 2012
heaps on ebay still and very reasonable pricing.
It can take up to an hour for ads to appear on the page. See our code implementation guide for more details. If you already have Auto ad code on your pages there's no need to replace it with this code
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock