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)
Blower Motor Compatible with Corolla, Crown, Camry, Highlander, Crown, Reiz, RAV4, Prado, Land Cruiser

Blower Motor Compatible with Corolla, Crown, Camry, Highlander, Crown, Reiz, RAV4, Prado, Land Cruiser

$234.32

Copic Airbrush - Marker Rendering Tool (Cannot Be Used Directly), Model ABS-3, Compatible with Copic Series 1 and 2

Copic Airbrush - Marker Rendering Tool (Cannot Be Used Directly), Model ABS-3, Compatible with Copic Series 1 and 2

$285.00

Beijing Hezhong Dental Implant Service - Includes Implant and Abutment at Central Procurement Prices; Korean Dentium and American Implant Options Available

Beijing Hezhong Dental Implant Service - Includes Implant and Abutment at Central Procurement Prices; Korean Dentium and American Implant Options Available

$1.00

Mini Watercolor Paint Set with Carry Case for Travel Sketching, Journaling, and Students

Mini Watercolor Paint Set with Carry Case for Travel Sketching, Journaling, and Students

$5.50

PGYTECH Dandelion SD Card Case for DSLR and Mirrorless Cameras - Portable TF Memory Card, SIM Card, and XD Card Holder

PGYTECH Dandelion SD Card Case for DSLR and Mirrorless Cameras - Portable TF Memory Card, SIM Card, and XD Card Holder

$84.10

UE4 Unreal Engine 5 Indie Friendly Sounds RPG Sounds Pack - Game-Ready Audio Effects

UE4 Unreal Engine 5 Indie Friendly Sounds RPG Sounds Pack - Game-Ready Audio Effects

$0.50

G80 Manganese Steel Lifting Chain Rigging with Double or Quadruple Hooks, Lifting Rings, and Crane Hooks

G80 Manganese Steel Lifting Chain Rigging with Double or Quadruple Hooks, Lifting Rings, and Crane Hooks

$63.00

Mont Marte Long-Handle Bristle Brush for Acrylic Paint, Art Flat Brush, Oil Painting Brush

Mont Marte Long-Handle Bristle Brush for Acrylic Paint, Art Flat Brush, Oil Painting Brush

$4.00

Stylish Portable Invisible Braces Case for Kids' Orthodontic Retainers and Cleaning

Stylish Portable Invisible Braces Case for Kids' Orthodontic Retainers and Cleaning

$12.40

Used Car Tires (80-90% New) in Sizes 165, 175, 185, 195, 205, 215, 225 - Code 551456

Used Car Tires (80-90% New) in Sizes 165, 175, 185, 195, 205, 215, 225 - Code 551456

$65.00

Commercial and Home Dual-Head Stainless Steel Vegetable Slicer for Cafeterias and Restaurants - Direct from Manufacturer (Slices, Dices, Julienne)

Commercial and Home Dual-Head Stainless Steel Vegetable Slicer for Cafeterias and Restaurants - Direct from Manufacturer (Slices, Dices, Julienne)

$2,142.00

Mountain Ghost Spending Money Cinnabar Coloring Tool Five Emperor Copper Coin Coloring Wood Carving Stone Tablet Taishan Stone Inscription Non-Fading Landscape Buddha Guan Calligraphy Fine Brush Traditional Seal Script Coloring Pen Tracing

Mountain Ghost Spending Money Cinnabar Coloring Tool Five Emperor Copper Coin Coloring Wood Carving Stone Tablet Taishan Stone Inscription Non-Fading Landscape Buddha Guan Calligraphy Fine Brush Traditional Seal Script Coloring Pen Tracing

$17.60

Wide-Opening Chain Sling Assembly with Hooks - Heavy-Duty Lifting Gear, Iron Chains, and Crane Hoist Hooks

Wide-Opening Chain Sling Assembly with Hooks - Heavy-Duty Lifting Gear, Iron Chains, and Crane Hoist Hooks

$145.00

Sketch Blending Stump Set for Artists, Detail Highlight and Shadow Smudging Tools, Cotton Swabs, Scraper, and Sponge Pen Refills

Sketch Blending Stump Set for Artists, Detail Highlight and Shadow Smudging Tools, Cotton Swabs, Scraper, and Sponge Pen Refills

$6.80

