Count

This topic contains 1 reply, has 2 voices, and was last updated by  Michael 3 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #789

    burns
    Member

    Hello, I need an advice.
    I have a buzzer connected with arduino and i have another arduino connected with tha audio hacker shield and microphone
    I want to send some pulse with buzzer and receive pulses with the microphone and i want count the time between the impulses.

    I can do this?
    thanks

    #2363

    Michael
    Keymaster

    Yes, I think you could write some code to read the ADC and determine if the buzzer is sounding or not. If the values read from the ADC are significantly away from the silence baseline of 2048, then the buzzer is sounding. If you get a group of readings near 2048, then the sound has stopped. Give it a try.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.