Skip to main content
Home / Computer Hardware, Monitors & Peripherals / Single-Bus Digital Temperature and Humidity Sensor DHT11 Module Electronic Building Blocks with Cable YS-31

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Model Number YS-31
Sensor Chip DHT11
Interface Type Single-bus digital
Operating Voltage 3.3V - 5.5V DC
Temperature Range 0°C to 50°C
Humidity Range 20% to 90% RH
Temperature Accuracy ±2°C
Humidity Accuracy ±5% RH
Cable Length 20cm (Included)
Compatibility Arduino, Raspberry Pi, ESP8266

5 reviews

A

Anonymous

Mar 24, 2026

Rating: 5/5

Good value sensor

Accurate enough for home monitoring projects. I used it to track conditions in my living room and it pairs well with the standard libraries available online.

A

Anonymous

Mar 18, 2026

Rating: 5/5

Easy to wire

The module form factor is much better than the raw sensor. The cable is flexible and the pinout is clearly marked on the PCB. Highly recommend for beginners.

A

Anonymous

Mar 16, 2026

Rating: 5/5

Perfect for Arduino projects

Works straight out of the box. The included cable makes it very easy to connect to my breadboard without soldering. Readings are consistent for hobbyist use.

A

Anonymous

Mar 02, 2026

Rating: 4/5

Decent but slow

The sensor works as expected, but the sampling rate is a bit low compared to newer models. Fine for most applications where real-time data isn't critical.

A

Anonymous

Jan 25, 2026

Rating: 5/5

Reliable hobbyist component

Used it for my small greenhouse automation system. It has been running for weeks without issues. Temperature and humidity data logs look stable.

5 FAQ

Q: What library should I use for Arduino?

A: We recommend using the Adafruit DHT sensor library. It is widely supported and easy to integrate with this module.

Q: Does it work with 3.3V logic?

A: Yes, the module operates within 3.3V to 5.5V, making it compatible with both 3.3V and 5V microcontroller logic levels.

Q: How long can I extend the cable?

A: For reliable digital signal transmission, we recommend keeping the cable extension under 1 meter to prevent data loss.

Q: Can it measure body temperature?

A: No, this sensor is designed for environmental temperature monitoring only. It is not suitable for medical or body temperature measurements.

Q: Is this sensor waterproof?

A: No, the DHT11 module is not waterproof. It should be kept in a dry environment or housed in a protective enclosure if used outdoors.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
New 968 Fast-Drying Super Glue - Strong Bond for Metal, Magnets, Rubber, and Aluminum Alloy

New 968 Fast-Drying Super Glue - Strong Bond for Metal, Magnets, Rubber, and Aluminum Alloy

$18.20

German Imported Stone Removal Hook Car Tire Stone Cleaning Tool Vehicle Foldable Multi-Function Stone Remover

German Imported Stone Removal Hook Car Tire Stone Cleaning Tool Vehicle Foldable Multi-Function Stone Remover

$11.34

[10% Off for 2 Items] Double-Sided Wool Felt Mat for Calligraphy and Painting, Student Practice Sheet, Brush Writing Desk Pad, Four Treasures of the Study Set

[10% Off for 2 Items] Double-Sided Wool Felt Mat for Calligraphy and Painting, Student Practice Sheet, Brush Writing Desk Pad, Four Treasures of the Study Set

$6.63

In Stock Special Offer: QS18VP6LLPQ8 Sensor - Price Negotiable

In Stock Special Offer: QS18VP6LLPQ8 Sensor - Price Negotiable

$600.00

Broccoli Vegetable Washing Machine for Pre-made Dishes, Water Bath Cleaning Equipment with Bubble System for Herbs and Export-Grade Produce

Broccoli Vegetable Washing Machine for Pre-made Dishes, Water Bath Cleaning Equipment with Bubble System for Herbs and Export-Grade Produce

$615.00

Hongkedou Oxford Fabric Bag-in-Bag Divider Insert, Stiff Makeup Organizer with Zipper, Waterproof Small Women's Pouch

Hongkedou Oxford Fabric Bag-in-Bag Divider Insert, Stiff Makeup Organizer with Zipper, Waterproof Small Women's Pouch

$22.00

Pad Printing Machine Accessories: Positioning Clamps, T-Shaped Holders, and Locking Irons

Pad Printing Machine Accessories: Positioning Clamps, T-Shaped Holders, and Locking Irons

$0.60

Japanese High-Concentration Oxalic Acid Toilet Cleaner, Powerful Urine Scale Remover and Stain Eliminator

Japanese High-Concentration Oxalic Acid Toilet Cleaner, Powerful Urine Scale Remover and Stain Eliminator

$23.82

Biliansheng No-Shave Hair Transplant - Hairline and Crown Thinning Treatment, Hair Loss Detection Service

Biliansheng No-Shave Hair Transplant - Hairline and Crown Thinning Treatment, Hair Loss Detection Service

$86.00

Laorentou Paper Blending Stump for Sketching - Professional Art Supply for Highlighting and Pastel Work

Laorentou Paper Blending Stump for Sketching - Professional Art Supply for Highlighting and Pastel Work

$6.80

Fast-Drying Glue for ABS Plastic - Transparent, High-Strength, Odorless, Non-Whitening Instant Adhesive for ABS and PC Plastics

