Skip to content

Raspberry Pi Controlled Experiment (PiE)

A manuscript describing the PiE system is now on bioRxiv!

Benedict J and Cudmore RH (2023) PiE: An open source pipeline for home cage behavioral analysis. bioRxiv 2023.05.05.539097; doi: https://doi.org/10.1101/2023.05.05.539097

Getting started

Follow the install instruction and then control the PiE server with the web interface. Also checkout our YouTube video that J Benedict made.

Use the commander to control any number of behavior boxes.

Use the VideoAnnotate desktop application to score the recorded videos with an easy to use GUI.

Build Options

  • Video recording. Use the PiE server to record video. All that is needed is a Raspberry Pi and a Pi camera.
  • Behavior Box. Use the PiE server to record video, control IR and white lights, control a fan, and log the temperature/humidity.

Getting in touch

Please email rhcudmore [at] ucdavis.edu with questions or open a GitHub issue. If you are interested in customizing the PiE system for a particular experiment, contact us and we can get you started. The Cudmore lab is actively improving and expanding the PiE system and is dedicated to its maintenance into the future.

Future directions

  • On the scope video recording. Use the PiE server to trigger video recording on a microscope and to log events (including microscope frame) to a file.
  • Full treadmill system. Use the PiE server to record synchronized video on a scope while controlling a motorized treadmill.