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. ›Oxygen Sensors

Component guide · Intermediate · 4 min read

Oxygen Sensors

Galvanic Cells (Asair AO-02 to AO-09, Winsen ME2-O2, MED-O2), Ultrasonic and Fluorescent O2 Modules

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 Oxygen (O2) sensors isOxygen (O2) sensors pinoutWiring the Oxygen (O2) sensorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

Oxygen sensors come in three types. Galvanic cells (Asair AO series, Winsen ME2-O2, MED-O2) make a small voltage, about 9 to 13 mV in normal air, and need an amplifier or 16-bit ADC. Ultrasonic modules (AOF1010, US1000, Gasboard-7500HA) measure 0 to 100 percent O2 in concentrators over UART. Fluorescent sensors (AOX4000) last much longer and need no consumable cell.

Key specs at a glance

Range
0 to 25% (ambient) or 0 to 100% (medical, concentrators)
Galvanic output
About 9 to 13 mV in air (20.9% O2)
Ultrasonic
UART, also gives flow and temperature
Accuracy
About plus or minus 1 to 2% O2 typical
Galvanic life
About 1 to 2 years (lead-free AOX3000 longer)
Use
Confined spaces, incubators, oxygen concentrators

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1Asair AO-02 Oxygen Sensor – Electrochemical Partial Pressure Sensor₹1,839
  • Option 2Asair AO-03 Oxygen Sensor Module – 1-25% Vol. Linear Output₹1,219
  • Option 3Asair AO-07 Oxygen Sensor Module – 0-100% Vol. O2, 9-13mV Output₹2,599
  • Option 4Asair AO-09 Oxygen Sensor Module – Medical Grade, 0-100% O2₹2,519
  • Option 5Asair AOX3000 Lead-free Oxygen Sensor – Industrial Fuel Cell Design₹2,219
  • Option 6Winsen ME2-O2-Ф20 Oxygen Gas Sensor Module – 0-25%Vol Electrochemical₹3,389
01

What the Oxygen (O2) sensors is

Oxygen (O2) sensors such as the DFRobot Gravity O2, Winsen ME2-O2 and SGX electrochemical cells measure oxygen level in air, for incubators, safety monitors and grow rooms.

Galvanic cells need no power and drift slowly: calibrate in fresh air as 20.9 percent and the output is proportional from there.

Ultrasonic sensors need a flow of oxygen-air mix through them, so they suit concentrators rather than room monitoring.

02

Oxygen (O2) sensors pinout

The pins on the Oxygen (O2) sensors and what each one does.

PinFunction
Galvanic +Amplifier or ADC +
Galvanic -Ground
UART modulesVCC, GND, TX, RX
PinFunction
Galvanic +
Amplifier or ADC +
Galvanic -
Ground
UART modules
VCC, GND, TX, RX
03

Wiring the Oxygen (O2) sensors

Use the ADS1115 at gain 16 (plus or minus 0.256 V range) for the best resolution on a 10 mV signal.

Oxygen (O2) sensors pinArduino UnoESP32
Cell +ADS1115 A0ADS1115 A0
Cell -ADS1115 A1 (differential) or GNDSame
ADS1115 SDA / SCLA4 / A5GPIO 21 / 22
ADS1115 VDD5 V3.3 V
Cell +
Arduino Uno:
ADS1115 A0
ESP32:
ADS1115 A0
Cell -
Arduino Uno:
ADS1115 A1 (differential) or GND
ESP32:
Same
ADS1115 SDA / SCL
Arduino Uno:
A4 / A5
ESP32:
GPIO 21 / 22
ADS1115 VDD
Arduino Uno:
5 V
ESP32:
3.3 V
04

Example code

A minimal sketch to check the part works.

Galvanic O2 cell with an ADS1115 · Arduino C++Verify & upload in Electrolark
#include <Adafruit_ADS1X15.h>

Adafruit_ADS1115 ads;
float airMv;

float mv() { return ads.computeVolts(ads.readADC_Differential_0_1()) * 1000.0; }

void setup() {
  Serial.begin(115200);
  ads.begin(); ads.setGain(GAIN_SIXTEEN);
  delay(5000);
  airMv = mv();                     // calibrate in fresh air
}

void loop() {
  float o2 = mv() / airMv * 20.9;
  Serial.print(o2, 1); Serial.println(" % O2");
  delay(1000);
}
05

Setup and tuning

Type

most are electrochemical cells with a 1 to 2 year life; galvanic cells need no power.

Wiring

Gravity boards use I2C or analog at 3.3 to 5 V; bare cells give microamps that need an amplifier.

Calibration

calibrate in fresh air at 20.9 % O2 after installation.

Warm-up

allow a few minutes after power-up before reading.

Placement

keep the cell away from direct airflow, solvents and condensation.

06

What you need

Shop this list15 of 16 found in our store · ₹32,813

  • Asair AO-02 Oxygen Sensor – Electrochemical Partial Pressure Sensor: the part this guide coversAsair AO-02 Oxygen Sensor – Electrochemical Partial Pressure Sensor₹1,839
  • Asair AO-03 Oxygen Sensor Module – 1-25% Vol. Linear Output: another version this guide coversAsair AO-03 Oxygen Sensor Module – 1-25% Vol. Linear Output₹1,219
  • Asair AO-07 Oxygen Sensor Module – 0-100% Vol. O2, 9-13mV Output: another version this guide coversAsair AO-07 Oxygen Sensor Module – 0-100% Vol. O2, 9-13mV Output₹2,599
  • Asair AO-09 Oxygen Sensor Module – Medical Grade, 0-100% O2: another version this guide coversAsair AO-09 Oxygen Sensor Module – Medical Grade, 0-100% O2₹2,519
  • Asair AOX3000 Lead-free Oxygen Sensor – Industrial Fuel Cell Design: another version this guide coversAsair AOX3000 Lead-free Oxygen Sensor – Industrial Fuel Cell Design₹2,219
  • Winsen ME2-O2-Ф20 Oxygen Gas Sensor Module – 0-25%Vol Electrochemical: another version this guide coversWinsen ME2-O2-Ф20 Oxygen Gas Sensor Module – 0-25%Vol Electrochemical₹3,389
  • Winsen MED-O2-LA Oxygen Gas Sensor – Fuel Cell Electrochemical Sensor: another version this guide coversWinsen MED-O2-LA Oxygen Gas Sensor – Fuel Cell Electrochemical Sensor₹2,769
  • Asair AOF1010 Ultrasonic Oxygen Sensor – UART/9600bps: another version this guide coversAsair AOF1010 Ultrasonic Oxygen Sensor – UART/9600bps₹929
  • Winsen US1000 Ultrasonic Oxygen Sensor – UART Output: another version this guide coversWinsen US1000 Ultrasonic Oxygen Sensor – UART Output₹1,919
  • Cubic Sensor Gasboard-7500HA Ultrasonic Oxygen Sensor Module (0-100% O₂, 0-10L/min) – UART TTL & Analog Output: another version this guide coversCubic Sensor Gasboard-7500HA Ultrasonic Oxygen Sensor Module (0-100% O₂, 0-10L/min) – UART TTL & Analog Output₹9,919
  • Asair AOX4000 Fluorescent Oxygen Sensor Module – Digital Output, Temperature Compensated: another version this guide coversAsair AOX4000 Fluorescent Oxygen Sensor Module – Digital Output, Temperature Compensated₹2,739
  • ADS1115 16-bit 4-channel ADC module: to read small sensor voltages accuratelyADS1115 16-Bit 4-Channel ADC Module₹199
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • Buzzer module 3.3-5 V: for an audible alarmBuzzer Module 3.3–5V₹27
  • 0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
07

Alternatives and when to choose them

  • ✓DFRobot Gravity O2 boards: ready I2C output.
  • ✓Electrochemical gas sensors: related cells.
  • ✓Winsen ME3 and ME4: toxic gas cells.
08

Common mistakes to avoid

  • !Calibrating in a closed room with low oxygen.
  • !Using an old cell past its life.
  • !Exposing the cell to solvents.
  • !Using it as a medical oxygen monitor.
09

Frequently asked questions

What oxygen level is normal in air?

