CtrlAer: Programmable real-time execution of scientific experiments using a domain specific language for the Raspberry Pi Pico/Pico 2

Automated laboratory experimentation is increasingly dependent on synchronized operation of a heterogeneous hardware setups according to arbitrarily complex user-defined timing, but there is a lack of accessible, vendor-neutral options for reliable generation of these control signals. We present, Ct...

Full description

Saved in:
Bibliographic Details
Main Author: S.Hessam M. Mehr
Format: Article
Language:English
Published: Elsevier 2025-05-01
Series:SoftwareX
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2352711025001426
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Automated laboratory experimentation is increasingly dependent on synchronized operation of a heterogeneous hardware setups according to arbitrarily complex user-defined timing, but there is a lack of accessible, vendor-neutral options for reliable generation of these control signals. We present, CtrlAer, a domain-specific language for describing activation signals on a synchronized parallel timeline via a simple syntax containing only a handful of primitives. Embedded within MicroPython, CtrlAer programs are directly executable on the widely available and inexpensive Raspberry Pi Pico/Pico 2 and the wide ecosystem of open hardware development boards built around the RP2040/RP2350 microcontrollers. CtrlAer allows arbitrarily long and complex control sequences to be generated on up to 16 fully synchronized parallel channels at up to 10.7 MHz on the RP2350 (8.9 MHz on the RP2040), scaling to the needs of scientific experiments in a variety of disciplines.
ISSN:2352-7110