Optica Open
Browse

UC2-ESP: A General-Purpose Framework for Open-Source Microscopy Control

Download (5.58 kB)
preprint
posted on 2025-10-29, 16:01 authored by Benedict Diederich, Ingo Fuchs, Haoran Wang, Holger Bierhoff, Christian Kuttke, Rainer Heintzmann
Building the optical setup for investigating biological questions comes with challenges. A major such challenge is setting up and synchronizing the control of multiple hardware components such as stages, cameras and lasers. With UC2-ESP we present a compact electronics system powered by the ESP32 microcontroller, designed to provide general-purpose control for various components in microscopy setups. Our system can interface with stepper motors, directed current (DC) motors, lasers (transistor-transistor logics, TTL or pulse width modulation, PWM), light emitting diodes (LEDs), and analog voltage outputs (galvo mirrors, led current control), allowing precise control over microscopy hardware. The platform is highly flexible, supporting custom pin configurations and multiple communication interfaces such as Bluetooth, universal serial bus (USB-serial), and HTTP via a built-in Webserver. A PlayStation controller can be used for haptic hardware manipulation, while commands are transmitted in a human-readable JSON format to ensure modularity and extensibility. The firmware is designed to receive parameters and execute actions dynamically, supporting complex control loops such as motor homing, stage scanning and temperature regulation via integrated controllers. Furthermore, the system integrates seamlessly with ImSwitch as well as MicroManager and offers a browser-based control tool using Web Serial. This open-source firmware enables microscopy research groups to develop custom setups and expand functionality efficiently, at low cost and high flexibility.

History

Related Materials

Disclaimer

This arXiv metadata record was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.

Usage metrics

    Categories

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC