Microscope Camera Module
2D Crystal Stacking Bot Submodule
Assembly: This Microscope Camera Module is heavily adopted from the Openflexure Microscope project with necessary adjustment to the 2D Crystal Stacking Bot. When following the Openflexure assembly steps, please pay attention to the changes mentioned in this document.
The Microscope Camera Module provides a video feed to the operator for the stacking process. The Camera module is adapted from and uses the assembly instructions here by the openflexure microscope project. However, there are a few adjustments for improvements from the original openflexure project.
Assembly for Microscope Camera
Bill of Parts
Camera holder module 3D printed STL Parts
The camera holder parts are completely redesign to better suit our project, use below stl files instead.
3D printing instructions:
To withstand the heat from the illumination module, all parts above will need to be printed with PA filament instead of regular PLA.
Optics
We removed the emission filter and excitation filter requirement from the Openflexure project because it does not provide significant impact for our use.
1 objective lens (10x for 2D crystal stacking use case)
1 star led
Screws
Sensor
Assembly Steps
Assembly steps are adpoted from the Openflexure Project including images and descriptions with necessary alternations.
Solder power supply wire to the star LED, following the manufacturer's instructions for which pad to solder to, using a soldering iron and some solder. Be careful to keep the solder joint as small as possible. At the other end, attach connectors for connecting to your power supply.

Push the reflection illumination condenser down onto the lens. Check it is pushed all the way in and it is flat.

Attach the star LED to the back of the reflection illumination condenser with two M3x8mm screw using a 2.5mm hex screwdriver. Make sure the wires come out from near the bottom.

Insert the slip plate screws Push the M2.5 nut into the slots on the top of the reflection illumination condenser.

Slot the filters into the filter cube. Push the beamsplitter filter into the 45° slot. Again it might be tight, and you might need to use a file to ensure you can fit it in.

Attach the objective screw Slide a M3 nut into the slot at the top of the reflection optics module casing and screw a M3x8mm screw into it using a 2.5mm hex screwdriver.

Insert the tube lens. Push the reflection optics module casing down on top of the lens until it is flat and secure.

Attach the objective lens Screw the objective lens into the top of the reflection optics module casing. Be careful to screw it in straight, to avoid cross-threading.

Attach the filter cube to the reflection illumination holder Slide the filter cube into the dovetail of the reflection illumination holder.

Attach the reflection illumination holder to the optics module Slide the filter cube into the slot in the side of the reflection optics module casing.

Screw the reflection illumination holder to the reflection optics module casing using two M2.5x8mm screws.

Attach the reflection illumination holder Put two M2.5 washers onto two M2.5x8mm screws. Screw through the slip plate on the reflection illumination holder into the M2.5 nut in the reflection illumination condenser using a 2mm hex screwdriver.

Remove the camera lens Remove the plastic film from the lens of the Raspberry Pi camera v2.

Attach the camera to the optics tube Attach the Raspberry Pi camera v2 to the bottom of the reflection optics module casing. Put the camera cover over the top. Secure everything in place with two M2x6mm screws using a 1.5mm hex screwdriver.


Testing For Microscope Camera Video Feed
Directly follow the steps in central control software doc to set up the camera streaming feed along with other hardware components. All the necessary settings has been set to default for the best viewing experience for stamping. If you are experience any flashing, color distortion issue consider adjusting directly from the camera feed tuning panel.

To validate the setup, the correct deposition of the 2D crystal onto the wafer should produce a clear visual result under the microscope camera, similar to the images shown below.

Known Issue
Image of color distortion

Following the exact instructions from the openflexure project will result in color distortion of the view in the raw video feed due to the absence of picam sensor cap. The above picture is an example of the color distortion which significantly affect the ability for user to capture meaningful 2D crystal structure.
To prevent this issue, please directly use the central control software. If for some reason you need to redevelop the camera model from ground up, here is a tuning file directly from openflexure where you can apply directly to your video feed to avoid the color distortion using the sample code below.
Last updated
