Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.0%) to scientific vocabulary
Keywords
Repository
virtual reality environment for mice
Basic Info
Statistics
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
HallPassVR
Virtual reality system for head-fixed mouse experiments.
See published paper on JOVE.
We developed an inexpensive, single board computer-based, easy-to-use setup for investigation of mouse spatial learning behavior using a visual virtual reality (VR) environment. This system uses a network of microcontrollers (ESP32) and a Raspberry Pi single-board computer to display a virtual linear track to a headfixed mouse running on a wheel. Along with a custom software package written in Python and C++ to generate parameterized virtual environments, this methodology allows researchers the design of various spatial navigation-based experiments to study neural circuits in the brain underlying spatial behaviors. Example video here:

Main hardware requirements:
- ESP32 microcontrollers to track and convert mouse movement on a treadmill or wheel to serial data and to control other harware elements (lick spout for reward delivery).
- Raspberry Pi 4 for building and simulating the virtual reality environment.
- Projector for visualizing the virtual corridor.
- PCB shields through OpenMaze
Software requirements:
- The virtual corridor was designed with Python.
- Native, Linux-based OS for Raspberry Pi.
- tkinter was used for designing the graphical user interface.
- Arduino IDE for programing the microcontrollers.
- Processing for data collection and plotting.
- The analysis of behavior files currently requires Matlab.
What we have done:
- We built the main part of the system which can simultaneously run and show the virtual reality environment on a computer display and a projector.
- We have built a prototype GUI which can be used to build virtual corridors from virtually any kind of jpeg images.
- We tested the system with several testbenches.
Work in progress:
- Finalizing the code by adding documentation and examples.
Future plans:
- Optimization of the system by e.g., adding an RFID sensor to increase wheel tracking accuracy.
- Adding other features to the VR software like naturalistic scenes, looming stimulus or cliff-like effects.
- Implementing the analysis scripts in Python.
- Increasing the flexibility of the existing protocols.
Implementing a wireless (e.g., bluetooth) system using this platform.
Quickstart:
Initializing VR environment:
Open a terminal window in Raspberry Pi and navigate to the
HallPassVRfolderbash cd /home/pi/Documents/HallPassVRStarting the VR GUI:
bash python3 HallPassVR_GUI.pySetting up the floors and corridors in the GUI
Setting up
Processingsketch to acquire and plot behavior.Preliminary analysis of the acquired data can be done in Matlab with the scripts in
/Analysis codefolder.
GUI:

Example virtual corridor:

For feature requests, support or questions, please open a ticket on GitHub.
Owner
- Name: Gergo
- Login: GergelyTuri
- Kind: user
- Location: New York
- Company: @New York State Psychiatric institute
- Website: https://gergelyturi.github.io/
- Twitter: gergelyturi1
- Repositories: 45
- Profile: https://github.com/GergelyTuri
neuroscientist
Citation (CITATION.cff)
cff-version: 1.2.0
title: >-
HallPassVR - An Open-Source System for Measurement
of Spatial Learning in Head-restrained Mice
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Gergely
family-names: Turi
email: gt2253@cumc.columbia.edu
affiliation: New York State Psychiatric Institute
orcid: 'https://orcid.org/0000-0001-5651-9459'
- given-names: Clay
family-names: Lacefield
email: col8@cumc.columbia.edu
affiliation: New York State Psychiatric Institute
orcid: 'https://orcid.org/0000-0001-5721-434X'
# TODO add article when it's published. See: https://citation-file-format.github.io/cff-initializer-javascript/#/
GitHub Events
Total
- Watch event: 2
Last Year
- Watch event: 2