Skip to the content
4 layers7.9 × 9.3 mmExt IMU, the printed circuit board in 3D

A 1-gram wireless mesoscope for cortex-wide, single-cell-resolution imaging during unrestricted behaviour

Size
7.9 × 9.3 mm
Copper layers
4
Thickness
1 mm
Parts
15
Nets
22
Pads
92
Tracks, vias
146, 32
Pours
4
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
7 Sep 2025
Updated
6 Nov 2026

Overview

Ext IMU is an open-source printed circuit board by Neurallabware, from the Neurallabware/Airscope_toolbox repository on GitHub. It is a 4-layer board of 7.9 × 9.3 mm with 15 parts on 22 nets, routed with 146 tracks and 32 vias.

It is built around the CSNP32GCR01-AOW and QMC6310U. Its parts include 6 capacitors, 5 resistors, 3 ICs and 1 connector. It belongs with the sensors and measurement boards of this library.

Main components

2

README

README.md

Airscope

Airscope

A 1-gram wireless mesoscope for cortex-wide, single-cell-resolution imaging during unrestricted behaviour

Device Docs · Software Docs · Data Release


Airscope is an open hardware and software platform for wireless mesoscopic calcium imaging in freely behaving mice. The device achieves a 6 mm field of view at ~4 µm lateral resolution, streams or logs 1600 × 1200 px images at 10 Hz, and weighs approximately 1 g.

Airscope examples

This repository accompanies the manuscript:

Deciphering cortex-wide neural dynamics of naturally behaving mice by a 1-gram wireless mesoscope Zhang et al., Nature, 2025 (Manuscript in preparation)


Repository Structure

DirectoryDescription
Structure/SolidWorks assemblies and part files — housing, baseplate, optical mount, PCB carrier, flexible LED board
Zemax/Zemax optical design files for the aspheric module
Electronics/KiCad projects for the main PCB and auxiliary boards
Firmware/Embedded code for wireless control, camera acquisition, and device configuration
DAQ_software/Python host software and Windows installer for device discovery, preview, and recording
Software/Calcium-imaging processing, behavioural segmentation, and neural-decoding pipelines
Data_release/Example datasets, visualization notebooks, and download instructions

Key Capabilities

  • Cortex-wide cellular imaging — 6 mm FOV with single-cell spatial resolution across the dorsal cortex
  • Untethered operation — wireless data transfer and on-board logging for freely moving, multi-animal, and aquatic paradigms
  • Integrated acquisition stack — firmware + host software for discovery, preview, timestamping, and recording
  • Reproducible calcium processing — motion correction → background removal → neuron segmentation → trace extraction
  • Behavioural analysis — SAM2Mice for multi-animal tracking; Neuron-BERT for decoding social-interaction outcomes

Software Modules

Calcium-imaging processing · Software/Airscope_ca_processing

End-to-end pipeline from raw frames to segmented ROI traces. Accepts image sequences, TIFF stacks, and MP4 input; configured with Hydra for reproducible batch runs.

bash
cd Software/Airscope_ca_processing
conda create -n PICO python=3.10 && conda activate PICO
pip install -r requirements.txt && pip install -e .
bash
airscope-process \
  data_path=/path/to/session/frames \
  out_path=/path/to/session/analysis \
  rmbg.gpu_ids=0 rmbg.multi_gpu=false

Primary outputs: seg_results_filtered.mat, infer_results_filtered.mat, cm_filtered.mat


SAM2Mice · Software/SAM2Mice

SAM 2–based mouse segmentation and tracking. Supports manual prompts, YOLOv11 auto-prompts, and bootstrapped inference for videos that exceed GPU memory.

bash
cd Software/SAM2Mice
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu124
pip install -e ".[notebooks]" && python setup.py build_ext --inplace

Notebooks in Software/SAM2Mice/notebooks_SAM2-MICE cover basic segmentation, long-video bootstrapping, automatic tracking, and public-dataset examples.


Neuron-BERT · Software/Neuron_BERT

Transformer-based decoder for predicting social-interaction outcomes from dual-animal neural activity recordings.


Host acquisition software · DAQ_software/

Dependency-free Python backend — runs without any additional packages:

bash
cd DAQ_software/airscope_pybackend
python server.py
# UI available at http://127.0.0.1:8765/

A packaged Windows installer is also provided at DAQ_software/airscope.msi.


Data Release

Example datasets are hosted on Google Drive and documented in Data_release/README.md. The Google Drive root README is maintained at Data_release/README_google_drive.md and can be uploaded to Drive as README_google_drive.md.

DatasetContents
Enriched habitatCalcium traces, multi-view behaviour videos, detection boxes, arena annotations, cortical labels, neuron centroids
Multi-animal interactionCalcium traces, SAM2 instance masks, mouse trajectories, cortical labels, neuron centres
MCU timestampFrame-rate validation files; use calculate_frame_rate.ipynb to verify
Optical characterisationUSAF 1951 target images and fluorescent grid slides

Each dataset directory includes a README.md and a visualize_data.ipynb notebook.


Requirements

ComponentEnvironment
Host acquisition softwarePython ≥ 3.9, standard library only
Calcium processingLinux, Python 3.10, CUDA-enabled PyTorch recommended
SAM2MicePython 3.11, PyTorch 2.6.0, CUDA 12.4
Neuron-BERTPython 3.x, PyTorch, NumPy, scikit-learn, pandas, matplotlib

See the component-level README.md files for exact commands and configuration.


Licensing

Airscope is distributed as a multi-licence repository:

MaterialLicence
Hardware design (Structure/, Electronics/, Zemax/)CERN-OHL-S-2.0
Software (DAQ_software/, Firmware/, Software/)GPL-3.0-only
Documentation, figures, notebooks, released dataCC-BY-4.0

