Skip to content
Back to skills

Esp32 Thermocouple Max31855

ASecurity

Use when integrating K-type thermocouples with MAX31855 or diagnosing open sensor, cold-junction error and noisy temperature readings.

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
ai-agentsnodeapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add Esmail-sarhadi/esp32-agent-skills --skill esp32-thermocouple-max31855 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Esp32 Thermocouple Max31855?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Esp32 Thermocouple Max31855
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/esmail-sarhadi-esp32-thermocouple-max31855/badge)](https://www.skillsdirectory.com/skills/esmail-sarhadi-esp32-thermocouple-max31855)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: esp32-thermocouple-max31855
description: Use when integrating K-type thermocouples with MAX31855 or diagnosing open sensor, cold-junction error and noisy temperature readings.
license: MIT
---

# Thermocouple Max31855

Thermocouple systems measure a small differential voltage and compensate using a cold-junction sensor. Connector metallurgy, extension wire and thermal gradients can dominate the error.

## Sensor and wiring

Use thermocouple-grade connectors and matching extension wire; ordinary copper transitions create unintended thermocouple junctions. Keep the cold-junction IC away from regulators, radios or heat sources. Route away from switching nodes and use appropriate shielding/grounding.

## MAX31855 interface

Read the full 32-bit result with correct SPI mode and timing from the datasheet. Decode thermocouple temperature, internal cold-junction temperature and fault bits separately. Check open-thermocouple, short-to-ground and short-to-supply indicators. Do not interpret faulted temperature bits as a valid measurement.

## Accuracy and response

Understand the device resolution and total error budget, including thermocouple class, cold-junction accuracy, connector gradients and installation. Probe response depends on construction and thermal contact, not just conversion interval. Avoid oversampling claims beyond converter update behavior.

## Fault handling

On a fault, mark the measurement invalid and expose the fault code. Do not substitute zero or the last value without a stale flag. Detect implausible rate-of-change and compare cold-junction readings with board temperature when useful.

## Verification

| Condition | Check |
|---|---|
| Open thermocouple | Fault bit and invalid quality |
| Reversed polarity | Sign/direction sanity |
| Connector heated | Cold-junction gradient effect |
| Known temperature point | Calibration error |
| SPI contention | Correct frame and CS timing |

## Agent rules

Preserve raw register words and fault bits. Never use copper wire as arbitrary thermocouple extension. State probe type, wire grade, connector and calibration method.

## Field evidence to capture

- Record the exact ESP32 SoC, module, board revision and schematic revision.
- Record framework, compiler, driver version and relevant configuration flags.
- Preserve raw measurements and error codes before applying filters or retries.
- Separate a suspected cause from a reproduced root cause and a verified fix.
- Link the test result to a reproducible fixture or documented manual procedure.

## Version and safety boundary

Check the selected target's datasheet, errata and framework release notes before choosing APIs or pin capabilities. Electrical protection, isolation, overcurrent limits and safe outputs must be designed independently of firmware. A passing host test is not evidence of electrical compliance or field reliability.

Files in this skill

  • LICENSE.txt824 B
  • SKILL.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.