[HELP NEEDED] Temperature sensor to measure Respiratory

Hello everyone.

I want to make a project to measure respiratory using a temperature sensor (like thermistor).
But sadly I dont really get it how can I get breaths per minutes.

I use some topics as references:

  1. url=https://forum.arduino.cc/index.php?topic=449244.0
  2. Looking for sensor to measure someones breathing. - Project Guidance - Arduino Forum
  3. Suggestions for a Respiratory/Breathing Sensor - #3 by system - Sensors - Arduino Forum

even this one was trying to give some codes: Arduino code for thermistor respiratory monitor - Arduino Stack Exchange I tried it and it wont work

Do you guys know how?
or maybe some one that already have succeeded with this kind of project?

thanks b4.

If you want help you need to be much more specific than "I dont really get it" and "it wont work". What exactly are the problem you're having?

Hello.

I meant I dont know how can I get the condition when the person is exhaling or inhaling, because the temperature will always change due the breathing.
(Should I find the Max and Min maybe?)

And for the topic on the last link on my post above, it just wont work. nothing showed on my serial monitor (the owner said he just compiled it, never try it on a temperature sensor) So I thought his code wont work.