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
On this page
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
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.
Formaldehyde (HCHO) sensors pinout
The pins on the Formaldehyde (HCHO) sensors and what each one does.
| Pin | Function |
|---|---|
| VCC / GND | Power |
| TX / RX | UART |
| DAC / PWM | Analog or pulse output (ZE08) |
| SDA / SCL | I2C (SFA30, SFA40) |
- VCC / GND
- Power
- TX / RX
- UART
- DAC / PWM
- Analog or pulse output (ZE08)
- SDA / SCL
- I2C (SFA30, SFA40)
Wiring the Formaldehyde (HCHO) sensors
Connect the Formaldehyde (HCHO) sensors like this.
| Formaldehyde (HCHO) sensors pin | Arduino Uno | ESP32 |
|---|---|---|
| Module VCC | 5 V | 5 V (VIN) |
| Module GND | GND | GND |
| Module TXD | D10 (SoftwareSerial RX) | GPIO 16 (RX2) |
| Module RXD | D11 through a divider if the module is 3.3 V | GPIO 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)
Example code
A minimal sketch to check the part works.
// 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);
}Setup and tuning
most send readings over UART or I2C; check whether the logic level is 3.3 V or 5 V before wiring.
wait the stated warm-up time (often a few minutes) before trusting readings.
mount at breathing height, away from vents, heaters, direct sun and alcohol sprays.
convert between ppb and mg/m³ with the datasheet factor (1 ppm HCHO is about 1.23 mg/m³ at 25 °C).
electrochemical cells last about 2 to 3 years; keep the cap on in storage.
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
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.
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.
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
- ₹1,869View
- ₹1,869View
- ₹2,100View
- ₹1,999View
- ₹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- ₹6,609View
- ₹2,249View
- ₹1,659View
Mikroe POLLUTION CLICK (Mikroe‑2516) – WSP2110 VOC Gas Sensor Board, Analog, mikroBUS, Detection Range: 1~50 ppm₹3,669View- ₹939View
- ₹389View
- ₹359View
- ₹85View
- ₹139View
Plantower PMS5003 PM2.5 Laser Particle Concentration Sensor, UART, 0~500 µg/m³, 5 V, Range: 0.3~10 µm₹2,119View
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

