Käynnissä

nRF24L01 interference

I have one nRF24L01 on the Raspberry Pi, and let me define this nRF24L01 as “Master”. The Master will send a signal every 1 or 2 seconds to many “Slaves” device. Initially the Master is at talking mode, after sending the signal out, the device will change to listening mode and wait for ~0.2s to receive the signals from all Slaves. The Master uses one talking pipe to talk to all Slaves, and use 5 listening pipes to listen from different Slaves. Basically Master needs to collect simple data from all Slaves every 1 or 2 seconds. Master is monitoring the real time data from Slave devices.

I have many Arduino Nano devices, and each Nano device has one nRF24L01. Let me define these nRF24L01 as “Slave” devices. Initially these nRF24L01 are at listening mode, after receiving the signal from Master, each Nano will collect a simple data, and each Slave will change to talking mode to send the data back to Master. After the sending out of the signal, each Slave will change to listening mode again to wait for the next signal from Master. Slave’s listening pipe is using the same address as the Master’s talking pipe, and Slave’s talking pipes are using the same addresses as the Master’s listening pipes. I assume, with this setup, Master can talk and listen to many Slaves at the same time.

If all Slaves send the signals to Master at the same time, I am afraid the Master may miss the data, so I command the Slaves to send the data with different time delays, for example, first Slave, upon the receiving of signal from Master, it collect a simple data and send the data back to Master "right away", the second Slave, upon the receiving of the signal from Master, it wait 5-10 ms then send the data back, the 3rd Slave wait 10ms then send the data back, … and so on.

Unfortunately, the Master always miss some data from Slaves, not miss all, just miss one here, miss one there, and sometimes get worse and miss many data, so the communication is not stable. I like to make things more stable -- prefer to get all data with one shot, and I want to solve this unstable communication issue. I need some advice. To clarify, I already have the code and you do not need to write the code for me.

I need to clarify a few things:

(1) Basically I like the Master to broadcast a signal every 1-2 second to all Slaves devices. After sending the signal out, Master will wait for only 0.2 second (200ms) to wait for the responses from all Slaves. Master will check if all data from Slaves are received. If not all Slaves’ data are received and the time is over 0.2s, Master will broadcast next signal again. I expect, during each broadcasting, Master shall receive all data, but this is not happening.

(2) Each Slave device, upon the receiving of signal from Master, will do a simple job to collect a simple data, and send the data back to Master. The needed timings of simple jobs may be slightly different, but only a few ms differences, and I assume this shall not be the factor causing the un-stable communication problem.

(3) As I said, I am worried about that if all Slaves send the signal back to Master at the same time and Master may NOT be able to handle so many data at the same time, so I command the Slaves to send the signal back to Master with different time delays. I thought the different time delays will solve the issue but it does not.

(4) I expect, with above setting, the Master shall be able to collect all data from ALL Slaves during each of its broadcasting, but unfortunately, this is not the real situation. One or two or more data from Slaves are missing.

(5) I suspect the root causes are (a) the interference? (b) the setting up of parameters of nrf24l01, such as, ACK, reentries, payload, channel, data rate? Timing? …

Taidot: Arduino, sähkötekniikka, elektroniikka, Mikrocontroller

Näytä lisää: jobs croatian needed, online freelance writing jobs experience needed, anthropology jobs italian needed, jobs skills needed punctual hard working, online jobs experience needed, online writing jobs bidding needed, jobs leads needed, craigslist jobs leads needed, jobs urgently needed, arabic to english jobs, english to arabic jobs, freelancer a guide to freelance jobs tamil, h2 a href http www dollarsincome com 563547 4125 htm title welcome to online jobs welcome to online jobs a h2 welcome to online, how to get jobs online, jpeg to word jobs, translator russian to english jobs, ukrainian to english translation translation needed ukrainian to english city of toronto toronto gta services tutors languages, assistant to designer jobs south africa, freelance psd to html jobs

Tietoa työnantajasta:
( 5 arvostelua ) PLEASANTON, United States

Projektin tunnus: #17899932

Myönnetty käyttäjälle:

TheUnCableGuys

I can do this for you easily. I also have all the parts in stock already to test it. Please check out my. resume in profile section. Cheers, Eric Relevant Skills and Experience I suggest a very simple fix to you Lisää

$25 USD 1 päivässä
(2 Arvostelua)
0.6

4 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

amelectronics

Hello sir, I have experience in designing electronics circuits and can make your project. i will make your project completely on my side and will deliver a working prototype. I can also develop hardware compatible and Lisää

$100 USD 3 päivässä
(32 arvostelua)
6.5
TisteAndii

Hello, I'm an embedded software engineer with extensive working experience with Arduinos and NRF24L01 radio module. I understand you're having issues gathering data from several slave nodes to one master. I can help yo Lisää

$60 USD 1 päivässä
(16 arvostelua)
4.1
mali13175

Hello Sir I am an Electrical Engineer as well as a product designer and have work experience in my fields. I consider my skillset to be good enough for this job and can deliver to you with in shortest time possibe with Lisää

$25 USD 1 päivässä
(3 arvostelua)
2.3