arXiv ScienceSearch

arXiv · 2510.22552

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

Abstract

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Benedict Diederich, Ingo Fuchs, Haoran Wang, Holger Bierhoff, Christian Kuttke, Rainer Heintzmann. 2025-10-26. UC2-ESP: A General-Purpose Framework for Open-Source Microscopy Control. https://arxiv.org/abs/2510.22552

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Selective sparsity-enhanced synchronization in disordered semiconductor laser networks

Biological networks tend to leverage selective sparsity as an economic strategy to optimize function while minimizing wiring costs. In contrast, achieving synchronization in engineered systems such as semiconductor laser arrays is traditionally expected to require resource-intensive coupling %strong connections to overcome intrinsic frequency disorders. We demonstrate that selectively coupled sparse networks can outperform fully connected architectures, achieving near-complete synchronization with a significantly reduced coupling budget. Using an evolutionary algorithm, we identify a ``pairing opposites" principle: optimal structures specifically prioritize connections between oscillators with the largest opposite frequency detuning. This topology neutralizes dynamical interference induced by redundant links, leading to stable synchronization. We formalize this mechanism through a thermodynamic potential framework, mapping time-delayed phase dynamics to an energy landscape where optimal sparsity prunes additional states to stabilize global phase-locking. Furthermore, we show that the optimal connectivity scales inversely with system size. This principle provides a resource-efficient blueprint for synchronizing and stabilizing diverse complex networks, from photonic arrays to neuromorphic hardware.

physics.optics

Super-resolution microscopy via fluctuation-enhanced spatial mode demultiplexing

We introduce a superresolution technique that combines spatial mode demultiplexing (SPADE) with emitter blinking. We show that temporal fluctuations not only enhance the precision of SPADE imaging, but also drastically simplify the measurement required to recover full object information---in the presence of fluctuations, SPADE can be replaced by the much simpler image inversion interferometry. Both gains are enabled by exploiting temporal cumulants of the detected signal. We further show that the proposed fluctuation-enhanced techniques are significantly more robust to dark-count noise than conventional SPADE.

physics.optics

Phase-controlled transport of Floquet-driven compact chiral photonic states

The Aharonov-Bohm (AB) effect remains a cornerstone of fundamental and applied physics. In this work, we utilize the AB caging effect originated from an effective magnetic field induced by multiorbital interactions, creating an all flat band (FB) lattice system. Normally, FB states are known for being compact in space and having a zero tail; therefore, their mobility in a linear environment is generally understood as impossible. We propose a Floquet driving protocol in an all-FB photonic system to fully control the dynamics of localized photonic states. The modulation of the Hamiltonian along the propagation coordinate allows the translation of compact states in the direction of constructive interference, resulting in an effective stroboscopic quantum walk-like effect. We find that the traveling states exist in chiral pairs. We experimentally implement the Floquet driven protocol using femtosecond laser written photonic waveguides and demonstrate directional control of the propagation, determined by the relative phase of the input condition.

physics.optics