$10
I want this!

Wemos D1 Temperature & Humidity Monitor (ESP8266)

$10



Wemos D1 Temperature & Humidity Monitor (ESP8266)

A ready-to-use ESP8266 reference project for monitoring temperature and humidity using a DHT22 sensor, with data uploaded to ThingSpeak.

This project provides a clean, practical implementation that actually runs, suitable as a base for IoT experiments, home monitoring, or further customization.


What’s included

  • ✔️ Fully working Arduino sketch for Wemos D1 (ESP8266)
  • ✔️ Clear wiring diagram and real-world setup photo
  • ✔️ Temperature and humidity reading using DHT22
  • ✔️ Periodic data upload to ThingSpeak
  • ✔️ Wi-Fi reconnect handling and sensor read retry logic
  • ✔️ Clean project structure, easy to extend or modify

Hardware requirements

  • Wemos D1 (ESP8266, full-size board)
  • DHT22 temperature & humidity sensor (module recommended)
  • Breadboard and jumper wires
  • USB cable

Note: This project uses a DHT22 module with a built-in pull-up resistor.
If you use a bare DHT22 sensor (without PCB), add a 10KΩ resistor between DATA and VCC.


How it works

  • Reads temperature and humidity data from the DHT22 sensor
  • Connects to Wi-Fi using the ESP8266
  • Uploads data to ThingSpeak at a fixed interval (default: every 10 minutes)
  • Sends data immediately after boot, then periodically

Who this is for

  • Makers building small IoT or home monitoring projects
  • Developers looking for a solid ESP8266 + DHT22 reference project
  • Anyone who wants a proven base project to customize or extend

Who this is not for

  • Absolute beginners with no Arduino IDE experience
  • Industrial or production environments
  • Medical or safety-critical applications

Technical notes

  • Board: Wemos D1 (ESP8266)
  • Sensor: DHT22 (DHT11 supported with minor changes)
  • Data platform: ThingSpeak
  • Power: USB (5V)
  • License: MIT

Files included

  • Arduino source code
  • Wiring diagram
  • Real setup photo
  • README with wiring and upload instructions

License

This project is released under the MIT License.
You are free to use, modify, and build upon it for personal or commercial projects.



Wemos D1 溫溼度監測專案(ESP8266)

這是一個可直接使用的 ESP8266(Wemos D1)溫溼度監測參考專案
透過 DHT22 感測器 讀取溫度與濕度,並將資料定期上傳至 ThingSpeak

本專案著重於提供一個實際可運作、結構清楚的範例實作
適合作為 IoT 實驗、居家監測或後續擴充的基礎。


包含內容

  • ✔️ 可直接燒錄使用的 Wemos D1(ESP8266)Arduino 程式碼
  • ✔️ 清楚的 接線示意圖實際接線照片
  • ✔️ DHT22 溫度與濕度讀取
  • ✔️ 定期上傳資料至 ThingSpeak
  • ✔️ Wi-Fi 重連處理與感測器讀取重試機制
  • ✔️ 專案結構清楚,方便自行修改與擴充

硬體需求

  • Wemos D1(ESP8266,大版)
  • DHT22 溫溼度感測器(建議使用模組版)
  • 麵包板與杜邦線
  • USB 供電線

注意:本專案使用 內建上拉電阻的 DHT22 模組
若使用裸 DHT22(無 PCB),請在 DATA 與 VCC 之間加上 10KΩ 電阻


運作方式

  • 從 DHT22 讀取溫度與濕度資料
  • 透過 ESP8266 連線至 Wi-Fi
  • 以固定時間間隔(預設 10 分鐘)上傳資料至 ThingSpeak
  • 開機後會先上傳一次,之後定期上傳

適合對象

  • 想製作小型 IoT 或居家監測專案的 Maker
  • 需要 穩定 ESP8266 + DHT22 參考範例 的開發者
  • 希望快速建立可運作基礎,再自行擴充的人

不適合對象

  • 完全沒有 Arduino IDE 使用經驗的新手
  • 工業或量產用途
  • 醫療或安全關鍵系統

技術說明

  • 開發板:Wemos D1(ESP8266)
  • 感測器:DHT22(可小幅修改支援 DHT11)
  • 資料平台:ThingSpeak
  • 供電方式:USB(5V)
  • 授權方式:MIT License

包含檔案

  • Arduino 原始程式碼
  • 接線示意圖
  • 實際接線照片
  • 含接線與燒錄說明的 README 文件

授權說明

本專案採用 MIT License 授權,
可自由使用、修改,並應用於個人或商業專案。


I want this!

You'll get: - Complete Arduino source code for Wemos D1 (ESP8266) - Example configuration for Wi-Fi and ThingSpeak - Basic wiring reference - Clear hardware compatibility notes

Hardware compatibility clearly defined
Designed specifically for Wemos D1 (ESP8266, Arduino UNO form factor). Not compatible with Wemos D1 Mini or Arduino UNO.
Simple and extendable structure
Clean and minimal code structure, easy to extend to MQTT, notifications, or other IoT platforms.
Size
1.53 MB
Powered by