Please be aware of all shipping deadlines before placing your order - we cannot guarantee orders will arrive before Christmas!

MAX31855 averaging readings?
Moderators: adafruit_support_bill, adafruit

MAX31855 averaging readings?

by RosscoS on Fri Nov 16, 2012 4:18 pm

Hi All,
I have just upgraded from the MAX6675 to the MAX31855.
With the MAX6675 to get an average of several readings the code was
Code: Select all | TOGGLE FULL SIZE
temp_out = temp0.read_temp(20);


However I cannot figure out how to get averaged readings from the MAX31855.

Thanks in advance for any help!
RosscoS
 
Posts: 44
Joined: Wed May 09, 2012 2:41 pm

Re: MAX31855 averaging readings?

by adafruit on Fri Nov 16, 2012 9:42 pm

use a loop to read 5 times in a row, add up all the numbers, then divide by 5
User avatar
adafruit
 
Posts: 11779
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc