The goal is to find out the speed of a cueball in a pool breakshot using electret microphone and measuring the time between the cue hitting the cueball and the impact to the rack. The distance is fairly constant (50") and the sounds are quite similar if the break-cue has a fenolic tip. Time between the two impacts are expected to be 50ms to 100ms.
This would be the general design:
Electret microphone -> Amplifier -> Comparator -> Microcontroller -> Display
I would expect to get a series of small pulses out of the comparator when the cue hits the white ball.. detect the first one and start a timer.. discard all the following pulses for ~40ms. Then wait for the next train of pulses from the impact to the rack and stop the timer. I can handle the digital part easily, but I am rusty with analog design.
Is 5V enough to power a small electret microphone? I would like to power the circuit with 4 AA batteries (4x1.2V).
Is this a good amplifier (below) to use and can I use LM358 instead of TL071?
Are the capacitor/resistor values suitable for this application?
What kind of frequency response does this amplifier have?
What pitfalls I need to avoid and how to get the best accuracy? I would like to get reliable response to the impact sounds, very small (or consistent) delay on the signal, and a simple design.
This would be the general design:
Electret microphone -> Amplifier -> Comparator -> Microcontroller -> Display
I would expect to get a series of small pulses out of the comparator when the cue hits the white ball.. detect the first one and start a timer.. discard all the following pulses for ~40ms. Then wait for the next train of pulses from the impact to the rack and stop the timer. I can handle the digital part easily, but I am rusty with analog design.
Is 5V enough to power a small electret microphone? I would like to power the circuit with 4 AA batteries (4x1.2V).
Is this a good amplifier (below) to use and can I use LM358 instead of TL071?
Are the capacitor/resistor values suitable for this application?
What kind of frequency response does this amplifier have?
What pitfalls I need to avoid and how to get the best accuracy? I would like to get reliable response to the impact sounds, very small (or consistent) delay on the signal, and a simple design.
Last edited: