Introduction

Air quality, temperature, humidity and pressure are essential elements to ensure healthy and comfortable indoor environments. However, these parameters are often outside of ideal standards, which can result in a series of health and well-being problems. Air pollution, lack of adequate ventilation, extreme variations in temperature and humidity, as well as fluctuations in atmospheric pressure, are some of the main challenges faced in closed environments.

To monitor and control these factors, the BME680 sensor appears as a versatile and effective solution. This sensor is capable of measuring air quality, detecting substances such as VOCs (volatile organic compounds), in addition to providing accurate data on temperature, humidity and atmospheric pressure in real time.

By integrating the BME680 sensor with the ESP32, it is possible to collect this information continuously and transmit it to an online platform. This allows you to remotely monitor air quality and environmental conditions in real time, enabling corrective measures to be taken when necessary and contributing to the creation of healthier, and more comfortable indoor spaces for everyone.

To monitor this data, we developed an electronic board capable of collecting data from the BME680 sensor with the help of the ESP32.

In this article you will learn:

Next, we will present the electronic schematic structure of the developed electronic board project.

Do you want to download the electronic files for this project? Click on this link and download now!

Electronic Schematic of the Project

The electronic circuit of the printed circuit board is divided into 5 electronic blocks. All of them are presented in the figure below.

One of the crucial points in any electronic project is the circuit power supply. Our electronic project was developed to use 2 alkaline batteries to power the circuit. However, the voltage of each cell is 1.5V, providing a total of 3V.

In order to guarantee a 3.3V supply for the ESP8266, we developed a boost circuit to increase the voltage to 3.3V and power the project. The CHIP responsible for this task is the TLV61046A.

A factor that impacts several devices that are powered by batteries is the time it takes for the batteries to discharge. It is extremely important to carry out correct management and know the time of use and when it is necessary to change batteries so that the device continues to operate safely in the field. To achieve this, we implemented the INA219 sense in the project.

What is the purpose of the INA219 sensor?

The INA219 sensor is a valuable component for monitoring batteries and analyzing current consumption in electronic circuits during field applications. With its ability to measure battery voltage and current flowing through it, the INA219 provides essential data for evaluating system performance and efficiency. By monitoring battery voltage, operators can closely monitor charging and discharging status, ensuring effective energy management.

Furthermore, by analyzing the current consumption of the circuit, it is possible to identify usage patterns, detect anomalies and optimize energy consumption. This information is crucial for extending battery life, preventing system failures, and improving energy efficiency in field applications, from portable devices to remote monitoring systems. Below we have the INA219 sensor circuit. It communicates via I2C with the ESP32.

Next, we have the BME680 sensor, which will be responsible for monitoring environmental parameters.

BME680 Sensor Circuit

The BME680 sensor, developed by Bosch Sensortec, is a highly advanced device that combines multiple functionalities on a single chip. It is capable of measuring temperature, relative humidity, atmospheric pressure and air quality, making it an essential tool for a variety of applications. Its exceptional accuracy and ability to provide real-time data make it ideal for use in meteorology, environmental monitoring, indoor air quality control, HVAC systems and portable devices, among others.

The highlight of the BME680 is its ability to detect volatile organic gases (VOCs), allowing air quality assessment. This makes it crucial in environments where air quality is a concern, such as indoor spaces or industrial sites.

Furthermore, its simplified integration into existing systems, through standard interfaces such as I2C and SPI, facilitates its adoption on a variety of platforms and microcontrollers. With its unique combination of features and ease of use, the BME680 sensor continues to drive innovation in diverse areas, from wearable technology to industrial automation, ensuring healthier and more efficient environments.

Below we have the electronic block of the BME680 sensor. It was configured to work via I2C.

From this project, it is possible to develop numerous electronic applications to monitor parameters of internal environments and, by connecting the ESP32 to the internet, make this data accessible to the user. In addition, monitor battery energy consumption in real time through voltage and current.

Do you want to download the electronic files for this project? Click on this link and download now!

Acknowledgments

We would like to thank PCBWAY for supportting the creation of this project and made some units available for you to earn for free and receive 5 units at your home.

To receive them, access this link, create an account on the website and receive coupons for you to win right now.