Questions tagged [latency]

Use this tag when the topic of discussion includes inherent delays in processing of code. That may include situations where programming is using delay() or millis() to precisely time code for bit-banging, among other things.

Use this tag when the topic of discussion includes inherent delays in processing of code. That may include situations where programming is using delay() or millis() to precisely time code for bit-banging, among other things.

Often this is related to the top speed of the underlying processor, which is beyond the programmer's control.

It may also include the effects of adding more programming statements in time-sensitive code.

Plus it can also include the effects of including print or write statements in code for debugging, and how they increase the overall latency of the program.

5 questions
1
vote
0 answers

Bluetooth module with lowest latency to communicate with PC

I am making a haptic feedback glove using Arduino and HC-05 bluetooth module to communicate with PC. There are rotary encoders on the finger which send value to PC through Arduino mega. The PC returns the force to be excerted on the finger back to…
cakh
  • 11
  • 2
1
vote
0 answers

How to get a stable LED lighting without scintillation over I2C bus

I built an 8x8 led matrix using white 5mm LEDs. I drive the LEDs using the MCP23017 connected to an Arduino over the I2C bus. The wiring of the LEDs in the matrix is such that a row is made up of 8 LEDs whose cathodes are wired together, and a…
S.E.K.
  • 53
  • 4
1
vote
0 answers

How to light up RGB Leds at the exact same time?

I have 2 sets of RGB Leds, each set is driven by 3 OUTPUT analog pins of the arduino, as illustrated below: The code is supposed to put on HIGH the 6 analog pins at the same time so that the Leds light up all at the same time, but when I run it,…
S.E.K.
  • 53
  • 4
1
vote
1 answer

Two nRF24L01 radios per Arduino

Due to the results of my previous post (Slower nRF24L01 round trip delay than expected) I found out that it will be quite difficult to reach my latency requirements. I am thinking about using my own protocol (instead of the 6-1 Multiceiver…
Michel Keijzers
  • 13,014
  • 7
  • 41
  • 58
0
votes
2 answers

What is the minimal possible latency between arduino and PC

Case specifications: PC OS: Debian 9, x64 arch Starting time point: i have a 1kb buffer on arduino that i want to send to host PC Ending time point: i have recieved the buffer in a custom written C\C++ app running on a host PC I want to send such a…
xakepp35
  • 133
  • 1
  • 8