Abstract
Voluntary wheel-running activity is a way to assess rodents’ circadian rhythm and motivation for exercise. Deficits in these behaviors are implicated in the pathophysiology of sleep and psychiatric disorders. Limited space in animal facilities can hamper long-term monitoring of running wheel activity outside of the home cage. To address this issue, we provide a stand-alone solution to monitor the wheel-running activity of mice in their home cage. This system, named the wheel-running activity acquisition (WRAQ) system, is based on a microcontroller driven by a lithium polymer battery. With the WRAQ, we can record the wheel-running activity and illumination data for at least 30 d. Applying the WRAQ to an endotoxemia mouse model robustly detected the altered wheel-running activity and its recovery. With wireless data transfer capability extension, the system also allows for online monitoring and reporting of the circadian time (CT). We used the online monitoring of wheel-running activity with this extended WRAQ system and observed a significant shift of the active period in the circadian rhythm following a temporal chemogenetic activation of the suprachiasmatic nucleus (SCN)-subparaventricular zone (SPZ). Together, these findings indicate that the WRAQ system is a novel and cost-effective solution for the analysis of wheel-running activity in mice.
Significance Statement
Wheel-running activity is commonly used to assess voluntary activity along with the circadian rhythm in rodents. Long-term recording of the activity within additional animal facility space and associated costs could hamper its use depending on the scale of the study. Here, we provide a cost-effective and stand-alone solution to measure wheel-running activity in the home cage following manipulation of the central nervous system. We used a microcontroller for an Internet of things solution to monitor behavioral and environmental data online. This novel approach may ultimately contribute to the real-time analysis of rodent behaviors during temporal genetic and pharmacological interventions.
Introduction
Behavioral activity in the home cage is a basic phenotype analyzed in neuroscience animal studies. In particular, voluntary wheel-running activity changes are often associated with diseases in animal models (Siepka and Takahashi, 2005). For example, previous studies identified genes modulating the circadian rhythm of wheel-running activity by analyzing the activity of mutants (Takahashi, 2017). Despite requiring additional energy, access to a running wheel increases voluntary activity in most rodents, which might benefit phenotypic analyses by amplifying the differences in activity between control and mutant groups. This is especially the case when examining the circadian rhythm of wheel-running activity since voluntary activity is generally restricted to the active period of the circadian rhythm in rodents (Novak et al., 2012).
Equipment to measure wheel-running activity in mice is available commercially and mainly consists of a running wheel and a data acquisition system, which are placed inside and outside of the cage, respectively. Considering the high-density rack systems with smaller cages that house mice under specific pathogen-free conditions, equipment providing stand-alone operation and remote reporting of the acquired data online would be desirable for wheel-running activity analysis in mice. Streaming behavioral and environmental signals online would allow researchers to analyze the data in real time and manipulate the ongoing neural activity at specific circadian times (CTs) using genetic and pharmacological interventions.
We developed an open-source hardware system named wheel-running activity acquisition (WRAQ) based on a microcontroller recording mice’s voluntary wheel-running activity in their home cage. This system combines a low-profile running wheel with a reed switch and photoresistor for data acquisition, operating with a lithium polymer battery for at least 30 d and storing data on a microSD card for offline analysis. We validated the WRAQ system with a behavioral study by performing quantitative analysis of mice under different schedules of light entrainment and with systemic inflammation as a disease model. We further extended WRAQ to enable online monitoring of wheel-running activity using wireless recording capability. This capability allowed chemogenetic activation of specific neuronal pathways in a temporally specific manner.
Materials and Methods
Animals
All procedures involving animals were performed per the ARRIVE guidelines (https://arriveguidelines.org/arrive-guidelines) and were approved by the institutional experimental animal committee (A18-42-2 and A16-46-2). C57BL/6J mice (seven to eight weeks old, male; CLEA) were housed individually in plastic cages (CL-0104-2, width 225 × depth 338 × height 140 mm, CLEA) with free access to food and water, a 12/12 h light/dark cycle (LD), constant darkness (DD), or constant light illumination (LL; 120 lux), and regulated temperature and humidity in the range of 18–25°C and 30–60%, respectively. For the experiments conducted under DD or LL conditions, mice were housed individually three weeks before recording.
Design of WRAQ and its extension with wireless data transfer capability (WRAQ-WiFi)
WRAQ was built based on a low-profile running wheel (flying saucer exercise wheel for small pets 5 inches, Ware Manufacturing Inc., width 5 inches × depth 5 inches × height 3.5 inches; Fig. 1A, left). A microcontroller managed data acquisition with a microSD card writer, Adafruit Feather M0 Adalogger, connected to a binary counter. The revolution of a small round magnet glued to the bottom of the wheel was detected by a reed switch attached to the main body of WRAQ (Fig. 1B). Upon sweeping the reed switch by the magnet, the number of revolutions was counted by the binary counter. Adalogger was in deep sleep mode to save power for long-term recording and woke up every 4 s to check the counter and voltage across the cadmium sulfide photoresistor (MI527, Macron International Group Ltd.) for illumination data. We stored the resultant data on a microSD card with the timestamps of the onboard real-time clock (Fig. 1A, middle). WRAQ was powered by either a lithium polymer battery (2000 mAh, Shenzhen Data Power Technology Ltd.) or a lithium AA battery (3.6V, Guangzhou Markyn Battery Co, Ltd.; Fig. 1C). The reed switch signal was connected to the binary counter through an RC lowpass filter to suppress chattering (Fig. 2A).
We extended WRAQ to WRAQ-WiFi, which enables online monitoring of ongoing wheel-running activity (Fig. 1D). The capability to upload data to the online data storage was implemented by WiFi connectivity using a built-in FireBeetle ESP32 IoT microcontroller (DFR0478, DFRobot), which replaced the Adalogger. In addition, we attached a real-time clock breakout board (catalog #3013, Adafruit Industries or zs-042, HiLetgo) based on the real-time clock DS3231 (Maxim Integrated), allowing ESP32 to access time stamps via an I2C protocol. We acquired the number of revolutions and the illumination data as in WRAQ. ESP32 was set to wake up from deep sleep mode and upload the data to the Ambient IoT data visualization cloud service (AmbientData Inc., https://ambidata.io/), enabling users to monitor the ongoing and collected data online (Fig. 1A, middle).
We inserted all the parts, except the magnet and reed switch, into the main body of the flying saucer, covered it with a 3D-printed plastic part, and sealed it with a peelable silicon adhesive (1690, Amon Industry Co, Ltd.).
Analysis of the wheel-running activity data
ActogramJ software (https://bene51.github.io/ActogramJ/; Schmid et al., 2011), which is based on ImageJ (http://imagej.nih.gov/ij/; Schneider et al., 2012), was used for offline analysis of the wheel-running activity data retrieved from the microSD card (WRAQ) or downloaded from the cloud service (WRAQ-WiFi; Fig. 1A, right). The raw data were converted into the file readable by ActogramJ, in which the data were supposed to start at zeitgeber time (ZT)12, by custom-made python program (main_wraq2actj.py provided as Extended Data). The actogram and periodogram using Lomb–Scargle methods were calculated as described previously (Schmid et al., 2011).
Treatment with lipopolysaccharide (LPS)
Three weeks after habituation under DD, mice were administered a single intraperitoneal injection of saline or LPS derived from Escherichia coli (O55:B5, L2880, Sigma-Aldrich) at a dose of 2.5 mg/kg. Their wheel-running activity was continuously recorded with the WRAQ system placed in their home cage across the LPS injection.
Chemogenetic activation of the suprachiasmatic nucleus (SCN)-subparaventricular zone (SPZ)
We anesthetized mice with a mixture of ketamine (90 mg/kg) and xylazine (10 mg/kg) and immobilized it in a stereotaxic frame (SR6N, Narishige). Following a midline incision of the skin covering the skull, we made a burrhole to open a cranial window at 0.48 mm posterior and 0.15 mm lateral to the bregma over the SCN-SPZ (Franklin and Paxinos, 2008). A fine glass capillary was used to inject 0.05 μl of AAV8-hSyn-hM3D(Gq)-mCherry (2.5 × 10e12 gc/ml, catalog #50474, Addgene; RRID:Addgene_50474) or AAV8-CAG-GFP (2 × 10e12 vm/ml, UNC GTC Vector Core, University of North Carolina, Chapel Hill, NC) with a speed of 0.1 μl/min targeting the bilateral SCN-SPZ (5.8 and 5.7 mm deep from the pia mater). After closing the skin covering the cranial window by suture, the mouse was allowed to recover in its home cage for at least 7 d. Then, we administered a solution of clozapine N-oxide (CNO; 1 mg/kg, BML-NS105-0005, Enzo Life Sciences) by intraperitoneal injection to activate cells expressing hM3D.
Data analysis
We converted illumination data recorded from the WRAQ and WRAQ-WiFi systems into a z score using each mean and standard deviation. The wheel revolutions were represented using 4-s (WRAQ) or 64-s (WRAQ-WiFi) bins. We discarded part of the raw data so it would start at ZT12 and then imported into ActogramJ to calculate a periodogram using the Lomb–Scargle method. Presumptive distance traveled was calculated by multiplying the number of wheel revolutions recorded by WRAQ or WRAQ-WiFi with the perimeter of the presumptive trace on the running wheel (25.12 cm). For analysis using periodogram, we excluded data with wheel-running activity under 20,000 revolutions per day.
Immunohistochemistry
Two hours after intraperitoneal injection of CNO, mice with AAV8-hSyn-hM3D(Gq)-mCherry or AAV8-CAG-GFP were perfused transcardially using 4% paraformaldehyde (PFA) in 0.1 m PBS. After that, we dissected the brain and postfixed it in the same fixative overnight at 4°C. Then, 75-μm-thick coronal sections were cut using a vibratome (DTK-1500, Dosaka EM Co, Ltd.) from 0.1 to 0.9 mm posterior to the bregma (Franklin and Paxinos, 2008). Sections were washed with 0.5% PBS Triton X-100 and incubated in primary antibody against c-Fos (1:500, sc-271243, Santa Cruz Biotechnology) dissolved in 1% blocking reagent in 0.5% PBS Triton X-100 overnight at 4°C. Signal was visualized by a secondary antibody Alexa Fluor 488-conjugated donkey anti-mouse IgG (1:500, ab150105, Abcam plc.) or Alexa Fluor 594 AffiniPure donkey anti-mouse IgG (1:500, 715-585-150, Jackson ImmunoResearch) diluted in 0.5% PBS Triton X-100 overnight at 4°C. All sections were counterstained with 4′,6-diamidino-2-phenylindole (DAPI; 1 μg/ml, 422801, BioLegend), mounted with CC/Mount (Diagnostic BioSystems Inc.) and examined under a fluorescent microscope (MVX10, Olympus Corporation) or a laser scanning confocal microscope (FV1000, Olympus Corporation).
Statistical analysis
Statistical analyses were performed using jamovi (version 1.1.9, https://www.jamovi.org). Comparisons between more than two groups were analyzed by one-way or repeated measure two-way ANOVA followed by Tukey’s HSD test for multiple comparisons. Pearson’s correlation analysis determined the correlation between the body weight and presumptive travel distance on the running wheel. Statistical significance was defined as a value of p < 0.05. Data are presented as mean ± SEM.
Software accessibility
All the files for python program, bill of materials, microcontroller firmware, 3D-printed part, and printed circuit boards used in this study are available as Extended Data 1 and online (https://github.com/neurobio-hiroshima/WRAQ).
Extended Data 1
Files used in the study. Download Extended Data 1, ZIP file.
Results
Simultaneous recording of the wheel-running activity and illumination using WRAQ
Mice in their home cage rotated the low-profile wheel of WRAQ already on the day of installation. The wheel revolutions gradually increased and plateaued around 7 d (Fig. 2B, n = 9 mice). We determined whether WRAQ could simultaneously detect wheel-running activity and illumination intensity changes in the home cage per the scheduled illumination for LD cycles. Resistance changes in photoresistors resulted in a persistent decrease and increased voltage detected by WRAQ during the light and dark periods, respectively (Fig. 2C, top). Consistent with the nocturnal behavior of mice, wheel-running activity exhibited an abrupt increase and decreased following the onset and end of the dark period, respectively (Fig. 2C, bottom). Considering that WRAQ sampled data every 4 s, these results indicate that WRAQ detected wheel-running activity of mice and the illumination intensity in their home cage with temporal precision.
Long-term recording of the circadian rhythm in wheel-running activity under LD entrainment
Next, we applied WRAQ to analyze the circadian rhythm of wheel-running activity in mice. Under a 12:12 h LD cycle, the number of wheel revolutions followed a diurnal rhythm with exclusive activity during the dark period (Fig. 3A). The active period started following the onset of the dark period. After a significant reduction of activity in the second half of the dark period, mice exhibited a shorter bout of wheel-running activity, which resulted in bimodal peaks of wheel-running activity, with distinct early and late-night activity bouts as reported previously (Pittendrigh and Daan, 1976).
Under altered schedules in light entrainment, particularly DD, WRAQ recorded the free-running in circadian rhythm with a shortening of the period. The resultant actogram exhibited a gradual advance of the onset of an active period on ZT (Fig. 3B). By contrast, LL led to variable changes in circadian rhythm, ranging from free-running with an elongated period (Fig. 3C) to an arrhythmic pattern (Fig. 3D). The LL condition also resulted in a significant reduction of the presumptive distance traveled compared with mice under LD or DD conditions (one-way ANOVA, F(2,15.5) = 15.9, Tukey’s HSD test, p < 0.001, n = 9 mice for each group; Fig. 3E).
To measure the circadian rhythm in wheel-running activity, we subsequently calculated a periodogram using the ImageJ-based analysis software ActogramJ (Schmid et al., 2011). As an output of WRAQ, a comma-separated value file was imported into ActogramJ and analyzed using Lomb–Scargle methods. The results showed that the peak of the periodogram under LD was ∼24 h (mean peak value ± SEM, 24.0 ± 0.0844 h). DD tended to shorten the period (23.8 ± 0.0533 h), while LL elongated the period significantly (25.9 ± 0.2614 h, one-way ANOVA, F(2,7.52) = 28.3, p < 0.001, Tukey’s HSD post hoc test, p < 0.001 for both LL vs DD and LL vs LD) with free-running along the circadian rhythm (Fig. 3F).
These results indicate that WRAQ is a useful tool for quantifying wheel-running activity behavioral determinants and can be integrated into an open-source analysis.
Alteration and recovery of the wheel-running activity in a murine endotoxemia model
Systemic administration of LPS has been used as a model of endotoxemia, which induces systemic inflammation (Beutler, 2000). As a previous study showed a significant reduction of mice locomotor activity in an open field arena 24 h after systemic LPS injection (Giga et al., 2021), we applied WRAQ to determine mouse behavior before and after LPS to evaluate its applicability to murine disease models. As compared with the behavior before LPS injection, intraperitoneal administration of 2.5 mg/kg LPS significantly reduced voluntary wheel-running activity (repeated-measures ANOVA, group × time interaction, p < 0.001, F(17,153) = 8.95; Tukey’s post hoc test, p < 0.001 for vehicle vs LPS at days 4 and 5, n = 5 and 7 for vehicle and LPS groups, respectively; Fig. 4A). This change was accompanied by a transient reduction of body weight (repeated-measures ANOVA, group × time interaction, p < 0.001, F(17,119) = 9.04; Tukey’s post hoc test, p < 0.001 for vehicle vs LPS at days 5 and 6; Fig. 4B). Indeed, analysis revealed that the body weight change was positively correlated with wheel-running activity (Pearson’s correlation coefficient = 0.745, p < 0.001; Fig. 4C), indicating that WRAQ detected a behavioral measure during endotoxemia inducing body weight loss. Intriguingly, long-term recording by WRAQ also unraveled a gradual recovery of wheel-running activity (Fig. 4A, black), further supporting the applicability of WRAQ to mouse models of diseases requiring longitudinal observation of long-lasting behaviors in the home cage.
Chemogenetic activation of the SCN-SPZ shifts the onset of the active period under DD
Based on our success in acquiring longitudinal data of wheel-running activity, we extended our system capability to enable online monitoring via data uploading to a cloud server. Implementation of this version of WRAQ as IoT (WRAQ-WiFi) integrates ESP32 microcontroller with WiFi capability (Fig. 5). The uploaded data remained available while WRAQ-WiFi was under-recording (Fig. 5).
During free-running along the circadian rhythm of mice under DD, we applied WRAQ-WiFi to manipulate neuronal activity at a specific CT. Studies showed that SCN-SPZ acted as a master clock and a region relaying the circadian information from the SCN to other brain regions, respectively (Ibuka and Kawamura, 1975; Lu et al., 2001). We measured the wheel-running activity of a mouse targeted by AAV-hSyn-hM3D-mCherry to upregulate neuronal activity in the SCN-SPZ on systemic administration of CNO (Fig. 6A,C, n = 5 mice). We observed a significant increase of c-Fos-positive cells in the SCN-SPZ following intraperitoneal injection of CNO (Fig. 6C). Before CNO injection, the mouse exhibited free-running activity under DD (Fig. 6A). Under the guidance of WRAQ-WiFi, injection of CNO at CT14 (Fig. 6A, red asterisks) induced a significant shift in the onset of the active period lasting at least 7 d (Fig. 6A). In contrast, intraperitoneal injection of CNO to the mice expressing GFP in the SCN-SPZ did not induce any of these effects on the onset of active period (Fig. 6B) and c-Fos in SCN-SPZ (Fig. 6D) significantly (n = 5 mice).
These data reveal that online monitoring with the WRAQ-WiFi system enables studies requiring a temporally specific genetic or pharmacological intervention.
Discussion
The present study demonstrated precise data acquisition of wheel-running activity along the circadian rhythm in mice within their home cage using the WRAQ system enabled by open-source hardware. The recorded data could be visualized offline and online when uploaded to the data visualization server in WRAQ-WiFi. Continuous monitoring of the wheel-running activity and circadian rhythm revealed altered activity and rhythms in mice exposed to systemic inflammation or a chemogenetic manipulation of a specific neuronal circuit. These results indicated that WRAQ is a novel tool that allows to explore the mechanisms underlying behaviors in murine disease models. We discuss below the utility of WRAQ and its limitation.
Comparison with currently available technologies
A general configuration of systems recording wheel-running activity in rodents consists of microswitch and data acquisition board or interface with PC. Although communication between the running wheel with the switch and data acquisition parts can be wired or wireless, the presence of a data acquisition board or interface with PC can hamper their use in vivariums with limited space or high biosafety levels (Balcombe, 2006). WRAQ and WRAQ-WiFi store data on a built-in SD card or cloud server and work as a stand-alone device without requiring additional appendages, which allows their use in a wide variety of conditions generally encountered in mouse housing facilities. Because of its open-source nature, WRAQ-WiFi also has wide applicability for combination with other open-source IoT platforms such as ThingsBoard.
The size of the WRAQ system (width 5 inches × depth 5 inches × height 3.5 inches) is smaller than representative low-profile running wheels (ENV-047, Med Associate Inc.; width 6.1 inches × depth 6 inches × height 4 inches) used widely in neuroscience studies with mouse models. Since the latter low-profile mouse running wheel was used successfully in standard “shoebox” style individually ventilated cages (e.g., model 9, Thoren Caging Systems with width 7.70 inches × depth 12.17 inches × height 5.875 inches; Goh and Ladiges, 2015; Beeler and Burghardt, 2021), it is reasonable to think that our WRAQ fits a wide variety of cage systems.
Similar to other commercially available systems such as ClockLab (Actometrics, Co Ltd.), WRAQ/WRAQ-WiFi, built on open-source platform, is compatible with the recording of additional behaviors (e.g., general home cage activity, food and water consumption) and environmental data (e.g., temperature and humidity) for online monitoring using appropriate sensors.
Limitation and future work
Unlike data acquisition with high temporal resolution using commercially available systems, WRAQ and WRAQ-WiFi with 4- and 8-bit counters collect data on a binary counter every 4 and 60 s, respectively, to save battery for long-term recording. The resulting temporal resolution in WRAQ is much lower than in other commercially available systems (e.g., ClockLab from Actometrics Co Ltd.). However, those intervals in WRAQ were set not to exceed the limit of binary counter based on a previous study showing that mice primarily run up to 105 cm/s (Lemieux et al., 2016). However, it is unlikely that 4- and 60-s intervals are too short for long-term analysis over 24 h.
In comparison with the wheel running activity recording system available commercially, in which the data analysis could be done on the same platform using single software (e.g., ClockLab), data analysis in WRAQ system has an additional step to convert the raw data using pipeline python program to match the data format between data acquisition system (Adalogger and Ambient IoT server for WRAQ and WRAQ-WiFi, respectively) and analysis software (ActogramJ). This issue would be resolved by modifying the ActogramJ, which is also open-source software, to enable it to import raw data from WRAQ directly without conversion in the future.
Home cage activity can be measured using the general activity detected by motion sensors (Matikainen-Ankney et al., 2019). Since the running wheel significantly increases the home cage activity, WRAQ/WRAQ-WiFi is likely to affect the home cage activity per se. It would be interesting in the future to measure the general home cage activity detected by motion or capacitive sensors with or without functional WRAQ to address the influence of running wheel access on the home cage general activity.
Acknowledgments
Acknowledgements: We thank Saori Okamura, Fumie Nishimura, and the Natural Science Center for Basic Research and Development of Hiroshima University for the technical assistance and Enago for the English language review.
Footnotes
The authors declare no competing financial interests.
This work was supported by the Ministry of Education, Culture, Sports, Science and Technology (MEXT) KAKENHI Grants JP19H05723, 21H02581, and 21H00203 and a Grant-in-Aid for “Integrated Research on Depression, Dementia and Development Disorders” (JP18dm0107093h0003) carried out under the Strategic Research Program for Brain Sciences by Japan Agency for Medical Research and Development (AMED). M.Z. is a recipient of Otsuka Toshimi scholarship.
This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International license, which permits unrestricted use, distribution and reproduction in any medium provided that the original work is properly attributed.