[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-720459-105":3,"doc-detail-720459-en":81,"detail-sidebar-cat-0-en-105":114,"doc-similar-720459":162},{"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","az-delivery-dht22-temperature-module-setup-and-use-guide","AZ-Delivery DHT22 Temperature module - Setup and use guide","","AZ-Delivery DHT22 Temperature module usage guide for setting up a relative humidity and temperature sensor that outputs a digital signal (DHT-22 / AM2302). Explains measurement principle using a capacitive humidity element and an NTC thermistor, lists temperature and humidity ranges with accuracy, and provides operating specs such as supply voltage, current, sampling rate, and module size. Includes wiring instructions for Arduino Uno and Raspberry Pi and an Arduino sketch workflow using SimpleDHT with serial monitor output expectations.",{"@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/az-delivery-dht22-temperature-module-setup-and-use-guide/720459/",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/az-delivery-dht22-temperature-module-setup-and-use-guide/720459.png","ImageObject",300,407,{"name":42,"@type":43},"Liam","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","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 ranges and accuracies does the DHT22 measure?","Question",{"text":63,"@type":64},"Temperature ranges from -40°C to +125°C with ±0.5°C accuracy. Humidity ranges from 0% to 100% with accuracy of 2% to 5%.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How should power and wiring be connected to the DHT22?",{"text":68,"@type":64},"Use the “+” pin for power (5V recommended), the “out” pin for the data line to the microcontroller, and the “-” pin for ground (0V/common ground). Cable length guidance depends on using 5V vs 3.3V.",{"name":70,"@type":61,"acceptedAnswer":71},"Which Arduino library and example sketch are recommended?",{"text":72,"@type":64},"The guide recommends the SimpleDHT library, then using Sketch > Include Library > Add .ZIP Library to install it, and opening File > Examples > SimpleDHT > DHT22Default to start. Set Serial Monitor baud rate to 115200.","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},720459,1795037445,{"code":4,"msg":82,"data":83},"success",{"doc_id":79,"user_id":84,"nickname":42,"user_avatar":85,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":86,"file_id":87,"file_url":88,"file_type":89,"file_size":90,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":91,"language":92,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":93,"faqs":94,"seo_title":95,"seo_description":12,"update_tm":80,"read_time":96,"preview_page_count":33,"preview_urls":97},8796095461564,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Welcome!  \nThank you very much for purchasing our AZ-Delivery DHT22 Temperature module. On the following pages, we will introduce you to how to use and setup this handy device.  \nHave fun!  \nThe DHT-22 (also named as AM2302) is a relative humidity/temperature sensor that outputs a digital signal. It uses a capacitive humidity sensor anda thermistor to measure the surrounding air.  \nTemperature measuring range of the DHT22 is from -40°C to +125°C with ±0.5 degrees accuracy, and humidity measuring range, from 0% to 100% with accuracy from 2% to 5% .  \nTechnical Specifications:  \nOperating Voltage: 3 to 5V  \nMax Operating Current: 2.5mA max  \nHumidity Range: 0% -100% with accuracy of 2-5%  \nTemperature Range: -40°C-125°C with accuracy of ±0 .5°C  \nSampling Rate: 0.5Hz (reading every 2s)  \nDimensions: 15x38x9mm  \nInside the case, on the sensing side of DHT22 sensor, there is a humidity sensing component along with a NTC temperature sensor (or thermistor) .  \nHumidity sensing component is used, of course to measure humidity, which has two electrodes with moisture holding substrate (usually a salt or conductive plastic polymer) sandwiched between electrodes. The ions are released by the substrate as water vapor is absorbed by it, which in turn increases the conductivity between the electrodes. The change in resistance between the two electrodes is proportional to the relative humidity. Higher relative humidity decreases the resistance between the electrodes, while lower relative humidity increases the resistance between the electrodes.  \nTemperature sensing part of the sensor consists of a NTC temperature sensor (thermistor) to measure temperature. A thermistor is a thermal resistor, a resistor that changes its resistance with temperature. Technically, all resistors are thermistors, their resistance changes slightly with temperature, but the change is usually small and difficult to measure. Thermistors are made so that the resistance changes drastically with temperature so that it can be 100Ω or more of change per degree of temperature. The term “NTC” means “Negative Temperature Coefficient”, which means that the resistance decreases with the increase of temperature.  \nOn the other side, there is a small PCB with an 8-bit SOIC-14 packaged IC. This IC measures and processes the analog signal with stored calibration coefficients, does analog to digital conversion and outputs a digital signal with the data that contains information for temperature and humidity.  \n\"+\" pin - supplies power for the sensor. Although supply voltage can range between 3.3V and 5.5V, 5V supply is recommended. In case of 5V power supply, you can use cable that connect sensor and microcontroller as long as 20 meters. However, with 3.3V supply voltage, cable length shall not be greater than one meter. Otherwise, the line voltage drop will lead to errors in measurement.  \n\"out\" pin - is data pin, and is used to communication between the sensor and the microcontroller.  \n\"- \" pin - is ground pin and should be connected to the common  \nground, or 0V (on Arduino or Raspberry Pi) .  \nConnecting the module with Arduino Uno  \nConnect Arduino Uno and DHT22 as shown on connection diagram below:  \nDHT22 pin > Arduino Uno pin  \n+ > 5V Red Wire  \nout > D2 Blue Wire  \n- > GND Black Wire  \nArduino sketch example  \nTo write a sketch for DHT22 module we first need the library. The most simple library, we recommend, is SimpleDHT library which can be downloaded from: [https://github.com/winlinvip/SimpleDHT](https://github.com/winlinvip/SimpleDHT) .  \nWhen you download the “.zip” file, open Arduino Uno and go to: Sketch > Include Library > Add .ZIP Library and add the downloaded zip file. After this go to: File > Examples > SimpleDHT > DHT22Default and open that  \nsketch. Here is the sketch:  \n\\#include \u003CSimpleDHT .h> int pinDHT22 = 2; SimpleDHT22 dht22(pinDHT22);  \nvoid setup() { Serial .begin(115200); } void loop() {  \nSerial .println (\"=================================\");  \nSeri","cbCaitn8BhtoxOem","https://ap.wps.com/l/cbCaitn8BhtoxOem","pdf",546572,14,"English","# Overview\n# Technical Specifications\n# How the Sensor Works\n# Pin Description\n# Connecting to Arduino Uno\n## Arduino Sketch Example\n# Connecting to Raspberry Pi","[{\"question\":\"What ranges and accuracies does the DHT22 measure?\",\"answer\":\"Temperature ranges from -40°C to +125°C with ±0.5°C accuracy. Humidity ranges from 0% to 100% with accuracy of 2% to 5%.\"},{\"question\":\"How should power and wiring be connected to the DHT22?\",\"answer\":\"Use the “+” pin for power (5V recommended), the “out” pin for the data line to the microcontroller, and the “-” pin for ground (0V/common ground). Cable length guidance depends on using 5V vs 3.3V.\"},{\"question\":\"Which Arduino library and example sketch are recommended?\",\"answer\":\"The guide recommends the SimpleDHT library, then using Sketch \\u003e Include Library \\u003e Add .ZIP Library to install it, and opening File \\u003e Examples \\u003e SimpleDHT \\u003e DHT22Default to start. Set Serial Monitor baud rate to 115200.\"}]","AZ-Delivery DHT22 Temperature module - Setup and use guide | PDF",35,[98,102,106,110],{"page_no":22,"url":99,"width":100,"height":101},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0ba985c95bee5e8a2d956a24e8c2ed85.webp",983,1389,{"page_no":26,"url":103,"width":104,"height":105},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/438697e0af071cd4d5c21bbb134f5a88.webp",982,1388,{"page_no":30,"url":107,"width":108,"height":109},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/7172909a8ef85e206c25211e2acd5fc3.webp",981,1386,{"page_no":33,"url":111,"width":112,"height":113},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c1fcc39c34b36e5d9e0c5d4693454661.webp",980,1385,{"code":4,"msg":82,"data":115},[116,120,124,128,133,136,141,146,151,154,158],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":122,"slug":123},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":126,"slug":127},"Exam",70,"exam",{"id":129,"doc_module":4,"doc_module_name":25,"category_name":130,"show_sort_weight":131,"slug":132},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":134,"slug":135},50,"technology",{"id":137,"doc_module":4,"doc_module_name":25,"category_name":138,"show_sort_weight":139,"slug":140},7,"Healthcare",40,"healthcare",{"id":142,"doc_module":4,"doc_module_name":25,"category_name":143,"show_sort_weight":144,"slug":145},8,"Research & Report",30,"research-report",{"id":147,"doc_module":4,"doc_module_name":25,"category_name":148,"show_sort_weight":149,"slug":150},9,"Religion & Spirituality",20,"religion-spirituality",{"id":149,"doc_module":4,"doc_module_name":25,"category_name":152,"show_sort_weight":149,"slug":153},"World Cup","world-cup",{"id":155,"doc_module":4,"doc_module_name":25,"category_name":156,"show_sort_weight":155,"slug":157},10,"Lifestyle","lifestyle",{"id":159,"doc_module":4,"doc_module_name":25,"category_name":160,"show_sort_weight":129,"slug":161},19,"General","general",{"list":163,"token":11},[164,170,176,182,188,193,199,205,211,218],{"doc_id":165,"doc_title":166,"file_type":89,"home_preview_img_url":167,"slug":168,"view_count":33,"category_name":29,"create_tm":169},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=1796108939&Signature=pX%2BWp3Ysa1pk0eR9NeJgsegjj54%3D","dht22-digital-output-relative-humidity-temperature-sensor-moduledevice",1795037437,{"doc_id":171,"doc_title":172,"file_type":89,"home_preview_img_url":173,"slug":174,"view_count":30,"category_name":29,"create_tm":175},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=1796108939&Signature=2Zx06Sa1EVdYxs%2Fz1sokSImVoag%3D","dht22-temperature-and-humidity-sensor-product-details-features-specifications-and-test-code",1795037443,{"doc_id":177,"doc_title":178,"file_type":89,"home_preview_img_url":179,"slug":180,"view_count":30,"category_name":29,"create_tm":181},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=1796108939&Signature=CBCMCfV%2FBEx0lm%2B4thtszXeL%2F0c%3D","dht11-humidity-temperature-sensor-module-user-guide-operating-specifications-and-arduino-example",1795037368,{"doc_id":183,"doc_title":184,"file_type":89,"home_preview_img_url":185,"slug":186,"view_count":129,"category_name":29,"create_tm":187},720461,"Temperature and Humidity Module AM2302 Product Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396609/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108939&Signature=HhOdi74K%2Bb5ctvUbuTGa7rO4Uyk%3D","temperature-and-humidity-module-am2302-product-manual",1795037453,{"doc_id":189,"doc_title":190,"file_type":89,"home_preview_img_url":191,"slug":192,"view_count":33,"category_name":29,"create_tm":181},720434,"DHT11, DHT22 and AM2302 Sensors - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396030/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108939&Signature=lNUJsiIcNkQh8QkyrIwclSFhs8A%3D","dht11-dht22-and-am2302-sensors-overview",{"doc_id":194,"doc_title":195,"file_type":89,"home_preview_img_url":196,"slug":197,"view_count":55,"category_name":29,"create_tm":198},719871,"LM35 Temperature Sensor - TS2151 - Product Details - Features and Applications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024373915/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108939&Signature=omhKY2b%2BI7dXOXHApWLYyTGZ2DI%3D","lm35-temperature-sensor-ts2151-product-details-features-and-applications",1795032668,{"doc_id":200,"doc_title":201,"file_type":89,"home_preview_img_url":202,"slug":203,"view_count":129,"category_name":29,"create_tm":204},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=1796108939&Signature=77hDok7pSJy8enLJGKZwKhbzn04%3D","temperature-and-humidity-sensor-on-an-arduino-intro",1795037376,{"doc_id":206,"doc_title":207,"file_type":89,"home_preview_img_url":208,"slug":209,"view_count":142,"category_name":29,"create_tm":210},720297,"Raspberry Pi Compute Module 5 IO Board - Product brief","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023671552/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108939&Signature=6PgWLfz2L1jvVe7aVK72DcmXIZw%3D","raspberry-pi-compute-module-5-io-board-product-brief",1795036335,{"doc_id":212,"doc_title":213,"file_type":89,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},43021,"Hacking Electronics Learning Electronics with Arduino and Raspberry Pi","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229796207513/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108939&Signature=dqECwf8pxYQrFPKCL%2F83nCrvM5Y%3D","hacking-electronics-learning-electronics-with-arduino-and-raspberry-pi",28,1783376076,{"doc_id":219,"doc_title":220,"file_type":89,"home_preview_img_url":221,"slug":222,"view_count":142,"category_name":29,"create_tm":223},720632,"MAX7218 8x8 Dot Matrix Display Module - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024401663/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108939&Signature=GiXgTzXWDZSS%2BVf4kSzkzaD%2FRNw%3D","max7218-8x8-dot-matrix-display-module-user-guide",1795038537]