Arduino AC RMS Measurement

  Рет қаралды 13,563

Electronoobs

Electronoobs

Күн бұрын

High quality PCB prototypes: www.pcbway.com
🔥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
-------------------------------------
Tutorial here: electronoobs.com/eng_arduino_...
My tools: electronoobs.com/eng_afiliate...
False/True T-Shirt: teespring.com/it-s-funny-beca...
🤝SUPPORT
-------------------------------------
Join my Arduino Course (Spanish): bit.ly/2JY8icE
ELECTRONOOBS.io: electronoobs.io
Donate on PayPal: www.paypal.com/donate?hosted_...
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.io/forum/index.php
Facebook page: / electronoobs
Canal en Español: / electronoobs en español
00:00 Intro
08:51 Thank You
Like share and subscribe to motivate me. Thank you
#electronics
#tutorial
#Arduino

Пікірлер: 43
@XCang95
@XCang95 6 ай бұрын
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!
@JonathanDeWitt1988
@JonathanDeWitt1988 6 ай бұрын
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 :)
@ELECTRONOOBS
@ELECTRONOOBS 6 ай бұрын
Thanks a lot! Also add a warning for working with high voltage ⚡⚡⚡ ;)
@gianluca458
@gianluca458 6 ай бұрын
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!
@vishalkumar040393
@vishalkumar040393 6 ай бұрын
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 🙏
@neagoecatalin879
@neagoecatalin879 6 ай бұрын
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!
@VandalIO
@VandalIO 6 ай бұрын
Can you at-least try to explain the opamp circuit ? Anyone can hookup a module and download code from internet
@FreeCircuitLab
@FreeCircuitLab 6 ай бұрын
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
@achalasamapriya2701
@achalasamapriya2701 6 ай бұрын
great tutorial as always
@zaprodk
@zaprodk 6 ай бұрын
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.
@ranganatennakoon
@ranganatennakoon 6 ай бұрын
thanks very useful ! I hope arduino 101 tutorial will be available soon!
@TechNebulous
@TechNebulous 6 ай бұрын
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.
@leehewitt9559
@leehewitt9559 5 ай бұрын
Very useful 👌
@attitokes
@attitokes 6 ай бұрын
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.
@cornjulio4033
@cornjulio4033 4 ай бұрын
cool video, thx
@joyhalder8002
@joyhalder8002 6 ай бұрын
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.
@vengug7303
@vengug7303 6 ай бұрын
Great video sir.... But including need to measure the real time frequency if possible to do.... ❤ please
@WilliamDudley
@WilliamDudley 2 ай бұрын
I wish you would publish a link to BUY the sensors you feature in your videos.
@Evgen-Evgen-Evgen
@Evgen-Evgen-Evgen 6 ай бұрын
It would be cool if you will show how to measure AC current
@7ioe
@7ioe Ай бұрын
Hi the frequency in my country is 50 hz can use the same code?
@mrfrog8502
@mrfrog8502 6 ай бұрын
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.
@URBANKILLER.X
@URBANKILLER.X 6 ай бұрын
Make 12 channel Lora transmitter and receiver range about 15km
@kekekeernest8920
@kekekeernest8920 6 ай бұрын
Could you please help me with the link where I can buy this module
@giova2927
@giova2927 6 ай бұрын
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?
@javierolavarria
@javierolavarria 6 ай бұрын
You calibrated for 220V AC, what happens if you measure another voltage and frequency for example from a signal generator.
@hocvan9802
@hocvan9802 6 ай бұрын
This code can only measure symmetrical AC voltage, not pulses. It takes the peak voltage and divides it by root 2 to get the average value.
@manoerina1873
@manoerina1873 6 ай бұрын
Hello can you make a video about how to drive zmpt101b in Arduino?
@kekekeernest8920
@kekekeernest8920 Ай бұрын
Please 🙏 Link to get the MCP6002 module
@_eIII_uk
@_eIII_uk 6 ай бұрын
I can't find a diagram for this module MCP6002, what is its name?
@eh42
@eh42 6 ай бұрын
You need to stress that touching the live pads on the back of that little module will be painful. Placing that module on a bench with metal bits (component wires, tools, etc) could be spectacular! Please be careful!
@Schwuuuuup
@Schwuuuuup 6 ай бұрын
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?
@ELECTRONOOBS
@ELECTRONOOBS 6 ай бұрын
Use the ACS modules. There is one of up to 200A
@Schwuuuuup
@Schwuuuuup 6 ай бұрын
@@ELECTRONOOBS For safety regulations reasons I cannot break the wiring or stick the sensor inline. And I would never trust Chinese made pcbs for not burning down my house. So I need something non invasive like a hall effect sensor or a wire wrapped arround the mains hot wire
@Harry001by7
@Harry001by7 6 ай бұрын
Why resistive divider in AC ?, why not capacitive voltage divider?
@hocvan9802
@hocvan9802 6 ай бұрын
Because its internal resistance does not depend on frequency. If used, its accuracy is not equal to the resistance.
@kennmossman8701
@kennmossman8701 6 ай бұрын
cap performance can be frequency dependent
@laharl2k
@laharl2k 6 ай бұрын
you cant use a laminated transformer for this. you need a low reluctance ferrite one and you need to bias it with a permanent magnet or field to keep it in a linear region. Laminated transformers are not very linear and wont do well over 1khz, you will get something but it will be very atteniated
@PCBMakerBD
@PCBMakerBD 6 ай бұрын
It looks like that mcp6002 module have no galvanic isolation 😥😥😥😥
@anmolkumar6704
@anmolkumar6704 5 ай бұрын
😀
@mfahadsaeed2824
@mfahadsaeed2824 6 ай бұрын
Make a magnetizer
@LordPrecision
@LordPrecision 6 ай бұрын
Safe.... That module does not look like it's safe: i don't see neither MOVs nor isolation gaps, component quality is at a question...
@MitsuZer0G
@MitsuZer0G 6 ай бұрын
First
@electromagix
@electromagix 6 ай бұрын
Is it possible to measure 1khz Ac (10v to 50v) ??
Don't Fast Charge your Phone before Watching this Video!
12:22
GreatScott!
Рет қаралды 543 М.
WOW! ⚡AC VOLTAGE⚡ Detector Circuit?! Can It Be?!
10:01
ElectroBOOM
Рет қаралды 2,7 МЛН
СҰЛТАН СҮЛЕЙМАНДАР | bayGUYS
24:46
bayGUYS
Рет қаралды 828 М.
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
ХОТЯ БЫ КИНОДА 2 - официальный фильм
1:35:34
ХОТЯ БЫ В КИНО
Рет қаралды 2,8 МЛН
КАРМАНЧИК 2 СЕЗОН 6 СЕРИЯ
21:57
Inter Production
Рет қаралды 502 М.
CAN Bus: Serial Communication - How It Works?
11:25
Electronoobs
Рет қаралды 196 М.
Measuring AC Current with Arduino
19:29
misperry
Рет қаралды 71 М.
True-RMS Measurement Pt.1: AC vs. AC+DC
29:09
KainkaLabs
Рет қаралды 23 М.
Bluetooth TRIAC AC power control
10:46
Electronoobs
Рет қаралды 87 М.
Different Ways for Measuring Current With Arduino
13:32
Electronoobs
Рет қаралды 69 М.
A Comprehensive Guide to Understanding Laser Diode Drivers
2:06:58
Zenodilodon
Рет қаралды 19 М.
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 10 МЛН
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,7 МЛН
Нашел айфоны в мусорке!
0:32
По ту сторону Гугла
Рет қаралды 242 М.