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.
- 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.
- ESP32: The main microcontroller.
- DHT11: Temperature and humidity sensor.
- BMP180: Pressure and altitude sensor.
- Breadboard and Jumper Wires: For connecting the components.
-
Clone the repository:
git clone https://github.com/yourusername/ESP32-Weather.git cd ESP32-Weather -
Install PlatformIO: Follow the instructions on the PlatformIO website.
-
Open the project: Open the project folder in your preferred IDE (e.g., VSCode with the PlatformIO extension).
-
Configure Wi-Fi credentials: Update the
ssidandpasswordvariables insrc/main.cppwith your Wi-Fi credentials. -
Upload the code: Connect your ESP32 to your computer and upload the code using PlatformIO.
-
Power the ESP32: Connect the ESP32 to a power source.
-
Access the web server: Open a web browser and navigate to the IP address displayed in the serial monitor.
-
View the data: The web page will display the current temperature, humidity, pressure, and altitude.
This project is licensed under the MIT License - see the LICENSE file for details.
- Icons by Icons8
