Skip to main content
Home / Computer Hardware, Monitors & Peripherals / GY-21-HTU21 Sensor Module for Moisture and Humidity with I2C Interface

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Interface I²C (Inter-Integrated Circuit)
Operating Voltage 3.3V to 5V DC
Humidity Range 0% to 100% RH
Temperature Range -40°C to +125°C
Humidity Accuracy ±2% RH (typical)
Temperature Accuracy ±0.3°C (typical)
Response Time 5 Seconds (tau63%)
Board Dimensions 25mm x 20mm x 5mm
Sensor Chip HTU21D
Current Consumption 150μA during measurement

5 reviews

A

Anonymous

Mar 02, 2026

Rating: 4/5

Good accuracy, slight delay

The sensor is accurate but there is a small delay in reading updates. For most projects, this is negligible. Good value for money.

A

Anonymous

Feb 27, 2026

Rating: 4/5

Solid Performance

Does exactly what it says. Humidity readings stabilize quickly after power on. Would recommend for indoor monitoring.

A

Anonymous

Feb 26, 2026

Rating: 5/5

Reliable Module

Bought five of these for a classroom project. All worked out of the box. Pinout is clearly labeled which helps beginners.

A

Anonymous

Feb 18, 2026

Rating: 5/5

Perfect for Arduino Weather Station

Works flawlessly with my Arduino Uno. The I2C library was easy to find and implement. Readings seem consistent with my home thermometer.

A

Anonymous

Jan 22, 2026

Rating: 5/5

Compact and Easy

Small form factor fits nicely in my enclosure. Voltage regulation on the board allows 5V logic which is convenient.

5 FAQ

Q: Does it come with headers?

A: Yes, the module usually comes with pre-soldered pin headers for easy breadboard use.

Q: Is there a library for ESP32?

A: Yes, there are multiple open-source libraries available for ESP32 that support the HTU21D sensor.

Q: Is this compatible with Raspberry Pi?

A: Yes, it works with Raspberry Pi using the I2C pins. Ensure you enable I2C in the configuration.

Q: Can I use this outdoors?

A: The module itself is not waterproof. You should place it in a weatherproof enclosure if used outside.

Q: What is the I2C address?

A: The default I2C address is typically 0x40. Please refer to the datasheet for configuration options.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Little Leather Paper Strip Music Box (30-Note) Sheet Music - Contact Before Ordering; Specify Song Email for Digital Score Delivery

Little Leather Paper Strip Music Box (30-Note) Sheet Music - Contact Before Ordering; Specify Song Email for Digital Score Delivery

$1.00

Kitchen Sink Strainer Basket Push-Type Food Residue Separator Filter Hanging Storage Rack

Kitchen Sink Strainer Basket Push-Type Food Residue Separator Filter Hanging Storage Rack

$3.80

Heavy-Duty Heat-Treated CV Joint Puller Tool - Axle Ball Cage Removal and Installation Device for Automotive Repair

Heavy-Duty Heat-Treated CV Joint Puller Tool - Axle Ball Cage Removal and Installation Device for Automotive Repair

$66.00

Mobile Integrated Waste Transfer Station - 17 Cubic Meters Movable Compression Container

Mobile Integrated Waste Transfer Station - 17 Cubic Meters Movable Compression Container

$159,443.00

Antique Glaze White Ceramic Brush Washer Large Brush Washer Water Pot Ink Stone Washing Calligraphy Painting Brush Washing Basin Four Treasures of the Study

Antique Glaze White Ceramic Brush Washer Large Brush Washer Water Pot Ink Stone Washing Calligraphy Painting Brush Washing Basin Four Treasures of the Study

$16.80

Authentic Chinese Philosophy Classics: Di Tian Sui, Qiong Tong Bao Jian, San Ming Tong Hui - Annotated & Illustrated Edition

Authentic Chinese Philosophy Classics: Di Tian Sui, Qiong Tong Bao Jian, San Ming Tong Hui - Annotated & Illustrated Edition

$29.90

Household Disposable Kitchen Sink Garbage Filter Mesh Drain Pool Dishwashing Basin Strainer Vegetable Bowl Leftover Sink

Household Disposable Kitchen Sink Garbage Filter Mesh Drain Pool Dishwashing Basin Strainer Vegetable Bowl Leftover Sink

$3.51

Continental Run-Flat Tires: 225/235/245/255/265 45/50/55 R17/R18/R19/R20/R21/R22

Continental Run-Flat Tires: 225/235/245/255/265 45/50/55 R17/R18/R19/R20/R21/R22

$357.00

Foldable Steel Tire Stone Removal Hook - Multi-Tool for Tire Repair, Stone Picking, and Emergency Window Breaking with Storage Bag

Foldable Steel Tire Stone Removal Hook - Multi-Tool for Tire Repair, Stone Picking, and Emergency Window Breaking with Storage Bag

$11.70

Integrated Catalytic Combustion Unit RCO Furnace - Exhaust Gas Treatment System with Activated Carbon Adsorption-Desorption and Catalytic Combustion

Integrated Catalytic Combustion Unit RCO Furnace - Exhaust Gas Treatment System with Activated Carbon Adsorption-Desorption and Catalytic Combustion

$231,249.00

Universal Waterproof and Sunproof Cover for E-Bike Charger with Outdoor Storage Box

