Skip to content

An ESP32-based weather station project in C++ to collect, display, and log environmental data using various sensors.

Notifications You must be signed in to change notification settings

snowholt/EPS32-Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Weather Station

Weather Station

Overview

This project is an ESP32-based weather station that measures temperature, humidity, pressure, and altitude using DHT11 and BMP180 sensors. The data is displayed on a web server hosted by the ESP32.

Features

  • Temperature and Humidity: Measured using the DHT11 sensor.
  • Pressure and Altitude: Measured using the BMP180 sensor.
  • Wi-Fi Connectivity: Connects to a Wi-Fi network to serve the data.
  • Web Server: Displays the sensor data on a web page.

Components

  • ESP32: The main microcontroller.
  • DHT11: Temperature and humidity sensor.
  • BMP180: Pressure and altitude sensor.
  • Breadboard and Jumper Wires: For connecting the components.

Circuit Diagram

Circuit Diagram

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/ESP32-Weather.git
    cd ESP32-Weather
  2. Install PlatformIO: Follow the instructions on the PlatformIO website.

  3. Open the project: Open the project folder in your preferred IDE (e.g., VSCode with the PlatformIO extension).

  4. Configure Wi-Fi credentials: Update the ssid and password variables in src/main.cpp with your Wi-Fi credentials.

  5. Upload the code: Connect your ESP32 to your computer and upload the code using PlatformIO.

Usage

  1. Power the ESP32: Connect the ESP32 to a power source.

  2. Access the web server: Open a web browser and navigate to the IP address displayed in the serial monitor.

  3. View the data: The web page will display the current temperature, humidity, pressure, and altitude.

Screenshots

Web Interface

Libraries Used

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

ESP32

About

An ESP32-based weather station project in C++ to collect, display, and log environmental data using various sensors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages