Show Posts
Pages: [1]
1  Topics / Science and Measurement / Respiratory Frequency Counter on: November 04, 2011, 08:56:59 pm
Hi!

I'm completely new to Arduino, and I need to make a respiratory frequency detector.

It's basically a counter. I'm going to use a 1 bit signal as input (taken from an op-amp), every time a breath is detected. What I want to do is to count the number of rising edges received from the op-amp every 30 seconds, and then multiply them to get the number of breaths per minute.
The breath ratio will be shown either on a BCD display, or on an LCD.

I'm not new to programming, I know it's very easy, but I don't have too much time to achieve my objective. Do you have any advise or piece of code that could be useful?

Thanks!

P.S. I'm using the Arduino UNO SMD R2


Pages: [1]