Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

datasheet-interpreter

БесплатноЗапускает вложенные скриптыНе проверен

Extracts key specifications from component datasheet PDFs for maker projects. Use when user shares a datasheet PDF URL, asks about component specs, needs pin…

wedsamuel1230от wedsamuel1230★ 36 звёзд на GitHub

Об этом скилле

Datasheet Interpreter

Extracts actionable specifications from component datasheet PDFs.

Resources

Scripts

  • scripts/extract_specs.py - Downloads datasheet PDFs from URLs and extracts specs using pattern matching

References

  • references/common-parameters.md - Guide to understanding datasheet parameters

Quick Start

# Extract specs from a datasheet URL
uv run --no-project scripts/extract_specs.py --url "https://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf"

# Extract specs with markdown output
uv run --no-project scripts/extract_specs.py --url "https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf" --format markdown

# Extract from local PDF file
uv run --no-project scripts/extract_specs.py --file "local_datasheet.pdf"

# Interactive mode
uv run --no-project scripts/extract_specs.py --interactive

When to Use

  • "What's the I2C address for this chip?"
  • "How do I connect this sensor?"
  • "What pins do what on this module?"
  • User shares a PDF datasheet URL
  • Need timing specs or register info
  • Quick reference without full driver generation

Relationship to Other Skills

  • datasheet-parser: Full driver library generation (lexus2k-style)
  • datasheet-interpreter (this): Quick spec extraction for immediate use

Information Extraction Workflow

Step 1: Request Datasheet

Please provide:
1. Component name (e.g., "BME280", "MPU6050")
2. Datasheet PDF file or URL (manufacturer version preferred)
3. What specific information you need:
   □ Pin assignments / pinout
   □ I2C/SPI address and protocol
   □ Operating conditions (voltage, current)
   □ Timing requirements
   □ Register map
   □ Example circuit
   □ All of the above

Step 2: Validate PDF Quality

Check For:

  • Searchable text (not scanned image)
  • Official manufacturer datasheet (not clone/distributor summary)
  • Revision/version number noted
  • Complete document (includes register tables if applicable)

If PDF Issues:

⚠️ This appears to be a [scanned image | partial datasheet | third-party summary].

For best results, please provide the official manufacturer datasheet from:
- [Manufacturer website link]
- Or search: "[component] datasheet pdf site:manufacturer.com"

Extraction Templates

Quick Reference Card

Generate this for any component:

# [Component Name] Quick Reference

## Basic Info
- **Manufacturer:** [name]
- **Part Number:** [full part number with variants]
- **Datasheet Version:** [rev/date]
- **Description:** [one-line description]

## Electrical Characteristics
| Parameter | Min | Typ | Max | Unit |
|-----------|-----|-----|-----|------|
| Supply Voltage (VDD) | | | | V |
| Operating Current | | | | mA |
| Sleep Current | | | | µA |
| Operating Temp | | | | °C |

## Communication Interface
- **Protocol:** [I2C / SPI / UART / GPIO]
- **Address:** [0xNN (7-bit)] or [selectable via pin]
- **Max Clock:** [frequency]
- **Logic Levels:** [3.3V / 5V tolerant]

## Pinout
| Pin | Name | Type | Description |
|-----|------|------|-------------|
| 1 | VDD | Power | Supply voltage |
| 2 | GND | Power | Ground |
| ... | ... | ... | ... |

## Key Registers (if applicable)
| Address | Name | R/W | Description |
|---------|------|-----|-------------|
| 0x00 | WHO_AM_I | R | Device ID (expect 0xNN) |
| ... | ... | ... | ... |

## Arduino Wiring
| Component Pin | Arduino Uno | ESP32 | Pico |
|---------------|-------------|-------|------|
| VCC | 3.3V | 3.3V | 3V3 |
| GND | GND | GND | GND |
| SDA | A4 | GPIO21 | GP4 |
| SCL | A5 | GPIO22 | GP5 |

## Important Notes
- [Critical warnings from datasheet]
- [Application notes]

Common Component Categories

I2C Sensors

Extract:

□ I2C address (7-bit format, note if configurable)
□ WHO_AM_I register address and expected value
□ Configuration register settings
□ Data registers (where to read measurements)
□ Resolution and range options
□ Conversion time / measurement rate

I2C Address Quick Reference:

Component Address (7-bit) Config Pin Alt Address
BME280 0x76 SDO→GND 0x77 (SDO→VDD)
BME680 0x76 SDO→GND 0x77 (SDO→VDD)
MPU6050 0x68 AD0→GND 0x69 (AD0→VDD)
SHT30 0x44 ADDR→GND 0x45 (ADDR→VDD)
BH1750 0x23 ADDR→GND 0x5C (ADDR→VDD)
VL53L0X 0x29 - Configurable via software
INA219 0x40 A0,A1 0x40-0x4F
ADS1115 0x48 ADDR→GND 0x49-0x4B

SPI Devices

Extract:

□ SPI mode (CPOL, CPHA)
□ Max clock frequency
□ Data order (MSB/LSB first)
□ Command format
□ Chip select behavior (active low?)

Motor Drivers

Extract:

□ Logic voltage (VCC)
□ Motor voltage range (VM)
□ Current per channel (continuous/peak)
□ Control interface (PWM frequency, step/dir)
□ Protection features (thermal, overcurrent)
□ H-bridge or half-bridge

Display Modules

Extract:

□ Resolution (width x height)
□ Controlle
Полный SKILL.md на GitHub

Установить datasheet-interpreter в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/common-parameters.mdscripts/extract_specs.py

FAQ

Что делает скилл datasheet-interpreter?

Extracts key specifications from component datasheet PDFs for maker projects. Use when user shares a datasheet PDF URL, asks about component specs, needs pin assignments, I2C addresses, timing requirements, or register maps. Downloads and parses PDF to extract essentials. Complements datasheet-parser for quick lookups.

Как установить скилл datasheet-interpreter?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл datasheet-interpreter запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить datasheet-interpreter с