Category: Reward Delivery


October 17, 2018

In the journal HardwareX, Jinook Oh and colleagues share their design for OpenFeeder, an automatic feeder for animal experiments.

Automatic delivery of precisely measured food amounts is important when studying reward and feeding behavior. Commercially available devices are often designed with specific species and food types in mind, limiting the ways that they can be used. This open-source automatic feeding design can easily be customized for food types from seeds to pellets to fit the needs of any species. OpenFeeder integrates plexiglass tubes, Arduino Uno, a motor driver, and piezo sensor to reliably deliver accurate amounts of food, and can also be built using 3D printed parts.

Read more from HardwareX.

Or check out the device on Open Science Framework and Github.


OpenBehavior Feedback Survey

We are looking for your feedback to understand how we can better serve the community! We’re also interested to know if/how you’ve implemented some of the open-source tools from our site in your own research.

We would greatly appreciate it if you could fill out a short survey (~5 minutes to complete) about your experiences with OpenBehavior.



October 3, 2018

Thomas Akam and researchers from the Champalimaud Foundation and Oxford University have developed pyControl, a system that combines open-source hardware and software for control of behavioral experiments.

The ability to seamlessly control various aspects of a complex task is important for behavioral neuroscience research. pyControl, an open-source framework, combines Python scripts and a Micropython microcontroller for the control of behavioral experiments. This framework can be run through a command line interface (CLI), or in a user-friendly graphical user interface (GUI) that allows users to manage a variety of devices such as nose pokes, LED drivers, stepper motor controllers and more. The data collected using this system can then be imported easily into Python for data analysis. In addition to complete documentation on the pyControl website, users are welcome to ask questions and interact with the developers and other users via a pyControl Google group.

Read more on the pyControl website.

Purchase the pyControl breakout board at OpenEphys.

Or check out the pyControl Google group!


An opensource lickometer and microstructure analysis program

August 8, 2018

In HardwareX, an open access journal for designing, building and customizing opensource scientific hardware, Martin A. Raymond and colleagues share their design for a user-constructed, low-cost lickometer.

Researchers interested in ingestive behaviors of rodents commonly use licking behavior as a readout for the amount of fluid a subject consumes, as recorded by a lickometer. Commercially available lickometers are powerful tools to measure this behavior, but can be expensive and often require further customization. The authors offer their own design for an opensource lickometer that utilizes readily available or customizable components such as a PC sound card and 3D printed drinking bottle holder. The data from this device is collected by Audacity, and opensource audio program, which is then converted to a .csv format which can be analyzed using an R script made available by the authors to assess various features of licking microstructure. A full bill of materials, instructions for assembly and links to design files are available in the paper.

Check out the full publication here!

Raymond, M. A., Mast, T. G., & Breza, J. M. (2018). An open-source lickometer and microstructure analysis program. HardwareX, 4. doi:10.1016/j.ohx.2018.e00035

Collaboration between OpenBehavior and

July 23, 2018

OpenBehavior has been covering open-source neuroscience projects for a few years, and we are always thrilled to see projects that are well documented and can be easily reproduced by others.  To further this goal, we have formed a collaboration with, who have provided a home for OpenBehavior on their site.  This can be found at:, where we currently have 36 projects listed ranging from electrophysiology to robotics to behavior.  We are excited about this collaboration because it provides a straightforward way for people to document their projects with instructions, videos, images, data, etc.  Check it out, see what’s there, and if you want your project linked to the OpenBehavior page simply tag it as “OPENBEHAVIOR” or drop us a line at the Hackaday page.

Note: This collaboration between OpenBehavior and is completely non-commercial, meaning that we don’t pay for anything, nor do we receive any payments from them.  It’s simply a way to further our goal of promoting open-source neuroscience tools and their goal of growing their science and engineering community.


Open source modules for tracking animal behavior and closed-loop stimulation based on Open Ephys and Bonsai

June 15, 2018

In a recent preprint on BioRxiv, Alessio Buccino and colleagues from the University of Oslo provide a step-by-step guide for setting up an open source, low cost, and adaptable system for combined behavioral tracking, electrophysiology, and closed-loop stimulation. Their setup integrates Bonsai and Open Ephys with multiple modules they have developed for robust real-time tracking and behavior-based closed-loop stimulation. In the preprint, they describe using the system to record place cell activity in the hippocampus and medial entorhinal cortex, and present a case where they used the system for closed-loop optogenetic stimulation of grid cells in the entorhinal cortex as examples of what the system is capable of. Expanding the Open Ephys system to include animal tracking and behavior-based closed-loop stimulation extends the availability of high-quality, low-cost experimental setup within standardized data formats.

