Main Content

Video/Audio Delay Test Arduino Leonardo + TSL 2561 (Light Sensor) + OLED 1306 Display 12864

As the discussion with the new The C64 Mini regarding the joystick delay got bigger and bigger, I wanted to know more about it. On YouTube you could watch some delay tests, which were made with the help of video recordings. What I wanted, however, was automatic electronics that showed me the time in milliseconds. For video and audio separately.
That’s the reason for this Project. An universal Delay Test with an Arduino Leonardo board, an OLED Display and 2 Buttons.
How it works:
The principle is actually quite simple. Via an Arduino pin or the USB interface, a trigger signal (Digital Output High/Low A2 Pin, USB Joystick, USB Keyboard, USB Mouse or USB Midi) is sent from the Arduino board to the system, which activates the delay Test App and outputs a tone, as well as changing the background color from black to white. These signals are then transmitted to the Arduino Board via the audio cable and the light sensor and the time that has elapsed between the transmitted trigger signal and the incoming audio and light signal is measured. Hint: For an USB Midi Delay Test you do not need a delay test app on the target system. For this purpose, a midi sequencer is sufficient, which emits a sound on incoming midi signals, which is then measured by the Arduino board.”

Link to article