- 1 Nice Instruction
- 2 DIY microscopy
- 3 Laser-cut microscopy stages
- 4 Instructions
- 5 The Stage
- 6 Different samples
- 7 old stuff
- 8 hacking a digital camera
- 9 some notes about DIY microscopy
- 10 Links on Microscopy
Home Made Bio Electronic Arts Do-it-yourself: Microscopes, Sensors, Sonifications - Christoph Merian Verlag / Migros-Kulturprozent: Dominik Landwehr, Verena Kuni (Ed.), 2013
The Chapter about the DIY microscope can be downloaded here.
See the other chapters of Book: Homemade Biological Art
To use a simple usb webcam as a microscope, only a few modifications are needed.
In short, a small hack to the optics of a standard webcam with an adjustable focus-lens, allows to create video data, with a magnification of around 100 to 400x (depending on the model) at a working distance of a few mm. The highest magnifications can be achieved by inverting (putting upside down) the lens. Addition of good lighting by the use of leds allows to create images using a bright-field method (shine through the stuff) or dark field method (look at the reflections and scattering).
Movie recorded with modified webcams: Hackteria in Berlin
see more on wetPONG
Laser-cut microscopy stages are here.
0. Introduction and Materials
Work with the DIY MICROSCOPE includes converting an ordinary webcam into a microscope. The webcam’s conversion can be quickly effected manually. The electronics remains unaltered, only the position of the lens is changed. A solid platform enables fixing and accurately focusing the tiny study objects. The objects are illuminated with a light-emitting diode (LED).
The DIY MICROSCOPE consists of three components, assembled in this sequence:
- Converted webcam
- Stable platform for observation
- Illumination with a light-emitting diode (LED)
1. Conversion of the webcam Part A: Small enlargement
- A selection of standard webcams. Best suited are models allowing for manual adjustment of focus by turning the ring on the lens. The only solution is by trial and error.
- Before the camera is modified, it needs to be tested. For that it has to be connected to a computer, and additionally the necessary drivers have to be installed. Webcams run with Windows, Mac, or Linux.
- Already with this configuration the webcam can be used to inspect objects up close. You only need to screw out the lens a little and move closer to the object. A pocket lamp improves lighting conditions.
- Pointing the webcam on tiny objects produces surprising effects: Even without modifications one begins to see things hidden to the naked eye.
1. Conversion of the webcam Part B: Maximal enlargement
- Now we begin dismantling the webcam. The screws are removed. Partly such screws are hidden beneath labels or rubber caps. With a solid tool – in this case the screwdriver of a Swiss Army knife – the webcam ’s cover is removed.
- The appliance ’s interior can now be seen: it consists of optics and an electronic switch. We can do without the light-emitting diodes (LEDs). We shall later construct our own light.
- The optics is partially glued on. By careful twisting we can detach it from the electronics. The optics’ outer ring (at the right of the picture) will no longer be used later. It only serves as decoration.
- With the use of a strong side cutter we cut through the plastic casing. Now the electronics including all wires and the USB cable can be removed from the casing.
- The webcam’s interior: on the left side of the picture we can see the internal microphone, which, however, is not needed for our project.
- Now we place the optics upside down on the fitting. It can no longer be screwed on and must therefore be firmly secured. The optics is attached with a piece of duct tape.
- To test the equipment we connect the modified webcam with the computer and point the lens towards the screen. Now the individual
RGB pixels on screen become visible.
2. Construction of the platform
- Using small lumps of Blu-Tack adhesive, the webcam is attached to a solid pasteboard of about 15 x 15 cm.
- The platform’s side wall consisting of scale model cardboard. With a pencil we draw the height of the lens on it and cut off the cardboard along that line. We use hot glue for pasting.
- Using a carpet cutter, we cut a rectangular opening into another piece of scale model cardboard. This piece too is attached with hot glue.
- The adjustable screw requires a hole. We attach the screw nut right at the top with a small drop of hot glue. Then we insert the adjustable screw. It must reach down to the lower platform.
- Rubber bands provide more stability to the platform. With the screw the scale model board can now be moved up and down by a few millimeters.
3. The light source
- Our microscope also has a light source in the form of a light-emitting diode (LED). The lighting can be easily produced by oneself.
- In this easy way, the wires can be twisted together. But it is safer if they are solded on.
- The centimeters long feed of our light source is wrapped with garden wire. The wire thus becomes pliable and later can be attached in any position.
- The light source, potentiometer and battery are attached to our construction with hot glue. Our DIY MICROSCOPE is ready for use.
4. Using the Microscope and Hunting for Microorganisms
- The USB cable of the converted webcam is connected to the computer. Now we can begin with our examinations.
- The study objects are placed on a glass slide and can be shifted by hand. The microscope’s focus is regulated by the adjustable screw.
- As with a professional microscope, with our DIY tool we are able to take electronic photos and even films. Photos and films are digitally available, can be further processed and of course be easily published on the Internet.
More info about stage designs and laser-cutting files are on Laser-cut microscopy stages are here.
Hacking the webcam
mounting the microscope
There are many ways to finally build the microscope itself. here are a few examples from the workshop hackteria & lab_hacking @ NK, Berlin.
Simple microscope setup
Fixed, massiv and stable setup
Silicone embedded setup
Tape and cardboard setup
Magnification and Field of View
See: fieldofview for more details.
after completing the hack with the lenses, the magnification can be increased upto a field of view of 0.7 mm.
Where to get them, and which models
Am besten auf ebay aus hongkong bestellen (5-10 CHF). Billige modelle eignen sich generell am besten. an sonsten in mediamarkt oder pearl vorbei schauen (15-20 CHF).
Booklet for printing and folding (for kids and only in german)
hacking a digital camera
some notes about DIY microscopy
For more enlargement, you can not only invert the lense but also put some (iron) rings between the lense and the "webcam" and fix it with duct tape. The more rings you put between the more light you will need that you can see something. 5mm works without problems, the light from 1-2 LEDs will suffice to see the things.
For savers: A cheap solution is a standard logitech webcam, which can be bought for about 25.- SFr. --> videos(500x600), pics (3MPixel)
Links on Microscopy
- Lichtmikroskopie – Sehr guter und interaktiver Überblick der Lichtmikroskopie
- Microscopy-UK Resources
- ROTHAY HOUSE: Using the Digital Microscope, Brian J. Ford
- SynbioUK on microscopy tools
- Cellphone Microscope
- Hackteria DIY Microscopy
- SYNBIO - Link Sammlung zu Mikroskopie im Selbstbau
- pocket microscope
Pd (aka Pure Data) is a real-time graphical programming environment for audio, video, and graphical processing. It is the third major branch of the family of patcher programming languages known as Max (Max/FTS, ISPW Max, Max/MSP, jMax, etc.) originally developed by Miller Puckette and company at IRCAM. The core of Pd is written and maintained by Miller Puckette and includes the work of many developers, making the whole package very much a community effort.
We have developed several patches for the pd_microscope
or see more here: New pd-microscope patch
Image Processing and Analysis
ImageJ is a public domain Java image processing program inspired by NIH Image for the Macintosh. It runs, either as an online applet or as a downloadable application, on any computer with a Java 1.4 or later virtual machine. Downloadable distributions are available for Windows, Mac OS, Mac OS X and Linux.
Community Core Vision, CCV for short (aka tbeta), is a open source/cross-platform solution for computer vision and machine sensing. It takes an video input stream and outputs tracking data (e.g. coordinates and blob size) and events (e.g. finger down, moved and released) that are used in building multi-touch applications. CCV can interface with various web cameras and video devices as well as connect to various TUIO/OSC/XML enabled applications and supports many multi-touch lighting techniques including: FTIR, DI, DSI, and LLP with expansion planned for the future vision applications (custom modules/filters).
This project is developed and maintained by the NUI Group Community, We encourage you to get involved.
Webcam and Video
VideoLAN is a project, run by volunteers, backed-up by a non-profit organisation, which produces free and open source software for multimedia, released under the GNU General Public License.
AMCap is a small yet fully functional video capture application compatible with Microsoft DirectShow.
macam is a driver for USB webcams on Mac OS X. It allows hundreds of USB webcams to be used by many Mac OS X video-aware applications. The aim is to support as many webcams as possible.
This project aims at providing a simple GTK interface for capturing and viewing video from devices supported by the linux UVC driver, although it should also work with any v4l2 compatible device.
Command line converter of all video formats and all platforms. <a href="http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html">ffmpeg howto</a>