I send to the first arduino witht the code bool radioNumber = 0;
and the second bool radioNumber = 1;
But i am getting nothing ( just 5 weird character on the Serial console).
Schema and electronic
This the schema of what i did on breadboard
This is a picture of my breadboard
Also i plug
CE -> D7
CSN -> D8
SCK -> D13
MOSI ->D11
MISO ->D12
I add a 10 micro farad capacitor between the GND and VCC of the NRF24L01.
My voltage supply come from a power generator ( current consomption is 0.6 A for the two arduino with 2 NRF24L01 ). The power supply provide 5 V and i derive 3.3 V using an LM3940 using the first schema (simplied ) on the datasheet here
Symptom
Nothing appear on the Serial console except 5 weird characters.I can't see any light for activity on the NRF24 module.
If anyone have an idea about i could debug that thing ?
Use the connection chart in the link that Robin2 gave. Use the column labeled "Arduino pin for
RF24 Library". Do not connect the interrupt pin(8) as the library does not use it. I used ManiacBug library but recently switched to TMRh20. They both work with the examples. You need the 3v3 supply only for RF24 power. The signal pins are 5v tolerant. There is an adapter board on eBay that has the regulator and filters with signals on header pins. This solves the power problem by taking the load off of the Arduino regulator.
Arctic_Eddie:
There is an adapter board on eBay that has the regulator and filters with signals on header pins. This solves the power problem by taking the load off of the Arduino regulator.
This is a good idea.
However I have had no problems powering my nRF24s from the 3.3v pin on my Uno or Mega.
Another option (which I have used with an ESP8266) is to use a LM317 voltage regulator to produce 3.3v from the Arduino 5v pin. However the eBay product is probably more convenient.
The low power version of the RF24 will work OK using the Arduino 3v3 output. However, on some occasions the physical wiring layout, lead inductance, requires a capacitor to handle the TX current spike. The high power version, nRF24L01+LNA+PA, pulls too much current from the on-board regulator. An external 3v3 regulator will be needed. Also, the RF24 board cannot be plugged directly into a proto board and must use dangling wires or a homemade adapter. The eBay adapter board is a nice addition as it solves all problems for both the low and high powered versions.