networking - NRF24L01 and arduino does not communicate correctly -
i trying exchange data between 2 atmega328p through nrf24l01.
1) library , sketch use tmh20 library here . , use getting started sketch start here .
i send first arduino witht code bool radionumber = 0; , second bool radionumber = 1;
but getting nothing ( 5 weird character on serial console).
2) schema , electronic
this image of schematic , picture of have on breadboard
also plug ce -> d7 csn -> d8 sck -> d13 mosi ->d11 miso ->d12
i add 10 micro farad capacitor between gnd , vcc of nrf24l01.
my voltage supply come power generator ( current consomption 0.6 2 arduino 2 nrf24l01 ). power supply provide 5 v , derive 3.3 v using lm3940 using first schema (simplied ) on datasheet here
3) symptom
nothing appear on serial console except 5 weird characters.i can't see light activity on nrf24 module.
if have idea debug thing ?
all best
vincent
if not see written setup part of code:
serial.begin(115200); serial.println(f("rf24/examples/gettingstarted")); serial.println(f("*** press 't' begin transmitting other node"));
it related other things nrf communication itself. have remembered set baud rate in serial monitor 115200 baud? mismatch in baudrates common cause of weird characters shown in serial monitor.
best regards, bjorn erik
Comments
Post a Comment