The €100 lab: A 3D-printable open-source platform for fluorescence microscopy, optogenetics, and accurate temperature control during behaviour of zebrafish, Drosophila, and Caenorhabditis elegans

André Maia Chagas, Lucia L. Prieto-Godino, Aristides B. Arrenberg, Tom BadenPLoS 2017

Abstract

Small, genetically tractable species such as larval zebrafish, Drosophila, or Caenorhabditis elegans have become key model organisms in modern neuroscience. In addition to their low maintenance costs and easy sharing of strains across labs, one key appeal is the possibility to monitor single or groups of animals in a behavioural arena while controlling the activity of select neurons using optogenetic or thermogenetic tools. However, the purchase of a commercial solution for these types of experiments, including an appropriate camera system as well as a controlled behavioural arena, can be costly. Here, we present a low-cost and modular open-source alternative called 'FlyPi'. Our design is based on a 3D-printed mainframe, a Raspberry Pi computer, and high-definition camera system as well as Arduino-based optical and thermal control circuits. Depending on the configuration, FlyPi can be assembled for well under €100 and features optional modules for light-emitting diode (LED)-based fluorescence microscopy and optogenetic stimulation as well as a Peltier-based temperature stimulator for thermogenetics. All functions of FlyPi can be controlled through a custom-written graphical user interface. Taken together, the low cost and modular nature as well as fully open design of FlyPi make it a highly versatile tool in a range of applications, including the classroom, diagnostic centres, and research labs.

Introduction: Breaking the Financial Barrier

Modern neuroscience research is increasingly dependent on "genetically tractable" model organisms. By using optogenetics (controlling neurons with light) and thermogenetics (controlling neurons with heat), researchers can dissect the neural circuits underlying complex behaviors. However, the specialized equipment required—high-speed cameras, precise thermal controllers, and fluorescence microscopes—often costs tens of thousands of euros. This high cost creates a significant barrier to entry for smaller research labs, diagnostic centers in developing regions, and educational institutions.

The "FlyPi" platform was developed to address this disparity. By leveraging frugal engineering principles and open-source hardware, the authors created a "lab-on-a-bench" that provides high-performance capabilities for a fraction of the cost of commercial alternatives.

The FlyPi Architecture

The FlyPi system is built upon three modular pillars designed for flexibility and ease of assembly:

  1. Mechanical Design: The mainframe is entirely 3D-printable and designed using OpenSCAD. Its modular nature allows it to be configured in either "upright" or "inverted" positions depending on the experimental requirements.
  2. Electronics and Control: A Raspberry Pi 3 serves as the central processing unit, handling high-level tasks such as image acquisition, data storage, and the graphical user interface (GUI). For tasks requiring microsecond precision, such as controlling LEDs for optogenetics or managing Peltier elements for temperature control, an Arduino Nano is integrated into the system.
  3. Optics: The imaging system utilizes a standard Raspberry Pi camera module paired with a low-cost 12mm threaded objective lens. To enable fluorescence microscopy, the setup incorporates inexpensive theatre lighting filters and high-power LEDs positioned at a 45° angle to minimize light bleed.

The entire system is managed via a custom Python-based GUI, which allows researchers to program complex, automated experimental protocols with ease.

Experimental Validation and Results

To demonstrate the platform's utility, the authors performed a series of benchmark experiments across different biological domains:

  • Neurogenetics: The system successfully performed calcium imaging (monitoring GCaMP5 expression) in zebrafish and Drosophila larvae. It also proved effective for optogenetic stimulation, triggering swimming in zebrafish and proboscis extension in adult flies.
  • Behavioral Tracking: Using the open-source CTrax software, the authors demonstrated that FlyPi-captured video is of sufficient quality to track the movement of multiple Drosophila simultaneously.
  • Thermal Control: The integrated Peltier module achieved a temperature shift rate of ~1°C/s with a stability of <1°C, enabling precise thermogenetic control of heat-sensitive proteins like Trp-A1.
  • Medical Diagnostics: Beyond the research lab, FlyPi was used to image human blood smears and urine samples, successfully detecting parasites such as Mansonella perstans and Schistosoma eggs.

The system achieved a spatial resolution of approximately 10 μm, which is sufficient to resolve individual red blood cells and large neurons, and supported video acquisition speeds up to 90 Hz.

Discussion: Open Science and Global Impact

The FlyPi project exemplifies the power of open-source hardware in science. By making every STL file and line of code publicly available, the authors ensure that any laboratory can replicate their experimental conditions exactly, enhancing scientific reproducibility.

While the system has limitations—such as the inability to reach sub-micron confocal resolution or the reduced sensitivity of the Raspberry Pi's color sensor compared to monochrome scientific cameras—it offers a "good enough" solution for a vast array of biological applications. Furthermore, the platform has been "battle-tested" in teaching workshops across sub-Saharan Africa, proving its robustness and utility in low-resource environments. FlyPi represents a significant step toward the democratization of high-end biological research tools.

Summary updated

BibTeX
@inproceedings{chagas2017lab,
  author = {André Maia Chagas and Lucia L. Prieto-Godino and Aristides B. Arrenberg and Tom Baden},
  title = {{The €100 lab: A 3D-printable open-source platform for fluorescence microscopy, optogenetics, and accurate temperature control during behaviour of zebrafish, Drosophila, and Caenorhabditis elegans}},
  booktitle = {PLoS},
  year = {2017},
  doi = {10.1371/journal.pbio.2002702},
}
Figure