Hi,
is it a misunderstanding of mine, that with the rf24 library, a NRF24l01 receiver has to stop RX (stop.listening) to be able to transmit back?
Basically I did a remote rc car +remote. Both TX (remote) and RX (car) are arduino/nrf24l01 based. works fine, but I d like to have the car to send back some monitoring data, like (batt level) and maybe more further down the road.
I can not afford to have the car stop not listening(being control) to send me the monitoring data.
The nrf24L01+ has two operation modes, TX and RX and it can only be in one of those modes at a time.You could change then periodically to exchange data between then.Since you are controlling a car that switch mode should happen very fast and a large time spaced, for example swap then every 1 min.
Ok thank you.
Every minute for batt monitor would be ok you re right. What would be you advice for sync?
I could add an data field tomy array that would be a countdown when 0 reach they both swap to the other state, transfer the data and swap back.
Any better idea?
Thank you
Using ACK Payloads, you can send back data without switching out of RX mode, and it makes a much more efficient call-response scenario, since the transmitter does not need to be interrupted.