wedsamuel1230/embedded-engineering-skills

i2c-bringup-diagnostician

Use when users need to diagnose I2C bring-up failures on Arduino or ESP32-class boards, including no devices found, wrong readings, address conflicts, scanner-detects-but-library-fails cases, pull-up problems, or board-family-specific bus quirks.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/wedsamuel1230/embedded-engineering-skills --skill i2c-bringup-diagnostician

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

I2C Bringup Diagnostician

Use this skill when the sensor or device should be on the bus, but the I2C path is still not trustworthy.

Resources

  • references/bringup-flow.md - ordered I2C fault-isolation workflow
  • references/scanner-vs-library.md - what to do when the scanner finds the device but the library still fails
  • references/esp32-and-board-quirks.md - ESP32-family and board-specific caveats
  • ../../docs/board-support/uno-r4-family.md - Uno R4 family board notes when relevant

When to Use

Use this skill when the request includes:

  • "no I2C devices found"
  • scanner finds the address but the library cannot initialize the device
  • two I2C devices conflict or one disappears
  • ESP32 pin, bus, or second-channel confusion
  • pull-up, wire-length, or voltage-level questions
  • obviously wrong sensor values after basic detection succeeds

Workflow

  1. Establish the basic failure shape:
  • no scanner detection -> open references/bringup-flow.md
  • scanner detects but library fails -> open

references/scanner-vs-library.md

  • ESP32-family multi-bus or pin issue -> open

references/esp32-and-board-quirks.md

  1. Confirm the electrical basics before library swapping:
  • power
  • common ground
  • SDA and SCL mapping
  • pull-ups
  • logic level compatibility
  1. Only after the bus is electrically plausible, check address, device mode, and

library expectations.

  1. If the board is Uno R4 family and the failure involves board-specific I2C or

support questions, also open ../../docs/board-support/uno-r4-family.md.

Core Rules

  • Scanner success does not prove the library is using the device correctly.
  • Library failure does not prove the sensor is dead.
  • Bus voltage, pull-ups, and pin mapping must be explicit before changing code

blindly.

  • For ESP32-family boards, pin choices and multi-bus assumptions are not always

portable across variants.

Verification

  • Confirm whether the scanner sees the expected address.
  • Confirm whether a minimal register or identification read works.
  • Confirm whether the failing behavior tracks a board family, bus instance, or

library rather than the sensor alone.

  • Confirm whether the final fix survives repeated scans and actual sensor reads.

Integration

  • Pair with circuit-debugger for deeper hardware isolation.
  • Pair with datasheet-interpreter when the correct address, power, or timing

details are not known.

  • Pair with arduino-code-generator when the user needs a minimal test sketch or

a cleaned-up bus probe.

Shared Output Contract

Use the shared Arduino skill contract: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, known limitations, and recovery/security notes.

同じリポジトリから

関連する Skills

すべての Skills
wedsamuel1230
コミュニティ

arduino-project-builder

Build complete Arduino and embedded projects across Arduino IDE, Arduino CLI, PlatformIO, and vendor-specific toolchains. Use when users request an application combining firmware, sensors, actuators, networking, power, or deployment rather than a code snippet. The bundled scaffold targets UNO, ESP32, and Raspberry Pi Pico; use the board profile and document limitations for other targets.

1時間の導入数
1
GitHub Stars
33
更新日
10月15日
wedsamuel1230
コミュニティ

enclosure-designer

Use when users need a 3D-printable enclosure for an Arduino, ESP32, or RP2040 project and need help with measurements, cutouts, print settings, or environmental protection.

1時間の導入数
1
GitHub Stars
33
更新日
10月15日
wedsamuel1230
コミュニティ

arduino-code-generator

Generate Arduino and embedded C++ snippets for sensors, actuators, buses, state machines, timing, data logging, and hardware abstraction. Use when a user requests implementation code and provide the exact board, framework, toolchain, pins, voltage, memory, and library versions first. Bundled templates target UNO, ESP32, and RP2040; document unsupported board or vendor-framework behavior instead of guessing.

1時間の導入数
1
GitHub Stars
26
更新日
10月15日
wedsamuel1230
コミュニティ

arduino-workflow-router

Route Arduino and embedded-system requests across Arduino IDE, Arduino CLI, PlatformIO, and vendor-specific tools. Use when a request combines firmware, board constraints, electronics, power, networking, calibration, enclosure, upload, debugging, OTA, or maintenance, or when the exact board or toolchain is not yet clear.

1時間の導入数
1
GitHub Stars
26
更新日
10月15日