SymbiAirQuality is an ESP8266 NodeMCU-based project that measures air quality and temperature using a DHT11 sensor and a gas sensor. This project hosts a stylish and informative webpage that displays real-time sensor data. You can check out a live preview of the hosted webpage here.
- Measures temperature and air quality.
- Provides real-time data visualization on a beautifully designed webpage.
- Two operational modes:
- AP Mode: Creates its own WiFi network with a captive portal for easy access.
- Station Mode: Connects to an existing WiFi network.
- ESP8266 NodeMCU
- DHT11 Sensor
- Gas Sensor (provide details of the gas sensor)
- (Optional) Additional components as per your specific setup
Before uploading the code to your ESP8266 NodeMCU, make sure you have the following libraries installed:
- ESP8266WiFi.h
- ESP8266WebServer.h
- DHT.h
- DNSServer.h
Connect your sensors to the ESP8266 NodeMCU according to your setup and update pin configurations in the code if necessary.
-
Clone this repository to your local machine:
git clone https://github.com/onkar69483/SymbiAirQuality.git
-
Open the Arduino IDE and load one of the following code files:
- SymbiAirQuality-APMode.ino: Upload this code to the ESP8266 to create an access point (AP) mode.
- SymbiAirQuality-StationMode.ino: Upload this code to the ESP8266 to connect to an existing WiFi network.
-
Modify the code to set your WiFi credentials and adjust any other configurations as needed.
-
Upload the code to your ESP8266 NodeMCU.
-
Power on your ESP8266 NodeMCU.
-
It will create its own WiFi network (SSID: "SymbiAirQuality"). Connect your device to this network.
-
Open a web browser and navigate to any website. You will be redirected to the SymbiAirQuality webpage automatically.
-
After uploading the Station Mode code, the ESP8266 will connect to your specified WiFi network.
-
Find the IP address assigned to your ESP8266 in your router's admin interface or use mDNS.
-
Access the webpage by entering the IP address in your browser's address bar.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the DNS server library for making captive portal functionality possible.
Feel free to contribute, report issues, or provide feedback. Enjoy monitoring air quality with SymbiAirQuality!