Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measure large latencies #15

Open
2 tasks
joshua-glazer opened this issue Oct 19, 2021 · 3 comments
Open
2 tasks

Measure large latencies #15

joshua-glazer opened this issue Oct 19, 2021 · 3 comments
Assignees

Comments

@joshua-glazer
Copy link
Collaborator

joshua-glazer commented Oct 19, 2021

I'm working on an application in which we need to measure latencies that can be longer than 1 second, however from my understanding of the current Arduino code, the maximum latency it can measure is 524ms. The goal here is therefore to:

  • Determine a good approach for measuring large latencies
  • Update the README to describe the ability and limitations of measuring the delays, perhaps explaining how to adjust the max latency
@joshua-glazer
Copy link
Collaborator Author

As suggested by @cbachhuber two approaches could be:

  • lowering the sampling rate. Simple, less accurate, doesn't fully solve the problem, only scales it. There might be other parameter changes necessary as well
  • Using PT_voltages as circular buffer: after you run over the end of the sample array, overwrite the oldest values at the front with new values. Detection and ending code also needs adaptation. Complex, accurate, solves the problem altogether.

@joshua-glazer joshua-glazer self-assigned this Oct 26, 2021
@wpeirkcfj
Copy link

wpeirkcfj commented Feb 27, 2024

I am very interested in your Glass to Glass Delay Measurement System project and bought my own equipment to try to reproduce it. But after setting up this project, I found that during the test delay process, if the system works normally when the LED is placed directly on the PT, it is normal to shoot the LED through the mobile phone screen and then use the PT to receive it, but when the LED is placed The system does not work properly when on the computer screen. PT cannot receive the light displayed by the LED through the computer screen. I was wondering if you could help me with this.
I sincerely appreciate your help and guidance.
Warm regards, @cbachhuber @joshua-glazer

@cbachhuber
Copy link
Owner

cbachhuber commented Feb 28, 2024

Hey @wpeirkcfj, thanks for you request! I see your issue as separate from the one being discussed in this thread, so let's resolve your issue in #23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants