[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-720441-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-720441-en":130,"doc-similar-720441":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","dht11-temperature-and-humidity-sensor","DHT11 Temperature and Humidity Sensor","","DHT11 Temperature and Humidity Sensor document details a calibrated temperature-humidity composite sensor designed for Arduino sensor shield compatibility and reliable long-term performance. It highlights features such as fast response and strong anti-interference capability, and provides key specifications including DC 5V working voltage, 3-pin digital interface, temperature range 0–50℃ with ±2℃ tolerance, and humidity range 20–90%RH with ±5%RH tolerance. It also includes a wiring and Arduino test program, serial output format, and instructions for uploading code and monitoring results, plus a download link.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/dht11-temperature-and-humidity-sensor/720441/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/dht11-temperature-and-humidity-sensor/720441.png","ImageObject",300,407,{"name":42,"@type":43},"angelica ♡","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-27","2026-11-18",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What compatibility and key features does the DHT11 sensor support?","Question",{"text":63,"@type":64},"The sensor is compatible with Arduino sensor shield connection ports. It provides calibrated digital output and is designed for high reliability, fast response, strong anti-interference, and excellent long-term stability.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What are the main electrical and environmental parameters?",{"text":68,"@type":64},"Working voltage is DC 5V with a 3-pin interface. Temperature range is 0–50℃±2℃, and humidity range is 20–90%RH±5%RH. Dimensions are 27*16*8mm and weight is 2.0g.",{"name":70,"@type":61,"acceptedAnswer":71},"How is the sensor tested with Arduino and what is shown on the serial monitor?",{"text":72,"@type":64},"Wire the sensor, upload the provided code, and power on. Ambient humidity and temperature values display in the serial monitor in the formatted output produced by the test program, updated every 1 second.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},720441,1795037380,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":97,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":80,"read_time":143,"preview_page_count":33,"preview_urls":144},4398072663683,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","DHT11 Temperature and Humidity Sensor  \n1. Description  \nThis sensor is a dedicated arduino sensor, and its connection ports are compatible with the arduino sensor shield.  \nTo be specific, it is a temperature and humidity composite sensor with calibrated digital signal output, which applies special digital module acquisition technology and temperature and humidity sensing technology to ensure that the product has high reliability and excellent long-term stability. Importantly, it comes with two positioning holes for us to attach it to other devices.  \nIn a word, the product features premium quality, fast response, strong anti-interference ability as well as high cost performance.  \n2. Parameters  \n1. Working voltage： DC 5V  \n2. Interface： 3PIN  \n3. Port： Digital bidirectional unibus  \n4. Temperature range： 0-50℃±2℃  \n5. Humidity range： 20-90%RH±5%RH  \n6. Dimension：27*16*8mm  \n7. Weight： 2.0g  \n3. Wiring Diagram  \n4. Test Code  \n\\#include \u003Cdht11 . h>  \ndht11 DHT;  \n\\#define DHT11_PIN 3 void setup(){  \nSerial.begin(9600);  \nSerial.println(\"DHT TEST PROGRAM \");  \nSerial.print(\"LIBRARY VERSION: \");  \nSerial.println(DHT11LIB_VERSION);  \nSerial.println();  \nSerial.println(\"Type,\\tstatus,\\tHumidity (%),\\tTemperature (C)\");  \n}  \nvoid loop(){ int chk;  \nSerial.print(\"DHT11, \\t\"); [chk = DHT. read(DHT11_PIN); // READ DATA](chk = DHT. read(DHT11_PIN); // READ DATA)[ ](chk = DHT. read(DHT11_PIN); // READ DATA)[switch](switch) (chk){  \ncase DHTLIB_OK:  \nSerial.print(\"OK,\\t\");  \nbreak;  \ncase DHTLIB_ERROR_CHECKSUM:  \nSerial.print(\"Checksum error,\\t\");  \nbreak;  \ncase DHTLIB_ERROR_TIMEOUT:  \nSerial.print(\"Time out error,\\t\");  \nbreak; default:  \nSerial.print(\"Unknown error,\\t\");  \nbreak;}  \n// DISPLAT DATA  \nSerial.print(DHT.humidity,1);  \nSerial.print(\",\\t\");  \nSerial.println(DHT.temperature,1);  \ndelay(1000);}  \n5. Test Result  \nWire the wirings, upload the code and power on, then the ambient humidity and temperature value will be displayed in the serial monitor, as shown below.  \n6. Download Link:  \n[https://pan.baidu.com/s/1WGbYih4yH--6moqK9HsKRg](https://pan.baidu.com/s/1WGbYih4yH--6moqK9HsKRg)  \n[Code](Code)：9afu","cbCaioeBcXPurBfn","https://ap.wps.com/l/cbCaioeBcXPurBfn","pdf",144389,"English","# Description\n# Parameters\n# Wiring Diagram\n# Test Code\n# Test Result\n# Download Link","[{\"question\":\"What compatibility and key features does the DHT11 sensor support?\",\"answer\":\"The sensor is compatible with Arduino sensor shield connection ports. It provides calibrated digital output and is designed for high reliability, fast response, strong anti-interference, and excellent long-term stability.\"},{\"question\":\"What are the main electrical and environmental parameters?\",\"answer\":\"Working voltage is DC 5V with a 3-pin interface. Temperature range is 0–50℃±2℃, and humidity range is 20–90%RH±5%RH. Dimensions are 27*16*8mm and weight is 2.0g.\"},{\"question\":\"How is the sensor tested with Arduino and what is shown on the serial monitor?\",\"answer\":\"Wire the sensor, upload the provided code, and power on. Ambient humidity and temperature values display in the serial monitor in the formatted output produced by the test program, updated every 1 second.\"}]","DHT11 Temperature and Humidity Sensor | PDF",13,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1381fdcba78f6fcbcd7f8bbb3158e8fa.webp",983,1390,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5f1a6bf4deb770f399e930e4918a4bc9.webp",982,1388,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/648ba00f0a6f456d42d3e7e4943a2c22.webp",981,1387,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a55350a689951b9c42bd3d83ff6e032e.webp",980,1385,{"list":162,"token":11},[163,169,175,181,187,193,199,205,211,218],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":30,"category_name":29,"create_tm":168},720435,"DHT11 Humidity & Temperature Sensor Module - User Guide - Operating Specifications and Arduino Example","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396025/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=W7pJUYNOJhEZaxgVkRZX1B0C1VQ%3D","dht11-humidity-temperature-sensor-module-user-guide-operating-specifications-and-arduino-example",1795037368,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":33,"category_name":29,"create_tm":174},720437,"DHT11 Temperature & Humidity Sensor - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396032/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=E9lVYTuftPP3wdoXhuOIlXAydkM%3D","dht11-temperature-humidity-sensor-introduction",1795037374,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":33,"category_name":29,"create_tm":180},720454,"DHT22 - Digital-output Relative Humidity & Temperature Sensor Module/Device","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396477/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=0Nh1%2FkCD6vg1lr5cDmN%2FIarsugk%3D","dht22-digital-output-relative-humidity-temperature-sensor-moduledevice",1795037437,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":97,"category_name":29,"create_tm":186},720439,"Temperature and Humidity Sensor on an Arduino - Intro","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396060/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=pD7PFrh5Tnc8pyZkJ9HDalP55sY%3D","temperature-and-humidity-sensor-on-an-arduino-intro",1795037376,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":30,"category_name":29,"create_tm":192},689901,"HC-SR04 Ultrasonic Distance Sensor On an Arduino - Overview, Specifications, and Code","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001443281/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=lkHpQGVlUDsI%2FeZZf5mH4GhpXPA%3D","hc-sr04-ultrasonic-distance-sensor-on-an-arduino-overview-specifications-and-code",1794133605,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":33,"category_name":29,"create_tm":198},720433,"DHT11 - Digital Temperature and Humidity Sensor - Product Parameters and Application Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396013/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=bUznaMCfXYp8%2FChWu0kVaJgWGjU%3D","dht11-digital-temperature-and-humidity-sensor-product-parameters-and-application-guide",1795037365,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":30,"category_name":29,"create_tm":204},720457,"DHT22 Temperature and Humidity Sensor - Product Details, Features, Specifications and Test Code","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396540/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=jEIGg4wXnTEIKF5Kq3pboVjfUiA%3D","dht22-temperature-and-humidity-sensor-product-details-features-specifications-and-test-code",1795037443,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":123,"category_name":29,"create_tm":210},664829,"MODULE FOR HUMIDITY AND TEMPERATURE - OEM MODULES - Technical information","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983313003/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=5MAvuE5dCWAmT%2BrDMB0WcwNWsd8%3D","module-for-humidity-and-temperature-oem-modules-technical-information",1793275091,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},289918,"Datasheet SHT3x-DIS - Humidity and Temperature Sensor","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903478791/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=pofOAwWdk6OiiOHcBB1k5NWMnLo%3D","datasheet-sht3x-dis-humidity-and-temperature-sensor",18,1789638465,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":55,"category_name":29,"create_tm":223},720460,"DHT22 2 click - specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396585/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=jJilKLgRlFRi3X%2BmHXcjA38p%2Bk4%3D","dht22-2-click-specifications",1795037450]