Fast-Drying Glue for ABS Plastic - Transparent, High-Strength, Odorless, Non-Whitening Instant Adhesive for ABS and PC Plastics

$58.96

Manufacturer Supply Oxygen Absorber Oxygen Generator Stable Performance Hydrogen-Rich Machine Hydrogen Generator

Manufacturer Supply Oxygen Absorber Oxygen Generator Stable Performance Hydrogen-Rich Machine Hydrogen Generator

$5,058.00

POPMART CRYBABY Vacation Mode On - Vinyl Plush Keychain Blind Box

POPMART CRYBABY Vacation Mode On - Vinyl Plush Keychain Blind Box

$106.99

Portable Travel Potty for Kids, Outdoor Toilet, Foldable Car Seat Potty for Babies, Travel Urinal for Outdoors

Portable Travel Potty for Kids, Outdoor Toilet, Foldable Car Seat Potty for Babies, Travel Urinal for Outdoors

$29.90

Wen Zhengming Red Cliff & Tengwang Pavilion Copybook - 2-Volume Running Script Long Scroll for Calligraphy Practice

Wen Zhengming Red Cliff & Tengwang Pavilion Copybook - 2-Volume Running Script Long Scroll for Calligraphy Practice

$22.00

Commercial Food Warmer Cabinet, Double-Layer Display Unit for Western Restaurants and Burger Shops, Wholesale Two-Tier Heating Showcase

Commercial Food Warmer Cabinet, Double-Layer Display Unit for Western Restaurants and Burger Shops, Wholesale Two-Tier Heating Showcase

$2,527.00

Electromagnetic Pulse Valve Blow-Type Submerged Right-Angle Explosion-Proof Solenoid Valve

Electromagnetic Pulse Valve Blow-Type Submerged Right-Angle Explosion-Proof Solenoid Valve

$152.00

Pure Brass Backflow Incense Holder with Wooden Base, Incense Burner Stand for Sandalwood

Pure Brass Backflow Incense Holder with Wooden Base, Incense Burner Stand for Sandalwood

$4.17

Multi-Function Over-Toilet Freestanding Shelf - Bathroom Storage Rack for Sink Area and Behind-Toilet Space

Multi-Function Over-Toilet Freestanding Shelf - Bathroom Storage Rack for Sink Area and Behind-Toilet Space

$958.10

Catalytic Combustion Equipment RCO Activated Carbon Adsorption Desorption Integrated Machine Industrial Plastic Waste Gas Purification Treatment Device

Catalytic Combustion Equipment RCO Activated Carbon Adsorption Desorption Integrated Machine Industrial Plastic Waste Gas Purification Treatment Device

$4,400.00

RoHS Ten Hazardous Substance Alloy Analysis and Coating Thickness Gauge - EDXRF Environmental Testing Instrument

RoHS Ten Hazardous Substance Alloy Analysis and Coating Thickness Gauge - EDXRF Environmental Testing Instrument

$10,856.00

Outes Air Energy Water Heater for Home Heating, Inverter Floor Heating & Central AC All-in-One Unit

Outes Air Energy Water Heater for Home Heating, Inverter Floor Heating & Central AC All-in-One Unit

$18,000.00

2025 Limited Edition Colorful Mesh Tofu Bag - Ultra-Light Breathable Multi-Purpose Storage Pouch

2025 Limited Edition Colorful Mesh Tofu Bag - Ultra-Light Breathable Multi-Purpose Storage Pouch

$11.90

Liupintang Calligraphy Felt Mat – Traditional Chinese Style Cultural Creative Painted Desk Pad for Brush Writing, Practice, and Ink Painting

Liupintang Calligraphy Felt Mat – Traditional Chinese Style Cultural Creative Painted Desk Pad for Brush Writing, Practice, and Ink Painting

$19.30

Shengneng Commercial Air Source Heat Pump Host KFXRS-40Ⅱ

Shengneng Commercial Air Source Heat Pump Host KFXRS-40Ⅱ

$45,000.00

Yiyi Electric Pad Printing Ink Cups (150/175/300/380) - Magnetic Doctor Blade Ink Wells for Coding Machines

Yiyi Electric Pad Printing Ink Cups (150/175/300/380) - Magnetic Doctor Blade Ink Wells for Coding Machines

$68.00

ML-150 Standard Material Leveling Machine - Economical and Practical Model

ML-150 Standard Material Leveling Machine - Economical and Practical Model

$11,780.00

3-in-1 Multi-Function Paint Brush Washer with Palette Compartments for Art Students

3-in-1 Multi-Function Paint Brush Washer with Palette Compartments for Art Students

$5.02

Silicone Dental Retainer Case - Portable Storage Box for Orthodontic Aligners & Dentures

Silicone Dental Retainer Case - Portable Storage Box for Orthodontic Aligners & Dentures

$19.30

Natural Crystal Raw Stone Aroma Diffuser Ornament Rose Quartz Crushed Stone Rough Ore Home Flameless Aromatherapy Healing Gift

Natural Crystal Raw Stone Aroma Diffuser Ornament Rose Quartz Crushed Stone Rough Ore Home Flameless Aromatherapy Healing Gift

$3.90