Design and Implementation of a Distributed IoT System for Monitoring of Gases Emitted by Vehicles That Use Biofuels
Abstract
:1. Introduction
2. Materials and Methods
- (a)
- (a)
- The data collected by the sensors are sent to a cloud-based web server to be stored in a database. The web-based system, designed with user-friendliness in mind, features a MySQL database manager (version 8.0 lts), the PHP (Latest version 8.4.3) programming language, HTML5, CSS style sheets, JavaScript (ES12), and node.js, see https://citecuvp.tij.uabc.mx/hcarbono/, accessed on 28 January 2025. The software tools proposed in this project allow the creation of an intuitive and interactive web system. The programming for the master and slave devices is C-type code, carried out by using the Arduino programming interface in accordance with the indications provided by manufacturers. The device provides libraries to simplify communication and operation with sensors. It is important to mention that MySQL was selected because it is one of the most popular for its compatibility to work with web-based systems and can be installed on any operating system.
- (b)
- The user interface allows the creation of a customizable profile account. It also visualizes the data through graphs and exports it to different formats so that it can be analyzed and characterized with specialized software.
Hardware Proposal
3. Results
- The user selects the range of dates for the data to be displayed.
- The user can delete the collected data so far, plus a button to log out or exit the system.
- The user can export the collected data to a format (.xlsx) to perform a specific analysis.
- In this area, the user can graphically observe the selected data. The displayed data are obtained and sent from the esp32 modules (slave and master).
- (a)
- X: Displays the time of the test in minutes.
- (b)
- Y: Represents the value assigned for each data.
4. Final Considerations and Future Research
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- BP. BP Statistical Review of World Energy. 2021. Available online: https://www.bp.com/content/dam/bp/business-sites/en/global/corporate/pdfs/energy-economics/statistical-review/bp-stats-review-2021-full-report.pdf (accessed on 12 February 2023).
- Davenport, J. Launch Presentation: AGM. 2024. Available online: https://www.energy.ox.ac.uk/wp-content/uploads/2024/09/4.-11.50am-Juliet-Davenport-SLIDES-SR-2024-launch-presentation-AGM.pdf (accessed on 15 February 2023).
- Gobierno de México. Balance Nacional de Energía: Preliminar. 2023. Available online: https://www.gob.mx/cms/uploads/attachment/file/947752/BALANCE_NACIONAL_DE_ENERG_A_PRELIMINAR_2023.pdf (accessed on 22 February 2023).
- Scholz, I.; Brandi, C. Implementing the 2030 Agenda for Sustainable Development: Achievements and Limitations of the G20 Presidency in 2017. Glob. Summitry 2017, 3, 156–175. [Google Scholar] [CrossRef]
- Edenhofer, O.; Pichs-Madruga, R.; Sokona, Y.; Minx, J.C.; Farahani, E.; Kadner, S.; Seyboth, K.; Adler, A.; Baum, I.; Brunner, S.; et al. Climate Change 2014 Mitigation of Climate Change; Cambridge University Press: Cambridge, UK, 2014. [Google Scholar]
- Sarkodie, S.A.; Strezov, V. A Review on Environmental Kuznets Curve Hypothesis Using Bibliometric and Meta-Analysis. Sci. Total Environ. 2019, 649, 128–145. [Google Scholar] [CrossRef] [PubMed]
- Chauhan, B.S.; Kumar, N.; Cho, H.M. A study on the performance and emission of a diesel engine fueled with Jatropha biodiesel oil and its blends. Energy 2012, 37, 616–622. [Google Scholar] [CrossRef]
- Frijters, P.J.M.; Baert, R.S.G. Oxygenated fuels for clean heavy-duty diesel engines. Int. J. Veh. Des. 2006, 41, 242–255. [Google Scholar] [CrossRef]
- Sahoo, P.K.; Das, L.M.; Babu, M.K.G.; Arora, P.; Singh, V.P.; Kumar, N.R.; Varyani, T.S. Comparative evaluation of performance and emission characteristics of jatropha, karanja and polanga based biodiesel as fuel in a tractor engine. Fuel 2009, 88, 1698–1707. [Google Scholar] [CrossRef]
- Igbum, O.G.; Eloka-Eboka, A.C.; Ubwa, S.T.; Inambao, F.L. Evaluation of environmental impact and gaseous emissions of biodiesel fuels and blends of selected feedstocks. Int. J. Glob. Warm. 2014, 6, 99–112. [Google Scholar] [CrossRef]
- Tesfa, B.; Gu, F.; Mishra, R.; Ball, A. Emission Characteristics of a CI Engine Running with a Range of Biodiesel Feedstocks. Energies 2014, 7, 334–350. [Google Scholar] [CrossRef]
- Hansen, A.C.; Gratton, M.R.; Yuan, W. Diesel engine performance and NOX emissions from oxygenated biofuels and blends with diesel fuel. Trans. ASABE 2006, 49, 589–595. [Google Scholar] [CrossRef]
- Varatharajan, K.; Cheralathan, M.; Velraj, R. Mitigation of NOx emissions from a jatropha biodiesel fuelled DI diesel engine using antioxidant additives. Fuel 2011, 90, 2721–2725. [Google Scholar] [CrossRef]
- Pérez, A.; Ramos, R.; Montero, G.; Coronado, M.; García, C.; Pérez, R. Virtual Instrument for Emissions Measurement of Internal Combustion Engines. J. Anal. Methods Chem. 2016, 2016, 9459516. [Google Scholar] [CrossRef]
- Jurić, Z.; Vidović, T.; Šimunović, J.; Radica, G. A Comprehensive Analysis of Hydrogen–Gasoline Blends in SI Engine Performance and Emissions. Energies 2024, 17, 1557. [Google Scholar] [CrossRef]
- Desantes, J.; Molina, S.; Novella, R.; Lopez-Juarez, M. Comparative global warming impact and NOX emissions of conventional and hydrogen automotive propulsion systems. Energy Convers. Manag. 2020, 221, 113137. [Google Scholar] [CrossRef]
- Li, S.; da Xu, L.; Zhao, S. 5G Internet of Things: A survey. J. Ind. Inf. Integr. 2018, 10, 1–9. [Google Scholar] [CrossRef]
- IEEE Xplore Full-Text PDF. Available online: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10643995 (accessed on 16 January 2025).
- Landge, P.D.; Harne, R. Air Quality Monitoring System for City: A Review. Int. Res. J. Eng. Technol. 2018, 5, 5–6. [Google Scholar]
- Calderón, D.; Folgado, F.J.; González, I.; Calderón, A.J. Implementation and Experimental Application of Industrial IoT Architecture Using Automation and IoT Hardware/Software. Sensors 2024, 24, 8074. [Google Scholar] [CrossRef]
- Saffran, J.; Garcia, G.; Souza, M.A.; Penna, P.H.; Castro, M.; Góes, L.F.W.; Freitas, H.C. A low-cost energy-efficient raspberry Pi cluster for data mining algorithms. In Proceedings of the European Conference on Parallel Processing, Compostela, Spain, 28 August–1 September 2017; Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). Springer: Berlin/Heidelberg, Germany, 2017; Volume 10104, pp. 788–799. [Google Scholar]
- Patil, S.M.; Vijayalashmi, M.; Tapaskar, R. IoT based solar energy monitoring system. In Proceedings of the 2017 International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS), Chennai, India, 1–2 August 2017; pp. 1574–1579. [Google Scholar] [CrossRef]
- Paneque, M. Bioenergy—A Sustainable and Reliable Energy Source. Agric. Res. Technol. Open Access J. 2017, 4, 555642. [Google Scholar] [CrossRef]
- Navulur, S.; Sastry, A.S.C.S.; Giri Prasad, M.N. Agricultural Management through Wireless Sensors and Internet of Things. Int. J. Electr. Comput. Eng. 2017, 7, 3492–3499. [Google Scholar] [CrossRef]
- Lai, X.; Yang, T.; Wang, Z.; Chen, P. IoT Implementation of Kalman Filter to Improve Accuracy of Air Quality Monitoring and Prediction. Appl. Sci. 2019, 9, 1831. [Google Scholar] [CrossRef]
- Kumar, R.; Pallikonda Rajasekaran, M. An IoT based patient monitoring system using raspberry Pi. In Proceedings of the 2016 International Conference on Computing Technologies and Intelligent Data Engineering (ICCTIDE’16), Kovilpatti, India, 7–9 January 2016. [Google Scholar] [CrossRef]
- Rustia, D.J.A.; Lin, T.-T. An IoT-based wireless imaging and sensor node system for remote greenhouse pest monitoring. Chem. Eng. Trans. 2017, 58, 601–606. [Google Scholar] [CrossRef]
- Sarangdhar, A.A.; Pawar, V. Machine learning regression technique for cotton leaf disease detection and controlling using IoT. In Proceedings of the International Conference on Electronics, Communication and Aerospace Technology, ICECA 2017, Coimbatore, India, 20–22 April 2017; pp. 449–454. [Google Scholar] [CrossRef]
- Sanjeevi, P.; Siva Kumar, B.; Prasanna, S.; Maruthupandi, J.; Manikandan, R.; Baseera, A. An ontology enabled internet of things framework in intelligent agriculture for preventing post-harvest losses. Complex Intell. Syst. 2021, 7, 1767–1783. [Google Scholar] [CrossRef]
- Qi, J.; Yang, P.; Min, G.; Amft, O.; Dong, F.; Xu, L. Advanced internet of things for personalised healthcare systems: A survey. Pervasive Mob. Comput. 2017, 41, 132–149. [Google Scholar] [CrossRef]
- Calo, S.B.; Touna, M.; Verma, D.C.; Cullen, A. Edge computing architecture for applying AI to IoT. In Proceedings of the 2017 IEEE International Conference on Big Data, Boston, MA, USA, 11–14 December 2017; pp. 3012–3016. [Google Scholar] [CrossRef]
- (PDF Internet of Things) Internet of Things (IOT) Based Gas Leakage Monitoring and Alerting System with MQ-2 Sensor. Available online: https://www.researchgate.net/publication/357768388_Internet_of_Things_IOT_Based_Gas_Leakage_Monitoring_and_Alerting_System_with_MQ-2_Sensor (accessed on 10 April 2023).
- IoT Based Water Monitoring and Alerting System. Available online: https://www.researchgate.net/publication/341908442_IoT_based_Water_Monitoring_and_Alerting_System (accessed on 18 April 2023).
- Al-Mutawa, R.F.; Eassa, F.A. A smart home system based on internet of things. Int. J. Adv. Comput. Sci. Appl. 2020, 2, 260–267. [Google Scholar] [CrossRef]
- Martín-Baos, J.Á.; Rodriguez-Benitez, L.; García-Ródenas, R.; Liu, J. IoT based monitoring of air quality and traffic using regression analysis. Appl. Soft Comput. 2022, 115, 108282. [Google Scholar] [CrossRef]
- Wang, H.; Chen, Y.; Li, L. A novel deep learning method for traffic flow forecasting based on Web traffic data. IEEE Access 2019, 7, 104453–104464. [Google Scholar]
- Bilotta, S.; Nesi, P. Estimating CO2 emissions from IoT traffic flow sensors and reconstruction. Sensors 2022, 22, 3382. [Google Scholar] [CrossRef] [PubMed]
- Guanochanga, B.; Cachipuendo, R.; Fuertes, W.; Salvador, S.; Benítez, D.S.; Toulkeridis, T.; Torres, J.; Villacís, C.; Tapia, F.; Meneses, F. Real-time air pollution monitoring systems using wireless sensor networks connected in a cloud-computing, wrapped up web services. Adv. Intell. Syst. Comput. 2019, 880, 171–184. [Google Scholar]
- Alkandari, A.A.; Moein, S. Implementation of monitoring system for air quality using raspberry PI: Experimental study. Indones. J. Electr. Eng. Comput. Sci. 2018, 10, 43–49. [Google Scholar] [CrossRef]
- Kodali, R.K.; Borra, K.Y.; Sharan Sai, G.N.; Domma, H.J. An IoT Based Smart Parking System Using LoRa. In Proceedings of the 2018 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), Zhengzhou, China, 18–20 October 2018; pp. 151–154. [Google Scholar] [CrossRef]
- Tovar-Soto, J.P.; Pareja-Figueredo, C.F.; García-Navarrete, O.L.; Gutiérrez-Martínez, L.C. Performance evaluation of LoRa technology for implementation in rural areas. DYNA 2021, 88, 69–78. [Google Scholar] [CrossRef]
- Hoang, T.N.; Van, S.T.; Nguyen, B.D. ESP-NOW Based Decentralized Low Cost Voice Communication Systems for Buildings. In Proceedings of the 2019 International Symposium on Electrical and Electronics Engineering (ISEE), Ho Chi Minh City, Vietnam, 10–12 October 2019; pp. 108–112. [Google Scholar] [CrossRef]
- Cameron, N. Electronics Projects with the ESP8266 and ESP32. In Electronics Projects with the ESP8266 and ESP32; Springer: Berlin/Heidelberg, Germany, 2021. [Google Scholar] [CrossRef]
- Maier, A.; Sharp, A.; Vagapov, Y. Comparative analysis and practical implementation of the ESP32 microcontroller module for the internet of things. In Proceedings of the 2017 Internet Technologies and Applications (ITA), Wrexham, UK, 12–15 September 2017; pp. 143–148. [Google Scholar] [CrossRef]
- Gutai, I.; Sovilj, P.; Subotin, M.; Novakovic, D.; Gazivoda, N.; Vujicic, B. A prototype of a system for detecting G force in an automobile, based on two ESP32′s. In Proceedings of the 2021 Zooming Innovation in Consumer Technologies Conference (ZINC), Novi Sad, Serbia, 26–27 May 2021; pp. 191–192. [Google Scholar] [CrossRef]
- Pemex. Available online: https://www.pemex.com/ (accessed on 12 April 2023).
- Secretaría de Energía de México. Available online: https://www.gob.mx/sener (accessed on 18 April 2023).
- Agencia Nacional de Seguridad Industrial y de Protección al Medio Ambiente del Sector Hidrocarburos (ASEA). Available online: https://www.gob.mx/asea (accessed on 23 May 2023).
- Instituto Mexicano del Petróleo (IMP). Available online: https://www.gob.mx/imp (accessed on 29 May 2023).
- Normas Oficiales Mexicanas (NOM) Relacionadas Con la Gasolina. Available online: https://www.gob.mx/busqueda?utf8=%E2%9C%93&search=gasolina+noms (accessed on 5 June 2023).
- Dimitriou, P.; Kumar, M.; Tsujimura, T.; Suzuki, Y. Combustion and emission characteristics of a hydrogen-diesel dual-fuel engine. Int. J. Hydrog. Energy 2018, 43, 13605–13617. [Google Scholar] [CrossRef]
- Dimitriou, P.; Tsujimura, T. A review of hydrogen as a compression ignition engine fuel. Int. J. Hydrogen Energy 2017, 42, 24470–24486. [Google Scholar] [CrossRef]
- Ji, C.; Wang, S.; Zhang, B. Effect of spark timing on the performance of a hybrid hydrogen–gasoline engine at lean conditions. Int. J. Hydrogen Energy 2010, 35, 2203–2212. [Google Scholar] [CrossRef]
- Ji, C.; Wang, S. Experimental study on combustion and emissions performance of a hybrid hydrogen–gasoline engine at lean burn limits. Int. J. Hydrogen Energy 2010, 35, 1453–1462. [Google Scholar] [CrossRef]
Num | Description |
---|---|
1 | Base aluminum enclosure to install electronic components |
2 | Neoprene base for sensors |
3 | ZE07-CO sensor |
4 | CO2 sensor |
5 | ZE07-H2 sensor |
6 | N/A |
7 | Device to create turbulence in exhaust air |
8 and 14 | Case 2: protector for CO sensor |
9 | Perforated phenolic board |
10 | 3.7 v battery |
11 | System power supply controller |
12 and 17 | Case protector for ESP 32 |
13 and 22 | Case 2 protector for CO2 sensor |
15 | Module GPS u-blox NEO-6M |
16 and 23 | (2×) Case 1 protector for ZE07-H2 sensor |
18 | System status LED indicator |
19 | ESP 32 development board |
20 | Perforated phenolic board |
21 | BMP180 breakout |
24 | Fastening screws |
Model | Description | Output Data |
---|---|---|
ZE07-H2 | ZE07-CH2O is a general-purpose and miniaturized electrochemical formaldehyde detection module. It utilizes electrochemical principles to detect H2 in air, which makes the module with high selectivity and stability. Detection range of 0–450 ppm and response time of ≤60 s. This sensor has automatic calibration. | UART/Analog Voltage/PWM wave output |
ZE07-CO | ZE07-CO is a general-purpose and miniaturized electrochemical carbon monoxide detection module. It utilizes electrochemical principles to detect CO in the air, which makes the module with high selectivity and stability. Response time ≤ 60 s and detection range 0~500 ppm. This sensor has automatic calibration. | UART/Analog Voltage/PWM wave output |
CO2-NDIR | This sensor is used to read the concentration of CO2, with the measurement range of 400 to 10,000 ppm and an average response time of 20 s, in addition to low energy consumption, and has the feature of reading the temperature and humidity of the environment. | UART |
NEO-6M | It is a GPS receiver manufactured by the Swiss company u-blox. It has all the receiver modules and calculation of latitude and longitude, date, and world time. The information can be obtained by any external device through any of its two serial communication interfaces. | UART |
BMP180 | It consists of two sensors: a barometric pressure sensor and a temperature sensor. The BMP180 provides the digitized data through a 12C interface. Since it does not require calibration, its incorporation into the system was direct. | Digital-I2C |
ESP32 | It is a SoC (System on Chip) manufactured by Espressif focused on the IoT [44] application market. The ESP32 features an extra-low-power consumption dual-core 32-bit RISC processor, which is able to reach speeds up to 240 MHz. Its hardware and firmware include interfaces and protocols for Wi-Fi 802.11 b/g/n (802.11n, Bluetooth v4.2. communication). | NA |
ESP 32 TTGO t-call | TTGO T-Call is a development board based on the ESP32 that integrates the SIM800L GSM/GPRS module, Chipset ESPRESSIF -ESP 32 240 MHz Xtensa single-/dual-core 32-bit LX6 microprocessor, and modular interface UART, SPI, SDIO, I2C, PWM, TV PWM, I2S, and IRGPIO. It integrates Wi-Fi 802.11 b/g/n (802.11n, Bluetooth v4.2. module). | NA |
Speed (km/h) | Fuels | Experimental Trials |
---|---|---|
40 | G100 | C1, C2, C3 |
GH5 | C1, C2, C3 | |
60 | G100 | C1, C2, C3 |
GH5 | C1, C2, C3 |
Measured Parameter | Range | Resolution | Accuracy | Sensor Type |
---|---|---|---|---|
Ambient temperature | 0–66 °C | 1 degree F or C | ±0.1 °C M | Type RTD |
Stack temperature (net) | 0–1, 100 °C | 1 degree F or C | ±0.1 °C M | Type K thermocouple |
Oxygen (O2) | 0–25% | 0.10% | ±0.2% M | Electrochemical |
Nitrogen oxide (NOx) | 0–5000 ppm | 1 ppm | ±2% M | Dual range SEM |
Stack velocity/flow | 0–200 ft/s (0–6500 cfm) | 1 ft/s | Meets EPA Method 2 | Type S pitot pipe |
Hydrocarbons (CHs) | 0–30,000 ppm | 1 ppm | ±3% M (EPA Method 25B) | NDIR |
Carbon monoxide (CO) | 0–15% | 0.01% | ±3% M | NDIR |
Carbon dioxide (CO2) | 0–20% | 0.10% | ±3% M | NDIR |
M: measured |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Caraveo Mena, C.; Suastegui Macias, J.A.; Cervantes Huerta, L.; Ruiz Ochoa, J.A.; Jiménez Calleros, S.; Sánchez-Pérez, A. Design and Implementation of a Distributed IoT System for Monitoring of Gases Emitted by Vehicles That Use Biofuels. Sustainability 2025, 17, 1153. https://doi.org/10.3390/su17031153
Caraveo Mena C, Suastegui Macias JA, Cervantes Huerta L, Ruiz Ochoa JA, Jiménez Calleros S, Sánchez-Pérez A. Design and Implementation of a Distributed IoT System for Monitoring of Gases Emitted by Vehicles That Use Biofuels. Sustainability. 2025; 17(3):1153. https://doi.org/10.3390/su17031153
Chicago/Turabian StyleCaraveo Mena, Camilo, José Alejandro Suastegui Macias, Leticia Cervantes Huerta, Juan Antonio Ruiz Ochoa, Samantha Jiménez Calleros, and Armando Sánchez-Pérez. 2025. "Design and Implementation of a Distributed IoT System for Monitoring of Gases Emitted by Vehicles That Use Biofuels" Sustainability 17, no. 3: 1153. https://doi.org/10.3390/su17031153
APA StyleCaraveo Mena, C., Suastegui Macias, J. A., Cervantes Huerta, L., Ruiz Ochoa, J. A., Jiménez Calleros, S., & Sánchez-Pérez, A. (2025). Design and Implementation of a Distributed IoT System for Monitoring of Gases Emitted by Vehicles That Use Biofuels. Sustainability, 17(3), 1153. https://doi.org/10.3390/su17031153