Read more on BioRxiv, or on GitHub!

Buccino A, Lepperød M, Dragly S, Häfliger P, Fyhn M, Hafting T (2018). Open Source Modules for Tracking Animal Behavior and Closed-loop Stimulation Based on Open Ephys and Bonsai. BioRxiv.

Head-Fixed Setup for Combined Behavior, Electrophysiology, and Optogenetics

June 12, 2018

In a recent publication in the Frontiers in Systems Neuroscience, Solari and colleagues of the Hungarian Academy of Sciences and Semmelweis University have shared the following about a behavioral setup for temporally controlled rodent behavior. This arrangement allows for training of head-fixed animals with calibrated sound stimuli, precisely timed fluid and air puff presentations as reinforcers. It combines microcontroller-based behavior control with a sound delivery system for acoustic stimuli, fast solenoid valves for reinforcement delivery and a custom-built sound attenuated chamber, and is shown to be suitable for combined behavior, electrophysiology and optogenetics experiments. This system utilizes an optimal open source setup of both hardware and software through using Bonsai, Bpod and OpenEphys.

Read more here!


Solari N, Sviatkó K, Laszlovszky T, Hegedüs P and Hangya B (2018). Open Source Tools for Temporally Controlled Rodent Behavior Suitable for Electrophysiology and Optogenetic Manipulations. Front. Syst. Neurosci. 12:18. doi: 10.3389/fnsys.2018.00018

Automated mouse homecage two-bottle choice test

May 21, 2018

Meaghan Creed has developed a novel device for assessing preferences by mice among fluids in their homecages, i.e. two-bottle choice test. She shared the design on and contributed the summary of it below.

Often in behavioral neuroscience, we need to measure how often and how much a mouse will consume multiple liquids in their home cage. Examples include sucrose preference tasks in models of depression, or oral drug self-administration (ie. Morphine, opiates) in the context of addiction. Classically, two bottles are filled with liquids and volumes are manually recorded at a single time point. Here, we present a low-cost, two-sipper apparatus that mounts on the inside of a standard mouse cage. Interactions are detected using photointerrupters at the base of each sipper which are logged to an SD card using a standard Arduino. Sippers are constructed from 15 mL conical tubes which allows additional volumetric measurements, the rest of the holding apparatus is 3D printed, and the apparatus is constructed with parts from Arduino and Sparkfun. This automated approach allows for high temporal resolution collected over 24 hours, allowing measurements of patterns of intake in addition to volume measurements. Since we don’t need to manually weigh bottles we can do high-throughput studies, letting us run much larger cohorts.

This is designed such that each set of 2 sippers uses its own Arduino and SD card. With a bit of modification to the code one Arduino Uno can be programmed to log from 6 cages onto the same SD card. Arduino compatible boards with more GPIOs (like Arduino Mega) can log from up to 56 sippers on one Arduino.


March 1, 2018

From the Kravitz lab at the NIH comes a simple device for dispensing pre-measured quantities of food at regular intervals throughout the day.  Affectionately known as “SnackClock”, this device uses a 24-hour clock movement to rotate a dispenser wheel one revolution per day.  The wheel contains 12 compartments, which allows the device to dispense 12 pre-measured “snacks” at regular 2 hour intervals.  The Kravitz lab has used this device to dispense high-fat diet throughout the day, rather than giving mice one big piece once per day.  The device is very simple to build and use, requiring just two 3D printed parts and a ~$10 clock movement.  There is no microcontroller or coding required for this device, and it runs on one AA battery for >1 year.  The 3D files are supplied and can be edited to fit SnackClock in different brands of caging, or to adjust the number of snack compartments.  With additional effort the clock movement could be replaced by a stepper motor to allow for dispensing at irregular or less frequent intervals.


Article in Nature on monitoring behavior in rodents

An interesting summary of recent methods for monitoring behavior in rodents was published this week in Nature.The article mentions Lex Kravitz and his lab’s efforts on the Feeding Experimentation Device (FED) and also OpenBehavior. Check it out: