Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dngvmnh committed Aug 9, 2024
2 parents 3505f4e + 20d3e96 commit 33faf01
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
![User Interface Image 2](https://github.com/dngvmnh/Automatic_Weather_Station/blob/main/assets/demo_2.png)
## Project Description

### 1. Overview
### Overview

The Automatic Weather Station leverages the ESP32 microcontroller and the DFRobot Environmental Sensor to collect various environmental data, including temperature, humidity, ultraviolet intensity, luminous intensity, atmospheric pressure, and elevation. This data is transmitted to the ThingSpeak web server and displayed in real-time on a user-friendly website built with JavaScript.

### 2. Station Features
### Station Features

- **Real-Time Data Visualization:** Weather data such as temperature, humidity, ultraviolet intensity, luminous intensity, atmospheric pressure, and elevation are graphically represented using ThingSpeak's HTML code. Additionally, air quality metrics, including CO, NO2, O3, and PM2.5 pollutant concentrations, are retrieved from OpenWeatherMap APIs and displayed.
- **Wireless Data Transmission:** The ESP32’s built-in Wi-Fi transmits collected data to the ThingSpeak platform using the ThingSpeak API and the provided Wi-Fi credentials. This data can be seamlessly displayed on a website built using templates from Google Sites or GitHub Pages.
- **Data Logging and Analysis:** The station logs collected data for historical analysis and trend monitoring. It also includes a feature for searching weather data in other cities. The station is designed for continuous operation with minimal power consumption.

### 3. Setup
### Setup

- Install the Arduino IDE or Thonny IDE.
- Install the required libraries for the ESP32 and DFRobot Sensor.
Expand Down Expand Up @@ -46,6 +46,19 @@ The Automatic Weather Station leverages the ESP32 microcontroller and the DFRobo
- **CSS:** Styles the interface, including layout, animations, and responsiveness.
- **JavaScript:** Manages data fetching from APIs, updates weather and air quality information, and handles user interactions.

## Results and Discussion
## Discussion

### Challenges and Limitations

- **Data Accuracy and Calibration:** while the DFRobot Environmental Sensor provides reliable readings, environmental sensors often require regular calibration to maintain accuracy over time. This process could be automated or streamlined in future versions of the project to ensure ongoing precision.
- **Power Consumption:** although the design focuses on minimal power consumption, continuous operation, especially with active Wi-Fi data transmission, can drain power sources quickly. Future iterations might explore the use of solar power or other renewable energy sources to extend the station's operational lifespan in remote areas.
- **Internet Dependency:** the project relies on a stable internet connection to transmit data to the ThingSpeak platform. In areas with poor connectivity, data transmission may be interrupted, leading to gaps in monitoring. Developing an offline data logging feature could address this limitation, allowing the station to store data locally until a connection is restored.
- **User Interface Design:** while the current web interface is functional, there is room for improvement in terms of aesthetics and user experience. Enhancements could include more interactive elements, customizable data views, or mobile-friendly design to cater to a broader audience.

### Future Enhancements

- **Advanced Analytics:** incorporating machine learning algorithms to analyze historical data could enable predictive modeling, offering forecasts or anomaly detection. This would significantly increase the utility of the weather station, especially in applications requiring proactive environmental management.
- **Integration with Other IoT Devices:** expanding the station's capability to interact with other IoT devices, such as smart home systems or agricultural sensors, could open up new use cases. For instance, the station could trigger irrigation systems based on soil moisture levels or alert users to poor air quality via a connected smart speaker.
- **Enhanced Data Security: a**s the station collects and transmits sensitive environmental data, implementing robust security measures, such as encryption and secure APIs, will be crucial in protecting data integrity and user privacy.

## Documentation

0 comments on commit 33faf01

Please sign in to comment.