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. ›MAX30102 Heart Rate and SpO2 Sensor Guide

Component guide · Intermediate · 3 min read

MAX30102 Heart Rate and SpO2 Sensor Guide

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerHow it measures pulse and oxygenWiring and codeGetting stable readingsTry itCommon mistakesFAQsParts and next steps
Short answer

The MAX30102 is an optical sensor with red and infrared LEDs and a photodetector. It measures the tiny changes in light absorbed as blood pulses through a fingertip, called photoplethysmography, from which code estimates heart rate and blood oxygen (SpO2). It talks over I2C at address 0x57 and modules run from 3.3 V or 5 V. Readings suit learning projects, not medical decisions.

Key specs at a glance

LEDs
Red (about 660 nm) and infrared (about 880 nm)
Interface
I2C, address 0x57
Supply
1.8 V core and 3.3 V LED rail; modules regulate from 3.3 to 5 V
Data
18-bit ADC, configurable sample rate, 32-sample FIFO
Outputs
Raw red and IR readings; heart rate and SpO2 come from your code
Predecessor
MAX30100 (similar, lower resolution)
01

How it measures pulse and oxygen

Each heartbeat pushes a little more blood into the fingertip, absorbing more light, so the reflected signal rises and falls with the pulse. Counting those peaks gives heart rate. Oxygen-rich blood absorbs red and infrared light differently from oxygen-poor blood, so comparing the pulse size at the two wavelengths gives an SpO2 estimate. The sensor only provides raw light values; the library does the maths.

02

Wiring and code

Connect VIN to 3.3 V (or 5 V if your module has regulators), GND to GND, SDA and SCL to the I2C pins, and optionally INT to a GPIO. Some purple low-cost modules pull SDA and SCL up to 1.8 V; they usually work with 3.3 V boards but may be unreliable with a 5 V Uno, in which case add 4.7 kΩ pull-ups to 3.3 V or use a level shifter.

The SparkFun MAX3010x library works with Arduino and ESP32 and includes heart-rate and SpO2 examples. Show readings on an OLED for a portable pulse meter.

03

Getting stable readings

  • ✓Rest the finger with light, steady pressure; pressing hard stops the blood flow.
  • ✓Keep still and shade the sensor from room light, ideally with a finger clip or a small cover.
  • ✓Wait 5 to 10 seconds for the readings to settle before trusting a value.
  • ✓Cold fingers give weak signals; warm hands help.

Not a medical device. Hobby modules and open-source algorithms are not calibrated or approved for diagnosis. Do not use them to make health decisions.

04

Try it: I2C pull-up calculator

Change the values and the diagram and results update as you type.

05

Common mistakes to avoid

  • !Pressing the finger hard on the sensor.
  • !Moving during the reading.
  • !Using the module in bright light without a cover.
  • !Trusting SpO2 values for medical decisions.
  • !Ignoring the 1.8 V pull-up issue on some modules with a 5 V board.
06

Frequently asked questions

Is the MAX30102 accurate?

Heart rate is usually within a few beats per minute when still. SpO2 estimates vary more and are not medical grade.

What is the difference between MAX30100 and MAX30102?

The MAX30102 has a higher-resolution ADC, lower power and a larger FIFO, and is the better choice today.

Why does my MAX30102 read zero or random values?

Check that the finger covers the window with light pressure, that I2C wiring is correct, and that the board's pull-ups suit your logic level.

Can I use the MAX30102 with ESP32?

Yes, over I2C at 3.3 V. Its readings can be sent to a phone or dashboard over Wi-Fi.

Can it be worn on the wrist?

It can work on a wrist, but signals are weaker and more affected by movement than on a fingertip.

Parts for this guide

  • 0.96" OLED Display 128x64
    ₹139View
  • 4-Channel Logic Level Converter (BSS138)
    ₹20View
Shop Light & Optical SensorsShop Interface Modules

Calculators

I2C pull-up calculator

Terms in this guide

PPGPhotoplethysmography: measuring pulse by shining light into skin and detecting the small changes in light absorbed as blood volume rises and falls.SpO2Peripheral blood oxygen saturation: the percentage of haemoglobin carrying oxygen, estimated by pulse oximeters from red and infrared light absorption.InfraredLight just beyond red that people cannot see, used by IR obstacle sensors, remote controls and line-following sensors.PhotodiodeA diode that produces a small current in proportion to light. Faster and more linear than an LDR, used in IR receivers and light meters.I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.Pull-up resistorA resistor from a signal line to the supply that keeps the line high when nothing pulls it low.

Projects that use it

Put this into practice: 2 step-by-step builds in our project library use parts from this guide.

Intermediate · 1–2 hoursFingertip heart-rate monitorView projectIntermediate · 1 hourHeart rate before and after exerciseView project
Browse all 2 projects

Keep learning

Concept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics FundamentalsHow-toBeginnerSSD1306 OLED DisplayThe SSD1306 is the driver chip in most small monochrome OLED displays, such as the popular 0.96 inch 128x64 module.3 min read · Displays & LEDsHow-toIntermediate3.3 V vs 5 V LogicYou need level shifting when a 5 V device sends signals to a 3.3 V board such as an ESP32 or Raspberry Pi Pico, because 5 V on their pins can damage them.4 min read · Prototyping & WiringComponent guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & MicrocontrollersComponent guideBeginnerIR Obstacle Sensor ModuleAn IR obstacle sensor module shines infrared light from an LED and watches for its reflection with a photodiode; when something is within about 2 to 30 cm, its OUT pin goes LOW.3 min read · Sensors

Sources

  • Analog Devices (Maxim) MAX30102 datasheet
  • SparkFun MAX3010x 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 answerHow it measures pulse and oxygenWiring and codeGetting stable readingsTry itCommon 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 guide2 items · ₹159

0.96" OLED Display 128x64 · 4-Channel Logic Level Converter (BSS138)

Ask the Community

Ask a question