So webcams are quite fun, they take pictures, you can record videos, but what if you could take pictures of microscopic objects? This is a simple and reversible modification for a webcam which lets you take pictures of things far less than 1mm wide!

Step 1: The Raw Materials

You only need two things for this microscope:
1. A webcam with an unscrewable lens (I got a really cheap one for about £5 on ebay)
2. Blu-tac

It is absolutely vital the webcam has an unscrewable lens, almost all do (and for most webcams this is actually the way you focus!).

Step 2: Dissasembling the Webcam

This bit is dead easy, just unscrew the lens from the webcam! Once you have taken the lens out be careful not to get any dust on the CCD (the sensor in the body of the webcam) or on the back of the lens. Dust on either of these is very hard to clean off and can mess up the pictures.

Step 3: Reassembling the Webcam

Now just use blu-tack to stick the lens back in the webcam, but backwards. Make sure you get a nice tidy fit, you want to avoid any light leaking around the edge of the lens. For me this was simple because the lens slotted neatly back into the body of the webcam. For some webcams you will have to use a thin sausage of blu-tac to seal around the edge of the reattached lens.

Step 4: Using the Super-macro/microscope Webcam

It is really simple to use, just point it at a (well lit) small object! To focus the image just move the webcam towards or away from the object, the lens will probably need to be a few millimetres away from the object. It is a bit fiddly to keep the webcam in position once it is in focus, I used blu-tack on the stand to help hold it still.

If you want to "zoom in" (increase the magnification) you have to move the lens further away from the sensor. The simplist way to do this is with a tube of paper or card stuck into the webcam body which you can put the lens in. Again, be careful with light leaks - black card or paper covered in tin-foil will be very good at blocking stray light.

Step 5: Measuring Performance

To calculate the magnification of your new microscope you need to take a picture of something you know the exact size of. The easiest and most common small object to do this with is a pixel on a computer screen.

Take a picture of the pixels of your screen, then open the captured image in some photo-editing software. Measure how wide the image of one pixel is (in pixels), this is the magnification factor.

You can also calculate how big the field of view of the webcam image is from the ppi of your screen:
(25.4 / dpi) * n = fov
ppi is the "pixels per inch" of your screen, commonly 72.
n is the number of pixels that fit across the captured image.
fov is the field of view, measured in millimetres.

I have attached an example image from my modified webcam. Here the image of a single pixel is 130px across so the magnification factor is 130x. It is a picture of a 72ppi screen and 5 pixels fit across the image so the field of view is about 1.75mm!

Step 6: Some Fun Pictures

The pictures you can take are a totally different scale to any normal cameras ability, things look totally different when you can see them at such a huge magnification. If you can get a nice sample you should be able to see individual cells quite easily!

