NRF24 questions #5202
Replies: 1 comment
-
Posted at 2014-03-30 by hansamann Just ran the master/slave next to each other again with a 250ms interval. I experienced this before but reduced the interval as I did not want to wait that long/ From around 1600 calls, I get a permanent TX not received 30 - any ideas why?
Posted at 2014-03-31 by DrAzzy Make sure you're on v59. I'd expect the master would drown in a flood of out of memory errors if it happened on master first, while if it happened on the slave, the slave would probably just start fumbling every message. So it matches your symptoms - maybe it's that simple? Posted at 2014-03-31 by @gfwilliams Yes, that could be it... The other issue could be if you're powering the receiver from your PC's USB and you're printing text. In this case if no terminal app is connected to Espruino, the PC/Mac won't receive the data printed from Espruino, and Espruino will just sit there waiting once its output buffer is full. Posted at 2014-06-11 by Andrey how I can clean terminal buffer? I case of big number of error messages from NRF module , if slave doesn't respond, the master stops working because of buffer overflow. Posted at 2014-06-11 by @gfwilliams Is this when you're connected via USB but there is no terminal app running? If so, just:
Posted at 2016-01-28 by user61900 For anyone else running into this, I discovered you can use multiple chrome profile in order to run multiple copies of the IDE simultaneously (one for each device) Posted at 2016-01-29 by @gfwilliams That's really cool - thanks for the suggestion! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-03-30 by hansamann
I am starting to use the NRF24... modules I got with the espruino and the master/slave example that I found in the code examples worked really great initially. I then modified the example of the master slightly:
It sends the counter variable to the slave, then prints the response. So ideally it will print the increasing numbers.
Two observations:
I sometimes get an empty response - the output from teh print is just == in this case. That seems simple to check against, just wondering what the issue is and if it could be fixed.
after running this counter till around 600, I disconnected. then connected again and got a massive out of memory error. is this because of the print statement which might queue the output?
All output is below:
Beta Was this translation helpful? Give feedback.
All reactions