Como medir corrente DC com microcontrolador (Shunt vs Sensor Hall na prática)

In this comprehensive video, I explain in practical and detailed detail how to measure direct current (DC) using microcontrollers. I present the two main techniques—shunt resistor measurement and Hall sensor measurement—showing the differences between them, their advantages, and the precautions you need to take in each case. Next, I provide real-world demonstrations on the bench, with measurements, waveforms, and circuit examples. I conclude with a practical example using the Arduino Mega, so you can see everything in action in real time. --------------------------------------------------------------------------------------- Follow the Power Electronics Blog articles. 👇👇👇 ✔️Power Electronics Blog: https://eletronicadepotencia.com/ --------------------------------------------------------------------------------------- Highlights of the video: 00:00 - Introduction 01:25 - Measurement with shunt resistor 01:45 - Low-side vs. high-side technique 05:29 - Simple or differential amplifier? 07:05 - How to choose a shunt resistor 10:26 - Low-side shunt resistor example 13:30 - High-side shunt resistor example 15:45 - Galvanic isolation with a shunt 19:06 - Hall effect sensor 20:23 - Example with an ACS712 sensor 23:27 - Improving the ACS712 output 27:08 - Application with an Arduino Mega 31:57 - Conclusion: Shunt vs. Hall Sensor --------------------------------------------------------------------------------------- 📌 What you will learn in this video: ✅ How to accurately measure DC current with a microcontroller ✅ Differences between a shunt resistor and a Hall sensor ✅ How to assemble the measurement circuit in practice ✅ Tips for reducing noise and improving accuracy ✅ Working example with an Arduino Mega If you work with power electronics, switching power supplies, energy monitoring, or want to measure current in your projects With a microcontroller, this video will save you a lot of time and show you the right path. 📂 Files and simulations available to channel members — learn more at:    / @eletropowerlab