Hi everyone,
This is my first project with RFM69, and here's what I'm trying to do .
.
I have 4 emitters node that transmit data from accelerometers as quickly as possible to one receiver node.
The receiver node ("gateway") then transmit the received data via a serial communication to a computer.
I'm using the adafruit feather 32u4 RFM69 HCW in 433 Mhz
The main idea is to trigger audio events from the computer in "real time", in response to the distant accelerometers.
That's why latency matters here.
Basically here's what I'm doing now:
1 - at fixed interval, gateway broadcasts an invitation (message "TALK") to all emitters node
2 - gateway immediately turns in RX mode and starts listening for answers, doing nothing else
3 - once the TALK message is received, the nodes answer with the data (about 10 bytes), after a unique little delay (to avoid talking at the same time)
4 - when the 4 messages are received, or timeout occurs, the gateway transmits the messages in serial communication (serial.print)
For now I get more than 60ms of total latency, which is too high for my application.
If I shorten the round cycle I get collisions and lot of lost packets.
This is with "default" settings.
Before going any further, I'd like to ask, do you think this is doable with this hardware ?
Do you think it's possible to go below 30ms ?
Any help is appreciated,
Thanks