The images are of the edge of a 5p coin, the pixels on my camera's display and some paper!
can i see cell with it
<p>Used an old logitech camera to do this! Many webcams have screwable lenses, went out and picked up an HD one today and even with the original screw distance of the lens you can get awesome shots. My iPhone case isn't doing too great as you can see.</p>
<p>Hello My friends what this i key webcam hack 2015</p>
<p>Hello friends what this i key webcam hack 2015</p>
<p>Hi <a href="https://www.instructables.com/member/Zephyris/" rel="nofollow">Zephyris</a>,</p><p>May I know how effective is this for low light to no light setting<br>Thanks in advance and have a great day.</p><p>Cheers,<br>Chee</p>
It will probably be quite bad at low light levels, cheap lenses and sensors from webcam are never great with little light and reversing the lens makes it worse.
<p>Hello,</p><p>Thanks a lot for your tutorial and I'm pretty impressed of how it went for you! but I have a question.. I tried the experiment with 6 cameras and they all failed.. this one i did it exactly your way.. but.. its all black when I turn it on.. and point it at something.. even at my monitor.. :(</p><p>When I point my iPhone's flash at it with an object.. i see some stuff from the flashlight.. like the light.. has some stuff on it..</p><p>i used blue tac to joint it all together</p><p>screenshot: http://prntscr.com/52oqza</p><p>thanks alot! </p><p>M.M</p>
What webcam did you use?
See my reply to shadowdude77 above...
I'd also like to know what model webcam you used if you know what it is. It turned out very nice the way you did it and if I have to spend an extra few dollars to ensure that the mod will be easy and effective, so be it.
It is an Advent ADE-13MP+, it's a very old model so you may need some luck finding it!
Awesome instructable!!! I am making one called &quot;how to make a PowerPoint sprite battle&quot; Don`t get mad at me about it just because it has no photos
Hi, Zephyris and NostalgicStone,<br /> Thank you for the advice.<br /> The model of my old PC Webcam just says -MODEL-X-EYE, and it is screwable type with&nbsp; reddish lens outside.<br /> My OS is windows 7.<br /> Looking forward for the next reply, or else I will do something else, I'll keep this old stuff.<br /> diolola<br />
Hi Zephyris,<br /> I have a 4 year old webcam and wanted to use it to experiment by your 'tibles. How can we connect this to the laptop I have through USB, does this requires a driver or not. I have no idea of these things, so please bear with my innocence.<br /> Thanks a lot.<br /> diolola<br />
As NostalgicStone says you almost certainly will need a driver which will depend on the webcam model...<br /> <br /> As for software I would recommend &quot;<a href="http://www.yawcam.com/index.php" rel="nofollow">YawCam</a>&quot;, it is free with a lot of useful features.<br />
&nbsp;Chances are buddy, you will need some sort of driver installed to get the webcam to work on your computer. <br /> You will also need some webcam software to view the image too. <br /> What is the model number on the camera, and what is your operating system?<br /> With that information we will most&nbsp;definitely&nbsp;be able to help you out!<br />
I'm definitely going to try this out. However, one nit to pick, is that actually it's a removable or maybe &quot;screwable&quot; lens. If it was truly unscrewable, you wouldn't be able to unscrew it.<br /> <br /> At first I was wondering why you didn't want a removable lens when you needed to take it out.... But don't mind me, I'm only bright enough to criticize, not create.<br />
Well done instructable. Ta for your efforts...<br /> Say... wasnt &quot;<a class="entryListTitle" href="../../../../member/Zephyris/" rel="nofollow" style="line-height: 16.0px;padding-right: 4.0px;padding-left: 0.0px;">Zephyris</a>&quot; the guy from Babylon 5 ?<br />
nice 'ible! I'm definitely going to try this. <br /> <br /> Did you take those pictures in the previous steps?! Those have to be some of the best DIY pics I've seen. Most I've seen are crooked, out of focus, and with really weird lighting!<br />
Of course I took those pics! I am quite anal when it comes to presenting things well :)&nbsp; I should make an instructable on it!<br />
Very nice instructable!<br /> <br /> I&acute;ll definitelly do it with some old webcan i have here.<br />
Here&acute;s a video of my diy microscope webcam<br /> <br /> <a href="http://www.youtube.com/watch?v=O2rtb8GJdy8" rel="nofollow">http://www.youtube.com/watch?v=O2rtb8GJdy8</a><br />
Looks good, about the same magnification as I got (except my mod was reversible! :) )<br />
Congratulations on getting featured in the MAKE&nbsp;blog!&nbsp; I&nbsp;missed this project the first time around -- now rated and featured.<br />
Ooh, mentioned on MAKE blog! Excellent! :)<br />
Very cool 'ible. I love the simplicity and ease of doing this to a webcam. Also, depending on the lens, this is extremely reversible in case something goes awry or one still wants to use it regularly. Great!<br />
OH YA!! i just tested it out...<br /> had to cut the lens mount a little here and there<br /> but it really is cool<br /> think i gona do some upgrades and post an instructable &nbsp;
Very cool idea.<br /> This would come in handy while working on miniature objects.<br />

About This Instructable




Bio: I am a not-very-closet geek, when I am not doing science (my job) I tend to follow my other geeky passions; making, drawing and creating ... More »
More by Zephyris:Simple Variable Neutral Density Filter Simple Super-Macro/Microscope Webcam Conversion Simple Pinhole for SLR Camera 
Add instructable to: