Skip to main content

Installation and Setup

Pre-Installation Checklist

Before beginning installation, ensure you have:

  • Read all safety information in Safety and Compliance
  • Verified environmental conditions meet specifications
  • Prepared adequate workspace (minimum 1 m × 1.5 m)
  • Organized necessary tools (see Tool Requirements below)
  • Verified power supply compatibility

Package Contents and Unpacking

Case that holds the Frame, carefully open it and ensure that there is no outer damage to the package. Store this box carefully and reuse it if necessary - it's a great suit case :)

The FRAME is covered with packaging material, foam and bubble foil, unwrap the parts and take out the components, starting with the smaller parts, including the illumination arm. The FRAME body itself is very heavy, so please make sure you get additional support and move the box out of the suitcase carefully. Hold it from the lower end don't lift it holding the Z-stage!, put this on a surface that is decently stable!

Frame Positioning and Setup

Initial Frame Positioning

  1. Position Main Frame:

    ⚠️ CAUTION: Use proper lifting techniques. Two-person lift recommended.
    • Place frame on designated work surface
    • Ensure all adjustment feet make contact with surface
    • Do not overtighten adjustment feet
  2. Level the System:

    • Use built-in bubble level or digital level
    • Adjust feet until level in both X and Y directions
    • Verify stability by gently pressing corners
    • Re-check level after 30 minutes
  3. Surface Requirements:

    • Stable, level surface capable of supporting 50 kg
    • Minimal vibration environment
    • Away from air conditioning vents and heat sources
    • Good lighting for assembly work
  4. Power Requirements:

    • 230V AC, 50/60 Hz power outlet (or 115V with adapter)
    • Dedicated circuit recommended
    • Power outlet within 2 meters of installation location
    • Proper grounding required
  5. Environmental Conditions:

    • Temperature: 15°C to 35°C
    • Humidity: 30% to 80% RH, non-condensing
    • Clean environment, minimal dust

Package contents: The FRAME, emergency stop, power supply, USB cables (camera, ESP32) and illumination arm

Component Installation

Mounting the Illumination Arm

We start by mounting the illumination arm with the two M5 screws. For this get an appropriate 4mm allen key and secure the two screws that are sitting in the back of the frame and then attaching the illumination arm on the back. It's easiest if you have a second person holding the illumination arm and the second person is tighenting the screws. You can use a cube to have a spacer between the stage and illumination arm.

Ensure the illumination arm is in its highest position

Attach the CAN bus cables from the illumination arm to the electronics board by plugging them into the junction board

Ensure the illumination cubes in the upper cube slot are optically aligned. Note: The cable must be plugged in with the CAN bus connector reversed (manufacturing note for first version - ensure the "nose" points in the same direction as the LEDs)

Secure the cable and optionally add the protective lid

Opening the rear box unveils the CAN Relay board which can be used to add additional components like Motors, etc

Getting electronics to work

Plugging in the Emergency stop (Audio Jack) into the rear electronics that controls the microscope. Plug it into the slot with the audio jack that says emergency stop. Activate the emergency stop by pressing it

Connect the ESP32 control board that runs the UC2 Firmware (youseetoo.github.io) with the Raspberry Pi using the USB-C to USB-A cable (you can either use the blue USB3 or black USb2 slots)

Mount the USB3 Camera cable and lock the screws on the camera side

Mount the USb3 Camera cable on the Raspberry Pi side (use the blue USB3 slot)

Plug in the power suppy (12V) into the 12V jack on the Electronics side. Add the power socket (110/230V) cable and add this to the wall socket

Release the emergency stop to add 12V to the Frame

The power indicators on the relay boards should show 12V by letting the green LED light up

Initial System Testing

The PS4 controller and web interface operations are covered in detail in the Operation Manual.

System Function Tests

  1. Mechanical Systems:

    • Test all axis movements (X, Y, Z, A)
    • Verify position accuracy and repeatability
    • Check travel limits and home positions
    • Test emergency stop functionality
  2. Electrical Systems:

    • Verify power indicators (green LEDs)
    • Test CAN bus communication
    • Check camera connectivity and image acquisition
    • Confirm illumination control

Mounting Optics

Unbox the objective lenses and insert them in the dedicated slots by screwing them into the RMS Threads. Be careful not to touch the surfaces

Do the same for objective #2. The order depends on the configuration you have and must be mirrored in the configuration file.

Configuration File Setup

The objective order and other system parameters must be properly configured in ImSwitch. A complete sample configuration file is provided at:

📁 Configuration File: config_examples/FRAME_ImSwitch_Configuration.json

This configuration file contains:

  • Camera settings and detection parameters
  • Laser and LED configurations
  • Stage positioning and movement parameters
  • Objective definitions and magnifications
  • Available widgets and software components

You can also reference the online configuration repository: 🔗 https://github.com/openUC2/ImSwitchConfig/blob/master/imcontrol_setups/FRAME2.json

add the laser cover at the side

Secure the laser cover by snapping it in place

Software Installation and Configuration

Prerequisites

Before installing software locally, note that FRAME systems can be operated via:

  • Web Interface: Direct browser access to the Raspberry Pi (recommended for most users)
  • Local Installation: Install ImSwitch locally for advanced users or development

Local Software Installation (Advanced Users)

If you need to install ImSwitch locally on your computer:

  1. Driver Installation:

    • Install camera drivers (HikVision or compatible)
    • Install motor controller drivers (ESP32-based)
    • Install communication interface drivers (CAN-BUS/USB)
    • Verify device manager shows all devices properly
  2. Control Software Installation:

    • Download latest ImSwitch software from GitHub
    • Install UC2-REST API components
    • Configure system parameters using provided configuration files
    • Load device configuration files (see config_examples/)

Initial Configuration

  1. Hardware Configuration:

    • Define axis orientations and directions (see coordinate system reference)
    • Set travel limits and home positions
    • Configure camera parameters (exposure, gain, etc.)
    • Calibrate stage positioning using calibration target
  2. User Interface Setup:

    • Configure display preferences and layouts
    • Set default acquisition parameters
    • Create user profiles for different operators
    • Configure safety interlocks and emergency stops

Laser Module Installation and Safety

Laser Safety Overview

⚠️ CRITICAL SAFETY INFORMATION

Laser safety is paramount when working with the FRAME system. The device incorporates multiple safety mechanisms to ensure Class 1 laser operation, meaning no dangerous radiation can escape the device enclosure when properly assembled.

Safety Mechanisms

The FRAME incorporates three primary safety systems:

  1. Sample Lid Interlock:

    • Laser-blocking lid with integrated safety switch
    • Must be properly positioned to activate laser systems
    • Prevents light from escaping through the objective lens
  2. Key Switch Interlock:

    • Physical key switch that must be activated to enable laser operation
    • Provides positive control over laser activation
  3. Internal Interlocks:

    • Monitors proper positioning of laser cover and internal components
    • Automatically disables laser if components are not properly installed

Safety Procedures

Before Operating with Lasers:

  1. Familiarize yourself with all safety features
  2. Ensure all interlocks are functional
  3. Verify proper assembly of all safety components
  4. Check for any reflective surfaces in the beam path
  5. Ensure proper ventilation and lighting in work area

Emergency Procedures:

  • In case of power loss or interlock interruption, lasers automatically shut down
  • Use the key switch to clear interlocks after addressing any safety issues
  • Contact support if any safety mechanism appears damaged

Laser Module Installation Procedures

Step 1: Prepare Laser Safety Lid

Connect the laser safety lid cable to the interlock system

Step 2: Install Sample Safety Lid

The laser safety cover attaches magnetically to the four mounting points on the sample stage. The safety switch activates only when the lid is properly positioned.

Orient the openUC2 logo so it can be read when standing in front of the device

Step 3: Install Laser Module Assembly

The laser interlock and control unit can be removed from the main body similar to the optics cube. It contains the CAN bus adapter and internal safety interlocks.

Locate the internal laser interlock switch on the opposite side of the module

Slide the laser module into position from the side

Secure the laser module using the knurled locking screws

Step 4: Connect Laser Module

Connect the laser module to the CAN bus using the provided cable

Connect the CAN bus cable to the electronics box similar to the illumination unit

Power indicator: Green LED confirms the laser module is receiving power. The hardwired interlock system requires active key switch activation before laser operation is possible.

⚠️ SAFETY REMINDER: Before activating the key switch, ensure there are no unprotected reflective surfaces in the beam path that could redirect laser light.

Step 5: Laser Connection (External Laser Configurations)

