olvvier

reading the undocumented mems accelerometer + gyroscope on apple silicon macbooks via iokit hid

896
43
100% credibility
Found Feb 20, 2026 at 136 stars 7x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

Python scripts to read and display real-time 3-axis accelerometer data from a hidden sensor in Apple Silicon MacBooks, including vibration detection and experimental heartbeat monitoring.

How It Works

1
📖 Discover the secret motion sensor

You read an exciting article about a hidden sensor in your Apple Silicon MacBook that detects shakes and movements.

2
💾 Download the viewer tool

You grab the simple program files to start exploring your laptop's hidden movements.

3
🧩 Add the easy helper

You install one quick add-on so the tool can show fancy graphs and patterns.

4
🚀 Start the motion viewer

With special permission, you launch it and see your MacBook come alive with real-time data.

5
📊 Watch vibrations unfold

A colorful screen fills with graphs of shakes, trends, and detected events as you tap or move the laptop.

6
❤️ Feel your heartbeat

Rest your wrists near the trackpad and watch it pick up the tiny rhythms from your pulse.

💾 Save your discoveries

Everything works smoothly, and you save logs of all the fun motions and patterns you captured.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 136 to 896 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is apple-silicon-accelerometer?

This Python project unlocks the undocumented MEMS accelerometer hidden in Apple Silicon MacBooks (M1/M2/M3/M4), reading raw 3-axis acceleration data at up to 800Hz via IOKit HID. It solves the problem of no public API for this sensor processing unit hardware, delivering real-time g-force values you can pipe into apps or analysis. Run `sudo python3 motion_live.py` for a live terminal dashboard showing waveforms, vibration events, spectrograms, and even experimental heartbeat detection via ballistocardiography.

Why is it gaining traction?

Unlike standard sensor libs stuck to public APIs, it taps straight into Apple's private HID path for high-rate, low-latency motion data – perfect for speed reading github repos on vibrations or custom reading-glasses github experiments. The hook is the fun, real-time terminal UI with sparkline viz, event logging to JSON, and wild demos like wrist-based BCG heart rate, drawing Mac devs curious about silicon internals. It's a quick win for undocumented reading via Python, standing out in niches like rsvp reading github or palm reading github hacks.

Who should use this?

Apple hardware hackers building motion-triggered apps on MacBooks, IoT tinkerers needing precise accelerometer input without extra gear, or bio-sensing researchers prototyping non-contact BCG for heart rate. Ideal for Python scripters on M3 Pro who want shared-memory sensor feeds for multiprocessing pipelines, like github reading ai vibration analysis or bionic reading github kindle prototypes.

Verdict

Grab it for proof-of-concept fun if you're on tested Apple Silicon MacBooks – the MIT-licensed core delivers reusable real-time data despite needing sudo. With just 19 stars and 1.0% credibility score, treat it as experimental (may break on macOS updates); solid README and Medium guide help, but add your own tests for production.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.