ESP32 IoT Development Board with Monitoring Battery System
Introduction
Today I want to tell you what one of the biggest problems is in electronic projects involving the Internet of Things and low energy consumption. In addition to telling you about this problem, we will show you how to avoid it in your projects.
Several electronic projects need to operate with low energy consumption and are powered by batteries. And one of the biggest problems is managing the battery's energy consumption well so that, in some applications, the system works for 1 year, 2 years or more powering your electronic projects.
Therefore, working with batteries can be a big problem if you don't know how to adjust all your circuitry and code to operate at low power consumption and not discharge it quickly. Otherwise, your electronic application will quickly stop working.
After all, how can we monitor our battery's energy parameters and know the ideal time to recharge or change it?
In this article, we will show you how to solve this problem and provide you with the file for an electronic development board based on the ESP32. Through it you will be able to develop countless electronic projects and study energy consumption based on the use of Li-Ion batteries.
Now, let's start the discussion of this electronic circuit.
Circuit Design of the ESP32 Development Board with Battery Voltage Monitory System
Below we have the complete electronic diagram of the printed circuit board project.
As you can see, the project is divided into several electronic blocks and, below, we will explain the main parts for you to understand its complete operation.
ESP32 Circuit
The ESP32 circuit is the heart of this electronic project. This CHIP will be used to process input information and other information that comes from the internet. Below we have the electronic wiring diagram.
As mentioned, many electronic projects need to operate at low power. To power the ESP32, it was necessary to develop a circuit to allow it to be powered by a Li-Ion battery.
However, it is not possible to connect the battery directly to the ESP32, as its voltage is inadequate to be applied to the CHIP.
To do this, it was necessary to develop some circuits to supply a voltage of 3.3V.
See the power supply circuits and the strategy applied for each of them. This made it possible to create a development board that can power countless devices and facilitate the construction of any electronic prototype.
Power Supply Circuit
The circuit power stage was made to meet the following points:
- Provide a stable voltage to power the ESP32 with 3.3V from a Li-Ion battery;
- Provide a voltage of 5V to power other external modules that operate at this voltage.
This way, we will have the flexibility to work with a variety of devices and build countless projects using this development board.
See the 2 main electronic blocks to provide 3.3V and +5V power in the electronic board design.
In the first block we have a step-up circuit. It was designed using the TPS61023 CHIP and is intended to operate with an input voltage range between 2.7V and 4.35V. From this input voltage range, the voltage is raised and it provides a value of 5V at the output of the circuit with a maximum current of 1.5A from a single-cell Li-ion battery. See the complete TPS61023 datasheet and check the application note.
From this voltage, we use an AMS1117 voltage regulator to regulate the voltage and provide a value of 3.3V to power the ESP32 circuit.
The electronic board has several +5V, 3.3V and GND pins. The purpose of these terminals is to facilitate the power connection of other modules and electronic components to have more flexibility when creating electronic prototypes. See the figure above.
And something will happen in your application...
These electronic devices will consume the power of your battery and, little by little, it will discharge. As we have already mentioned, this is a big problem and, therefore, we need to monitor the battery voltage so that it can be recharged or exchanged for another one. How to do this?
Battery Voltage Monitoring Circuit
The best way to analyze your circuit's power consumption is by measuring how much it consumes. Through this, we can determine an average battery lifespan and make optimizations to the circuit and code to reduce power consumption.
Monitoring was done using the INA219 CHIP. This CHIP is capable of measuring 3 parameters: battery voltage, electrical current consumed and power consumed.
Using these parameters, it is very easy to provide this data to the user and allow monitoring of the Li-Ion battery's discharging process and energy consumption. See the electronic circuit of the INA219 CHIP.
In the circuit above we use a shunt resistor for the INA219 circuit to read voltage, current and power. This data is calculated and sent to the microcontroller through I2C communication.
And here we have something very interesting. You do not need to perform analog conversion operations and the data received by I2C is ready to be presented to the user. Using the voltage information, you can display the battery charging percentage and generate alerts to the user when the battery is close to the minimum voltage value.
Final Thoughts
This circuit facilitates the creation of countless electronic projects, especially when the focus is on low energy consumption and the use of batteries for power supply. As you can see, we inserted numerous +5V, +3.3V and GND terminals to facilitate the connection and power supply of numerous electronic elements in our project.
The electronic project is available and you can download all the files and electronic schematics.
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.
ESP32 IoT Development Board with Monitoring Battery System
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(2)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Silícios Lab silicioslab
- Electronic Enclosure applied for electronic projects IntroductionWhen designing electronics, the enclosure plays a crucial role that is often overlooked....
- IoT Indoor system with ESP32 to monitor Temperature, Humidity, Pressure, and Air Quality IntroductionAir quality, temperature, humidity and pressure are essential elements to ensure healthy...
- WS2812B RGB LED Controller with ESP8266 via WiFi IntroductionWS2812b addressable RGB LEDs are devices widely used in lighting projects. They are foun...
- Electronic Board for Cutting Electrical Power to Devices and Machines IntroductionAn energy saving system for cutting electrical energy in machines is a fundamental piece...
- PCB Board Home Automation with ESP8266 IntroductionThe incorporation of the ESP8266 module into home automation represents a significant ad...
- Dedicated Control Board for Mobile Robots with Wheels IntroductionFor a long time we developed several prototypes and teaching kits of mobile robots and w...
- Traffic turn signal for bicycles IntroductionDoes every project with electronic logic need a Microcontroller or Arduino to be develop...
- Mini Arduino with ATTINY85 Do you know the ATTINY85 microcontroller? This article has news and a gift for you. Many people deve...
- Christmas Tree The tree used to signal light of Christmas.
- Electronic Enclosure applied for electronic devices IntroductionWhen designing electronics, the enclosure plays a crucial role that is often overlooked....
- Electronic Enclosure for Programmable Logic Controller The housing developed for programmable logic controllers is a practical and efficient solution for t...
- Payment PCB for machines and services IntroductionIn many commercial establishments, hospitals and other places, there are video game equi...
- Relay High Power Printed Circuit Board IntroductionEfficient management of electrical loads is essential for optimizing performance and saf...
- Weather gadget with clock through ESP8266 IntroductionImagine a device that combines technology with an elegant design, bringing functionality...
- ESP32 MPU6050 Monitor IntroductionVarious industrial equipment is essential for the adequate production of products, parts...
- Digital Speedometer for Bicycles IntroductionCycling, increasingly popular both as a recreational activity and as a means of transpor...
- Arduino-based development board with extra features IntroductionArduino is an excellent tool for anyone who wants to develop prototypes. The board has a...
- How to develop low-energy devices powered by batteries? IntroductionIn recent years, there has been a major advance in the area of embedded systems through ...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
121 0 0 -
DIY Laser Power Meter with Arduino
172 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
162 0 2 -