ESP32
DHT22
BMP180

Using Arduino DHT22 and BMP180 sensors connected to an ESP32 Board, I will show you how to read environmental data as Temperature, Humidity, Atmospheric Pressure and Altitude ! (might add more sensors in the future for Luminosity, Rain, UV, etc.)
Project Name

ESP32 Weather Station

Project Type

Home Automation

Required Hardware and Software

For this project, you will need the following Hardware:

  • 1x ESP32 Development board
  • 1x DHT22/AM2302 Humidity & Temperature sensor
  • 1x BMP180 Barometric Pressure Sensor

To programm the ESP32, I will use Arduino IDE

Wiring

First things first, the wiring!

Following manufacturers specs, here is the proper wiring for the two sensors and the ESP32 Development Board:

ESP32 BMP180 DHT22
3V3 VIN VIN
GND GND GND
13 DATA
21 SDA
23 SCL

 

Be careful to use the 3V3 pin on the ESP32 as the BP180 breakoutboard does not handle voltage over 3.6V !

Code

Code to be uploaded to the ESP32 Development board via Arduino IDE

Here is what you should get in Arduino IDE Serial Terminal

In Part 02, we will see how to publish datas on a Local LAMP stack running on a Raspberry Pi 4
Kepp Posted !

Related Projects

Quisque aliquet velit sit amet sem interdum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sed finibus nisi, sed dictum eros.
In non pulvinar purus. Curabitur nisi odio.
Quisque aliquet velit sit amet sem interdum faucibus. In feugiat aliquet mollis etiam tincidunt ligula.
Nisl massa, ultrices vitae ornare sit amet, ultricies eget orci.
In non pulvinar purus. Curabitur nisi odio, blandit et elit at, suscipit pharetra efficitur elit.

Contact Us

Address
1234 Divi St. #1000, San Francisco, CA 94220
Email
Phone
(255) 352-6258
Follow Us

0

Compare