Introduction: Save Money on Your DIY Laboratory - Robust, Easy to Focus USB Microscope

Picture of Save Money on Your DIY Laboratory - Robust, Easy to Focus USB Microscope

There are plenty of examples of how to build a USB microscope from an old web-cam out there. This design builds on those examples by using a plastic twist pack (also known as 'Bolt cases' and often used for storing machine tool cutters) to provide a cheap, elegant, robust and easy to use focusing mechanism that also protects the camera from knocks and scrapes.

Because it's robust, it's great for use by kids and in school classrooms, and if you use a decent enough camera the resulting images are easily good enough to give much more expensive, shop bought microscopes a run for their money.

This scope also has the added benefit of being able to be used facing both up and down so it provides excellent image results regardless of whether you want to look down on solid specimens or upwards through transparent, liquid samples.

It's easy to make too, no specialist tools or skills are required and the project can be completed in about an hour and for less than £10/$15.


Step 1: What You'll Need

Picture of What You'll Need

So, this is what you'll need to build your microscope:

1 x USB Webcam - I have used an xBox 360 camera from eBay 
1 x 50mm diameter, plastic 'twist pack' or 'Bolt case' - if you know someone who works with machine tools they might have a spare. I've used a DP50 050, from Rose Plastics, but I had to buy in bulk.
3 x card or MDF discs - in my original designs I used 2mm mount board, which works fine. Templates are attached.
1 x 5mm, bright white LED
1 x 220ohm resistor
20cm of thin wire (single or multicore)
1 x piece of thin, flexible card 
- I used an old cardboard tube
Double sided tape
Impact adhesive and/or glue gun


Tools that you will find handy include:

Hot glue gun
Soldering iron and solder
A scalpel and blades
Steel rule
Wire strippers
Small phillips screwdriver



Step 2: Dismantle Your Webcam

Picture of Dismantle Your Webcam

The first step is to dismantle your webcam. Your objective is to strip everything back until your are left with a small circuit board, some lenses and a USB cable.

The webcam I have based this project around is a surplus xbox 360 camera that can be easily dismantled with a small philips head screwdriver and a bit of mild prising apart. Through trial and error I have found this cam to be one of the most reliable, cheap to obtain and easy to repurpose. Please note that some experimentation may be required if you choose to use a different kind of webcam to complete this project (I've previously done this with old Sony EyeToy cameras which work well but aren't so hi-res).

If you do choose to use a different cam it should be reasonably easy to find what is holding it together and to take apart. A little tip is to look under stickers for hidden screws.


Step 3: Make Holes in the Twist Pack

Picture of Make Holes in the Twist Pack

When the webcam has been dismantled, the next step is to make holes, about 35mm in diameter, in both the top and bottom halves of your twist pack.

This can be achieved by scoring a circle with a compass and then gradually 'piercing' out a hole using a hot scalpel blade (obviously, you should take care doing this). Alternatively, if you have access to a laser cutter, you can make a simple jig (two holes cut in 3mm MDF) to hold the top and bottom halves in place an use the laser to cut the holes (the polypropylene of the twist pack I have used cuts beautifully). I've attached a template file you can use to help creating a jig, just select the flavour of file you prefer .

You should also cut a small 'notch' or channel about 5mm wide from the edge of the hole to the edge twist pack. This helps to keep the webcam USB cable below the top of the twist pack so that you can rest the completed microscope on a table facing up, which is useful if you want to observe water samples for example.

Step 4: Reverse the Lenses on the Webcam

Picture of Reverse the Lenses on the Webcam

Now let's return to the webcam. You should have already separated the lens barrel from the circuit board of the webcam during disassembly.

If you are using an xbox 360 webcam, simply reverse the lens barrel* and glue it back on to the lens mount i.e. the bit screwed to the circuit board that the lens barrel normally screws in to. You can use hot glue to hold the lense barrel in place, though personally I prefer to use contact adhesive to help keep things neat**.

And that's it! Your  webcam is now a microscope (albeit a quite hard to focus microscope, but we'll sort that out in step 9).

*This principle is pretty much the same for most of the examples out there and the webcams I have tried out. 
** Note that on the xbox camera the top edge off the lens mount is not completely flat. You should carefully sand this down before gluing.

Step 5: Create Three Discs From 2-3mm Card or MDF

Picture of Create Three Discs From 2-3mm Card or MDF

Your now going to need three discs: top, bottom and center, made of 2-3mm card or MDF, to help hold your camera in the twist pack and finish your scope off when everything is finally in place.

The attached image shows (in order) the dimensions required for the top, bottom and center discs. If you are not using an xbox 360 webcam, you may find you have to modify the size of the centre hole cut in the centre disc.

