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

All Categories
Best Seller (30)
New List (30)
Smart Toilet Storage Rack for Bathroom, Multi-Tier Floor-Standing Organizer with Waterproof Tissue Holder

Smart Toilet Storage Rack for Bathroom, Multi-Tier Floor-Standing Organizer with Waterproof Tissue Holder

$273.00

Yihuashu Calligraphy Felt Mat - Thickened Grid Cloth for Student Practice, Brush Writing Pad

Yihuashu Calligraphy Felt Mat - Thickened Grid Cloth for Student Practice, Brush Writing Pad

$1.98

Xiankan Yunshu [Danran] Ceramic Brush Washer - Hand-Painted Elegant Lily Design under Glaze for Calligraphy Supplies

Xiankan Yunshu [Danran] Ceramic Brush Washer - Hand-Painted Elegant Lily Design under Glaze for Calligraphy Supplies

$32.90

Chunfei Grocery Store Commuter Hard Fork Low-Step Mountain Bike for Road, City, Suburb, School, and Outings

Chunfei Grocery Store Commuter Hard Fork Low-Step Mountain Bike for Road, City, Suburb, School, and Outings

$2,224.64

Zhang Xiaofeng 'Fu Lu' Hotpot Inkstone Set – Covered Ceramic Ink Well for Calligraphy and Chinese Painting

Zhang Xiaofeng 'Fu Lu' Hotpot Inkstone Set – Covered Ceramic Ink Well for Calligraphy and Chinese Painting

$38.00

Invisalign Orthodontic Retainer Case, Portable Storage and Cleaning Box for Aligners and Dentures

Invisalign Orthodontic Retainer Case, Portable Storage and Cleaning Box for Aligners and Dentures

$12.30

Natural 7A Lavender Loose Beads Single Round Bead DIY Amethyst Spacer Beads Jewelry Making Semi-Finished Accessories

Natural 7A Lavender Loose Beads Single Round Bead DIY Amethyst Spacer Beads Jewelry Making Semi-Finished Accessories

$0.88

Paint Brush Cleaner - Mini Toilet Style Rinser for Watercolor and Gouache, Art Supply with Circulating Water System

Paint Brush Cleaner - Mini Toilet Style Rinser for Watercolor and Gouache, Art Supply with Circulating Water System

$16.90

Traditional Wooden Rattle Drum with Sheepskin Head for Early Education, Visual Tracking and Hearing Training for Newborn Boys and Girls

Traditional Wooden Rattle Drum with Sheepskin Head for Early Education, Visual Tracking and Hearing Training for Newborn Boys and Girls

$10.80

Car Tire Stone Removal Hook, Stainless Steel Multi-Function Tool for Cleaning Pebbles from Tires

Car Tire Stone Removal Hook, Stainless Steel Multi-Function Tool for Cleaning Pebbles from Tires

$6.21

Factory Direct Mining Round Link Chains - High Cost-Performance Lifting Chains for Mining Applications

Factory Direct Mining Round Link Chains - High Cost-Performance Lifting Chains for Mining Applications

$153.00

Hangzhou Stomatological Hospital Dental Implant Initial Consultation Package – CT Scan, Missing Tooth Exam, and Custom Implant Plan Design

Hangzhou Stomatological Hospital Dental Implant Initial Consultation Package – CT Scan, Missing Tooth Exam, and Custom Implant Plan Design

$1.00

Rockschool Acoustic Guitar Method Book (Chinese Edition) – Folk & Rock Guitar Grading Curriculum for Schools

Rockschool Acoustic Guitar Method Book (Chinese Edition) – Folk & Rock Guitar Grading Curriculum for Schools

$145.00

Commercial Food Warmer Cabinet, Small Heating Thermostat Display Counter for French Fries, Egg Tarts, Enlarged Chestnuts, and Fried Chicken

Commercial Food Warmer Cabinet, Small Heating Thermostat Display Counter for French Fries, Egg Tarts, Enlarged Chestnuts, and Fried Chicken

$334.00

Natural Green Peridot Crushed Stone, Small Raw Particles for Demagnetizing Energy, Aquarium Landscaping DIY Accessories

Natural Green Peridot Crushed Stone, Small Raw Particles for Demagnetizing Energy, Aquarium Landscaping DIY Accessories

$8.50

3M 5-Inch Flocked Abrasive Disc with Hook-and-Loop Backing – Polishing Pad for Angle Grinders, Rust Removal & Cleaning

