PT - JOURNAL ARTICLE AU - Krynitsky, Jonathan AU - Legaria, Alex A. AU - Pai, Julia J. AU - Garmendia-Cedillos, Marcial AU - Salem, Ghadi AU - Pohida, Tom AU - Kravitz, Alexxai V. TI - Rodent Arena Tracker (RAT): A Machine Vision Rodent Tracking Camera and Closed Loop Control System AID - 10.1523/ENEURO.0485-19.2020 DP - 2020 May 01 TA - eneuro PG - ENEURO.0485-19.2020 VI - 7 IP - 3 4099 - http://www.eneuro.org/content/7/3/ENEURO.0485-19.2020.short 4100 - http://www.eneuro.org/content/7/3/ENEURO.0485-19.2020.full SO - eNeuro2020 May 01; 7 AB - Video tracking is an essential tool in rodent research. Here, we demonstrate a machine vision rodent tracking camera based on a low-cost, open-source, machine vision camera, the OpenMV Cam M7. We call our device the rodent arena tracker (RAT), and it is a pocket-sized machine vision-based position tracker. The RAT does not require a tethered computer to operate and costs about $120 per device to build. These features make the RAT scalable to large installations and accessible to research institutions and educational settings where budgets may be limited. The RAT processes incoming video in real-time at 15 Hz and saves x and y positional information to an onboard microSD card. The RAT also provides a programmable multi-function input/output pin that can be used for controlling other equipment, transmitting tracking information in real time, or receiving data from other devices. Finally, the RAT includes a real-time clock (RTC) for accurate time stamping of data files. Real-time image processing averts the need to save video, greatly reducing storage, data handling, and communication requirements. To demonstrate the capabilities of the RAT, we performed three validation studies: (1) a 4-d experiment measuring circadian activity patterns; (2) logging of mouse positional information alongside status information from a pellet dispensing device; and (3) control of an optogenetic stimulation system for a real-time place preference (RTPP) brain stimulation reinforcement study. Our design files, build instructions, and code for the RAT implementation are open source and freely available online to facilitate dissemination and further development of the RAT.