Measurement Rate slow?

Hi all.

I've got a small project i'm building up towards, but the first piece of the puzzle is Temperature measurement.

I have a MAX31850K (will end up with 3 more), but while the resolution is just about acceptable (0.25°C), the rate seems pretty slow ~1Hz

i guess the processing rate of the chip will rely on the amount of data coming in/out. but is there a way of increasing the speed, or controlling the priority of signals?

My end goal is to have a stand-alone engine monitoring system with knock warning light and exhaust gas temp display, and a Lambda controller outputting 0-5v to my ECU.

// pull in TC measurement library
#include <OneWire.h>
#include <DallasTemperature.h>

//Pull in LCD library
#include <Wire.h>
#include "rgb_lcd.h"


//TC wire is connected to port 3
#define ONE_WIRE_BUS 3

//setup onewire devices
OneWire oneWire(ONE_WIRE_BUS);

//Reference DallasTemperature
DallasTemperature sensors(&oneWire);

//call up LCD display
rgb_lcd lcd;

const int colorR = 255;
const int colorG = 0;
const int colorB = 0;


void setup(void) {
  
//setup the TC comms
  Serial.begin(115200);
  sensors.begin();
//setup lcd
  lcd.begin(16, 2); //16 chars wide, 2 rows
  lcd.setRGB(colorR, colorB, colorG);
  }
  
void loop(void) {
  Serial.print("TC1 is:  ");
  Serial.println(sensors.getTempCByIndex(0));

//print TC value to lcd
  lcd.setCursor(0, 0);
  lcd.print("T1:");
  lcd.println(sensors.getTempCByIndex(0));
  }

Until we see your code I don't see how we can help.

Read the how to use this forum-please read sticky to see how to properly post code. Remove useless white space and format the code with the IDE autoformat tool (crtl-t or Tools, Auto Format) before posting code.

How to ask a programming question.

The datasheet suggests that the best you can expect is just under 14Hz.

What four temperatures are you monitoring, and how quickly can they change?

jremington:
What four temperatures are you monitoring, and how quickly can they change?

Exhaust gas temperature. They can change pretty quick in transient operation.

Ultimately, my measurement rate will become important for engine knock monitoring i'm guessing. I still need to learn a bit more about the signal processing required. i'm expecting to need to fun some form of fft on the signal, to identify the frequency associated with knock, and give a warning light.

while I'm sure the exhaust gas temp can change quickly, the SENSOR temperature wont unless it has a VERY low thermal heat capacity, and an excellent coupling to the gas temperature. It also needs to be able to withstand exhaust gas temperatures so semiconductors are not suitable. I'd recommend using an exposed junction thermocouple -Thermocouple technical reference information