ACS712 5A Youth - Easy Way to Measure Current in Your Projects
by KusTech in Circuits > Arduino
27 Views, 0 Favorites, 0 Comments
ACS712 5A Youth - Easy Way to Measure Current in Your Projects
Hello fellas!
In this article, we’ll take a closer look at the ACS712 current sensor module, compare it to standard options available on the market, and connect it to the ESP32-S3 Youth to display readings in the Serial Port on a computer.
What is this module?
The ACS712 5A is a current sensor designed to measure currents up to 5A, both AC and DC. It outputs a voltage proportional to the current, making it easy to read with microcontrollers and display on a computer. Accurate and compact, it’s perfect for monitoring different circuits in your projects.
What did we improve?
The sensor is designed for 5V logic and outputs a 5V signal. To use it with 3.3V logic microcontrollers (like the ESP32), a voltage divider is typically added to the signal output.
We’ve gone a step further and integrated a separate channel with a precision resistor divider (1 kOhm and 2 kOhm resistors with 0.1% accuracy instead of the usual 5% -> resulting in 0.2% accuracy for the divider instead of 10%), which gives a 3.3V signal. Additionally, we’ve added a physical power switch and 8 unique Anime designs, each inspired by a different country.
Supplies
All of used boards you can find on my Tindie store:
AСS712 5A Youth:
- ACS712 Youth - Full kit
- ACS712 Youth - USA
- ACS712 Youth - Japan
- ACS712 Youth - Siberia
- ACS712 Youth - France
- ACS712 Youth - Poland
- ACS712 Youth - Wakanda
- ACS712 Youth - Roman Empire
- ACS712 Youth - Greece
ESP32-S3 Youth:
AMS1117 Youth 3.3V:
First Look
This module is an upgraded version of the popular blue ACS712 current sensor, well known one by many electronics enthusiasts. In my experience, it lacked easy support for 3.3V logic microcontrollers. I always had to find extra resistors, combine them if I didn’t have the right values, and deal with unnecessary trouble.
The ability to turn off the sensor also helps with accurate calibration. Just remember—when turning it on, there should be no current flowing through it, as the sensor sets its reference voltage at that moment for future measurements.
Lastly, I really enjoy unique and cool-looking boards that catch the attention of my friends and even my professors.
That’s why I decided to design my own version.
Let's Measure Some Values
For the test, we used the same setup as in the AMS1117 3.3V Youth tests, shown in the photo.
We supplied 5V through USB at the input and got just over 3V at the output, with about 1A of current flowing through a resistor. If you need help uploading the code to measure current, I explain it in another article.
Here’s what’s interesting: the circuit includes both a digital ammeter and the ACS712 Youth current sensor. The first photo shows the ammeter readings, and the second shows the ACS712 readings. The accuracy is pretty good.
Here’s the code for ESP32-S3 Youth:
In Conclusion
In my opinion, this is a pretty interesting module that can compete with the standard blue ACS712 module. Personally, I’ll definitely use it in my projects whenever current measurement is needed.
Thank you for reading this article! If you have any questions or if something doesn’t work, feel free to ask in the comments section.
By the way - don't forget to check all Collection in my Tindie shop :)