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. ›Formaldehyde (HCHO) Sensors

Component guide · Intermediate · 4 min read

Formaldehyde (HCHO) Sensors

Winsen ZE08 / ZE07-CH2O, Dart WZ-S, Sensirion SFA30 / SFA40, WSP2110 and Threshold Boards

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

Formaldehyde comes from new furniture, paint and glues, and indoor limits are very low (about 0.08 ppm). Electrochemical modules such as the Winsen ZE08-CH2O and Dart WZ-S give calibrated readings over UART. Sensirion's SFA30 and SFA40 add humidity and temperature compensation over I2C. WSP2110-based boards are cheap metal-oxide sensors that respond to many VOCs, not only formaldehyde.

Key specs at a glance

Range
0 to 2 or 5 ppm (ZE08, WZ-S), 0 to 1000 ppb (SFA30, SFA40)
Resolution
About 1 to 10 ppb
Interface
UART 9600 (ZE08, WZ-S), I2C or UART (SFA30, SFA40), analog (WSP2110)
Supply
3.7 to 5.5 V by model
Life
About 2 years (electrochemical) to 6 years (SFA)
Warm-up
About 3 minutes

Models in this guide

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

  • Option 1Winsen ZE08-CH2O Formaldehyde Gas Detection Module – UART/Analog/PWM Output₹1,869
  • Option 2Winsen ZE08B-CH2O Formaldehyde Gas Detection Module – UART Output₹1,869
  • Option 3Winsen ZE07-CH2O Formaldehyde Gas Sensor Module – UART/Analog/PWM Output₹2,100
  • Option 4Dart Sensors WZ-S Formaldehyde (HCHO) Gas Sensor Module – UART Output, 0.03-2ppm Range₹1,999
  • Option 5Dart Sensors WZ-S-K Formaldehyde (HCHO) Sensor Module, Detection Range: 0-2ppm – Digital Output₹1,799
  • Option 6Sensirion SFA30-D-T Digital Formaldehyde (HCHO) Gas Sensor Module, I²C/UART Output, Temperature & Humidity Compensated, 3.15~5.5 VDC₹5,169
01

What the Formaldehyde (HCHO) sensors is

Formaldehyde (HCHO) sensors such as the Dart WZ-S, Winsen ZE08-CH2O and Sensirion SFA30 measure formaldehyde released by new furniture, paint, glue and boards in indoor air.

The ZE08 and WZ-S send a 9-byte frame every second; bytes 4 and 5 are the reading in ppb (divide by 1000 for ppm on most). The frame format is the same as other Winsen ZE modules.

The threshold board gives only a digital alarm, set by a trimmer.

02

Formaldehyde (HCHO) sensors pinout

The pins on the Formaldehyde (HCHO) sensors and what each one does.

PinFunction
VCC / GNDPower
TX / RXUART
DAC / PWMAnalog or pulse output (ZE08)
SDA / SCLI2C (SFA30, SFA40)
PinFunction
VCC / GND
Power
TX / RX
UART
DAC / PWM
Analog or pulse output (ZE08)
SDA / SCL
I2C (SFA30, SFA40)
03

Wiring the Formaldehyde (HCHO) sensors

Connect the Formaldehyde (HCHO) sensors like this.

Formaldehyde (HCHO) sensors pinArduino UnoESP32
Module VCC5 V5 V (VIN)
Module GNDGNDGND
Module TXDD10 (SoftwareSerial RX)GPIO 16 (RX2)
Module RXDD11 through a divider if the module is 3.3 VGPIO 17 (TX2)
Module VCC
Arduino Uno:
5 V
ESP32:
5 V (VIN)
Module GND
Arduino Uno:
GND
ESP32:
GND
Module TXD
Arduino Uno:
D10 (SoftwareSerial RX)
ESP32:
GPIO 16 (RX2)
Module RXD
Arduino Uno:
D11 through a divider if the module is 3.3 V
ESP32:
GPIO 17 (TX2)
04

Example code

A minimal sketch to check the part works.

Read a ZE08-CH2O or WZ-S frame (ESP32) · Arduino C++Verify & upload in Electrolark
// Winsen ZE-series modules send a 9-byte frame every second in active upload mode:
// FF, gas, unit, decimals, conc high, conc low, range high, range low, checksum
HardwareSerial &gas = Serial2;

bool readFrame(uint8_t *b) {
  while (gas.available() >= 9) {
    if (gas.read() != 0xFF) continue;
    b[0] = 0xFF;
    gas.readBytes(b + 1, 8);
    uint8_t sum = 0;
    for (int i = 1; i < 8; i++) sum += b[i];
    return (uint8_t)(~sum + 1) == b[8];
  }
  return false;
}

void setup() {
  Serial.begin(115200);
  gas.begin(9600, SERIAL_8N1, 16, 17);   // RX, TX
}

