This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf24l01 is too slow to send a string from Raspberry pi to Arduino?

using the sample code at

invent.module143.com/.../

i am able to use nrf24l01 to communicate raspberry pi with arduino, but the problem is the timing. I found it takes > 20 ms to send a very simple string from raspberry pi to arduino, and this is not acceptable for my applicaiton. I am hoping the timing can be for example < 200us or something closer. You can use the code below to test the timing from raspberry pi to arduino. My test result is ~ 24 ms

===

start = time.time()

radio.write ("A")

end = time.time()

delta = end - start

print (1000 * delta)

===

if i use nrf24l01 for arduino-arduino communicaiton, i do not have the problem. it take a very short time, but RasPi-arduino communication is far too slow.

any suggestions and olutions? thanks

Related