Microphone Electrect Arduino

Hello, you can measure the time that the impulse is given to the microphone? Example, I breath for 5 seconds, it is measure these 5/2 in a variable?

Define "impulse" and you have it solved.

Hello, you can measure the time that the impulse is given to the microphone? Example, I breath for 5 seconds, it is measure these 5/2 in a variable?

First step: Determine if you get ANYTHING from the microphone from simply breathing on it. I'm guessing that you won't. You need something far more sensitive than a cheap electrect microphone.

If you do get data, and the values move up and down in relation to your breathing, YOU will need to detect the peak, and record when that happens.

Two peaks, two times, and you know the rate.

aarg:
Define "impulse" and you have it solved.

Sorry, but I did not understand, as it would in practice to define a boost?

PaulS:
First step: Determine if you get ANYTHING from the microphone from simply breathing on it. I'm guessing that you won't. You need something far more sensitive than a cheap electrect microphone.

If you do get data, and the values move up and down in relation to your breathing, YOU will need to detect the peak, and record when that happens.

Two peaks, two times, and you know the rate.

As it would be in practice to record the peak?

thiago3579:
As it would be in practice to record the peak?

The peak of what? A typical condenser microphone has a frequency response of about 20Hz -20Khz. There's not much of that in the sound of human breathing. It's fairly obvious that the sound of breathing is usually much quieter than the background noise in most environments. So can you please provide details about where you intend to place the mike, and what sound you expect to detect?

aarg:
The peak of what? A typical condenser microphone has a frequency response of about 20Hz -20Khz. There's not much of that in the sound of human breathing. It's fairly obvious that the sound of breathing is usually much quieter than the background noise in most environments. So can you please provide details about where you intend to place the mike, and what sound you expect to detect?

I want to put the nose in breathing, and measure how many seconds I breathe such frequency, for example 5 seconds at a frequency X and save this value in a variable.

Have you inserted a mic in someone's nose, to hear what it sounds like? How will you translate that complex signal into a reliable indication of a breath?

Envelope detection?

aarg:
Have you inserted a mic in someone's nose, to hear what it sounds like? How will you translate that complex signal into a reliable indication of a breath?

Envelope detection?

The thing is, I want to measure the time he breathes such intensity, 3segundos strong way, 2segundos so slowly ... Its?

What you want to do is obviously possible. Doing it with just the hardware that you have may not be.

Before you waste any more of our time with your whining, do what I suggested in reply #2. If you get values from the analog pin that go up and down as you breathe in, rest, breathe out, and rest, and the numbers seem cyclic, and the values correlate to breathing in and out, then the hardware is sufficient.

If not, you'll need a better microphone, an amplifier, a low-pass filter, and/or a completely different kind of sensor.