Air Environment INFO collection device with Web-Based IOT
This project implements web-based IOT through the WizFi-360-EVB-Pico to provide real-time air environment information to users on the Web.
. - HTML
x 1
Feuture of project
The project collects temperature, humidity, fine dust (PM2.5), and CO2 concentrations in the air and provides them to users through the web-based IoT.
From anywhere, users can access real-time air environment information in a particular area, their home, or other buildings through a web browser such as Chrome.
Without relying on an external IoT platform, the project realized a web-based IoT by building its own web server based on WizFi360.
Parts List
Hardware wiring diagram
※ The source of WizFi360-EVB-Pico image is https://docs.wiznet.io .
Structure diagram
Schematic
Summary of Code
[ First CORE Loop ]
Every 0.2 Seconds : PM2.5 Sensor Control, RGB LED Control
Evrery Second : Sensor Value Refresh, LCD Print
[ Second CORE Loop ]
WIFI WEB Server working
The entire code is too long to post in this article. Detailed code descriptions are commented out in the attached code file.
Alternatively, you can check this GitHub link below.
Web
In the form of a web page, the device provides real-time temperature, humidity, pm2.5, and CO2 information every second.
If the real-time air status changes, the last message will be changed according to the fine dust standard of the Korean Ministry of Environment.
"The concentration of fine dust in the air is Good / Moderate / Unhealty / Very Unhealthy." |
■ Web page when fine dust concentration in the air is Moderate.
■ If you blow a person's breath on the CO2 sensor,
Pictures of Project
■ On the LCD screen, Device displays the WIFI SSID, IP and air environment information to the user.
※ If you connect to that IP address through a web browser on the same network, you can view the website above.
※ If you port forward the internal IP on the router, you can access it from anywhere in the world.
■ The color of the RGB LED changes when the real-time air condition changes.
Thank you very much to WIZnet for supporting the WizFi360-EVB-Pico hardware and holding the contest.
Thank you for reading my Project article :)
-
Code
The readability of this code is optimized for Arduino IDE.
-
Schematic
-
Hardware wiring diagram
-
Parts List