Find Jobs
Hire Freelancers

nrf24l01 communication

$10-30 USD

Kansellert
Lagt ut over 5 år siden

$10-30 USD

Betalt ved levering
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 Slaves. The Master use 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. There are 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. After a few cycles, Master can collect all data, but 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.
Prosjekt-ID: 17899984

Om prosjektet

6 forslag
Eksternt prosjekt
Aktiv 6 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
6 frilansere byr i gjennomsnitt $32 USD for denne jobben
Brukeravatar
I will make this project quickly and efficiently. I have experience in IoT. Thank You!!!!!!!!!!!!!!!
$20 USD om 1 dag
5,0 (1 omtale)
2,8
2,8
Brukeravatar
hello i am a computer engineer,i have masters in computer engineering,i have experience for more than 7 years in arduino and electronics
$30 USD om 1 dag
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Hi, I am an embedded system developer. I think you are trying to implement single transmission and single receiver channel for more than devices communication. Since you say you have already the code required for this communication, I believe we have to just arrange it properly to get your code working. I will provide you an algorithm which will try not to miss any packet. Let's discuss more here about your current situation and things you have already tried. If you have any questions about me please ask here.
$30 USD om 2 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
If we essentially structure this so that the master requests a status, instead of the slaves sending it by themselves, we would avoid collision issues thanks to the master itself being the switch. It would probably also simplify the code and comms.
$30 USD om 1 dag
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Dear Sir, I have read your project description. You are talking about master-slave architecture. according to nRF24L01+ data sheet (It is probable you have nRF24L01+) one device could connect with maximum of 6 other devices. One device as you call master had to configure as Receiver. and other 6 had to configure as Transmitters. The nRF24L01+ has some hardware features that allow re-transmission of lost data packets due to collision . Also it has feature of sending data to transmitter (slave) from receiver (master) with reception acknowledgement packet. Therefore data transmission for both ways are hazel free automated process. Message me if you have any questions, Isuru Athukorala
$35 USD om 1 dag
0,0 (0 omtaler)
1,0
1,0

Om klienten

UNITED STATESs flagg
PLEASANTON, United States
5,0
9
Betalingsmetode bekreftet
Medlem siden aug. 1, 2017

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.