I am testing out the MCC-134 for a project. My aim is to read a continuously changing temperature every second. I can set the read interval to 1 Hz, which appears to work fine except that every so often I get the same temperature twice in a row. It appears that internally, the temperature is not update at 1Hz but a little bit less.
I thought perhaps there was something funky with my code but even when I use the example code where I can set it to read every second, every so often I get the same reading two seconds in a row. For example, I use an emulator to emulate a temperature output that ramps continuously with 5 degrees per second. If I measure it with 1Hz using a different device, I do get a different temperature every time, but with the MCC-134, fairly often I will have the same temperature.
I have searched the forums but have not found any similar question yet. Does anyone have any input?
Question
RobertNC
Hello all,
I am testing out the MCC-134 for a project. My aim is to read a continuously changing temperature every second. I can set the read interval to 1 Hz, which appears to work fine except that every so often I get the same temperature twice in a row. It appears that internally, the temperature is not update at 1Hz but a little bit less.
I thought perhaps there was something funky with my code but even when I use the example code where I can set it to read every second, every so often I get the same reading two seconds in a row. For example, I use an emulator to emulate a temperature output that ramps continuously with 5 degrees per second. If I measure it with 1Hz using a different device, I do get a different temperature every time, but with the MCC-134, fairly often I will have the same temperature.
I have searched the forums but have not found any similar question yet. Does anyone have any input?
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now