Checking multiple sensors at different intervals

Hello everyone, it's been about a year since I've done some real programming on my Arduino and I have run into a problem and would love some advice.

Basically I am designing a humidity sensor, that also measures temperature and water level. I have the sensors working( TMP37 for temerature and Honeywell HCH-1000 for the humidity) . The problem I am having is that I forgot how to scan the temperature constantly and only checking the humidity at 15 minute intervals. I am quite sure I must use state machines, but I feel as if there is a simpler way. I have done projects like in school but I am drawing a blank on where to go from here.

Thank you for the help, if any more information is needed please let me know.

Yep you probably want the Blink Without Delay approach.

This video will probably help- it shows how to blink two leds (or in your case, read two sensors) with different rates.

That's exactly what I need, Thank you Jimbo

You might also be interested in my extended demo of the Blink Without Delay technique in the first post of this Thread.

...R

Robin2:
You might also be interested in my extended demo of the Blink Without Delay technique in the first post of this Thread.

...R

Loads of questions lately requiring this info eh? I've bookmarked your thread and will link it each time I link to that video.

Thank you both, that thread was very helpful. :grin: