eNeuroNeurosciencePeer-reviewed journal article
FreiBox: A versatile open-source behavioral setup for investigating the neuronal correlates of behavioral flexibility via 1-photon imaging in freely moving mice
Brice de la CrompeiD, Megan Schneck, Florian SteenbergeniD, Artur SchneideriD, Ilka DiesteriD
Abstract
To survive in a complex and changing environment, animals must adapt their behavior. This ability is called behavioral flexibility and is classically evaluated by a reversal learning paradigm. During such a paradigm, the animals adapt their behavior according to a change of the reward contingencies. To study these complex cognitive functions (from outcome evaluation to motor adaptation), we developed a versatile, low-cost, open-source platform, allowing us to investigate the neuronal correlates of behavioral flexibility with 1-photon calcium imaging. This platform consists of FreiBox, a novel low-cost Arduino behavioral setup, as well as further open-source tools which we developed and integrated into our framework. FreiBox is controlled by a custom Python interface and integrates a new licking sensor (Strain Gauge lickometer) for controlling spatial licking behavioral tasks. In addition to allowing both discriminative and serial reversal learning, the Arduino can track mouse licking behavior in real time to control task events in a sub-millisecond timescale. To complete our setup, we also developed and validated an affordable commutator, crucial for recording calcium imaging with the Miniscope V4 in freely moving mice. Further, we demonstrated that FreiBox can be associated with 1-photon imaging and other open-source initiatives (e.g., Open Ephys), to form a versatile platform for exploring the neuronal substrates of licking based behavioral flexibility in mice. The combination of the FreiBox behavioral setup and our low-cost commutator represents a highly competitive and complementary addition to the recently emerging battery of open-source initiatives. Significance StatementBehavioral flexibility is essential to survive in a complex and changing environment. To study this cognitive ability in freely-moving mice, we developed a versatile, low-cost, open-source behavioral setup, called FreiBox, allowing us to investigate the neuronal correlates of licking-based behavioral flexibility. FreiBox is controlled by a custom Python interface and integrates a new licking sensor for controlling spatial licking behavioral tasks (e.g. discriminative learning, reversal learning). We also developed and validated an active commutator to record calcium imaging with the Miniscope V4 in freely moving mice. Finally, we demonstrated that FreiBox can be associated with 1-photon imaging and other open-source initiatives, to form a versatile platform for exploring the neuronal substrates of licking based behavioral flexibility in mice.
- Citations
- 6
- FWCI
- 0.73
- Field percentile
- top 37%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Open-BEATBox: an open-source autonomous operant chamber for high-throughput data acquisition of complex behaviour
Marine EUVRARD, Nabil Benzina, … Eric BURGUIERE·bioRxiv·Nov 10, 2026
- A Low-Cost, Modular Hardware and Software Platform for Head-Fixed Mouse Decision-Making Tasks
Maxwell B. Madden, Mahee Khatri, … Rafiq Huda·bioRxiv·Aug 17, 2026
- An Open-Source Joystick Platform for Investigating Forelimb Motor Control, Auditory-Motor Integration, and Value-Based Decision-Making in Head-Fixed Mice
Ivan Linares-García, Evan Alexander Iliakis, … David J. Margolis·eNeuroPeer-reviewed·Apr 1, 2025
- The locus coeruleus mediates behavioral flexibility
Jim McBurney-Lin, Gréta Vargová, … Hongdian Yang·Cell ReportsPeer-reviewed·Oct 1, 2022
- The NeuroHab: A Low-Cost, Integrated System for Investigation of Neural Correlates of Behaviors
Samuel Crouse, William Johnston, Qian‐Quan Sun·bioRxiv·Aug 15, 2026
- Open hardware low-cost system for behavioral experiments simultaneously with electrophysiological recordings.
L. A. A. Aguiar, N. A. P. Vasconcelos, … P. V. Carelli·bioRxiv·Apr 28, 2020