1440 Averaging Inaccuracy | Arduino | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
1440 Averaging Inaccuracy
Avatar
salim
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
1
June 21, 2017 - 3:16 pm
sp_Permalink sp_Print

I am new to the ThingSpeak platform and I am trying to display the 1440 average of my data I am sending from an Arduino Uno. I am sending data from 5 different detectors to be plotted into 5 different fields on my ThingSpeak channel. The live data plotted is quite accurate but when I chose to plot the average I get values significantly lower than it should be. I am suspecting it to have something to do with the bunch of Null values I have here for example maybe: https://thingspeak.com/channels/126439/field/4.json

Avatar
Hans
Natick, MA

Forum Posts: 390
sp_UserOfflineSmall Offline
2
June 21, 2017 - 3:53 pm
sp_Permalink sp_Print

You are correct. The average is using null's and lowering the expected average.

If you have two devices, you might want to update two different ThingSpeak channels.

If that is not possible, then MATLAB can help here. You can use MATLAB Analysis app to read in the field data, ignore the nulls, and then calculate the average. You can even use MATLAB to write the averaged data to a new processed channel and have it calculate the daily average each day by scheduling it with TimeControl.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: jacktheripper125, pudderz
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

bbruno22

pudderz

Utkya

Poornak26

LindasHed

reddysiva

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee