Hello everyone! I wanted to ask if you know a mathematical relationship with which to calculate the locking time ( minimum ) between two devices ARDUINO . Thank you in advance :)
HI, You will have to explain more about what you need. "locking time", locking what? "between two devices ARDUINO", doing what? What application do you need to know this?
I need an analytical report to understand the minimum connection time between two devices , regardless of what they do. It serves as a benchmark for further tests The devices are used to create a system of localization of moving objects
You need to measure it in your own application. Perhaps send a minimal message followed by a minimal reply and time the round-trip using micros(). Anpther option might be to record the time before the "send" is issued and again when it has completed. Measuring a small time difference accurately on two different devices is not simple.
You have not told us what mechanism you are using for communication. To the best of my knowledge there is no "connection time" when using a wired serial connection or a connection using 2.4GHz transceivers. There is, of course, time required to assemble and send a message, and to receive it. But that depends on what you are doing.
I'm using Arduino boards with Xbee shield . I would need to know the time required to connect before the first packet is assembled and sent . The time required to recognize the presence of another device
We are having to drag this information out of you, have you read the rules about posting questions? How to use this forum
I would need to know the time required to connect before the first packet is assembled and sent .
That depends on a lot of things and is not a constant.
coppo: I would need to know the time required to ...
Did you read Reply #3 ?
Or was I just wasting my time ?