Hello, I need to measure time in tween two events, not as much time but the difference in timing data recorded from a multiple experiment.
The experiment setting:
The hummer A hits a platform B which in turn pushes rod C which slides forward
The beginning of the timing sequence starts from the pick up of the piezo contact microphone (showed in red), and finishes when the rod C interrupts optical connection between LED transmitter and receiver.
I am new to Arduino, please advise the best possible configuration.
I assume the time between the hammer striking and the beam being broken is small - do you have any numbers for that?
Any Arduino should be capable of this task. If using an Uno or nano would use the two external interrupts to detect the events and record the value of micros() when each event happens. By subtracting the two times you know how long was the interval between strike and beam-break. Note that micros() increments in steps of 4 microsecs. If more precision is needed there are other ways.
Robin2:
I assume the time between the hammer striking and the beam being broken is small - do you have any numbers for that?
Any Arduino should be capable of this task. If using an Uno or nano would use the two external interrupts to detect the events and record the value of micros() when each event happens. By subtracting the two times you know how long was the interval between strike and beam-break. Note that micros() increments in steps of 4 microsecs. If more precision is needed there are other ways.
...R
Thank you, you are correct, the time is small, about 1 ms and I need ideally to pick a variations of 1% around this figure, which looks well possible with the resolution of 4 µs. Can you please direct me to the correct Arduino model and sensors you think the most suitable for this?
V2