1. Introduction
According to the United Nations (UN), sustainable development goals (SDG) are also focused on minimizing environmental pollution by 2030 for providing clean air to the people. The environment constitutes everything around including air, water, and the ecosystem which supports life. Not only the environment but an environment that is clean in quality is required for the prosperous and healthy survival of humans [
1]. The quality of the air is dependent on the optimal range of the pollutants that release from the different activities such as industries, vehicles, etc. Air pollution caused by automobiles is one of the hazardous challenges that continues to cause harm to the environment [
2]. Vehicular pollution may result either from evaporative emissions, refueling losses, or exhaust emissions. The fumes resulting from exhaust emissions are one of the key constituents. The composition is a mixture of gasses such as carbon dioxide, carbon monoxide, and oxides of nitrogen [
3,
4]. The government of any country has taken many actions to take the situation in control; however, there are limitations in the scenario of manual monitoring [
5].
With the advancement and evolution of technologies such as the Internet of Things, Long-Range communication has encouraged implementing the automation and real-time monitoring system with wireless sensors and blockchain. The sensory data obtained from the sensors with geo-location assist to supervise the pollutants level of the particular area on the digital platform (cloud server). With the motivation from these facts, this study aims to implement an Internet of Things and Long-Range-based cloud server for real monitoring of vehicle pollutants levels. To achieve the proposed system, hardware customization is performed and the customized hardware, i.e., sensor node and gateway, is implemented in real-time. To reduce data redundancy, the sensor node is powered via node mapping. The sensor node and gateway log the real-time sensor values on the cloud server. The sensor results stored in the cloud server are compared to optimal values, and it is concluded that the PM10 and PM2.5 levels are high in the air, while the remaining NO2, O3, and CO levels are optimal. In addition, an architecture for integrating the hardware with the blockchain network via cloud server and API for node authentication is proposed.
The main contribution of this study is as follows:
Long range communication and Internet of Things-based architecture is proposed for real-time monitoring of vehicular pollution.
Customized sensor node and gateway are developed for the real-time implementation.
The evaluation metrics such as bit rate, receiver sensitivity, and time on air are evaluated by spreading factor (SF), code rate (CR), bandwidth, number of packets, payload size, preamble, and noise figure.
The sensor node and gateway are deployed in the real-time environment and logged the sensor value on the cloud server.
An architecture is proposed for interfacing the hardware with blockchain network through cloud server and API.
The rest of this paper is arranged as follows.
Section 2 describes the overview of air pollution and associated problems with vehicular pollution.
Section 3 discusses the literature review in detail.
Section 4 discusses the methodology used to achieve the proposed objective.
Section 5 discusses the hardware implementation.
Section 6 illustrates the evaluation metrics of Long-Range network.
Section 7 discusses the results and finally,
Section 8 concludes the proposed work.
2. Overview of Air Pollution
Air pollution is one of the major environmental issues which has been ignored but should be dealt with carefully so that there is a permanent solution for it. It has not only affected the humans but also the economy of a country. According to [
6], the pollutant emissions from diesel engines comprise hydrocarbons (HC), carbon monoxide (CO), nitrogen oxides (NOx), and particulate matter (PM) which are the major causes of air pollution. Particle pollution, ground-level ozone, CO, sulfur oxides, NOx, and lead are the six main air pollutants that the World Health Organization (WHO) measures. Groundwater, soil, and air are just a few of the elements of the ecosystem that can be severely harmed by air pollution. Studies concentrating on either short-term (acute) or long-term (chronic) PM exposure have demonstrated a link between PM and unfavorable health consequences [
7]. These particles have been associated with major health issues i.e., short-term effects (headache, coughing, pneumonia, breathing, bronchitis, skin irritation) and long-term effects (affecting the central nervous system, impacts on the liver and reproductive system, cardiovascular disease, and respiratory disease) [
8].
There are many reasons which have contributed to the rise of air pollution such as urbanization, vehicular emissions, or industrial emissions and a conclusion can be made that the careless utilization of resources of nature is the main source of air pollution. Readings refer to particulate substances that are having a diameter of fewer than 2.5 μm is defined as PM
2.
5.
Figure 1 shows the top twenty cities of the world that are most polluted which are measured based on PM
2.
5. The automobile is one of the sectors having a prominent role in the development of any country and its economy. But it is also one of the reasons that have polluted the air. Taking reference from the past, with the increase in the number of vehicles, there is a tremendous decrease in the quality of air. Depending on the quality of the fuel they consume and the efficiency of their engines, automobiles generate a variety of pollutants. The discharge of pollutants from automobiles also includes fugitive fuel emissions, the source, and level depending on the vehicle type, maintenance, and other factors.
2.1. Analysis
Out of the 20 most polluted cities in the world, eleven are in India, while 2 are in Pakistan. The government has taken many actions to control the situation but looking at
Figure 1 which represents the cities that are most polluted worldwide in 2021, an observation can be made that all steps that have been taken for solving the problem of air pollution are not sufficient. Therefore, more and more attempts to controlling air pollution should be made, providing a solution that can improve the condition so that the healthy life of the organisms can be maintained.
2.2. Vehicular Pollutants
The sources (i.e., mobile sources include transportation vehicles, trucks, plains, and trains, and stationary sources include oil refineries, power plants, factories, and industrial facilities and area sources include cities, wood-burning fireplaces, agricultural areas, and natural sources include volcanoes, wind-blown dust, and wildfires [
9]) of global pollutant emissions vary, with transportation being one among them. Even though transportation (vehicles) is not the most significant source of pollution emissions on a worldwide scale, it is a big problem in densely populated metropolitan areas. Large cities suffer from heavy traffic, which results in high levels of pollutant emissions, which have a direct and indirect influence on human health. Pollutant emissions from internal combustion engines could be divided into two categories (
Figure 2).
Every vehicle emits or releases pollutants that become the reason for leveraging the level of air pollution. This emission depends on the nature of the fuel that is fed to the vehicle. Various emissions such as CO, HC, and oxides of nitrogen are the pollutants that are released by vehicles which form the area of concern.
Table 1 shows the summarized effects of these pollutants on humans, environment, and climate. This means that the pollutants affect not only the environment but also living organisms directly or indirectly in one or some other way [
10,
11].
3. Literature Review
The various components contaminate the environment, some of them are artificial and others are due to natural factors. Moreover, the role of environmental monitoring becomes crucial in addressing the difficulties in order to maintaining the environment for a healthy society and world [
12]. The entire world is working together to preserve the environment for sustainable agriculture, development, and a healthy society. The main goal of smart environment monitoring is to deal with the challenges posed by harmful emissions through smart monitoring, ensuring that all key factors of growth, including societal health, are well controlled. Environment monitoring strategies are used for a variety of objectives, including air pollution prevention and control [
13], water quality control, and monitoring [
14]. The authors introduced the name VehNode, a wireless sensor network (WSN)-based vehicular pollution monitoring platform able to measure various types of pollution levels included in emissions generated by an automobile and automatically report the status to the appropriate agencies as necessary. Following the web of things concept, their work guaranteed the presence of a wireless sensor network platform for vehicle pollution management, concentrating on simple access to real-time data over the web [
15].
In [
16], the author suggested a model that is capable of simple routing as well as emergencies and traffic rule breaches. They employed infrared sensors (IR) to monitor the number of vehicles and aid in the detection of emergency vehicles, image sensors to detect traffic offenses, and microphone sensors to determine the frequency of emergency vehicles using an advanced algorithm. Machine learning and image processing techniques were used in their research. [
17] suggested the design and deployment of a variety of remotely linked sensor modules for monitoring indoor air quality factors and capturing the data in real-time. This is accomplished through the use of infrared-based sensor technology that detects CO
2, temperature, and humidity, low-power networking technologies, and geographical prediction using geostatistical approaches. The infrastructure is comprised of an MBED LPC 1768 control board that obtains data from sensor nodes and wirelessly delivers it to a central unit through a ZigBee module, where it is evaluated and preserved. On live data, geographical forecasting is also conducted in real-time. Air pollution is extremely bad in metropolitan areas. Because of car emissions and hazardous gas emissions from industry, air quality in metropolitan areas deteriorates. WSN and low-cost ambient sensors were employed for real-time monitoring of air quality in metropolitan areas [
18]. The appropriate design framework of an intelligent transportation system based on Internet of Things technology was proposed in [
19].
The findings of the experiments reveal that the intelligent transportation system can accurately and efficiently implement the information exchange between the vehicle and the control center as well as anticipate road conditions. Simultaneously, the intelligent transportation system may increase vehicle speed on the road, make more efficient use of resources, decrease economic losses during vehicle operation, and reduce air pollution from gasoline emissions. In [
20], the authors presented a smart sensor system based on the green Internet of Things that employs a wireless sensor in association with a Long-Range module to measure vehicle emissions. For communication between automobiles and road side units (RSU), gas sensors coupled to a node MCU equipped with Long-Range are employed. If the emission rate reaches the threshold limit from the given specifications set by pollution under control (PUC) authorities, the vehicle information and owner details will be captured and sent to the nearest traffic signal post connected with the amazon web service (AWS) Internet of Things cloud and relational database service (RDS), and the vehicle owner will be notified. In [
21], the author implemented a UAV network based on the Internet of Things and a cloud server for the smart city for tracking the air quality. The gas that causes the most air pollution is NO
2, volatile organic compounds (VOC), CO, SO
2, ozone, dioxins, furans, etc.
In [
22], the authors presented an Internet of Things-based low power wide area (LPWA) air quality monitoring system (AQMS). It is divided into three layers: the sensor layer, the network layer, and the application layer. The sensing layer comprises the sensors that are positioned throughout vast geographical regions. The sensor nodes collect data and send it to the network layer. The LPWA network layer ensures pervasive communication between sensor nodes and access points. Implementing a directly sequenced spread spectrum improves the sensitivity of the receivers. Open source software-defined radio was used to create an access point. The network data are processed at the application layer, which is separated into two components. The authors of [
23] presented a raspberry pi-based Internet of Things-enabled AQMS. The method consists of sensor motes that are coupled to raspberry pi with computational capability and a local SQL database. The data acquired from sensors are sent from the processing power to the thing speak cloud services via the wi-fi module, which is connected to the network router. MATLAB code is used to examine data saved in cloud services. The findings of data analytics are sent to user devices as alerts. [
24] defined the usage of a blockchain to store data on air pollution. PM
10 and PM
2.
5, VOC, and NO
2 concentrations are all measured using an Internet of Things-based sensor network.
Weather parameters and vehicular traffic statistics are also included in the data collection. Their project envisions data being recovered from a standard not structured query language (NoSQL) database and structured according to specified requirements being uploaded to the ethereum blockchain on a daily basis, with the option to manually select the time period of interest. The author proposed a three-phase air quality surveillance system in [
25]. Gas sensors, an arduino integrated development environment (IDE), and a wi-fi module was used to create an Internet of Things kit. To monitor air pollution, this equipment may be practically deployed in several regions. The gas sensors collect information from the air and send it to the arduino IDE. The wi-fi device in the arduino IDE sends the data to the cloud. They created the Internet of Things- mobair android app, which allows users to get essential air quality data from the cloud. When a user travels to a location, the pollution level throughout the whole route is anticipated, and if the pollution level is too high, a warning is presented. As an alternative to permanent air quality monitoring stations presented in [
26], a remote sensing system is meant to monitor air quality in chosen zones, with a particular focus on larger cities and densely populated industrial zones. The Internet of Things has been shown to benefit us in all aspects of our lives. The Internet of Things smart sensor system empowers smart machine sensing, data gathering, pre-processing, interaction, and communication. As a result, improving the dependability of smart sensor systems to aid in the collection of data with more real-time and meaningful information is critical in Internet of Things [
27].
IB-AQMS blockchain nodes are usually dedicated servers hosted by cloud sources. The blockchain nodes are connected in a Peer-2-Peer distributed network, with nodes belonging to different organizations. Each organization must have numerous peer nodes where the blocks’ copies are stored. Each block hashes the preceding blocks’ hashed values, as well as transaction data and a timestamp. The implementation of blockchain for Internet of Things cloud applications is one of the most prominent services we have chosen in this study. The smart contract is another key mechanism for making digital transactions on the blockchain network. In general, a smart contract is a digital transaction contract with agreement provisions specified in computer languages [
28]. Ref. [
29] introduced the idea of the smart contract in the 1990s. In a conventional contract, two parties sign a paper agreement with numerous conditions, and these may be simply manipulated. But in the case of a smart contract, the agreement is formed in digital form, with the terms stated in a computer language. When specified conditions mentioned in the smart contract are fulfilled, the smart contract implements the agreement clauses. Furthermore, the smart contract enables us to use digital signatures in the peer-to-peer network to perform communications among two different nodes in a legal and encrypted manner.
From all the above reviews, it has been observed that all the research has been done and limited only to monitoring air pollution. While proposed work introduces Long-Range–Internet of Things-based vehicular pollution monitoring system using node authentication and blockchain. The hardware integration with blockchain network for vehicle air pollution need to be explored.
5. Hardware Implementation
The significance of the sensor node and blockchain-based Long-Range gateway configuration for real-time analysis of the nodes’ filling state will be discussed in this section. Long-range modulation is used to establish the sensor node and gateway, where the gateway is incorporated with ESP 8266 Wi-Fi component for the transmission of data via Internet. As the sensor nodes are deployed in an outdoor location where the electrical grid network should not be used for powering the nodes because it increases the setup cost of installing an individual electric grid network, power consumption is initially the most important factor to consider when designing the nodes. We implanted the power connection for supplying power to the sensor node through batteries in the sensor node. The +5 V and +3.3 V voltage converters are integrated with the sensor node and gateway to provide the required voltage.
The range of a communication module plays an essential role in preventing the power dissipation in the nodes during the data transmission of the data. As a result, for Long-Range data transmission, a communication module with low power consumption is used. The control unit is another essential component to consider while designing the node. The control unit is chosen depending on the computing capacity needed to process the collected data, because the major goal of our study is to sense the filling data, the computational power required to analyze the obtained data is of minimal complexity in our study. To design an energy-efficient node, it is also important to choose the right microcontroller/microprocessor. Once the components for designing the nodes have been selected, now the next phase is to combine all these components on a single board for executing a flexible, reliable, and compatible node.
- (a)
Sensor Node:
The block diagram and prototype of the sensor node are shown in
Figure 9. The Atmega 328P controller and SX 1278 Long-Range module transceiver are embedded in the node. PM sensor, CO sensor, ozone (O
3) sensor, and NO
2 sensor will be integrated to the sensor node for obtaining the sensor data of CO, PM
2.
5, PM
10, NO
2, and ozone level in atmosphere. In this study, the complexity of the data which is being processed is very low, hence we chose the Atmega328P controller to compute the data because it uses the minimum amount of current(mA). In the sensor node,
Table 2 and
Table 3 provide the technical specs of the Atmega328P microprocessor and the SX1278 Long-Range module.
- (b)
Long-Range-based Gateway:
The block diagram and prototype of the Long-Range -based gateway are shown in
Figure 10. The gateway has an ATmega 328P controller, as well as an SX 1278 Long-Range transceiver, and an ESP 8266 Wi-Fi module. The focus of the gateway is to send data over several transmission protocols. The data are received by the SX 1278 Long-Range transceiver, and the ATMega 328P controller prompts the ESP 8266 Wi-Fi to send it through the Internet protocol.
Table 4 shows the technical specifications of ESP 8266 Wi-Fi.
6. Evaluation Metrics of LoRa Network
Spread-spectrum technology is used by the Long-Range communication protocol, which operates in unlicensed ISM bands (433 MHz in Asia, 868 MHz in Europe, and 915 MHz in North America) [
34]. The resulting signal has low noisy levels, high check engaging adapt-ability, and is challenging to recognize [
35]. Specific data on LPWAN innovation and the PHY layer are represented by many characteristics, including Bandwidth (BW), Code Rate (CR), Transmission power, and Spreading Factor (SF) in certain works that highlight Long-Range innovation. Furthermore, Long-Range base stations can receive messages con-currently that were delivered using certain spreading components [
36]. LoRaWAN has multi-kilometer range, bi-directional availability, with data rates ranging from 0.3 kbps to 50 kbps. A frequency from one of three bands—125 kHz, 250 kHz, or 500 kHz—is shown in the spectrum band as BW. Smaller bandwidths are used for long-distance transmission, whereas larger bandwidths suggest speedier transmission. BW is the Long-Range modulation’s primary variable. The Long-Range symbol represents the whole frequency band, which is made up of 2SF chirps. It begins with a succession of ascending chirps; if the maximum frequency band is reached, the frequency is then covered, and it will grow once again from the lowest frequency. The speed at which bits are moved from one place to another is referred to as the bit rate or data rate. The bit rate (
Rbit) of Long-Range is expressed as:
The ability of a system to extract relevant information from signals is referred to as sensitivity. It can also be assessed as the weakest signal that can be received while still causing the system to packet resolution. The first term is produced by thermal noise in a bandwidth of 1 Hz and can only be controlled by adjusting the receiver’s temperature. The second term is denoted by the receiver bandwidth. The receiver’s noise figure (
NF) is fixed for a specific hardware design. The signal-to-noise ratio required by the underlying modulation scheme is represented as
SNR. The Long-Range designer has access to two design factors: bandwidth and signal-to-noise ratio (
SNR). The Long-Range receiver sensitivity (
S) is determined as follows:
where
S = receiver sensitivity in dB,
BW = Bandwidth in kHz,
NF = Noise Figure of a receiver in dB, and
SNR = Signal-to-Noise Ratio. The behavior of the network is evaluated by varying certain parameters such as bandwidth, SF, and CR. The analysis of bit rate, and Long-Range sensitivity are presented below.
- (a)
Bit rate:
The number of bits sent between the transmitter and receiver during transmission is commonly referred to as the data rate or bit rate denoted by bits per second (bps). Equation (1) was used to determine the Long-Range bit rate. The equation includes input parameters such as SF, BW, and CR (1 to 4) to calculate the bit rate of Long-Range which is illustrated in
Table 5,
Table 6,
Table 7 and
Table 8. The table demonstrate that SF is directly proportional to the BPS and when BW is increased the BPS is also increased. The bit rate of Long-Range from SF7 to SF12 is shown in
Figure 11 for CR1 to CR4. The frequencies for BW1, BW2, and BW3 are 125 kHz, 250 kHz, and 500 kHz, respectively. It is concluded from the graphs that increase in CR and increase in bandwidth increase the bit rate.
- (b)
Receiver sensitivity:
The input variables employed to determine the receiver’s long-range sensitivity are the BW, SF, and noise figure (NF). Equation (2) is used to obtain the results, and BW of 125 kHz, 250 kHz, and 500 kHz are also acknowledged. This BW is denoted by the following BW numbers: BW1 (125 kHz), BW2 (250 kHz), and BW3 (500 kHz) as shown in
Table 9. For distinct SF, the signal-to-noise ratio (SNR) value varies. The SNR of −7.5 for SF7, −10 for SF8, −12.5 for SF9, −15 for SF10, 17.5 for SF11, and −20 for SF12 are considered. Normally, power sensitivity is expressed as a negative value, such as −127 dBm, and any value over that point denotes a decline in sensitivity. The sensitivity from the SF7 to the SF12 is shown in
Figure 12; the SF7’s sensitivity power is highest at the BW10 (500 kHz), and the SF12’s sensitivity is lowest at the BW1 (7.8 kHz).
- (c)
Time on Air (ToA)
For calculating the ToA (ms), we used specific parameters such as preamble length in symbols = 8, payload length in bytes = 25, BW1 = 125 kHz, BW2 = 250 kHz, BW3 = 500 kHz, CF = 433 MHz. With the help of LoRa tool [
37], the value for ToA is calculated from SF7 to SF12 at CR from 1 to 4 individually (
Table 10,
Table 11,
Table 12 and
Table 13).
Figure 13 depicts the ToA (ms) for the payload length of 25 bytes and preamble length of 8 symbols for different bandwidths from SF7 to SF12. Among all the three bandwidths, the ToA is high for the BW1 in SF12 and Low for the BW3 in SF7.
7. Results and Discussion
The proposed system is implemented in real-time in the location of Dehradun (Uttarakhand, India) with latitude: 30.3410° N, longitude: 77.9544° (
Figure 4). A customized sensor mote based on 433 MHz frequency Long-Range is utilized for data transmission of sensors incorporated to it. The sensor mote is embedded with the ATMega 328 P controller, multiple power pins (+12 V, +5 V, +3.3 V). During firmware development of sensor mote, it is programmed with multiple unique features such as node mapping, and symmetric encryption. Node mapping feature enables the sensor mote to minimize the data redundancy; symmetric encryption in the sensor mote enables to send the sensor data securely. During the implementation of LoRa network in hardware device for the moving vehicles, the receiver sensitivity concluded is −132 dBm (Spreading factor: 7; code rate: 4/8; transmit power: 2 dBm, bandwidth: 500 kHz). In the case of data rate, the data rate for the proposed study is 13,671.87 bits per second by considering the following parameters such as spreading factor: 7; code rate: 4/8; bandwidth: 500 kHz. As per the proposed architecture, the sensor mote is connected to the gateway through 433 MHz Long-Range module. In this study, we have integrated the PM sensor, CO sensor, ozone (O
3) sensor, and NO
2 sensor to monitor CO, PM
2.
5, PM
10, NO
2, and ozone level in atmosphere for the vehicle’s pollution monitoring in the environment. A study has adopted these sensors for monitoring the vehicle emissions in the parking garages and with the motivation this study also adopted same sensors for monitoring the vehicle emissions [
38]. CO sensor manufactured by Alphsense with range of 5–500 ppm is considered to monitor the CO level and it is analog sensor that is connected to the analog pin (A
0) of the sensor mote. PMS 5003 dust sensor is used to sense the PM
2.
5, PM
10 levels in the atmosphere. It is 8 pin sensor that comprises of Vcc (+5 V), GND, SET, R
XD, T
XD, RST, and two no connected pins. V
CC is connected to the +5 V of the sensor mote; R
XD, and T
XD pins are connected to the digital pins (D
0, D
1), and GND is connected to ground of the sensor mote. MICS 2714 NO
2 sensor is able to sense the NO
2 level upto 0.05–10 ppm. It comprises of four pins such as V
0, EN, GND and Vcc connected to the A
1 pin, D
2 pin, ground and +5 V of the sensor mote. MQ 131 Ozone sensor comprises four pins such as GND, analog out, digital out and Vcc and these pins are connected to ground, A
2, D
3 pins of the sensor mote. These all sensors take below 3 min warm time to sense the value.
The calibration of the sensors is implemented in this study before implementation for error-free sensor values. We used a frequency agility-based interference avoidance algorithm in the gateway to detect interference and transfer it to a safe channel with minimal energy usage and latency while dealing with interference. Thingspeak server was employed in this study to visualize sensor value on the cloud server through an edge computing-based device and gateway. An API key of the thingspeak server loaded in the ESP 8266 Wi-Fi controller enables authentication and interfacing with hardware. As the sensor calibration and firmware development of the hardware is completed, the system is deployed in real-time as shown in
Figure 4. Based on the deployment of the system, the sensor directs the sensing analog data to the ATMega 328P controller unit and the analog-to-digital converter converts the analog value into digital. The sensor values such as temperature, humidity level, and air pressure around the environment are processed in the sensor mote and transmitted to the gateway through an edge computing-based device through 433 MHz Long-Range module.
The different sensor values of the sensor mote are logged on the thingspeak server and they are visualized in
Figure 14,
Figure 15 and
Figure 16.
Figure 14a of the thingspeak server dashboard visualizes the PM
10 content of the location at two different time intervals. At 12:30 PM, the PM
10 content recorded on the server is above 100 and when comparing this value in
Table 14, the recorded PM
10 is above the optimal range. This indicates that the PM
10 content is high in the air and the health of the air needs to be moderate.
Figure 14b of the thingspeak server dashboard visualizes the PM
2.
5 content of the location at two different time intervals. At 12:30 PM, the PM
2.
5 content recorded on the server is equal to 100 and when comparing this value in
Table 14, the recorded PM
2.
5 is above the optimal range. This indicates that the PM
2.
5 content is high in the air and the health of the air is poor.
Figure 15a of the thingspeak server dashboard visualizes the NO
2 content of the location at two different time intervals. At 12:30 PM, the NO
2 content recorded on the server is above 10 and when comparing this value in
Table 14, the recorded NO
2 is in the optimal range. This indicates that the NO
2 content is normal in the air and the health of the air is good.
Figure 15b of the thingspeak server dashboard visualizes the O
3 content of the location at two different time intervals. At 12:30 PM, the O
3 content recorded on the server is above 20 and when comparing this value in
Table 14, the recorded O
3 is in the optimal range i.e., 0–50. This shows that the O
3 content is normal in the air and the health of the air is good.
Figure 16 of the thingspeak server dashboard visualizes the CO content of the location at two different time intervals. At 12:30 PM, the CO content recorded on the server is equivalent to 1 and when comparing this value in
Table 14, the recorded CO is in the optimal range i.e., 0–1.0. This indicates that the CO content is normal in the air and the health of the air is good.
Table 15 shows the comparison between previous literature surveys with proposed work. In [
39], the performance of the device was verified and validated by measuring air quality by using PM sensor at several indoor and outdoor environments. In [
40], a study shown that evaluates the precision, accuracy, and usefulness of a low-cost indoor air quality sensor in a domestic setting for collecting data on indoor pollution. Temperature, relative humidity, total VOC, CO
2 equivalents, and fine PM
2.
5 data were collected using five low-cost sensors and compared to data from other scientifically certified monitors. In [
41], for industrial and urban regions, an outdoor WSN-based air quality monitoring system was proposed. A trio of gas sensors (O
3, CO, and NO
2), as well as a ZigBee wireless communication network based on Libelium’s [
42] gas sensing capable mote, make up the sensor node. The ZigBee is used to upload data to the central server. The public can get authorized air pollution information by email, SMS, and a tailored web app. In [
43], it was only implemented for indoor air quality.
Each sensor node is made up of several sensors (temperature and relative humidity sensors, CO, methane, and solvent vapor sensors), as well as a Wi-Fi communication link. The proposed work tests the outdoor air quality with the help of sensor nodes PM10, PM2.5, NO2, O3, and CO which is set in vehicles. Long-Range gateway node is used to upload the data on the cloud server via Internet. The gateway converts RF transmissions into IP packets so that information can be communicated across the Internet protocol. In the previous studies, it has been identified that limited studies have implemented the customization of hardware for the implementation of wireless-based system. To overcome transmission range and power consumption, this study has implemented long-range communication protocol with Internet of things network. Along with this, the blockchain integration with hardware is missing in the previous studies. In the proposed study any architecture is proposed to interface the blockchain network with hardware. In this study, low-cost sensors such as PM10, PM2.5, NO2, O3, and CO were used to collect the data and integrated cloud platform with blockchain system. Here blockchain ensure to collect sensor data by setting the threshold value for collecting and storing the data. The smart contracts assist to pre-trigger the alerts when it exceeds the threshold value.