Arduino AC RMS Measurement

preview_player
Показать описание

🔥How to emasure RMS values of AC of 220V using the ARduino and a simple module with a MCP6002 amplifier. No transformer or rectifier...

🔀LINKS
-------------------------------------

🤝SUPPORT
-------------------------------------

00:00 Intro
08:51 Thank You

Like share and subscribe to motivate me. Thank you

#electronics
#tutorial
#Arduino
Рекомендации по теме
Комментарии
Автор

Please ALWAYS utlise proper isolation when playing with mains power supply. Burning your arduino and/or laptop in case the resisitve network fails may be trivial, but if you don't have ground current fault interrupter, or your mains does not have any isolation from the primary side, you risk electric shocks that could be fatal. Be careful!

XCang
Автор

Another great video Andrei. Your hand held multimeter just keeps getting better and better. I see the question of how to measure AC voltage with an Arduino come up from time to time in Arduino groups I belong to. This will now be the standard video I direct people to. Thank you for explaining this one. I'm looking forward to the new handheld multimeter version :)

JonathanDeWitt
Автор

Brother you can use Optocoupler for isolation, I have tested it has excellent linearity in LED current vs transistor current. So if you add a high value resistor in series with the LED, it will convert the voltage to current then you have to convert the current at the transistor side to voltage using a op amp. Then you will get a replica of the mains voltage.

It will be half wave, since the LED is a diode. You can use double LED opto or 2 opto, or some software calibration for full wave reading

FreeCircuitLab
Автор

How about a meter that shows voltage, current, real power, reactive power, apparent power and power factor? Is this possible? If yes please i wanted to know how to build one. It is so USEFUL!

gianluca
Автор

I watched all your videos tutorials on building a multimeter, I wanted to make a voltmeter that can measure both positive and negative voltage and your videos really helped me a lot. I don't have a hobbyist and don't have any degree in electronics. Do have a forum where people like me can discuss their doubts or improve and ideate upon? Thanks 🙏

vishalkumar
Автор

Can you at-least try to explain the opamp circuit ? Anyone can hookup a module and download code from internet

VandalIO
Автор

Wow that's a scary circuit. Only three small SMD resistors between the user and mains voltage. That's a recipe for disaster. I don't think you explained enough how dangerous this is.

zaprodk
Автор

Hooking up such a non-isolated module to mains, with the Arduino connected to a laptop / pc is a bit reckless. If that module fails short, the Arduino will likely fail short too, and you will end up with mains voltages on the USB connection.

In an isolated device, such a multimeter, you could (relatively) safely use this kind of circuit. But, this means the multimeter should have no USB port or other ground referenced / non-isolated connections.

attitokes
Автор

I was looking for a module to replace the transformer type one, thank you! I'm trying to build a power meter that measure all that you've mentioned plus the direction of the energy flow, so I'm very interested on this topic. Thanks again, looking forward to have more knowledge from you!

neagoecatalin
Автор

This is UN-isolated measurement. With resistors providing a high impedance. The resistors that is used on the board might not be rated for the high voltage. If you want to use this design make sure your resistors are typically the HV range from Royal Ohm or the RCV range from Visahy. For handheld I would look IEC61010 for CATII or CATIII for the requirements.. Stay safe and keep designing.

TechNebulous
Автор

I have an exciting proposal for a DIY lab bench multimeter using an STM microcontroller. I aim to enhance its functionality and precision by incorporating a separate selection switch for voltage, current, resistance, capacitance, and inductance, and utilizing a 12 or 16-bit ADC. I'd love to collaborate on this project and feature it on your channel.

joyhalder
Автор

You calibrated for 220V AC, what happens if you measure another voltage and frequency for example from a signal generator.

javierolavarria
Автор

I wish you would publish a link to BUY the sensors you feature in your videos.

WilliamDudley
Автор

In the multimeter voltage ranges are protected with MOVs and NTC's. Unfortunately your PCB doesn't have enough space or clearance to add high voltage measurement safely.

mrfrog
Автор

Hi the frequency in my country is 50 hz can use the same code?

ioe
Автор

Hi, sorry I write here. I would send gcode from esp32 to an old CNC. Esp32--> db9 serial cable --> CNC. I need help. How can I manage rs232 protocol?

giova
Автор

Is it possible to measure 1khz Ac (10v to 50v) ??

electromagix
Автор

I would like to measure all the 24 circuits of my home - but not the voltage but the current.

I dont want to have anything inline with my 32A 220 mains wiring, so my only option is these voltage transformer moduls with a split core.

But even on Aliexpress they are 8 bucks plus shipping (or so) and for 24 this gets expensive.

But I do not need accurate absolute reading, I only want to know which percentage of my power usage goes where.

Can one DIY something like this?

Schwuuuuup
Автор

thanks very useful !
I hope arduino 101 tutorial will be available soon!

ranganatennakoon
Автор

Please 🙏 Link to get the MCP6002 module

kekekeernest