An open API service indexing awesome lists of open source software.

https://github.com/davidramiro/e2e-latency

⌛ measure e2e system latency with an arduino and a photo diode
https://github.com/davidramiro/e2e-latency

arduino atmega latency-tester

Last synced: over 1 year ago
JSON representation

⌛ measure e2e system latency with an arduino and a photo diode

Awesome Lists containing this project

README

          

# e2e-latency

Get a rough estimate on end-to-end (mouse-to-screen) system latency by attaching a photo resistor to your screen and measuring response time with an Arduino.

## BoM

- Arduino Pro Micro (ATmega32U4)
- SSD1306 I2C OLED screen
- Photoresistor module with analog output, e.g. KY-018 or G5516/LM393

## Wiring

![Wiring](doc/schema.png?raw=true)

## Usage

- Set up a repeatable test scenario where a mouse movement would cause a screen change (e.g. FPS game)
- Tape the photo resistor to the screen
- Connect USB
- Open a serial monitor with 115200 baud, e.g. `screen /dev/ttyACM0 115200`

Test starts 5 seconds after connecting USB. It will do 10 cycles, print the average latency and repeat until disconnected.