Two open source designs for a low‐cost operant chamber using Raspberry Pi™
You can build a working operant chamber for under $200 using open-source Raspberry Pi designs—nose-poke or touchscreen versions both work.
01Research in Context
What this study did
Gurley built two working operant chambers from cheap parts. One uses a nose-poke wall. The other uses a small touchscreen.
Each box runs on a $35 Raspberry Pi computer. Total cost is under $200. The plans are free online.
He tested the boxes with rats. The animals learned a color-discrimination task and a memory task.
What they found
The rats pressed the lights or poked the holes to earn sugar pellets. They learned both tasks just like in pricey commercial boxes.
All data were saved automatically. The Pi boxes worked for weeks with no jams or lost trials.
How this fits with other research
DAVIS (1961) built a drinkometer from radio parts. Gurley (2019) updates the same low-cost idea for the 21st century, swapping analog circuits for open-source code.
Gilchrist et al. (2018) and Maharaj et al. (2020) also cut costs by using off-the-shelf sensors. They track repetitive behavior with accelerometers or Kinect cameras. Gurley shows the same thrift works inside an operant chamber.
Takahashi et al. (2023) reached a large share accuracy in a classroom using motion sensors. Gurley’s lab result is more modest, but both prove cheap hardware can replace human scoring.
Why it matters
If you run an animal lab or teach behavior analysis, you can now build your own boxes for the price of a textbook. Students can tinker with code, not just press levers. Clinics with tight budgets can pilot new procedures before buying commercial gear. Download the plans, print the parts, and you have a working chamber by next week.
Want CEUs on This Topic?
The ABA Clubhouse has 60+ free CEUs — live every Wednesday. Ethics, supervision & clinical topics.
Join Free →Download the free plans and 3-D print one wall of the nose-poke box to test with your current rats.
02At a glance
03Original abstract
After almost a century of use and development, operant chambers remain a significant financial investment for scientists. Small powerful single-board computers such as the Raspberry Pi™ offer researchers a low-cost alternative to expensive operant chambers. In this paper, we describe two new operant chambers, one using nose-poke ports as operanda and another using a touchscreen. To validate the chamber designs, rats learned to perform both visual discrimination and delayed alternation tasks in each chamber. Designs and codes are open source and serve as a starting point for researchers to develop behavioral experiments or educational demonstrations.
Journal of the Experimental Analysis of Behavior, 2019 · doi:10.1002/jeab.520