void loop() {
  uint8_t b[9];
  if (readFrame(b)) {
    float c = (b[4] << 8 | b[5]) / pow(10, b[3]);
    Serial.print("Concentration "); Serial.println(c, 0);   // ppb on ZE08 and WZ-S; divide by 1000 for ppm
  }
  delay(200);
}
05

Setup and tuning

Interface

most send readings over UART or I2C; check whether the logic level is 3.3 V or 5 V before wiring.

Warm-up

wait the stated warm-up time (often a few minutes) before trusting readings.

Placement

mount at breathing height, away from vents, heaters, direct sun and alcohol sprays.

Units

convert between ppb and mg/m³ with the datasheet factor (1 ppm HCHO is about 1.23 mg/m³ at 25 °C).

Life

electrochemical cells last about 2 to 3 years; keep the cap on in storage.

06

What you need

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

  • Winsen ZE08-CH2O Formaldehyde Gas Detection Module – UART/Analog/PWM Output: the part this guide coversWinsen ZE08-CH2O Formaldehyde Gas Detection Module – UART/Analog/PWM Output₹1,869
  • Winsen ZE08B-CH2O Formaldehyde Gas Detection Module – UART Output: another version this guide coversWinsen ZE08B-CH2O Formaldehyde Gas Detection Module – UART Output₹1,869
  • Winsen ZE07-CH2O Formaldehyde Gas Sensor Module – UART/Analog/PWM Output: another version this guide coversWinsen ZE07-CH2O Formaldehyde Gas Sensor Module – UART/Analog/PWM Output₹2,100
  • Dart Sensors WZ-S Formaldehyde (HCHO) Gas Sensor Module – UART Output, 0.03-2ppm Range: another version this guide coversDart Sensors WZ-S Formaldehyde (HCHO) Gas Sensor Module – UART Output, 0.03-2ppm Range₹1,999
  • Dart Sensors WZ-S-K Formaldehyde (HCHO) Sensor Module, Detection Range: 0-2ppm – Digital Output: another version this guide coversDart Sensors WZ-S-K Formaldehyde (HCHO) Sensor Module, Detection Range: 0-2ppm – Digital Output₹1,799
  • Sensirion SFA30-D-T Digital Formaldehyde (HCHO) Gas Sensor Module, I²C/UART Output, Temperature & Humidity Compensated, 3.15~5.5 VDC: another version this guide coversSensirion SFA30-D-T Digital Formaldehyde (HCHO) Gas Sensor Module, I²C/UART Output, Temperature & Humidity Compensated, 3.15~5.5 VDC₹5,169
  • DFRobot Gravity SFA40 HCHO Sensor (0–1000 ppb Wide Range, High Accuracy ±20 ppb) – I2C Interface: another version this guide coversDFRobot Gravity SFA40 HCHO Sensor (0–1000 ppb Wide Range, High Accuracy ±20 ppb) – I2C Interface₹6,609
  • DFRobot Threshold Formaldehyde HCHO Detection Sensor (0-20ppm) – Fixed Threshold Module: another version this guide coversDFRobot Threshold Formaldehyde HCHO Detection Sensor (0-20ppm) – Fixed Threshold Module₹2,249
  • Seeed Studio Studio Grove HCHO Formaldehyde Gas Sensor – WSP2110 VOC Detector: another version this guide coversSeeed Studio Grove HCHO Formaldehyde Gas Sensor – WSP2110 VOC Detector₹1,659Closest match, check the specs
  • Mikroe POLLUTION CLICK (Mikroe‑2516) – WSP2110 VOC Gas Sensor Board, Analog, mikroBUS, Detection Range: 1~50 ppm: another version this guide coversMikroe POLLUTION CLICK (Mikroe‑2516) – WSP2110 VOC Gas Sensor Board, Analog, mikroBUS, Detection Range: 1~50 ppm₹3,669
  • Winsen WSP2110-acetone VOC Gas Sensor – Semiconductor Metal Cap: another version this guide coversWinsen WSP2110-acetone VOC Gas Sensor – Semiconductor Metal Cap₹939
  • 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
  • USB to TTL serial converter: to talk to the module from a PCUSB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)₹85Closest match, check the specs
  • 0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
  • Plantower PMS5003 PM2.5 sensor: to add dust measurementPlantower PMS5003 PM2.5 Laser Particle Concentration Sensor, UART, 0~500 µg/m³, 5 V, Range: 0.3~10 µm₹2,119Closest match, check the specs
07

Alternatives and when to choose them

  • ✓VOC indoor air quality sensors: broader VOC sensing.
  • ✓Winsen ZE03 modules: same frame format.
  • ✓Sensirion SEN5x: PM and VOC together.
08

Common mistakes to avoid

  • !Trusting readings during warm-up.
  • !Placing the sensor next to sanitiser or perfume.
  • !Mixing up ppb, ppm and mg/m³.
  • !Using the sensor long after its cell life.
09

Frequently asked questions

What is a safe indoor formaldehyde level?

