Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[AVR] How to create AD HOC network with NRF24L01+

Status
Not open for further replies.

alibarghi

Member level 1
Joined
Jun 30, 2013
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
243
Hi
How do I implement the AD HOC protocol using NRF24L01+ Modules?
(with AVR or STM32)
 

Kurenai_ryu

Advanced Member level 2
Joined
Jun 10, 2006
Messages
671
Helped
159
Reputation
316
Reaction score
99
Trophy points
1,308
Location
Bolivia
Activity points
5,913
you need to setup up to 6 devices on the same network (same high bytes on address) all as PRX, when any device want to send data, just set the TXaddress to the device you want to send, load the tx payload and change to PTX, once it finished to send data, change to PRX...

remember you can't use Enhanced Shockburst because you don't know which device will send data to you, so you need to implement your own handshake and retransmit protocols..

for basic nRF code, look for kehribar's code, it worked for me, but for your exact application, sorry no code...
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top