Universal Waterproof and Sunproof Cover for E-Bike Charger with Outdoor Storage Box

$11.85

Baohong Paper Brick Watercolor Paper Pad, Medium/Coarse Texture, Square/Round Shapes for Painting, Sketching, and Cotton Pulp Practice

Baohong Paper Brick Watercolor Paper Pad, Medium/Coarse Texture, Square/Round Shapes for Painting, Sketching, and Cotton Pulp Practice

$28.00

Commercial Food Warmer Cabinet for Pies, Youtiao, Burgers, Egg Tarts, and Fried Chicken, Heating and Temperature-Controlled Display Case

Commercial Food Warmer Cabinet for Pies, Youtiao, Burgers, Egg Tarts, and Fried Chicken, Heating and Temperature-Controlled Display Case

$977.00

Masking Tape Spray Paint Shielding Paper for Art Students and Sketching - Non-bleeding, Residue-free, Hand-tearable, Shoe-safe

Masking Tape Spray Paint Shielding Paper for Art Students and Sketching - Non-bleeding, Residue-free, Hand-tearable, Shoe-safe

$1.00

Electric Scooter and Motorcycle Hook - Multi-Functional Storage Hanger for Delivery Bikes and Cargo Boxes

Electric Scooter and Motorcycle Hook - Multi-Functional Storage Hanger for Delivery Bikes and Cargo Boxes

$2.50

Huirui 420AB Fast-Drying Glue for Silicone - Bonds ABS, Stainless Steel, TPE, Rubber; High-Strength Instant Adhesive for Difficult Materials

Huirui 420AB Fast-Drying Glue for Silicone - Bonds ABS, Stainless Steel, TPE, Rubber; High-Strength Instant Adhesive for Difficult Materials

$36.00

Color Proofing Instrument Ink Mixing Tool Sample Making Machine

Color Proofing Instrument Ink Mixing Tool Sample Making Machine

$1,860.00

Variable Frequency Drive 0.75kW 2.6A Three-Phase 380V

Variable Frequency Drive 0.75kW 2.6A Three-Phase 380V

$1,430.00

2026 Spring PEP New Edition Primary English Grade 3 Volume 2 Four-Line Three-Grid Word Cards for Teachers, Open Class Competition Creative Blackboard Design, Teaching Contest Blackboard Strips and Teaching Aids

2026 Spring PEP New Edition Primary English Grade 3 Volume 2 Four-Line Three-Grid Word Cards for Teachers, Open Class Competition Creative Blackboard Design, Teaching Contest Blackboard Strips and Teaching Aids

$11.30

Cold Brew Yogurt Fermentation Equipment - Manual Old-Style Yogurt Processing and Filling Line

Cold Brew Yogurt Fermentation Equipment - Manual Old-Style Yogurt Processing and Filling Line

$113,050.00

Electric Spray Painting Pen Set for Babies and Toddlers, Non-Toxic Washable Watercolor Markers, Drawing Tool Kit Toy

Electric Spray Painting Pen Set for Babies and Toddlers, Non-Toxic Washable Watercolor Markers, Drawing Tool Kit Toy

$49.50

[Buy 2 Get 10% Off] Painted Double-Layer Wool Felt Mat for Calligraphy and Painting

[Buy 2 Get 10% Off] Painted Double-Layer Wool Felt Mat for Calligraphy and Painting

$7.48

Compact Home Range Hood, Portable USB Desktop Smoke Extractor for Living Room Hot Pot and BBQ Odor Removal

Compact Home Range Hood, Portable USB Desktop Smoke Extractor for Living Room Hot Pot and BBQ Odor Removal

$41.00

Office and Home Computer Cable Management Sleeve - Desktop Data Cord Organizer and PC Wire Collector

Office and Home Computer Cable Management Sleeve - Desktop Data Cord Organizer and PC Wire Collector

$6.50

Linear Bearing

Linear Bearing

$75.47

Thickened Aluminum Alloy Stainless Steel Floor Wire Raceway - Surface-Mounted Cable Cover Protector, Anti-Crush, Self-Adhesive Invisible Design

Thickened Aluminum Alloy Stainless Steel Floor Wire Raceway - Surface-Mounted Cable Cover Protector, Anti-Crush, Self-Adhesive Invisible Design

$2.13

Kids Foam Stamp Brushes - Mushroom-Tipped Painting Set for Kindergarten Art and Graffiti Projects

Kids Foam Stamp Brushes - Mushroom-Tipped Painting Set for Kindergarten Art and Graffiti Projects

$2.38

Heisidike HZL-32 Portable Stone Removal Hook for Car Tire Tread Cleaning

Heisidike HZL-32 Portable Stone Removal Hook for Car Tire Tread Cleaning

$9.28

Bixilage Cheese Processing Equipment – Curd Fermentation Machine for Stretchy Hand-Pulled Cheese Production Line

Bixilage Cheese Processing Equipment – Curd Fermentation Machine for Stretchy Hand-Pulled Cheese Production Line

$67,900.00

Essential Oil Soap Stamping Machine DIY Stamp Maker Semi-Auto Pneumatic Stampler Small Handmade Soap Equipment

Essential Oil Soap Stamping Machine DIY Stamp Maker Semi-Auto Pneumatic Stampler Small Handmade Soap Equipment

$2,173.00