Note: The following steps apply only to external laser configurations. Internal laser modules may not require these connections.

Connect the laser control cable from the laser module to the external laser

Verify correct wiring of the external laser control box

Connect the external 12V power supply for the laser system

Verify proper wiring configuration on the laser module

Step 6: Fiber Optic Installation

Insert the fiber optic cable into the screw terminal fiber mount

Carefully remove the protective cap and insert the fiber into the ferrule. Secure with the fiber holder nut.

⚠️ FIBER SAFETY: Never touch the fiber end face as this may damage the core and degrade light transmission.

Completed laser installation (configuration may vary depending on internal vs. external laser setup)

Dealing with the Sample calibration target

For information about using the sample calibration target, see the Operation Manual section on calibration procedures.

Package Inspection

  1. Upon Delivery:

    • Inspect packaging for damage during shipment
    • Document any visible damage with photographs
    • Check that all packages are received according to packing list
  2. Unpacking Procedure:

    • Use proper lifting techniques (system weight: 25-35 kg)
    • Remove packaging materials carefully to avoid damage
    • Keep packaging materials until installation is complete
    • Verify all components against the packing list

Standard Package Contents

Main System Components

  • FRAME main unit (frame and base assembly)
  • XYZ positioning system
  • Control electronics unit
  • Power supply and cables
  • USB/CAN interface cables

Optical Components (inside the optics cube)

  • Basic cube module set
  • Tube lens assembly
  • Condenser system
  • LED illumination module
  • Camera interface adapter

Accessories

  • Sample holders and clips
  • Calibration slides
  • Tool kit
  • Documentation package
  • Software installation media/download links

Tool Requirements

Essential Tools

  • Allen key set (2, 3, 4, 5, 6 mm)
  • Phillips head screwdriver
  • Flathead screwdriver
  • Adjustable wrench
  • Digital multimeter (for electrical verification)

Optional Tools

  • Optical cleaning supplies
  • Antistatic wrist strap
  • Digital level
  • Vibration measurement device

Software Installation and Configuration

Work In Progress: This is for the case if you want to install imswotch locally..

Step 1: System Software Installation

  1. Driver Installation:

    • Install camera drivers
    • Install motor controller drivers
    • Install communication interface drivers
    • Verify device manager shows all devices
  2. Control Software Installation:

    • Download latest ImSwitch software
    • Install UC2-REST API components
    • Configure system parameters
    • Load device configuration files

Step 2: Initial Configuration

  1. Hardware Configuration:

    • Define axis orientations and directions
    • Set travel limits and home positions
    • Configure camera parameters
    • Calibrate stage positioning
  2. User Interface Setup:

    • Configure display preferences
    • Set default acquisition parameters
    • Create user profiles
    • Configure safety interlocks

Optical Alignment and Calibration

Optical Alignment and Calibration

Proper optical alignment is critical for optimal system performance. The FRAME system requires alignment of multiple optical components to achieve proper imaging quality.

Overview of Alignment Process

The optical alignment involves three main steps:

  1. Internal Optics Cube Preparation - Align the removable optics cube outside the FRAME
  2. FRAME Integration - Align the cube's optical axis with the FRAME system
  3. Final Verification - Test and validate all optical paths

Detailed Alignment Procedures

Complete step-by-step optical alignment procedures are provided in:

📁 Reference Document: config_examples/Optical_Alignment_Procedures.md

This document covers:

  • Internal optics cube preparation and Köhler illumination setup
  • Mechanical alignment using adjustment screws
  • FRAME integration and axis alignment
  • LED alignment tool setup and usage
  • Position storage and calibration
  • Troubleshooting common alignment issues

Quick Alignment Summary

  1. Prepare Internal Cube:

    • Remove cube from FRAME
    • Set up external alignment fixture
    • Align fluorescence path for Köhler illumination
    • Center laser beam exit from objective
  2. FRAME Integration:

    • Install LED alignment tool
    • Align Y-axis using cube adjustment screws
    • Align X-axis using electronic positioning
    • Store objective positions in EPROM
  3. Verification:

    • Test both transmitted and fluorescence paths
    • Verify image quality and uniformity
    • Confirm objective switching accuracy

Stage Coordinate System and Calibration

The FRAME uses a well-defined coordinate system for precise positioning. Complete details about the coordinate system, calibration procedures, and reference points are provided in:

