- Build the high-resolution microscope
- Build the low-cost microscope
- Build the upright microscope
- Customisations and alternatives
- Troubleshooting
- Knowledge base

# Custom optics

## Using the microscope for epi-florescence or epi-illumination

You will need to print a version of the optics module with "beamsplitter" in the name (all optics modules listed below).

You will also need to print:

- fl_cube.stl
- reflection_illuminator.stl

These instruction need completing. For now please consult the OpenFlexure Delta Stage Instructions

## Using an infinity corrected objective

The standard optics module is designed for a finite conjugate objective. If you wish to use an infinite conjugate objective print a version of the optics module with "infinity" in the name. See the list of available RMS optics modules below for alternative STLs.

If you are using an infinity corrected objective you will need the tall stand.

## Using 35mm parfocal objectives

Since v7, the "sample riser" has been built into the microscope stage, so it is no longer possible to use objectives with a 35mm parfocal distance. It is possible to print a modified optics module that will fit these older microscope objectives, but this is not currently generated automatically. If you would like to generate one, you can visit the repository and follow the instructions in the `README` to build the OpenSCAD models. You then need to either open `openscad/rms_optics_module.scad` and use the "customiser" feature to set `PARFOCAL_DISTANCE=35`, or compile it from the command line with:

> `openscad -D 'OPTICS="rms_f50d13"' -D 'CAMERA="picamera_2"' -D BEAMSPLITTER=false -D PARFOCAL_DISTANCE=35 ./openscad/rms_optics_module.scad -o ./optics_picamera_2_rms_f50d13_35mm_parfocal.stl`

If you are using Windows, you may need to escape the `"` quotation marks by replacing them with `\"`.

## Using a different camera

The recommended camera is the Raspberry Pi camera. The 3D printed parts work with both v1 and v2, but only v2 is supported by the standard software.

For the RMS objective optics we also generate optics modules for an M12 camera, or a Logitech C270 webcam, both of which connect to a computer via USB. The available parts are listed below. These optics modules are not extensively tested. USB cameras are not supported in the standard software.

For the basic optics module we also generate lens spacers and camera platforms for a Logitech C270 webcam or an Arduino B0196 USB webcam (which is based on the same Sony IMX219 camera module as the Raspberry Pi camera v2). The available parts are listed below. These camera configurations are not extensively tested. USB cameras are not supported in the standard software.

## RMS optics modules

The standard OpenFlexure optics modules is the is optics_picamera_2_rms_f50d13.stl. This uses:

- a 45mm parfocal, 160mm tube length, RMS-threaded objective
- a 50mm achromatic lens
- a Raspberry Pi camera module v2.

This is by far the most well tested optics module

Other optics modules are available. We only regularly test the standard optics module. As the microscope design changes alternative objectives should update, but the updated versions may not have been printed and tested.

You can use our interactive optics module chooser or check the full list of possibilities below.

List of all available optics module STLs:

- optics_picamera_2_rms_f50d13.stl (default)
- optics_picamera_2_rms_f50d13_beamsplitter.stl
- optics_picamera_2_rms_infinity_f50d13_beamsplitter.stl
- optics_picamera_2_rms_infinity_f50d13.stl
- optics_m12_rms_f50d13_beamsplitter.stl
- optics_m12_rms_f50d13.stl
- optics_m12_rms_infinity_f50d13_beamsplitter.stl
- optics_m12_rms_infinity_f50d13.stl
- optics_logitech_c270_rms_f50d13_beamsplitter.stl
- optics_logitech_c270_rms_f50d13.stl
- optics_logitech_c270_rms_infinity_f50d13_beamsplitter.stl
- optics_logitech_c270_rms_infinity_f50d13.stl

The infinity corrected optics modules are taller, and require a tall microscope stand (see "stands" section of customisation page).

## List of basic optics modules

The standard version of the basic optics module uses the lens from a Raspberry Pi camera v2 and a spacer to make it into a microscope with a field of view similar to a x20 microscope objective. The same principle can be used for other small camera modules with removeable lenses. Assembly is similar to the standard basic optics module, you will need to remove the camera lens and reverse it when it is put into the lens spacer. USB cameras are not supported in the standard software.

You will need to print a lens spacer and camera platform.

- Arducam B0196: camera_platform_arducam_b0196.stl, lens_spacer_arducam_b0196.stl(printed in black ).
- Logitech C270: camera_platform_c270.stl, lens_spacer_c270.stl(printed in black ).