If you have access to a laser cutter, I've provided template files in three flavours - .ai, .eps and .pdf. If you are making your discs from card and by hand, a cutting compass really helps. You can use a hole bunch to make the 5mm hole in the center card.

Step 6: Attach an LED to Help Illuminate Specimens

Picture of Attach an LED to Help Illuminate Specimens

I find it beneficial to add a bright white LED to the webcam to help illuminate samples.

Simply solder a couple of short wires and a 220ohm resistor on to your LED, then find a 5v supply and ground on the webcam circuit board to solder your wires to (make sure to get your LED matched to the correct terminals). On the xbox 360 cam these are easy to find (see attached images), and you should be able to see a black wire and a red wire linking to ground and 5v respectively. If you are not sure, plug the webcam into a USB port on your computer and use a multimeter to check.

If you get this bit right, the LED should light when you plug the webcam in to a USB port. If it doesn't, check that you have the wires soldered to the correct terminals.

Step 7: Fix the Webcam to the Centre Disc

Picture of Fix the Webcam to the Centre Disc

Now take the 'centre' disc you cut out in step 4, and fix your lens barrel to the middle hole*, again hot glue on the rear of the disc works well.


*If you are using an xbox 360 cam the lens barrel will poke through the centre hole slightly and you can use the small rim of plastic on the barrel that prevents it from passing all of the way through to help hold everything in place. If you are using a different webcam you may find that you have to experiment a little to get things right where you want them.

Step 8: Mount the Camera Inside the Twist Pack

Picture of Mount the Camera Inside the Twist Pack

You now need to create a ledge within the top half of the twist pack (the bit with the hexagonal end). This is basically a ring of cardboard (or some other material) that helps to hold the webcam in place, and holds the centre disc flush with the bottom edge of the top half of the twist pack*.

To create the ledge I use strips of card, about 5mm wide, recycled from toilet roll tubes to which I have applied double sided tape. I build the ledge up using two or three layers of card. The example shown uses two rings of card, you don't need to do this but I  think it helps just to make things a little more solid. The bottom ring is set back about 3mm from the bottom edge of the twist pack half.

When you have everything in place, apply some contact adhesive to the rim of the card and to the back of the centre disc. When it has had time to go tacky, press everything together.

*Keeping the centre disc flush with the bottom edge works well with the xbox 360 webcam, other cameras might require you to set the centre disc further back, but you can experiment to get the right height for the ledge.

Step 9: How to Focus - a Simple First Test

Picture of How to Focus - a Simple First Test

We're almost done!

Join the two halves of your twist pack together and plug the microscope in to your laptop or desktop. Provided you have the right drivers and some compatible webcam software* you should be able to create an image on screen (you may have to set your microscope webcam as the source to make this happen).

With the camera mounted inside one half (what I refer to as the upper half) of the twistpack/bolt case, as you twist the two halves one way the camera lens moves up, away from the base, and if you twist in the opposite direction it moves down, enabling you to achieve a controlled focus as you view. Holding the top half steady as you twist the bottom half ensures that the camera does not rotate, and avoids changing your view of the specimen.

Note: At high magnification focusing is a fairly delicate process, so be prepared to persevere and don't get frustrated if you don't get amazing results straight away. With a bit of practice you will soon get the hang of it.

As a simple first test, try focusing your microscope on white area of your computer display until you get an image of the individual RGB LEDs that make up the pixels - it should look like the image above, if so you are in business!

*I have been successfully using MacCam webcam drivers and CamSpinner  on a Mac to capture images and record video. If you are using a PC you might require something different, or you might already have everything you need :-) If not there is plenty of help available via the power of the internetz :-)


Step 10: Top and Tail Your Twist Pack

Picture of Top and Tail Your Twist Pack

All that remains now is to glue your top and bottom discs to their respective halves of the twist pack to cap things off.

Again a bit of contact adhesive works well, just make sure that you have everything where you want it and that you have tested that your camera works before you seal everything up (though if you do need to open things up again its not the end of the world).

Step 11: Congratulations! You're Ready to Start Exploring a Microscopic World of Wonders!

Picture of Congratulations! You're Ready to Start Exploring a Microscopic World of Wonders!

So there you go, you've made yourself a powerful little USB microscope. Now all that remains is to get viewing the world up close!

Here are a few examples of images that I've snapped/filmed using similar cameras, I hope they inspire you to make and explore. Please vote on this Instructable if you've enjoyed it and stay curious!


Comments

mihir.sahu.355 (author)2015-03-27

what is magnification?? does i need any microscope for this

