Raspberry Pi I2C Sensor Development / 树莓派 I2C 传感器开发

Community

Get Raspberry Pi I2C sensors working fast, no guesswork.

Authorntsmzt2009
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill eliminates the common, time-consuming headaches of Raspberry Pi I2C sensor development, including incorrect GPIO wiring, unreliable software I2C bit-banging, BMI270 configuration loading failures, and undetected I2C devices that stall embedded projects.

Core Features & Use Cases

  • Verified hardware guidance: Includes multi-source checked GPIO pinout tables, electrical safety rules, and clear standard vs software I2C selection criteria to avoid hardware damage and pin conflicts.
  • Production-ready sensor drivers: Provides tested, optimized driver implementations for the BMI270 6-axis IMU and MAX30205 temperature sensor, with both Python (gpiod bit-banging) and C (libgpiod / ioctl) code examples.
  • Comprehensive troubleshooting playbook: Covers step-by-step fixes for common failures like I2C device scan errors, BMI270 initialization timeouts, gpiod permission issues, and Flask web interface errors. Use case: For example, if you need to connect a BMI270 to non-standard GPIO8/9 pins while also running a MAX30205 on the default I2C-1 bus, this skill gives you the exact wiring, driver code, and configuration steps to get both sensors working reliably.

Quick Start

Use the Raspberry Pi I2C Sensor Development skill to wire your BMI270 and MAX30205 sensors, load the correct drivers for your chosen I2C bus type, and troubleshoot any communication issues you encounter during setup.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Raspberry Pi I2C Sensor Development / 树莓派 I2C 传感器开发
Download link: https://github.com/ntsmzt2009/ZtRaspberryPi-Skills/archive/main.zip#raspberry-pi-i2c-sensor-development-i2c

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.