martinstokroos / truerms Goto Github PK
View Code? Open in Web Editor NEWAverage, RMS, Power and Energy measurement library for Arduino.
License: MIT License
Average, RMS, Power and Energy measurement library for Arduino.
License: MIT License
Hi ! thanks for your share the code for measuring the RMS. it good but i got 1 problem when i try with the DC input. the RMS of the DC should be equal to the DC volt input. but the result is showing 0. so i want to ask about the. is have problem or something wrong ! thanks for support !
I have downloaded your library to day because I was looking for a trueRMS measuring with Arduino (UNO - NANO).
I would like to have a code which could measure sine signals and white noise signals.
Your library works really fine.
Thank you very much for sharing this great solution.
My question:
Would it be possible to reduce the files or perhaps you would share the basic trueRMS code for the measuring only trueRMS voltage.
I would also like to implement the code in small application with e.g. ATtine 85 which I use for small trueRMS monitors in my test equipment.
My applications are audio test equipment and right now I am working on a test interface for power audio amplifiers.
The equipment is for my own use only - no commercial issues.
Hi Martin,
First of all thank you for this contribution, it's the best I've found so far.
I have a question regarding the ADC reference voltage used for the Arduino Nano.
When I use the library with the standard Vref setting of using VCC, and I plug-in the actually measured voltage into VoltRange, everything is fine and the RMS result match that of my True RMS DMM and my DSO for sine and other waveforms. I'm not sure I'm using VoltRange in the intended way because I am getting strange output values when I tell the Nano to use the internal reference, and use the actually measured reference voltage for the VoltRange. The results are less then 50% of the VCC setting, so that does not make sense to me.
I don't see where in your code you take the different reference voltage into account.
Any hints on what to do?
Many thanks,
Paul
By using the TrueRMS lib. I have some problems measuring frequences above 4kHz.
This is a problem for me.
I am using the TrueRMS measuring sine signals on power audio amplifiers.
What can I do to be able to measure up to at least 20kHz?
hello i am trying to use this library for different sensor
for example acs712 30 amps
having offset of: 2.5v
sensitivity: 0.066v/A
so full 30 amps is = 30 * 0.066 = 1.98v
offset + fullvoltageReading = 2.5volts + 1.98volts = 4.48volts
I also using just voltage devider for voltage sensing
how do i use this library? i am trying to change the sensor in the grid inverter in your repo since
the sensor that used their is not available here in hte philippines. also when i try to find the sensor online its very expensive. the sensor price is about 22 dollars where this money for me. but that price is just for one piece only. in your schematic there are 4 over all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.