See LICENSE, LICENSES/, and NOTICE.md for the authoritative licence map and third-party notices.


Citation

bibtex
@article{airscope2025,
  title   = {Deciphering cortex-wide neural dynamics of naturally
             behaving mice by a 1-gram wireless mesoscope},
  author  = {Zhang, Yuanlong and Li, Angran and Yuan, Lekang and
             Wang, Mingrui and Zhao, Weihao and Wang, Zhenbo and
             Zang, Boyang and Zhou, Yangxuan and Yu, Tao and Gao, Lin
             and Wu, Yu and Zhu, Rongkang and Tian, Mengyi and Li, Kun
             and Wu, Jiamin and Dai, Pu and Dai, Qionghai},
  journal = {Nature},
  year    = {2025},
  note    = {Manuscript in preparation}
}

Documentation

Contact

Questions, bug reports, and suggestions can be submitted via the issue tracker or sent to the corresponding authors listed in the manuscript.

Parts

15
QtyValueFootprintReferences
54.7kResistor_SMD:R_0201_MetricR1, R2, R3, R5, R6
2100nCapacitor_SMD:C_0201_MetricC4, C5
22.2uCapacitor_SMD:C_0201_MetricC2, C6
11uCapacitor_SMD:C_0402_MetricC3
14.7uCapacitor_SMD:C_0201_MetricC1
1CSNP32GCR01-AOWPico:SD_NAND_32U3
1DF40HC3.5-20DS-0.4V51Pico:CONN20_DF40HC_HIRJ1
1LSM6DSLTRSnapeda:LSM6DSLTR_PQFN50P300X250X86-14NU2
1QMC6310Pico:QMC6310U1

More from Neurallabware/Airscope_toolbox

6
  • 6 layers12.8 × 11.4 mmMain PCB, the printed circuit board in 3D

    Main PCB

    Neurallabware/Airscope_toolbox

    A 1-gram wireless mesoscope for cortex-wide, single-cell-resolution imaging during unrestricted behaviour

    31 parts10
  • 2 layers23.4 × 17 mmPower FPC, the printed circuit board in 3D

    Power FPC

    Neurallabware/Airscope_toolbox

    A 1-gram wireless mesoscope for cortex-wide, single-cell-resolution imaging during unrestricted behaviour

    11 parts10
  • 2 layers9.4 × 8.8 mmBurning, the printed circuit board in 3D

    Burning

    Neurallabware/Airscope_toolbox

    A 1-gram wireless mesoscope for cortex-wide, single-cell-resolution imaging during unrestricted behaviour

    8 parts10
  • 2 layers6.5 × 9 mmExt basic, the printed circuit board in 3D

    Ext basic

    Neurallabware/Airscope_toolbox

    A 1-gram wireless mesoscope for cortex-wide, single-cell-resolution imaging during unrestricted behaviour

    7 parts10
  • 2 layers27 × 7.6 mmLED FPC, the printed circuit board in 3D

    LED FPC

    Neurallabware/Airscope_toolbox

    A 1-gram wireless mesoscope for cortex-wide, single-cell-resolution imaging during unrestricted behaviour

    7 parts10
  • 2 layers10.8 × 22 mmSD reader, the printed circuit board in 3D

    SD reader

    Neurallabware/Airscope_toolbox

    A 1-gram wireless mesoscope for cortex-wide, single-cell-resolution imaging during unrestricted behaviour

    2 parts10

Similar boards

  • 4 layers169 × 50 mmOld, the printed circuit board in 3D

    Old

    RoboticsBrno/RB3203-BlackBox

    258 parts
  • 4 layers29 × 50.3 mmLg hvac esp32, the printed circuit board in 3D

    Lg hvac esp32

    JanM321/esphome-lg-controller

    Wired controller for LG HVAC units using ESPHome and ESP32

    15 parts2920BSD
  • 4 layers33.5 × 49 mmProbecard mmcx, the printed circuit board in 3D

    Probecard mmcx

    azonenberg/starshipraider

    Open hardware test equipment

    15 parts193BSD-3-Clause
  • 4 layers28.3 × 54 mmPCB2, the printed circuit board in 3D

    PCB2

    lukasloetkolben/OpenpilotHardware

    Welcome to the Openpilot Hardware Collection!

    15 parts95MIT
  • 4 layers59 × 32 mmCp pi if fit shield, the printed circuit board in 3D

    Cp pi if fit shield

    niklasekstrom/clockport_pi_interface

    Amiga clock port to Raspberry Pi interface

    15 parts61GPL-3.0
  • 4 layers19.5 × 10.5 mmUniversalStepDown, the printed circuit board in 3D

    UniversalStepDown

    RoboticsBrno/RB0005-UniversalStepDown

    Universal step-down module

    15 parts26CC-BY-SA-4.0
  • 4 layers58.4 × 67.3 mmPico de gallo, the printed circuit board in 3D

    Pico de gallo

    OpenDevicePartnership/pico-de-gallo

    A tool for testing Embedded Rust drivers for discrete I2C/SPI components.

    15 parts21MIT

Questions

How big is the Ext IMU PCB?

It measures 7.9 × 9.3 mm and has 4 copper layers, 1 mm thick.

What parts does the Ext IMU use?

15 parts, built around the CSNP32GCR01-AOW and QMC6310U. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Ext IMU KiCad files?

From the Neurallabware/Airscope_toolbox repository on GitHub, at the commit this page was made from: the board is Electronics/Extension PCB/Ext_IMU/Ext_IMU.kicad_pcb and its schematic Electronics/Auxiliary/Burning/Burning.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ext IMU design in my own project?

Its repository states no licence, so its author keeps all rights: ask Neurallabware before reusing the design.