Current measure with diff.input of ADS1115

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
grhhm
Normal user
Posts: 29
Joined: 23 Oct 2016, 20:15

Current measure with diff.input of ADS1115

#1 Post by grhhm » 20 Mar 2018, 22:03

Typical implementation of indirect current measure is measure voltage of coil around AC cable. In this case the ASD1115 is set to differential measure. This is possible in EspEasy.
However, due to sine wave of measured voltage true RMS calculation needed.
It includes pretty often measure rate ( > 100 per second), taking absolute values of every measure, and some calculations.
I know how to make "calculations" in "Formula" field.

I wonder is there a way to make calculation over hundreds of measure samples?
Is it possible to make math functions like abs(%value%)?

Thank you.

TD-er
Core team member
Posts: 8729
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Current measure with diff.input of ADS1115

#2 Post by TD-er » 22 Mar 2018, 00:40

Nope. You cannot aggregate over multiple historic values.
And the other thing is you cannot measure that fast with the ESPeasy.
There is no guarantee the measurements will be taken at regular intervals when measuring 100's times per second and I doubt the I2C sensor will be fast enough.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Current measure with diff.input of ADS1115

#3 Post by papperone » 22 Mar 2018, 07:24

ADS1115 + ESP8266 can read that fast and even faster but not within the ESPEasy framework.
I've a module that does this function (monitoring AC current) but it runs a custom firmware that I wrote and send out data via MQTT in order to intergrate it in my system
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests