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)
Star Cat Creative Watercolor Fill-in Coloring Book for Kids - DIY Art and Craft Painting Set with Pigments

Star Cat Creative Watercolor Fill-in Coloring Book for Kids - DIY Art and Craft Painting Set with Pigments

$15.30

Donghai Crystal Live Stream Exclusive Listing for Natural Crystals - Perfectionists Please Purchase with Caution

Donghai Crystal Live Stream Exclusive Listing for Natural Crystals - Perfectionists Please Purchase with Caution

$1.00

[Buy 2 Get 10% Off] Lanzhai Purple Iris Painted Felt Mat – Thickened, Moisture-Resistant, Non-Pilling for Calligraphy & Painting

[Buy 2 Get 10% Off] Lanzhai Purple Iris Painted Felt Mat – Thickened, Moisture-Resistant, Non-Pilling for Calligraphy & Painting

$6.63

Natural Crystal Morganite Pink Loose Beads - Single Round Beads for DIY Jewelry Making and Craft Accessories

Natural Crystal Morganite Pink Loose Beads - Single Round Beads for DIY Jewelry Making and Craft Accessories

$0.89

Mini Pencil Sharpener for Elementary Students - Small Manual Crank Sharpener for Kids' Pencils

Mini Pencil Sharpener for Elementary Students - Small Manual Crank Sharpener for Kids' Pencils

$1.89

Bamboo Flute Bar Dynamic Sheet Music Book for Accompaniment, Sight-Reading, and Rhythm Practice

Bamboo Flute Bar Dynamic Sheet Music Book for Accompaniment, Sight-Reading, and Rhythm Practice

$221.00

Multi-Function Thickened Industrial Scouring Pad for Cleaning, Stainless Steel Brushing, Rust Removal, and Emery Cleaning

Multi-Function Thickened Industrial Scouring Pad for Cleaning, Stainless Steel Brushing, Rust Removal, and Emery Cleaning

$7.80

Natural Light Yellow Azeztulite Loose Beads for DIY Jewelry Making and Craft Supplies

Natural Light Yellow Azeztulite Loose Beads for DIY Jewelry Making and Craft Supplies

$2.00

Expanded Clay Pebbles for Gardening - Pot Bottom Layer, Surface Mulch, Soil-Free Hydroponics for Flowers, Succulents, Orchids - Breathable Planting Medium

Expanded Clay Pebbles for Gardening - Pot Bottom Layer, Surface Mulch, Soil-Free Hydroponics for Flowers, Succulents, Orchids - Breathable Planting Medium

$7.70

1/5 Pack Silicone Kitchen Utensils Set for Cooking Baking

1/5 Pack Silicone Kitchen Utensils Set for Cooking Baking

$43.12

Aizaofang 6-Cavity Triple Flower Silicone Mold - DIY Handmade Soap Home Decor - Food-Grade Heat-Resistant Material

Aizaofang 6-Cavity Triple Flower Silicone Mold - DIY Handmade Soap Home Decor - Food-Grade Heat-Resistant Material

$12.70

Single-Leg Manganese Steel Lifting Hook with Wide Opening for Hoists and Cranes

Single-Leg Manganese Steel Lifting Hook with Wide Opening for Hoists and Cranes

$92.00

Hesdick HZL-32 Portable Stone Removal Hook, Multi-Function Groove Tool for Car Tire Debris Cleaning

Hesdick HZL-32 Portable Stone Removal Hook, Multi-Function Groove Tool for Car Tire Debris Cleaning

$9.28

PC Bonding Sealing Waterproof UV1901 Guardrail Tube Adhesive Shadowless Glue UV Glue Electronic Glue

PC Bonding Sealing Waterproof UV1901 Guardrail Tube Adhesive Shadowless Glue UV Glue Electronic Glue

$859.00

Wan Dian Wu Xian Stackable Toy Accessories - Vol.3 Prosperous Era Series Blind Capsule Figures for Desktop Display

Wan Dian Wu Xian Stackable Toy Accessories - Vol.3 Prosperous Era Series Blind Capsule Figures for Desktop Display

$29.00

In Stock Commercial Vegetable Chopper and Meat Mincer - Grinding Machine for Baozi Fillings, Chili Dumplings, and Sausage WTP Meat Paste Processing

