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

# Customisations and alternatives

For each version of the microscope we have specified a specific bill of materials to make the microscope simple to build for non-microscopists. One of the key advantage of the OpenFlexure Microscope is that is can be customised for different applications and modified if certain parts are not available.

Here are some of the most common customisations. This page may not be as detailed as the core instructions, please consider helping us to improve it.

The OpenFlexure forum also has many customisations and alternatives suggested by the community.

You can download every STL from here.

## Electronics

### No access to the Sangaboard

Our custom motor board, the Sangaboard, can be hard to get hold of. We are working on this. A workaround is to build a Sangaboard-compatible motor controller using an Arudino nano, and the driver boards that come with each stepper motor. This uses the electronics_drawer for HAT-style Sangaboards with 11mm headers and adds printed adapters to fit in the alternative boards. If you are not using a Sangaboard, you may need to wire the LED to the Raspberry Pi for power.

For a Raspberry Pi version 3, you will need a different electronics drawer and adapter plate

- electronics_drawer-pi3_sanga_stack_11mm.stl
- nano_converter_plate-pi3.stl

### Using a Raspberry Pi version 3, or alternative Sangaboard

If you don't have access to a Raspberry Pi version 4 or a HAT-style Sangaboard with 11mm headers, but have a different board, you can use one of these modified electronics drawers:

- electronics_drawer-pi3_sanga_v0.3.stl
- electronics_drawer-pi3_sanga_stack_8.5mm.stl
- electronics_drawer-pi3_sanga_stack_11mm.stl
- electronics_drawer-pi4_sanga_v0.3.stl
- electronics_drawer-pi4_sanga_stack_8.5mm.stl

### No illumination PCB

If you are unable to use the illumination PCB, you can substitute a 5mm LED, wired in series with a resistor, described in the LED workaround.

## 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 (see below).

### 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

For the low cost microscope (without an objective), we currently only support 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. USB cameras are not supported in the standard software.

### List of available RMS optics modules

The module that is used most of the time, and thus the one that is tested most frequently, is optics_picamera_2_rms_f50d13.stl. This uses a 45mm parfocal, 160mm tube length, RMS-threaded objective, together with a 50mm achromatic lens and a Raspberry Pi camera module v2. Other optics modules are generated every time we rebuild the project. We only regularly check and test the optics modules mentioned in the main instructions, i.e. `optics_picamera_2_rms_f50d13.stl` and its beamsplitter variant. While the files linked below should stay up to date, it is possible that changes introduced elsewhere might stop them working. You are therefore advised to check them before printing. If you can start by printing the default options, and swap in one of these later, that is often a good idea.

You can select the options in the form below to pick the correct filename:

Camera:
Objective:
Include beamsplitter cut-out.

`Select options to generate a filename`

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

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

## Stands

If using tall optics such as an infinity corrected objective you need a taller version of the stand:

microscope_stand_tall.stl

In addition to the standard stand and the tall stand, there is a smaller stand which only holds the microscope, there is no space for the Raspberry Pi:

microscope_stand_no_pi.stl