Page 1 of 1
USB Webcam Microscope
Weekend Project
This project is part of RadioShack's The Great Create.
Convert a webcam into a fun USB microscope
- Author: Paul Spinrad
- Time required: 1-2 hours
- Difficulty: Moderate
Here's a fun, relatively easy way to graft a USB webcam onto a RadioShack pocket illuminated microscope, which can then be used for capturing vivid micro-scale stills and video. You can use a new webcam, or repurpose a leftover from the era when computer cameras weren't built-in. Your 'scope will be completely USB-powered; no batteries required.
Check out more Weekend Projects.
Sections
- Open the microscope case
- Remove the microscope light and battery parts
- Wire the USB-powered LED
- Install the LED
- Uncase the webcam
- Uncase the webcam (continued)
- Adjust the webcam lens
- Wire the ground and power connections
- Wire the power and ground connections (continued)
- Attach the webcam lens to the microscope eyepiece
- Reassemble the microscope
- Scope it out
Tools
- Heat gun hair dryer or pocket lighter.
- Hobby knife such as X-Acto
- Hot glue gun

- Pliers

- Screwdriver, #1 Philips for disassembling microscope.
Tools (continued)
- Screwdriver, #0 or #00 Philips for disassembling webcam.
- Soldering iron

- Wire cutter/stripper
Relevant parts
- Web Camera from RadioShack. Logitech C210 or use any other USB webcam.

- Illuminated microscope from RadioShack.

- LED White, 5mm from RadioShack.

- Wire Insulated, 30 AWG from RadioShack.

- Heat-shrink tubing, multicolor assortment from RadioSahck, or electrical tape.

- Computer with USB port and operating system compatible with webcam (Windows).
- Solder, lead-free from RadioShack.

- Hot glue one stick is plenty.
- Magnets (2) small Neodymium magnets.
- Scrap of sheet metal to act as a base.
- View:
- Paginated
- Full width

Edit Step 1
— Open the microscope case
¶
Slide the clear plastic stand off of the microscope.
Unscrew the 2 small Philips screws that hold the case together and set them aside someplace safe.
Pry apart the two halves of case.
Watch out for the small gray power switch slider, which has a tendency to spring away. Put your hand over the switch to block its flight as you separate the case halves.
Lift out the zoom and focus elements and put them someplace safe.

Edit Step 3
— Wire the USB-powered LED
¶
Trim the two wire leads of the LED so that its dome fits into the empty case half where the lightbulb used to sit. Cut the lengths so that the longer one (the anode, or + side) remains longer.
Note that the LED's cathode side is also marked by a flat area along the bottom edge of of the plastic dome.
Cut two 6" pieces of 30 gauge wire and strip 1/2" of insulation off of both ends.
30 gauge wire is sometimes fine enough to strip just with your fingernails.
Twist one end of each wire piece around a leg of the LED and solder the wires in place. Use a pen or tape to mark the free end of the wire that connects to the LED's anode.
Cut two 1" pieces of heat shrink tubing and slide them over the wires to cover the solder joints. Use a heat gun, hair dryer, or lighter to shrink the tubing.
If you use a lighter, hold and rotate the solder joint just under or next to the flame, not over it.

Edit Step 4
— Install the LED
¶
Hot-glue the LED in place inside of the microscope case half.
Use a hobby knife to make a small notch along the top seam of the case half, just large enough to accommodate the two wires.
Thread the wires back and up through the empty battery compartment, then out of the small notch. Tack them in place along the way with dots of hot glue.

Edit Step 5
— Uncase the webcam
¶
Use a small Phillips screwdriver to unscrew the 2 screws in the back of the webcam case.
Pry open the plastic case and unscrew 2 more screws inside that attach the rectangular printed circuit board (PCB) to the back half of the case. Lift out the PCB.
Unscrew another pair of screws that secures the USB cord to the back half of the case.
On the component side of the PCB, unplug the white 4-wire header from the white connector.

Edit Step 6
— Uncase the webcam (continued)
¶
On the lens side of the PCB, lay some desoldering braid on top of the pad that attaches the thick black ground wire (marked "J2" on the component side).
Press down onto the braid with a soldering iron to wick the solder away. Pull the ground wire off of the PCB; with almost all of the solder gone, it should now break away fairly easily. Cut the small metal cuff off of the wire.
Pull the back of the webcam case off of the USB cord. The board should now be completely detached from the USB cord now just terminates with the small 4-pin header and the black wire. The PCB is completely detached.
Pull the small, round microphone out of the case and remove its rubber cushion. Hot glue it to the component side of the PCB, with its plain black side facing up.

Edit Step 7
— Adjust the webcam lens
¶
Look closely around the sides of the black plastic ring that carries the webcam's lens. Locate the bit of hot glue that holds the lens ring in position. Use a hobby knife to carefully cut or pry this blob away.
Unscrew the webcam lens ring until it comes off, then screw it back on just a little bit, 1/2 turn more than the point at which the lens doesn't fall off. This maximizes the focal distance, to produce a larger image.

Edit Step 8
— Wire the ground and power connections
¶
Strip 1/4" of insulation off the end of the thick black ground wire from the USB cable.
Spread the exposed strands of the stripped wire and cut about half of them away.
Use a knife to cut the red wire from the USB cable to the 4-wire header, halfway down.
Carefully strip about 1/4" from each cut end of the red wire.
It sometimes works better to strip delicate stranded wire like this with a sharp knife rather than with wire strippers. Carefully slice through the insulation lengthwise, then pry out the wire strands and cut away the rest of the insulation.
Twist the remaining strands of the ground wire together with the free end of wire from the LED cathode (the side that isn't the anode).
Twist together the stripped ends of the red wire together with the free end of wire from the LED anode.

Edit Step 9
— Wire the power and ground connections (continued)
¶
Solder the two red and one LED anode wire ends together and insulate the joint with heat shrink tubing.
Plug the white header back into the connector on the webcam PCB.
Solder the USB ground and LED cathode wires back into the webcam PCB hole labeled J2

Edit Step 10
— Attach the webcam lens to the microscope eyepiece
¶
Remove the flexible rubber eye cap from the microscope's zoom element.
Seat the zoom element back in the case half, making sure it's rotated in the proper position. The grey ring should stick fully out of its hole, and a small notch in the sliding black ring should fit over a vertical ridge in the inside of the case.
Mark the zoom element's position in the case by using a knife to nick two points around the perimeter of the eyepiece that are closest to the case seam.
Remove the zoom element and hold its eyepiece centered up against the webcam's lens ring (conveniently enough, these two pieces are the same diameter). Orient the webcam PCB so that its length will run parallel to the microscope case seam; the project will look nicer if the PCB and microscope line up.
Hot glue around the webcam lens ring and microscope eyepiece to hold the two together.

Edit Step 11
— Reassemble the microscope
¶
Replace the zoom element, now with the webcam PCB attached, back in the microscope case half. Again, make sure it's seated properly.
Seat the microscope's focus element back in the case half, making sure that the grey ring sticks fully out of its hole and that the tab at the top of the inner cylinder fits into the channel running down the inside of the case.
Replace the other case half and screw the case back together with the two screws.
Slide the plastic base back onto the bottom of the case. You're done!

Edit Step 12
— Scope it out
¶
If you haven't already, install your webcam's software on your computer (if needed).
Plug your DIY USB microscope into your computer, launch the webcam software (or any other software that uses a webcam), and enjoy! Snap photos, shoot video, and videoconference from the land of the very small.
This guide has been completed 4 times.
Page 1 of 1
Comments 
Comments are onturn off
No comments.
