Wemos D1 Mini ESP8266 and DHT22 Temperature sensor

 

General

This is a basic example of what you can find in this Schematics section. This schematic show how to connect an DHT22 sensor to a Wemos D1 Mini. It includes breadboard design, YAML code for EspHome and a possible PCB design.

Breadboard

First, the breadboard. 

You can use this setup to test everything is working fine.

BOM

The bill of materials for this schematic is:

  • Wemos D1 Mini ESP8266
  • 10K Resistor
  • DHT22 Temperature sensor

YAML

This is a test code that you can use to make this work using ESPHome with Home Assistant.

CODE

You can download the YAML configuration file from the code section on the right. Or you can just preview the file.

GERBER FILES

A ZIP archive containing the production GERBER files is ready to download. You can upload it then to any PCB manufacturer of your choice. 

The board will look like this