In Stock Commercial Vegetable Chopper and Meat Mincer - Grinding Machine for Baozi Fillings, Chili Dumplings, and Sausage WTP Meat Paste Processing

$5,805.00

Industrial Lint-Free Cloth for Cleaning Lenses, Optical Instruments, and Phone Screens; Microfiber Dusting Wipes

Industrial Lint-Free Cloth for Cleaning Lenses, Optical Instruments, and Phone Screens; Microfiber Dusting Wipes

$81.58

Electric Barrel Water Dispenser Pump Automatic Water Lifter for Mineral and Purified Water

Electric Barrel Water Dispenser Pump Automatic Water Lifter for Mineral and Purified Water

$74.00

F01RB0WA23 Transmission Valve for Roewe DQCT280 Remanufactured

F01RB0WA23 Transmission Valve for Roewe DQCT280 Remanufactured

$324.00

Full Payment Pre-order Guzi Bear DMMD Dramatical Murder Badge Polaroid Set Merchandise

Full Payment Pre-order Guzi Bear DMMD Dramatical Murder Badge Polaroid Set Merchandise

$29.00

Peach Wood Sheepskin Rattle and Clapper Brass Traditional Handmade Baby Teething Hand Drum Newborn Gift Box

Peach Wood Sheepskin Rattle and Clapper Brass Traditional Handmade Baby Teething Hand Drum Newborn Gift Box

$29.90

Pirelli Run-Flat Tires 235/245/255/265/275/285 40 45 50 55R19R20R21

Pirelli Run-Flat Tires 235/245/255/265/275/285 40 45 50 55R19R20R21

$350.00

Protective Case Lid for Pelican Cases - Laptop Insert for Models 1510, 1560, and 1535

Protective Case Lid for Pelican Cases - Laptop Insert for Models 1510, 1560, and 1535

$254.00

Universal 5800 Super Glue for Plastic, Metal, Glass, and Wood, 10-Second Fast Curing

Universal 5800 Super Glue for Plastic, Metal, Glass, and Wood, 10-Second Fast Curing

$2.01

White Noise Wood Chip Core Grid Scented Candle Wooden Core S-Type Brand Name Candle Container Soy Candle Core Wood

White Noise Wood Chip Core Grid Scented Candle Wooden Core S-Type Brand Name Candle Container Soy Candle Core Wood

$1.50

Zunjue 100% Cotton Paper Block 300g Watercolor Paper, Fine/Medium Grain, Thickened 80 Sheets, Neutral Acid-Free Journal Paper for Art Students, Beginners, Watercolor, Colored Pencil, Pen, Light Wash, Marker

Zunjue 100% Cotton Paper Block 300g Watercolor Paper, Fine/Medium Grain, Thickened 80 Sheets, Neutral Acid-Free Journal Paper for Art Students, Beginners, Watercolor, Colored Pencil, Pen, Light Wash, Marker

$27.20

Outdoor Waterproof Dry Bag for Rafting and Creek Walking - Large Capacity Backpack for Swimming, Hiking, Diving, and Flood Rescue

Outdoor Waterproof Dry Bag for Rafting and Creek Walking - Large Capacity Backpack for Swimming, Hiking, Diving, and Flood Rescue

$132.00

Lukang 995 Door and Window Fast-Drying Glass Sealant - Transparent Weather-Resistant Neutral Silicone Structural Adhesive

Lukang 995 Door and Window Fast-Drying Glass Sealant - Transparent Weather-Resistant Neutral Silicone Structural Adhesive

$222.90

Large Flip-Type Water Draining and Air Drying Machine, Fully Automatic Air Knife Blower for Vegetables, Commercial Continuous Drying Equipment

Large Flip-Type Water Draining and Air Drying Machine, Fully Automatic Air Knife Blower for Vegetables, Commercial Continuous Drying Equipment

$15,282.00

Large Capacity Household Quilt Storage Bag - Waterproof and Moisture-Proof Duvet Organizer for Moving, Packing, and Luggage Sorting

Large Capacity Household Quilt Storage Bag - Waterproof and Moisture-Proof Duvet Organizer for Moving, Packing, and Luggage Sorting

$5.88