Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›MAX31855 Thermocouple Module

Component guide · Intermediate · 3 min read

MAX31855 Thermocouple Module

Pinout, Wiring and Code

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the MAX31855 module isMAX31855 module pinoutWiring the MAX31855 moduleExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The MAX31855 reads a K-type thermocouple and gives the temperature over a read-only SPI bus in 0.25 °C steps. It covers about -200 to 1350 °C, has cold-junction compensation built in, and flags faults such as an open probe or a short to supply or ground. It runs from 3.3 V (many modules accept 5 V) and is the newer replacement for the MAX6675.

Key specs at a glance

Thermocouple
K-type
Range
About -200 to +1350 °C
Resolution
0.25 °C (14-bit)
Accuracy
About ±2 °C over -200 to 700 °C
Interface
Read-only SPI (SO, SCK, CS)
Faults
Open circuit, short to GND, short to VCC
01

What the MAX31855 module is

A thermocouple makes a tiny voltage, about 41 µV per °C, where its two metals join. The MAX31855 amplifies it, measures its own temperature for cold-junction compensation, and outputs the result as digital data.

Use it for kilns, ovens, reflow plates, 3D printer hot ends and exhaust temperatures, where a normal sensor would melt.

02

MAX31855 module pinout

The pins on the MAX31855 module and what each one does.

PinFunction
VIN / VCCSupply, 3.3 V (3 to 5 V on modules with a regulator)
GNDGround
DO / SOSPI data out
CLK / SCKSPI clock
CSChip select, LOW to read
T+ / T-Thermocouple: yellow (+) and red (-) on most K-type probes
PinFunction
VIN / VCC
Supply, 3.3 V (3 to 5 V on modules with a regulator)
GND
Ground
DO / SO
SPI data out
CLK / SCK
SPI clock
CS
Chip select, LOW to read
T+ / T-
Thermocouple: yellow (+) and red (-) on most K-type probes
03

Wiring the MAX31855 module

If the temperature falls when you heat the probe, swap the two thermocouple wires. Many probes have a metal tip bonded to the junction: keep it off grounded metal or you may get a short-to-GND fault.

MAX31855 module pinArduino UnoESP32
VIN5V (if regulated) or 3.3V3V3
GNDGNDGND
DOD12GPIO 19
CLKD13GPIO 18
CSD10GPIO 5
VIN
Arduino Uno:
5V (if regulated) or 3.3V
ESP32:
3V3
GND
Arduino Uno:
GND
ESP32:
GND
DO
Arduino Uno:
D12
ESP32:
GPIO 19
CLK
Arduino Uno:
D13
ESP32:
GPIO 18
CS
Arduino Uno:
D10
ESP32:
GPIO 5
04

Example code

Several modules can share SCK and DO; give each its own CS pin.

Read temperature and faults with the Adafruit MAX31855 library · Arduino C++Verify & upload in Electrolark
#include <SPI.h>
#include "Adafruit_MAX31855.h"

Adafruit_MAX31855 tc(10);   // CS pin, hardware SPI

void setup() {
  Serial.begin(115200);
  delay(500);
  if (!tc.begin()) { Serial.println("MAX31855 not found"); while (1); }
}

void loop() {
  double c = tc.readCelsius();
  if (isnan(c)) {
    uint8_t e = tc.readError();
    if (e & MAX31855_FAULT_OPEN) Serial.println("Probe not connected");
    if (e & MAX31855_FAULT_SHORT_GND) Serial.println("Probe shorted to GND");
    if (e & MAX31855_FAULT_SHORT_VCC) Serial.println("Probe shorted to VCC");
  } else {
    Serial.print(c); Serial.println(" C");
  }
  delay(1000);
}
05

Setup and tuning

Use K-type only

the chip is calibrated for K-type; other types read wrong.

Extension wire

use K-type thermocouple extension wire, not copper, or you add errors.

Keep the board cool

the module measures its own temperature for compensation, so keep it away from the heat source.

Noise

in noisy machines, add a 10 nF capacitor across T+ and T-.

06

What you need

Shop this list5 of 6 found in our store · ₹1,357

  • MAX31855 K-Type Thermocouple Module – SPI Interface, 3.3-5V: the part this guide coversMAX31855 K-Type Thermocouple Module – SPI Interface, 3.3-5V₹579
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • 0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
  • Relay module: to switch a heater for a simple controllerHumidity Sensitive Switch Relay Module₹201Closest match, check the specs
  • Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
07

Alternatives and when to choose them

  • ✓MAX6675 thermocouple module: older, 0 to 1024 °C, 0.25 °C steps, no negative temperatures.
  • ✓MAX31865 RTD module: more accurate PT100 readings up to about 400 °C.
  • ✓DS18B20: simple digital sensor for -55 to 125 °C.
08

Common mistakes to avoid

  • !Reversing the thermocouple wires so the reading falls as it heats.
  • !Using a J or T-type probe with a K-type chip.
  • !Extending the probe with copper wire.
  • !Letting a grounded probe tip touch the chassis, giving a short-to-GND fault.
09

Frequently asked questions

MAX31855 or MAX6675?

MAX31855 for new projects: wider range including below zero, fault detection and 3.3 V support.

What thermocouple does it need?

K-type. Other types need a different version of the chip.

Does it work at 5 V?

The chip is 3.3 V, but most modules have a regulator and level shifting for 5 V boards.

Why does it read NaN?

A fault: usually the probe is unplugged or the tip is shorted to ground.

How hot can it measure?

Up to about 1350 °C, limited in practice by the probe you use.

Parts for this guide

  • MAX31855 K-Type Thermocouple Module – SPI Interface, 3.3-5V
    ₹579View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • 0.96" OLED Display 128x64
    ₹139View
  • 5V Relay Module with Optocoupler
    ₹74View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
Shop Temperature & Thermal Sensors

Keep learning

Component guideBeginnerMAX6675 thermocouple moduleThe MAX6675 module reads a K-type thermocouple and outputs temperature from 0 to 1024 °C in 0.25 °C steps over a simple 3-wire SPI interface.3 min read · SensorsComponent guideIntermediatePT100 and PT1000 RTD SensorsA PT100 is a platinum resistor that measures 100 ohms at 0 °C and rises in a very repeatable way with temperature.3 min read · SensorsConcept explainerIntermediateSPI ExplainedSPI (Serial Peripheral Interface) is a fast four-wire bus: SCK carries the clock, MOSI carries data from the controller, MISO carries data back, and a separate chip-select (CS) line per device chooses who is listening.3 min read · Electronics Fundamentals

Sources

  • MAX31855 cold-junction compensated thermocouple-to-digital converter datasheet (Maxim Integrated)
  • Adafruit MAX31855 library documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the MAX31855 module isMAX31855 module pinoutWiring the MAX31855 moduleExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide (Arduino Uno)2 items · ₹783

MAX31855 K-Type Thermocouple Module – SPI Interface, 3.3-5V · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

An unplugged probe reads NaN and the fault bits say why.

Serial monitor115200 baud
244.75 C

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question