Re: Increasing the sample rate MAX31850
by Jericho730 on Fri Aug 08, 2014 8:20 pm
I’m having a similar issue. I don’t care much about the speed, I’m just curious. The function
sensors.setResolution(insideThermometer, 9);
from the Max31850_Dallastemp single example sketch does not seem to work with this chip. After sending the above code the example sketch then runs these lines of code.
Serial.print("Device 0 Resolution: ");
Serial.print(sensors.getResolution(insideThermometer), DEC);
Serial.println();
Pretty simple right? One would think the result of getResolution would be whatever you set it to in the first line of code. However, no matter what you set it to, 12 is returned. As you mentioned the resolution on the data sheet says 14. So why is 14 not being returned? Even if you do
sensors.setResolution(insideThermometer, 14);
12 is still returned.
I don’t think I have any wiring issues because everything works perfectly in terms of getting temperatures and the temps are within a degree of my calibrated thermometer. I couldn’t get this to work in my own sketch so I went back to the unmodified example sketch mentioned above. The getResolution returns 12 every time on all 4 of the Max31850 1 wire amplifiers that I have purchased from you guys.
Once again I’m not complaining and I’m perfectly happy with the product just curious and trying to learn.
Thank you.