Yonatan24 (author)mihir.sahu.3552016-01-31

There's a thing called "Google", Y'know...

Cometeer (author)2013-12-10

FYI the twist packs are also known as bolt cases.

Dean Wilson (author)Cometeer2013-12-11

Thank you, King of Clubs, I will add this in :-)

MisterM (author)Dean Wilson2014-09-04

Great instructable, I plan to make a version of it using this old lab equipment I picked up recently. Might see you at BMMF on Saturday!

Dean Wilson (author)MisterM2014-09-04

Thank you for saying so MisterM :-) Please do drop by and say hi. The old lab gear looks magic. How did you come by it?

MisterM (author)Dean Wilson2014-09-04

See you there! Picked it up at the car boot, can't resist unusual old things!

Poppy Ann (author)2013-12-13

you can get the "bolt case" from B&Q they use them when selling screws and wall plugs as a set.
I never thought of using them for this idea which is great I will try building one for my grand children.

Dean Wilson (author)Poppy Ann2013-12-13

Great suggestion Poppy Ann :-) Just check to make sure that you can get the lens of the cam close to the bottom of whatever case/pack you select. Let me know if you source a good one :-)

Poppy Ann (author)Dean Wilson2014-03-27

Hi there, in the end i made one out of lego one day as i was playing with it.

sorry about the photos being all over the place they should have been the right way up when you click on them two of them come out correct but the other one gets streched across the screen

Dean Wilson (author)Poppy Ann2014-03-27

Sweet! Thanks for sharing. Are you going to do a set of instructions for this scope? Would be great if you could.

Dean

Poppy Ann (author)Dean Wilson2014-03-27

Hi Dean no i don't think i will be doing a instructable with it as i did not take any photos when i was building it i just threw it together one day when i needed one as i was doing some soldering on very fine SMD items and by using this i could make it as large as the screen i think it is around 75 times magnification i think if i wanted to go any larger it would need a better lens.

regards Poppy Ann.

samaddon (author)2014-03-05

Well you project is better that me because it'pretty neat!

gargoyle169 (author)2013-12-13

Or you could use 3 inch diameter PVC threaded fittings at the Big Orange Box. Make an optical stage for the objective out of a disposable camera. and viola you have a zoom scope from a 3 dollar USB cam. Dont forget to pull out the IR blocking filter so you can do multi spectral imaging with a vinyl gel filter pack from your lighting supply company on eBay

Dean Wilson (author)gargoyle1692013-12-19

You should create an Instructable for this! :-)

rfelty (author)2013-12-13

Can you detail a little more about how you focus? You said at one point "albeit a quite hard to focus microscope, but we'll soon sort that out" but try as I might, I don't see where you sorted it.

Dean Wilson (author)rfelty2013-12-13

Further to my last reply, I've updated step 9 to try and make things a little clearer :-)

Dean Wilson (author)rfelty2013-12-13

That's a really, really good point, thank you for calling it out :-)

Basically, with the camera mounted inside one half (what I refer to as the upper half) of the twistpack/bolt case, as you twist the two halves the the camera lens moves up and down enabling you to achieve a controlled focus as you view.

Just make sure you have the lens within a couple of millimetres from the base of the pack/case at its' shortest height when you build your scope and you will be able to get good focus.

Does this help?

ron4stoppable (author)2013-12-12

Really nice one!

Thank you :-)

DieCastoms (author)2013-12-12

Why not remove the green ring LEDs and take power from their circuit to illuminate the subject being magnified? This circuit turns off when the camera is not being accessed, thus not on all the time as in your instructions?

DieCastoms

Dean Wilson (author)DieCastoms2013-12-13

Thanks DieCastoms, yes it might be quite fiddly but you could do this. Alternatively you could just unplug the microscope when you are done :-)

Part of the reason I took the approach I did is because it works pretty consistently across different kinds of camera.

cr8smthng (author)2013-12-12

What would you rate the zoom on the xbox camera to be at? 10 times 100 times 250...?

Dean Wilson (author)cr8smthng2013-12-13

I still need to work this out :-)
What I will say is that it is a very acceptable magnification for getting people interested in exploring what is beyond their normal sensory ability.

Ray from RI (author)2013-12-12

Great Post...!!! Outstanding stuff for do it yourself scientific equipment so you can do your own scientific investigations....!!!

Dean Wilson (author)Ray from RI2013-12-12

Thank you, that's very kind of you to say :-)

About This Instructable

106,037views

477favorites

License:

More by Dean Wilson:Save money on your DIY laboratory - robust, easy to focus USB microscopeSONY EyeToy USB webcam to microscope up-cycle project
Add instructable to: