- As a result of population and globalization, the environment is being polluted in many ways. Air and
Sound pollution are major pollutions which is according to United Nations reports.
There were 4.2 million deaths due to air pollution.
To reduce this pollution people must know the real time pollution status and how they can reduce it. - The purpose of this project is to implement a platform to find AIR Quality index and Noise level in a place where this system is implemented. Client can get those informations through the web page.
- Node-red
- MQTT broker
- Node-MCU
- Open-source API
- Voice Sound Detection Mic Sensor Module (MD0220)
Node-RED provides a browser-based flow editor that makes it easy to wire together flows using the wide range of nodes in the palette. Flows can be then deployed to the runtime in a single-click. JavaScript functions can be created within the editor using a rich text editor. A built-in library allows you to save useful functions, templates or flows for re-use. Node-RED is built on Node.js, taking full advantage of its event-driven, non-blocking model. This makes it ideal to run at the edge of the network on low-cost hardware such as the Raspberry Pi as well as in the cloud.
MQTT is a lightweight, publish-subscribe network protocol that transports messages between devices. The protocol usually runs over TCP/IP; however, any network protocol that provides ordered, lossless, bi-directional connections can support MQTT. It is designed for connections with remote locations where a "small code footprint" is required or the network bandwidth is limited.
Node-MCU is an open source firmware for which open source prototyping board designs are available. The prototyping hardware typically used is a circuit board functioning as a dual in-line package (DIP) which integrates a USB controller with a smaller surface-mounted board containing the MCU and antenna. The choice of the DIP format allows for easy prototyping on breadboards. The design was initially based on the ESP-12 module of the ESP8266, which is a Wi-Fi SoC integrated with a Tensilica-Xtensa LX106 core, widely used in IoT applications.
Air pollution API - https://openweathermap.org/api/air-pollution
Air Pollution API provides current, forecast and historical air pollution data for any coordinates on the globe. Besides basic Air Quality Index, the API returns data about polluting gases, such as Carbon monoxide (CO), Nitrogen monoxide (NO), Nitrogen dioxide (NO2), Ozone (O3), Sulphur dioxide (SO2), Ammonia (NH3), and particulates (PM2.5 and PM10).
This sensor module gives real time analog output voltage signal of the microphone.
- User can get air quality index any place in the world
- User can receive noise level in a place where the system is implemented.
- Any device that has ability to connect to the webserver