nRF24L01+ multiple transmitters

Hi,
I recently experimented communication between one transmitter and one receiver, but I don't know how can I get multiple nRF (as transmitters) communicating with one receiver.

Thanks in advance,
José Coelho

Each nRF only has 5 pipes so you only can communicate with 5 nodes.This doesnt mean you cannot communicate with more than 5, it means you need to route messages between multiple devices.Like a mesh network.
In order for you to understand this better read this document made by manicaBug about the network mode.

hii

im trying to run the rf24network examples which is transmitter and reciver but i got these errors while debuging:
Arduino: 1.5.6-r2 (Windows 8), Board: "Arduino Uno"

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:15,
from helloworld_rx.pde:18:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:133: error: declaration of C function 'void bcm2835_delay(long unsigned int)' conflicts with
C:\Program Files (x86)\Arduino\libraries\RF24/bcm2835.h:898: error: previous declaration 'void bcm2835_delay(unsigned int)' here
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:134: error: declaration of C function 'void bcm2835_delayMicroseconds(unsigned int)' conflicts with
C:\Program Files (x86)\Arduino\libraries\RF24/bcm2835.h:912: error: previous declaration 'void bcm2835_delayMicroseconds(uint64_t)' here

please help me

thanks

I tried that and I got some issues, but it worked kind of bad. I'll try it again when I got some spare time.

I just tried some things, but they aren't working that well.
The code:
Receiver: http://pastebin.com/wvq9F3nP
Transmitter 1: http://pastebin.com/jsg0ZLW0
Transmitter 2: http://pastebin.com/wLMxcswX

Some problems:

  1. I have 8 LEDs, 4 for each transmitter, only 4 gets changing between ON/OFF. I know that all the data is being stored at the same 4 variables, but I don't know how to fix that.
  2. LEDs blink a lot, even when I keep the button pressed.

Any help is welcome :slight_smile:

ebraheemsa:
C:\Program Files (x86)\Arduino\libraries\RF24/bcm2835.h:898: error: previous declaration 'void bcm2835_delay(unsigned int)' here
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:134: error: declaration of C function 'void bcm2835_delayMicroseconds(unsigned int)' conflicts with

May I know which forks are you currently using ???

The bcm2835 errors seems to be from the Raspberry Pi libs got mixed up with the Arduino libs..

I'm using the latest forks from jscrane with support for both Arduino and Attiny 8x

I'm using the RF24 from maniacbug, but it wasn't me that posted that