
DHT11 Temperature Humidity Sensor
Compact DHT11 Temperature Humidity Sensor (sensor only) with 4‑pin package, single‑wire digital output, 3.5–5.5 V supply, ≥2 s sampling period, ±2 °C / ±5 %RH — ideal for breadboards, Arduino/ESP, and indoor monitoring.
حساس DHT11 Temperature Humidity Sensor (قطعة منفردة) بعلبة 4 أرجل وخط بيانات واحد، يعمل بجهد 3.5–5.5 ف، فترة عيّنة ≥ 2 ث، انحراف ±2 °م / ±5 %RH — مثالي للبردبورد والمشروعات التعليمية والمراقبة الداخلية.
- Description
Description
DHT11 Temperature Humidity Sensor
Meet the DHT11 Temperature Humidity Sensor — the classic, compact, 4‑pin digital component (sensor only, not a module) that measures ambient relative humidity and temperature with a simple single‑wire interface. It operates on 3.5–5.5 V, features a stable indoor performance profile, and fits directly into breadboards thanks to its 2.54 mm pin spacing. Whether you are building a quick prototype, a classroom demo, or a budget‑friendly IoT node, this sensor keeps wiring simple and results repeatable.
✅ Breadboard‑ready pins: Standard 2.54 mm pitch and fixed orientation make wiring straightforward in tight spaces and quick labs.
🔌 Flexible supply: Works reliably from 3.5–5.5 V with very low average current, suitable for battery‑friendly data loggers.
⚙️ Single‑wire digital output: Transmits a 40‑bit frame (humidity, temperature, checksum) — no analog calibration or ADC channels required.
🌡️ Indoor‑range sensing: Temperature 0–50 °C and humidity 20–90 %RH for common room and enclosure monitoring.
🧪 Beginner‑friendly accuracy: ±2 °C temperature and ±5 %RH humidity are perfect for learning, dashboards, and non‑critical control.
🧱 Vented protective head: The blue slotted cap shields the sensing elements while allowing smooth airflow for responsive readings.
🧰 Strong ecosystem support: Works out of the box with popular microcontroller libraries and examples.
💡 Low‑power behavior: Sub‑milliamp average draw with brief peaks during conversions keeps your power budget lean.
Why choose this sensor
✅ Simplicity first — one data pin, a pull‑up resistor, and you’re reading live climate values.
✅ Cost‑effective — trusted entry point for room‑level monitoring and education kits.
✅ Community‑proven — recipes and sketches are widely available for mainstream boards.
Pinout & Wiring
- Pin 1 — VDD: 3.5–5.5 V.
- Pin 2 — DATA: Single‑wire bidirectional line. Add a 4.7–10 kΩ pull‑up to VDD near the host MCU for clean edges.
- Pin 3 — NC: Not connected — leave floating.
- Pin 4 — GND: Common ground with the controller.
Wiring tips
✅ Keep the DATA wire short; long unshielded runs can degrade timing margins.
✅ If your MCU is 3.3 V and the sensor is powered at 5 V, use a level shifter or power the sensor at 3.3 V for logic safety.
✅ Place the pull‑up resistor physically close to the MCU pin to reduce ringing.
Communication & Timing (what your code expects)
The host begins with a start pulse, after which the sensor acknowledges and shifts out 40 bits MSB‑first in this order:
- 8‑bit humidity integer
- 8‑bit humidity decimal
- 8‑bit temperature integer
- 8‑bit temperature decimal
- 8‑bit checksum (low 8 bits of the sum of the previous four bytes)
Each bit uses a fixed low time followed by a high period whose duration encodes 0 or 1. A practical sampling period is ≥ 2 seconds; reading faster can repeat older values or increase checksum errors.
Typical Performance & Limits
- Temperature range: 0–50 °C; resolution: 1 °C; accuracy: ±2 °C.
- Humidity range: 20–90 %RH; resolution: 1 %RH; accuracy: ±5 %RH.
- Sampling period: ≥ 2 s (1 sample every 2–3 seconds is common in robust designs).
- Response time: ~6–10 s for humidity steps under normal airflow.
- Supply voltage: 3.5–5.5 V.
- Current: ~0.3 mA average during conversion; very low standby current.
- Operating environment: Indoor, non‑condensing humidity.
Tip: If you need negative temperatures, sub‑zero operation, or tighter accuracy, step up to alternatives like higher‑grade digital humidity sensors. For educational builds and room monitoring, DHT11 Temperature Humidity Sensor remains an excellent fit.
Integration Notes (Arduino / ESP / Raspberry Pi)
✅ Arduino: Connect DATA to a digital GPIO (e.g., D2), add a 4.7–10 kΩ pull‑up to VCC, and include a well‑known DHT library. Poll no faster than every 2 seconds.
✅ ESP8266 / ESP32: Power at 3.3 V; use any available digital pin; keep wires short and stable. If Wi‑Fi tasks are heavy, avoid reading during RF bursts to reduce jitter.
✅ Raspberry Pi: Use a driver that honors microsecond timing. Ensure 3.3 V‑safe pull‑up on DATA and adequate delays between reads.
Troubleshooting
🔧 Checksum errors → Slow the polling rate, verify the pull‑up value, and shorten the cable.
🔧 Stale or fixed readings → Ensure proper start pulse width and the recommended delay between reads.
🔧 No response → Check ground reference, verify that DATA is not accidentally shorted to VDD, and confirm pin numbering.
Specifications
| Parameter | Value |
|---|---|
| Product | DHT11 Temperature Humidity Sensor (sensor only) |
| Package | 4‑pin through‑hole, vented blue cap |
| Pin pitch | 2.54 mm |
| Pinout | 1‑VDD, 2‑DATA, 3‑NC, 4‑GND |
| Supply voltage | 3.5–5.5 V |
| Current (typ.) | ~0.3 mA during measurement; very low standby |
| Humidity range | 20–90 %RH (non‑condensing) |
| Humidity accuracy | ±5 %RH |
| Humidity resolution | 1 %RH |
| Temperature range | 0–50 °C |
| Temperature accuracy | ±2 °C |
| Temperature resolution | 1 °C |
| Sampling period | ≥ 2 s |
| Interface | Single‑wire digital, 40‑bit frame |
| Response time (RH) | ~6–10 s |
| Dimensions (approx.) | 15.5 × 12 × 5.5 mm |
| Operating condition | Indoor environments only |
Handling & Placement
✅ Mount the sensor where air can flow freely; avoid enclosing it in sealed or foam‑lined cavities.
✅ Keep it away from heaters, voltage regulators, and direct sunlight to avoid self‑heating bias.
✅ Avoid corrosive gases and condensing moisture; allow a short warm‑up after power‑up for stable readings.
✅ If you must mount in an enclosure, provide vent holes and a short air path to the outside.
In the Box
- ✅ 1× DHT11 Temperature Humidity Sensor (4‑pin loose component)
DHT‑11, blue humidity sensor, single‑wire temp‑humidity sensor.
DHT11 Temperature Humidity Sensor
حسّاس DHT11 Temperature Humidity Sensor هو المكوّن الرقمي الكلاسيكي ذو أربع أرجل (القطعة نفسها وليست موديول) لقياس الرطوبة النسبية ودرجة الحرارة عبر خط بيانات واحد. يعمل بجهد 3.5–5.5 فولت، ويتميّز بأداء مستقر في البيئات الداخلية، مع توافق ممتاز مع المتحكّمات الشائعة وتركيب مباشر على البردبورد بفضل تباعد الأرجل 2.54 مم. إذا كنت تطوّر نموذجًا سريعًا، أو تبني مشروع مراقبة للغرف، أو تدرّس أساسيات الاستشعار، فهذا الحساس يمنحك نتائج موثوقة بأسلاك قليلة.
✅ جاهز للبردبورد: مسافات 2.54 مم وترتيب أرجل ثابت يسهل التوصيل بسرعة وبدون التباس.
🔌 تغذية مرنة: يعمل من 3.5 إلى 5.5 فولت وبتيار منخفض جدًا، مناسب لتسجيل البيانات وأجهزة البطاريات.
⚙️ خرج رقمي بسلك واحد: يرسل إطارًا مكوّنًا من 40‑بت (رطوبة، حرارة، وتحقق جمع) بلا معايرة تماثلية أو ADC.
🌡️ مدى داخلي شائع: حرارة 0–50 °م ورطوبة 20–90 %RH لمراقبة الغرف والصناديق.
🧪 دقة مناسبة للتعلّم: ±2 °م للحرارة و±5 %RH للرطوبة مع خطوة 1، مثالية للوحة معلومات أو تحكّم بسيط.
🧱 غطاء مثقّب واقٍ: يسمح بمرور الهواء ويحمي العنصر الحساس من الصدمات.
🧰 دعم مكتبات واسع: يعمل بسلاسة مع المكتبات والأمثلة الشائعة لمتّحدات MCU.
💡 استهلاك منخفض: تيار وسطي صغير جدًا وقمم قصيرة أثناء القياس للحفاظ على الطاقة.
لماذا تختاره
✅ بساطة التوصيل — سلك بيانات واحد ومقاومة سحب، وستحصل على قراءات فورية.
✅ قيمة مقابل السعر — خيار موثوق للمراقبة الداخلية والدروس العملية.
✅ منظومة جاهزة — شيفرات وأمثلة منتشرة لمعظم اللوحات.
الأرجل والتوصيل (القطعة، ليست موديول)
- 1 — VDD: 3.5–5.5 ف.
- 2 — DATA: خط بيانات ثنائي الاتجاه. أضِف مقاومة سحب 4.7–10 كΩ إلى VDD بالقرب من المتحكّم.
- 3 — NC: غير موصول.
- 4 — GND: أرضي مشترك.
نصائح توصيل
✅ قصّر سلك DATA قدر الإمكان؛ الأطوال الكبيرة غير المحمية قد تُضعف هوامش التوقيت.
✅ عند اختلاف المستويات المنطقية، استخدم مبدّل مستويات أو شغّل الحساس على 3.3 فولت إذا كان المتحكّم يعمل على هذا الجهد.
✅ ضع مقاومة السحب قرب طرف المتحكّم للحد من التذبذب.
الاتصال والتوقيت
يبدأ المتحكّم نبضة بدء، ثم يرسل الحساس إشارة جاهزية ويتبعها بإطار 40‑بت بالترتيب: رطوبة صحيحة، رطوبة عشرية، حرارة صحيحة، حرارة عشرية، Checksum. كل بت يحتوي فترة منخفضة ثابتة تليها فترة مرتفعة يختلف طولها لتمييز الصفر عن الواحد. فترة العيّنة الموصى بها ≥ 2 ثانية؛ القراءة بسرعة أعلى قد تُكرر بيانات سابقة أو تؤدي إلى أخطاء تحقق.
الأداء والحدود النموذجية
- مدى الحرارة: 0–50 °م؛ الخطوة: 1 °م؛ الدقة: ±2 °م.
- مدى الرطوبة: 20–90 %RH؛ الخطوة: 1 %RH؛ الدقة: ±5 %RH.
- فترة العيّنة: ≥ 2 ث.
- زمن الاستجابة: يقارب 6–10 ث لتغيّر الرطوبة في ظروف تهوية طبيعية.
- جهد التغذية: 3.5–5.5 ف.
- التيار: ~0.3 مA أثناء القياس؛ تيار انتظار منخفض جدًا.
- بيئة التشغيل: داخلية بدون تكاثف.
تلميح: إذا كنت تحتاج درجات سالبة أو دقة أعلى، توجّه إلى خيارات بديلة أعلى درجة. لمشروعات التعليم والمراقبة العامة، يبقى DHT11 Temperature Humidity Sensor خيارًا عمليًا.
التكامل (Arduino / ESP / Raspberry Pi)
✅ Arduino: DATA إلى GPIO رقمي (مثل D2)، مقاومة سحب 4.7–10 كΩ إلى VCC، استخدم مكتبة DHT شائعة، ولا تُحدّث أكثر من مرة كل ثانيتين.
✅ ESP8266 / ESP32: تشغيل على 3.3 فولت؛ اختر أي دبوس رقمي؛ قلّل طول الأسلاك. راعِ المهلة بين القراءات خصوصًا أثناء نشاط الشبكة.
✅ Raspberry Pi: استخدم برنامج تشغيل يلتزم بتوقيت الميكروثانية، وسحبًا لأعلى متوافقًا مع 3.3 فولت.
استكشاف الأخطاء
🔧 أخطاء Checksum → خفّض معدل القراءة، تحقّق من قيمة مقاومة السحب، وقصّر السلك.
🔧 قراءات ثابتة → تأكد من عرض نبضة البدء والمهلة بين الاستدعاءات.
🔧 لا توجد استجابة → افحص التوصيلات والأرضي وتوجيه الأرجل.
جدول المواصفات
| البند | القيمة |
|---|---|
| المنتج | DHT11 Temperature Humidity Sensor (القطعة فقط) |
| التغليف | 4 أرجل TH بغطاء أزرق مثقّب |
| تباعد الأرجل | 2.54 مم |
| ترتيب الأرجل | 1‑VDD، 2‑DATA، 3‑NC، 4‑GND |
| جهد التشغيل | 3.5–5.5 ف |
| التيار (نموذجي) | ~0.3 مA أثناء القياس؛ انتظار منخفض جدًا |
| مدى الرطوبة | 20–90 %RH (بدون تكاثف) |
| دقّة الرطوبة | ±5 %RH |
| خطوة الرطوبة | 1 %RH |
| مدى الحرارة | 0–50 °م |
| دقّة الحرارة | ±2 °م |
| خطوة الحرارة | 1 °م |
| فترة العيّنة | ≥ 2 ث |
| الواجهة | سلك واحد رقمي، 40‑بت |
| زمن الاستجابة (رطوبة) | ~6–10 ث |
| الأبعاد (تقريبية) | 15.5 × 12 × 5.5 مم |
| بيئة التشغيل | داخلية فقط |
الإرشادات والتموضع
✅ ضع الحساس في مكان بتهوية جيدة بعيدًا عن مصادر الحرارة والضوء المباشر.
✅ تجنّب التعرض للغازات المسببة للتآكل أو الرطوبة المتكاثفة.
✅ اسمح بدقيقة أو دقيقتين بعد التشغيل لاستقرار القراءات.
✅ عند التركيب داخل صندوق، وفّر فتحات تهوية مناسبة.
محتويات العبوة
- ✅ 1× حساس DHT11 Temperature Humidity Sensor (قطعة منفردة ذات أربع أرجل)
DHT‑11، حساس الرطوبة الأزرق، حساس حرارة‑رطوبة بسلك واحد.
Attachments
Datasheet (PDF): DHT11
- Arduino Library : https://github.com/RobTillaart/Arduino/tree/master/libraries/DHTlib
| DHT22 / AM2302 | digital humidity sensor | DHT‑11 |
| AM2301 class | single‑wire sensor | blue humidity sensor |
| SHT30 / SHT31 | breadboard temperature sensor | temp & humidity sensor |
| AHT10 / AHT20 | room climate sensor | 4‑pin humidity sensor |
| BME280 / SHTC3 | indoor comfort monitor | digital temp‑humidity |
| DS18B20 (temp only) | Arduino humidity | single‑wire TH sensor |
Related Products
Breadboard 1660 Tie-Point Solderless Breadboard with 3 Binding Posts and Aluminum Base
Transparent Acrylic Case Shell Enclosure Gloss Box For Arduino Mega 2560 R3
Arduino Mega 2560 R3 Board Without USB Cable Atmega16U Cp2102 High Quality
37 in 1 Sensors Kit compatible with Arduino
MB102 830 Points Solderless Prototype PCB Breadboard High Quality
Products With Similar Tags
Red and White ABS Case for Raspberry Pi 5 (Without Fan and Board)
Raspberry Pi 5 Clear Plastic Case with Cooling Fan – Board Not Included
LED Strip Addressable RGB 5V 60LED/m IP20 5meter Roll SMD2812
Breadboard 2390 Tie-Point Solderless Breadboard with 5 Power Lanes
Raspberry Pi Camera FPC Cable (22‑Pin To 15‑Pin, Camera‑Only) — For Raspberry Pi 5 & Zero — 16 cm / 30 cm / 50 cm
OSEPP LS-00051 Breadboard Translucent 400 tie in points