📁 Reference Document: config_examples/Coordinate_System_Reference.md

Key Points:

  • Origin Position: Corresponds to multiwell plate position A1
  • Calibration Point: Center reference at xy = 63.5/46 mm
  • Maximum Travel: 127 x 86 mm (suitable for multiwell plates)
  • Stage Resolution: 0.3125 μm per step

Calibration target with crosshair lines for center positioning

Stage coordinate system showing maximum travel range

Coordinate system directions and axis orientations

Step 1: Illumination Alignment

Note: This section is under development. Complete procedures will be provided in future updates.

Transmitted Light Setup:

  • Center LED illumination for uniform field coverage
  • Adjust condenser position for optimal focus (currently only one position - move the LED double cube module along the optical axis so that the brightfield LED is collimated)
  • Plexiglass insert will ensure that darkfield/phase contrast rings will pass through
  • Verify field uniformity across entire viewing area on the camera (if not homogeneous, the objective slot positions need to be recalibrated)

Step 2: Focus System Calibration

Note: Complete calibration procedures are under development.

  • System currently does not have an encoder, so it's wise to home the positions periodically to maintain absolute positioning capabilities
  • The system does not track lost steps (e.g., when the stage runs into an endstop and slips steps)
  • Execute focus system homing sequence using the home button in the main GUI
  • Coming soon: Set appropriate software travel limits (via the config.json)
  • Test and verify autofocus functionality (using the button in the main GUI)

Step 3: Camera Alignment

  1. Camera Installation Verification:

    • Confirm secure camera mounting to interface
    • Verify data cable connections
    • Test camera software recognition (MVS Software from HIK Robotics / Galaxy Viewer from Daheng Imaging on your host computer)
    • Verify proper image acquisition
  2. Optical Alignment Verification:

    • Center camera field of view with optical axis
    • Adjust back focal distance for optimal focus
    • Verify image sharpness across entire field
    • Calibrate pixel size and magnification factors

Step 2: Software Testing

  1. Basic Functions:

    • Test image acquisition
    • Verify stage control
    • Test focus control
    • Check illumination control
  2. Advanced Features:

    • Test automation sequences
    • Verify remote access
    • Check data export functions
    • Test user interface responsiveness

Customization Options

Customize the Objective Holder

Note: Customization procedures are under development.

The FRAME system supports custom objective holders for specialized applications. Contact support for custom configurations.

Customize the Optical Layers

Note: Layer customization procedures are under development.

The modular cube system allows for custom optical configurations. Detailed procedures for creating custom optical layers will be provided in future documentation updates.

In a nutshell: the different layers of the FRAME can be constructed freely upon users needs. The current version has a 3x3x3 inner cube, but it can be adjusted to be longer in the Y direction (e.g. 3x5xN) and in the Z-direction by stacking additional layers and increasing outer pillars' height. The below layers demonstrate how a brightfield imaging setup with a simple folding mirror, a tube lens and a camera can be constructed. Additionally we have a fluorescence layer with a fiber holder, the optics to shape the beam and the kinematic dichroic to focus it in the back focal plane from the imaging objective.

All necessary components

Constructing the Fluorescence Layer

Adding Fluorescence Layer to Imaging Layer

Locking Layers with extended screws

Ensuring the screws have a tight fit across all layers

Ready to use cube that can be pre-alligned with optics on top

Insert pre-alligned cube into the FRAME

Troubleshooting Installation Issues

Common Mechanical Issues

ProblemPossible CauseSolution
Rough stage movementMisalignment or debrisCheck alignment, clean rails
Focus driftThermal expansionAllow warm-up time, check mounting
VibrationUnstable surfaceImprove vibration isolation

Common Electrical Issues

ProblemPossible CauseSolution
No power to modulesFuse blown or wiring errorCheck fuses and connections of CAN bus cables
Communication errorsCAN-BUS terminationVerify termination resistors (should be activated on HAT)
Motor not respondingDriver configurationCheck driver settings or reflash and reconfigure via youseetoo.github.io

Common Software Issues

ProblemPossible CauseSolution
Device not recognizedDriver not installedReinstall drivers
Communication timeoutNetwork configurationCheck IP settings
Image acquisition failsCamera not configuredVerify camera settings

Continue to Operation Manual for detailed operating procedures.