3M 5-Inch Flocked Abrasive Disc with Hook-and-Loop Backing – Polishing Pad for Angle Grinders, Rust Removal & Cleaning

$3.20

Children DIY Art Rubbing Stick Round Painting Sponge Brush Graffiti Stamp Tool Kindergarten Rubbing Materials

Children DIY Art Rubbing Stick Round Painting Sponge Brush Graffiti Stamp Tool Kindergarten Rubbing Materials

$2.61

Over-Toilet Storage Rack for Bathroom - Organizer for Tissue, Toiletries, and Body Wash

Over-Toilet Storage Rack for Bathroom - Organizer for Tissue, Toiletries, and Body Wash

$23.46

Magbase Cable Organizer with Dual Strong Magnets for Car, Office, and Home - Holds Power Cables, Ethernet, and Charging Cables

Magbase Cable Organizer with Dual Strong Magnets for Car, Office, and Home - Holds Power Cables, Ethernet, and Charging Cables

$24.90

Multi-Purpose Industrial Wiping Cloth 30*35 - Lint-Free Oil-Absorbent Paper for Aviation, Metro, and Rail Systems

Multi-Purpose Industrial Wiping Cloth 30*35 - Lint-Free Oil-Absorbent Paper for Aviation, Metro, and Rail Systems

$98.00

Commercial Electric Dicing Machine - Multi-Function Slicer for Carrots and Potatoes

Commercial Electric Dicing Machine - Multi-Function Slicer for Carrots and Potatoes

$852.00

[Single Pack] Handwoven Bird Nest Drop Net Cotton Rope Crochet Fruit Mesh Bag Storage Organizer

[Single Pack] Handwoven Bird Nest Drop Net Cotton Rope Crochet Fruit Mesh Bag Storage Organizer

$10.36

Car Tire Lug Nuts - External Hex Cone Seat Wheel Bolts for Custom Rims

Car Tire Lug Nuts - External Hex Cone Seat Wheel Bolts for Custom Rims

$80.00

Infant Sheepskin Rattle Baby Toy for Courage Building, Solid Wood Unpainted Chewable Glue-Free Version for Audio-Visual Grasping Early Education

Infant Sheepskin Rattle Baby Toy for Courage Building, Solid Wood Unpainted Chewable Glue-Free Version for Audio-Visual Grasping Early Education

$18.25

New Transparent Heat-Preserving Display Case for Roast Duck - Commercial Crispy Pork Belly Warmer with Eco-Friendly Design

New Transparent Heat-Preserving Display Case for Roast Duck - Commercial Crispy Pork Belly Warmer with Eco-Friendly Design

$636.00

Electric Watercolor Spray Pen Children Hand-painted Color Pa

Electric Watercolor Spray Pen Children Hand-painted Color Pa

$46.55

Meiyike Water-Soluble Fertilizer with Major Elements – Hua Duo Duo No.1, No.2, No.10 Formulas, High Nitrogen, Phosphorus, Potassium Specialized Compound Fertilizer

Meiyike Water-Soluble Fertilizer with Major Elements – Hua Duo Duo No.1, No.2, No.10 Formulas, High Nitrogen, Phosphorus, Potassium Specialized Compound Fertilizer

$49.34

Waterproof Swim Bag, Wet Clothes Storage Tote with Handle, Large-Capacity Outdoor Hot Spring Pouch Dedicated for Mobile Phones

Waterproof Swim Bag, Wet Clothes Storage Tote with Handle, Large-Capacity Outdoor Hot Spring Pouch Dedicated for Mobile Phones

$59.96

Magic Expandable Bag, Foldable Shopping Tote, Portable Large-Capacity Storage for Grocery, Travel, and Mall Trips

Magic Expandable Bag, Foldable Shopping Tote, Portable Large-Capacity Storage for Grocery, Travel, and Mall Trips

$6.80

Dancolin Blending Stump Set for Oil Pastels, Art Student Tools for Heavy-Color Oil Painting, Dual-Tip Pointed and Round DIY Soft Wax Drawing, Smudging, Mixing, Highlighting, Erasable Knife for Painting and Color Blending

Dancolin Blending Stump Set for Oil Pastels, Art Student Tools for Heavy-Color Oil Painting, Dual-Tip Pointed and Round DIY Soft Wax Drawing, Smudging, Mixing, Highlighting, Erasable Knife for Painting and Color Blending

$16.80