1440 Averaging Inaccuracy | Arduino | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





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

sp_Feed sp_TopicIcon
1440 Averaging Inaccuracy
No permission to create posts
June 21, 2017
3:16 pm
Avatar
salim
New Member
Members
Forum Posts: 1
Member Since:
June 21, 2017
sp_UserOfflineSmall Offline

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

June 21, 2017
3:53 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 400
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

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:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

James181, kimberlypg2, JamesAdorb, waynesmith, paulettebw60, ashleytb4

Administrators: Hans: 387, lee: 457