Fresh air contains about 20.9 % oxygen; below 19.5 % is considered unsafe.

How long does an oxygen sensor last?

Electrochemical cells usually last 1 to 2 years, then the reading drops and the cell must be replaced.

How do I calibrate the O2 sensor?

Place it in fresh outdoor air and set the reading to 20.9 %.

Can I read it with Arduino?

Yes. The DFRobot Gravity O2 sensor uses I2C with a ready library.

Can it be used for medical oxygen?

Not as a medical device; certified analysers are required for patients.

Parts for this guide

  • Asair AO-02 Oxygen Sensor – Electrochemical Partial Pressure Sensor
    ₹1,839View
  • Asair AO-03 Oxygen Sensor Module – 1-25% Vol. Linear Output
    ₹1,219View
  • Asair AO-07 Oxygen Sensor Module – 0-100% Vol. O2, 9-13mV Output
    ₹2,599View
  • Asair AO-09 Oxygen Sensor Module – Medical Grade, 0-100% O2
    ₹2,519View
  • Asair AOX3000 Lead-free Oxygen Sensor – Industrial Fuel Cell Design
    ₹2,219View
  • Winsen ME2-O2-Ф20 Oxygen Gas Sensor Module – 0-25%Vol Electrochemical
    ₹3,389View
  • Winsen MED-O2-LA Oxygen Gas Sensor – Fuel Cell Electrochemical Sensor
    ₹2,769View
  • Asair AOF1010 Ultrasonic Oxygen Sensor – UART/9600bps
    ₹929View
  • Winsen US1000 Ultrasonic Oxygen Sensor – UART Output
    ₹1,919View
  • Cubic Sensor Gasboard-7500HA Ultrasonic Oxygen Sensor Module (0-100% O₂, 0-10L/min) – UART TTL & Analog Output
    ₹9,919View
  • Asair AOX4000 Fluorescent Oxygen Sensor Module – Digital Output, Temperature Compensated
    ₹2,739View
  • ADS1115 16-Bit 4-Channel ADC Module
    ₹199View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • Buzzer Module 3.3–5V
    ₹27View
  • 0.96" OLED Display 128x64
    ₹139View
Shop Gas, Air Quality & CO2 Sensors

Keep learning

Component guideAdvancedElectrochemical Gas SensorsElectrochemical sensors measure one specific toxic gas, such as carbon monoxide, ammonia, hydrogen sulphide or oxygen, with much better selectivity than MQ sensors.3 min read · SensorsComponent guideIntermediateDFRobot Gravity Calibrated Electrochemical Gas SensorsDFRobot Gravity calibrated gas sensors put a factory-calibrated electrochemical cell on a board that reports ppm (or percent volume for oxygen) over I2C or UART.4 min read · SensorsComponent guideAdvancedElectrochemical Gas CellsThese are bare electrochemical gas cells: CO, H2S, NH3, NO2, SO2, O3, HF, HCl and H2.4 min read · Sensors

Sources

  • Asair AO series datasheets
  • Winsen ME2-O2 datasheet

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 Oxygen (O2) sensors isOxygen (O2) sensors pinoutWiring the Oxygen (O2) sensorsExample 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 guide8 items · ₹23,702

Asair AO-02 Oxygen Sensor – Electrochemical Partial Pressure Sensor · Winsen ME2-O2-Ф20 Oxygen Gas Sensor Module – 0-25%Vol Electrochemical · Winsen MED-O2-LA Oxygen Gas Sensor – Fuel Cell Electrochemical Sensor · Asair AOF1010 Ultrasonic Oxygen Sensor – UART/9600bps · Winsen US1000 Ultrasonic Oxygen Sensor – UART Output · Cubic Sensor Gasboard-7500HA Ultrasonic Oxygen Sensor Module (0-100% O₂, 0-10L/min) – UART TTL & Analog Output · Asair AOX4000 Fluorescent Oxygen Sensor Module – Digital Output, Temperature Compensated · ADS1115 16-Bit 4-Channel ADC Module

Run itChange the inputs and watch the output

Galvanic cell: the voltage is calibrated as 20.9 % in fresh air at start-up.

Serial monitor115200 baud
20.9 % O2

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