WHO guidance is 0.1 mg/m³ over 30 minutes; long-term levels should be lower.

Why do readings jump after painting or new furniture?

Fresh paint, glue and particle board release HCHO. Ventilate and measure again after a few days.

Do alcohol or other VOCs affect the reading?

Some electrochemical HCHO sensors react to alcohol vapour, so readings rise near sanitiser.

How long does an HCHO sensor last?

Electrochemical cells usually last 2 to 3 years, then readings drift and the cell must be replaced.

Can I read the sensor with an Arduino or ESP32?

Yes. Read the UART frames or I2C registers described in the datasheet, or use a ready library.

Parts for this guide

  • Winsen ZE08-CH2O Formaldehyde Gas Detection Module – UART/Analog/PWM Output
    ₹1,869View
  • Winsen ZE08B-CH2O Formaldehyde Gas Detection Module – UART Output
    ₹1,869View
  • Winsen ZE07-CH2O Formaldehyde Gas Sensor Module – UART/Analog/PWM Output
    ₹2,100View
  • Dart Sensors WZ-S Formaldehyde (HCHO) Gas Sensor Module – UART Output, 0.03-2ppm Range
    ₹1,999View
  • Dart Sensors WZ-S-K Formaldehyde (HCHO) Sensor Module, Detection Range: 0-2ppm – Digital Output
    ₹1,799View
  • Sensirion SFA30-D-T Digital Formaldehyde (HCHO) Gas Sensor Module, I²C/UART Output, Temperature & Humidity Compensated, 3.15~5.5 VDC
    ₹5,169View
  • DFRobot Gravity SFA40 HCHO Sensor (0–1000 ppb Wide Range, High Accuracy ±20 ppb) – I2C Interface
    ₹6,609View
  • DFRobot Threshold Formaldehyde HCHO Detection Sensor (0-20ppm) – Fixed Threshold Module
    ₹2,249View
  • Seeed Studio Grove HCHO Formaldehyde Gas Sensor – WSP2110 VOC Detector
    ₹1,659View
  • Mikroe POLLUTION CLICK (Mikroe‑2516) – WSP2110 VOC Gas Sensor Board, Analog, mikroBUS, Detection Range: 1~50 ppm
    ₹3,669View
  • Winsen WSP2110-acetone VOC Gas Sensor – Semiconductor Metal Cap
    ₹939View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • USB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)
    ₹85View
  • 0.96" OLED Display 128x64
    ₹139View
  • Plantower PMS5003 PM2.5 Laser Particle Concentration Sensor, UART, 0~500 µg/m³, 5 V, Range: 0.3~10 µm
    ₹2,119View
Shop Gas, Air Quality & CO2 Sensors

Keep learning

ComparisonIntermediateVOC and Indoor Air Quality SensorsVOC sensors detect a mix of organic gases from cleaners, paints and cooking and report a relative index rather than a precise gas amount.3 min read · SensorsComponent guideIntermediateWinsen ZE03, ZE07, ZE12A, ZE15, ZE16B, ZE21Winsen ZE-series modules combine an electrochemical cell with a microcontroller that outputs calibrated ppm over UART and as an analog voltage.5 min read · SensorsComponent guideIntermediateSensirion SEN50, SEN54, SEN55Sensirion's SEN5x modules combine a laser particle sensor with gas and climate sensors in one box.3 min read · SensorsConcept explainerBeginnerUART and Serial CommunicationA UART sends data one bit at a time over one wire with no shared clock, so both ends must agree on the speed, called the baud rate (9600 and 115200 are common).4 min read · Electronics Fundamentals

Sources

  • Winsen ZE08-CH2O datasheet
  • Sensirion SFA30 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 Formaldehyde (HCHO) sensors isFormaldehyde (HCHO) sensors pinoutWiring the Formaldehyde (HCHO) 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 guide (Arduino Uno)8 items · ₹19,337

Winsen ZE08-CH2O Formaldehyde Gas Detection Module – UART/Analog/PWM Output · Dart Sensors WZ-S Formaldehyde (HCHO) Gas Sensor Module – UART Output, 0.03-2ppm Range · Dart Sensors WZ-S-K Formaldehyde (HCHO) Sensor Module, Detection Range: 0-2ppm – Digital Output · DFRobot Gravity SFA40 HCHO Sensor (0–1000 ppb Wide Range, High Accuracy ±20 ppb) – I2C Interface · DFRobot Threshold Formaldehyde HCHO Detection Sensor (0-20ppm) – Fixed Threshold Module · Mikroe POLLUTION CLICK (Mikroe‑2516) – WSP2110 VOC Gas Sensor Board, Analog, mikroBUS, Detection Range: 1~50 ppm · Winsen WSP2110-acetone VOC Gas Sensor – Semiconductor Metal Cap · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

The number is in the module's own unit (ppb for ZE08-CH2O). Outdoor air is usually under 30 ppb.

Serial monitor115200 baud
Concentration 39

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