Mini Watercolor Paint Set with Walnut Wood Board, Portable Easel, and Travel Sketchbook

Mini Watercolor Paint Set with Walnut Wood Board, Portable Easel, and Travel Sketchbook

$4.68

Modern Housewife Kitchen Sink Organizer - Foldable Dish Drying Rack and Storage Shelf

Modern Housewife Kitchen Sink Organizer - Foldable Dish Drying Rack and Storage Shelf

$44.20

Skid-Mounted Integrated Screw Air Compressor for Laser Cutting - 15kW/22kW/37kW, 16kg, Permanent Magnet VFD

Skid-Mounted Integrated Screw Air Compressor for Laser Cutting - 15kW/22kW/37kW, 16kg, Permanent Magnet VFD

$23,500.00

Wooden Handle Leather Rattle Drum Baby Toy Glue-Free Paint-Free for Ages 1+ Boys and Girls Wooden Shaker

Wooden Handle Leather Rattle Drum Baby Toy Glue-Free Paint-Free for Ages 1+ Boys and Girls Wooden Shaker

$8.42

[Folded Booklet] Liu Chunlin: Palace Examination Essay Final Zhuangyuan Small Regular Script Calligraphy Copybook Original Size Long Scroll

[Folded Booklet] Liu Chunlin: Palace Examination Essay Final Zhuangyuan Small Regular Script Calligraphy Copybook Original Size Long Scroll

$14.20

Stainless Steel Sponge Drain Rack - No-Drill Wall-Mounted Kitchen Sink Organizer for Steel Wool and Scrub Pads

Stainless Steel Sponge Drain Rack - No-Drill Wall-Mounted Kitchen Sink Organizer for Steel Wool and Scrub Pads

$2.60

Analysis of Wang Duo's Classical Poetry Composition Techniques (50 Analyses + 50 Comparisons)

Analysis of Wang Duo's Classical Poetry Composition Techniques (50 Analyses + 50 Comparisons)

$89.00

Custom Sheet Music Transcription Service for 'Farewell Letter' for Saxophone, Clarinet, Flute, Trumpet, Violin, and Cello

Custom Sheet Music Transcription Service for 'Farewell Letter' for Saxophone, Clarinet, Flute, Trumpet, Violin, and Cello

$12.00

Japanese Surplus san-x Rilakkuma Bowl Set - Oven-Safe Bowl with Base and Two Forks for Ice Cream or Hot Pot

Japanese Surplus san-x Rilakkuma Bowl Set - Oven-Safe Bowl with Base and Two Forks for Ice Cream or Hot Pot

$69.90

Guangda Dental | Swiss Dental Implants Including Abutment, Implant Body, and Crown, Improves Chewing, Restores Missing Teeth

Guangda Dental | Swiss Dental Implants Including Abutment, Implant Body, and Crown, Improves Chewing, Restores Missing Teeth

$3,900.00

50pcs Merry Christmas Gift Tags Printed White Paper Labels X

50pcs Merry Christmas Gift Tags Printed White Paper Labels X

$26.44

Kabaxiong Color Gel Pens - Retractable Morandi Style, High-Aesthetic Japanese INS Set for Journaling and Marking

Kabaxiong Color Gel Pens - Retractable Morandi Style, High-Aesthetic Japanese INS Set for Journaling and Marking

$8.88

Continental Tires 225 235 245 255 275/35 40 45 50 55R17 18 19 20 21 22

Continental Tires 225 235 245 255 275/35 40 45 50 55R17 18 19 20 21 22

$350.00

Portable Invisible Aligner Case for Orthodontic Retainers - Compact, Breathable Storage Box for Teeth Correctors and Dentures

Portable Invisible Aligner Case for Orthodontic Retainers - Compact, Breathable Storage Box for Teeth Correctors and Dentures

$18.80

Chushinmi Home Kitchen Sink Foldable Dish Drying Rack Bowl Storage Organizer Drainage Shelf

Chushinmi Home Kitchen Sink Foldable Dish Drying Rack Bowl Storage Organizer Drainage Shelf

$59.40

Lanyard Invisible Aligner Case Retainer Storage Box Expander Corrector Holder Portable Breathable Storage Container

Lanyard Invisible Aligner Case Retainer Storage Box Expander Corrector Holder Portable Breathable Storage Container

$11.42