Respiration Rate with a temperature sensor Arduino

Hello, i am trying to calculate the respiration rate with a temperature sensor for Arduino UNO. Can someone recommend me a sensor or give a tip for the code?

It has to be something like, when the temperature increases you are exhaling and when decreases inspiring.
But idk how to set the times.

Any help will be okey.

Thankyou!!!

Hot wire anemometer for respiration.

1 Like

What's the relationship between temperature and respiration rate?

You need to know that (assuming there is such a relationship....) first, surely?

edit ok wait, you're talking about the temperature of the breath? I thought you meant body temp :wink:

1 Like

Yes!!!!! I am talking of The temperature of the air in the Nose

The actual temperature doesn't matter so you don't need accuracy. If you have any sort of temperature sensor you can probably use that.

Keep a moving average of sensor values. When the sensor vale crosses from below the average to above the average, that would count as a breath. Note the time (millis()) each time that happens. Average the last few intervals and divide that into 60000 milliseconds to get breaths per minute.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.