A few things I'd like to add: the MISO line needs to be pulled high with a resistor (about 3K ohms). Breadboards can have intermittent connections causing errors. At MAX PA power, if the MCU (arduino) is too close to antenna, it can cause severe errors. I suppose long wires could also pickup strong RF causing MCU issues. Shielding can cure this. These are great units once idiosyncrasies are understood.
@@atdforgebc4605 add 10 to 100 kohm resistor between 5V and MISO. CLOSE IS like 6 inch and closer. (Add aluminum foil box around Arduino to test interference
Thank you, Thank you, Thank you! I've been ripping my hair out trying to figure out why my modules weren't communicating. With the photos of the die and the comparison of the writing on top, I determined I had a fake chip (Thanks Amazon...). I also then realized that the library I was using (RFLite) didn't have an option to turn off the autoAck. Once I changed to the RF24 library and was able to turn this off, my transmissions finally made it to the receiving unit. Thanks again!
1.radio.setAutoAck(false) worked...thanks alot.... 2.In case the module still dont work then another suggestion is to power up nRF module via 5v host shield as Arduino sometimes is not able to source enough current to the module via 3.3v pin... I followed both the steps and the modules started working like a charm. Thanks Vitaliy :D
Thank you sir. Simply excellent. This totally solved my problem. I have been working for the last 3 nights without any success. Never realized the solution was this simple.
Thank you very much for the video! I just started it and I see hope in finishing my project. I just returned 11 modules because non of them worked! :) I will try everything all over again.
Muchas gracias, por cierto, el ejemplo de GettingStarted de tmrh20 no funciona bien, pero con el ejemplo de maniacbug funciona muy bien. Ambas versiones del api tienen varias diferencias. Por ahora estoy haciendo un control para un dron adaptando un Trasmitter SYMA con un adaptador de protocolo de SYMA a nrf24, y esta ayuda que has dado funciona muy bien. Mis tips: - Agregar Capacitor 100UF , ojalá sobre el módulo nrf24. Si no tiene 100UF, ponga 10x10uf en paralelo en la protoboard. - setAutoAck(false) siempre que se pueda. - Deje el PA en HIGH, y luego en LOW, chequee que ese valor se vea reflejado en el ejemplo de GettingStarted (de la versión de maniacbugs). Si ve que cambia, el módulo está funcionando. Si no ve cambios, revise la fuente de poder si está bien conectada o si está dando suficiente potencia (ampers y voltaje). Toque el módulo nrf24, si está muy caliente, significa que ya está quemado. - Cuando haga las pruebas, procure desconectar el AC y volver a conectar, así los módulos se reinician. Primero deje encendido el receptor y luego el transmisor. Es probable que nunca conecten, para eso, desenchufe ambos. - La fuente de poder que me funcionó fue una batería de litio de un Garmin Forerunner 305, que permitía alimentar dos módulos (con antena y sin antena) con un PA en High sin problemas, regulado con un ams1117 para que de 3.3 volts. La batería es de 3,7, así que podría ir conectada directamente. - Un cargador USB de 1 a 2 ampers, pero debe ir con regulador de voltaje (ideal ams1117), el módulo nrf24 sin antena se quema muy rápido con voltajes de 5 volts. - No usar en paralelo o en serie algún led o resistencias, ya que eso inhibe la potencia de nrf24. - Como estándar en todos los ejemplos, usar el pin 9 y 10. - Si va a usarlo en un dron, mejor adquiera una versión legítima. Muchas gracias, desde Chile.
Man thank you, just got some of these radio modules and just could not get them to work. But this did it. Had to do so much digging before i found this video, i don't understand why its not more easy to find. Anyways great job!
Your welcome! Feel free to share a few of your search strings from your browser history. I will include more keywords for the vid. Also consider subscription to channel, this will help me too.
Thank you, for this video you put an end to my 2 days of frustration with these things, now I just need to get this working on a Mega now, but that solved the problem for the UNO's
That becomes an average length of frustration from ppl feedabcking here, 2 days :) glad it helps. Ps: I switched to RFM69 modules, and buying wifi ones next.
I get the 'Now sending "number"...ok...failed response timed out' to run just fine but when I type 'r' to get it into receiving mode, nothing happens; it just doesn't write anything other than ' *** CHANGING TO RECEIVE ROLE -- PRESS 'T' TO SWITCH BACK'. Does anyone else have this problem or have a solution to this?
hi, i am using module with one antenna and one without antenna. but the one with antenna only works with Nano. Didn't work with Arduino uno. what could be the problem? I connected the one with antenna to nano and the one without antenna to uno. but after 18.22 meters the data exchange was broken. How many volts should we give the electricity need of the module? Would it be better if we give it outside? thanks in advance ;)
Hi. My Arduino tank robot using T300 chassis and cheap NRF24L01 is having hiccups. It seems like there are intermittent sudden signal drops between my diy TX and the bot itself. I soldered 100uF bet gnd and vcc of the RX module and 10uF on the idy TX device. But it still having sudden drops.
Thank you for replying so soon sir. No. In fact it was just a few feet away from me. It occurs almost as soon as I powered up the robot. Sometimes, it takes few minutes before it occurred. Sometimes those drops are successive, sometimes at an interval of few seconds. It wasn't like this before with my first version using old DIY stand alone using ATMega328p chip on a protoboard and plastic 4WD chassis. Now, I'm using Nano, L293D chip, cheap NRF24L02 and 11.1 volts li-po battery and the T300 aluminum tank chassis
hello i have a problem, i tried to do exactly what you do in th video, but my rf24 modules can send data out, but if i switch to reciever mode its not working
Hello thanks for the video it almost done helping me, I have a defense tomorrow done all you advised the transmitter is working perfectly but receiver isn't what can I do?
Thanks for the content - but I'm still stuck. I can't get past radio.begin() - it freezes. On the next line I turn on the on-board led. If I comment out radio.begin() the led will come on. If I run the line radio.begin() it stops execution and the led stays off. Tried two arduinos, two nrf modules (the ones with the external antenna). I added a 100uf between 3.3v and ground. Any thoughts? I'm using the power modules with them as well...
my problem is that i type "t" ... and nothing happen , theres no error or anything just nothing happen i 've click on send or press enter and still nothing happen
rafael acerete. Might be serial baud rate, "new line" configuration on Arduino serial termination window. Need to make sure your serial communication and commands go through to Arduino.
@@vitaliyd193 I went through step-by-step. As soon as I switched to the models with the external antenna it worked. The ones I have with the built-in antennas must be the counterfeits. After it started working, I experimented with some of the earlier modes. I remmed out "//radio.setAutoAck(false); // added 08/09/20 ". Still working. round-trip delay is 22 or 23. Thanks again.
@@vitaliyd193 I mean that if I connect it something in digital 13 for example one led I will have low voltage in arduino LED 13 and I cannot upload a program...Arduino cannot works fine when I connect something in digital 13....So I am looking for to change the settings to connect in another digital pin to have fine work in my arduino device
nick sbilliris. No pin 13 is critical for this module. Only one such pin, it's hardware, you need to change ISP protocol or something to use something else than pin13
I have been struggling with the cheap Chinese modules and was about to give up entirely on RF24. This gives me renewed hope. Did you succeed with the "originals"?
hi anyone can answer, why am I having some modules that can receive package, but cannot send? my hardward setup and code was same, but "some" modules just failed to send only, and still can successfully receive package
@@vitaliyd193 too bad, I have once tried custom nrf24 module board and stencil-pasted by hand, and less than half worked correctly. But those from salers should do far better, don't they?
hello I've fixed the problem, looks like cap is not enough for it. I use 2.2+0.1uF at initial setup and only some can successful radio.write on air, though all can read fine. It depends randomly on hardware. some worked like fine, or sometimes it worked a single message. Then I just added a 50uF ceramic capacitor between 3.3V and GND and it just work like 100 folds better than before.... I should have use the code "setPALevel" or something. However its working at max level now.
@@gunvirdhesi6672 if you don't know how to modify the hardware, just add a code" radio.setPALevel(RF24_PA_MIN);" after setup, it should make it successful in sending, but it will slighty limit it's range
First of al thanks, but... Well I mean I came from "nothing is working" to "yea, it seems like its transmitting...". I managed to receiver about 5-10 payloads within i think 4 hours of today... That's my code: 16:16:38.932 -> RX_ADDR_P0-1 = 0xf0f0f0f0e1 0xf0f0f0f0d2 -> I have connection! 16:16:38.979 -> Model = nRF24L01+ -> Also this shows only a plus, when I connected it the right way. 16:16:52.061 -> Now sending 13137...ok...Failed, response timed out. -> Well yeah that's the farest I came... What should I do now? I tried out so many things...
I'm working with nrf modules and Node MCU, and on the receiver side, always it's showing me Sending.... Failed. When I change the position or keep the CSN pin D8 floating, then sometimes it shows Sending.... Ok. But there is no reception at other end. I used the pull down resistor method too. Still no results. Stuck here for 3 weeks now. Please help me
It could be wiring. Don't take as oh no I checked everything, I always think so until I find a mistake and regret for not checking better. Also soldering connection vs breadboard is good help sometimes with radio.
19:31:02.006 -> CRC Length = Disabled 19:31:02.041 -> PA Power = PA_MIN I got these...i have 2 nrf2401 but one of them show this ..(Arduino Mega) please help
Hola Mr Vitaly l consulta se pueden conectar las señales de un nrf24 a un dsm2 tienen el mismo protocolo PWM 2.4ghz y que libreria tendria que usarse, saludos, gracias
Hey i don't get it started. I tried the "Getting started" sketch you shown in your video. But actually i'm not sure what it says about the connection. I wired the NRF24L01 exactly like you to the Arduino. The serial monitor shows: STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0 RX_ADDR_P0-1 = 0xffffffffff 0x0000000000 RX_ADDR_P2-5 = 0x0000000000 RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00 EN_AA = 0xffEN_RXADDR = 0x00 RF_SETUP = 0x00 CONFIG = 0x00 DYNPD/FEATURE = 0x00 0x00 Data Rate = 1MBPS Model = nRF24L01 CRC Length = Disabled PA Power = PA_MIN
I can't understand if I need to put a 110μF cappacitor on my module because I have the version with external antenna, not the version with the PCB antenna, Can you help me with that? :)
Hey at 6:50 you mentioned the addresses being wrong and attaching the module directly fixed it. was that using a base module? As in, it didn't work when using a base module? I bought the bases as i cant get the NRF to work hoping it would help. Are you saying it made things worse? These chips are driving me nuts :( i think its because i'm using cheap copy clones. Thanks
Hello, I said attaching the module directly AND SOLDERING A BIGGER CAPACITOR (100uF) - helped that module to report corrected address. My impression of these (cheap clones) is not good too, I suggest buy better ones from links i have in description, or BUY RFM69HW modules, they are lower frequency (so potentially work for longer distances), plus they are more robust! I used them for my drone (remote controller and drone, works great with a wire antenna).
Do you have video that teach bi-directional communication between 2 nrf24l01? I can push button on 1st circuit and make led on 2nd light up. But I can't get servo on 1st circuit to rotate when I adjust potentiometer on 2nd circuit.
@@vitaliyd193 I already did but the servo turn a bit for few seconds after uploading the code. I can hear the sound of the servo rotate. But after that it doesn't response to the potentiometer. I wonder if you have help me fix the code.
Hi, I love the video about the NRF24L01 is very good ..... if it is not much trouble I do not know if I could clarify a doubt I have which is: How could I use the NRF24L01 in an external interrupt that has the arduino? Thank you
NEO CURIOSO I guess you can test with multimeter which pin goes high in nrf module ok no case of new data coming in. and then wire it to Arduino pin programmed as interrupt.
Well, the NRF chip has a module that modulates RF signal, so that has not responded to main controller. Not sure but could be a bad module. Replace with trusted source one.
@@vitaliyd193 Initially i have given 5v vcc for nrf24l01 module and its working fine. when i tried after few days it showing " radio hardware is not responding " , does the nrf module get damaged?
okay so this is some new solution. let me try it out. BUT i still have a doubt, You told to add 100uF capacitor, but till now in all my troubleshoot search the recommend 10uF, any reasoning about it?
@@hkhatri12 , smaller voltage spikes with bigger capacitor. But only if module sudennly draws spikes of current. Google search " why a cap is needed on DC motor?"
bro i am making gesture control car and u am facing probpem in communication alll value are showing 0 pls help me i spend to much money please reply, [forbididdden bit ] this youtuber video pls reply and help in connection 😭😭
Sorry I am not sure I can help without looking at your wiring. Try to rewire things, double check instructions and code for configuration. Also my solution is only a workaround, the issue is that these are clones, I suggest to buy trusted nRF modules from good sources.
Hi, Can anyone help me with this? when I plug my arduino with module to the computer and I start up the program i get sth like this: RX_ADDR_P0-1 = 0x0000000000 0x0000000000 RX_ADDR_P2-5 =0x00 0x00 0x00 0x00 TX_ADDR =x0000000000 Everywhere in serial monitor i get answer with zeros. I conected voltage line and everything is powered on. Does anyone know what might be the problem?
found this on google: What happens if antenna is not grounded? Your antenna mount needs to be properly grounded for your antenna to function correctly. Without a solid ground, you're bound to get high SWR levels and extremely poor performance.
hello! thank you for the video , My NRF24+ antena and my NRF24 simple were working just fine with my nano arduinos , suddenly they stoped working , and whene I connect them to arduinos , the arduinos power shut down I brought another new ones and they works fine ! now I want to fix the old ones. is anyone have this problem !
Hey good video. Mine is sending wrong data. It send the right data 1/4 of the times. I added a 100uf to the power rails and a 0.1uf in parallel for decoupling. Still the same issues. Power amplifier settings dont change anything. Dont know what to do... can you help me? Thanks
Vitaliy D I have a transceiver for my Arduino Wheater Station. The one that is sending seems to be sending alright. No issues with that one. But the one that is receiving data displays (both in serial monitor and lcd display) wrong data. Like temperature is 24celcius and the I get sometimes 61 ou 63celcius. These numbers (like 61 63 or sometimes 00 or 99) are the most commom. I tried to delay some data because I thought that it was to much data per second but nothing changed.
try going simpler first, sent say a number 112233445566 and see if it is delivered consistent. Then complicify the code) Good luck. Distance might another issue
I covered the antenas with my hand and it works without a problem. I searched for a solution for a month and that's what I get. I'm happy but I would not like doing that every second. Thanks for saying that.
Hello Mr Vitaly l consultation can be connected the signals of a nrf24 to a dsm2 have the same protocol PWM 2.4ghz and that library would have to be used, regards, thanks
@@vitaliyd193 i tried this code for once it sent the data but on receiver side there was nothing, and from then till now it is failing over and over again
@@tamurtaj2722 man, just buy better modules from good store or use HC05 or HC12 or RFM69 modules. If this fix does not send data well, then check wiring 3 times and check if connections are really good (solder instead of jumpers). Then if no luck, see first sentence above.
please do NOT play background music. it interferes with your voice and makes it harder to hear and understand you. I clicked on you link to hear your message. NOT MUSIC!
This man is responding to comments three years after he published the video, what a legend.
Spent 3 days of trying to get this thing to work complete headache. Glad I found this video and thank you so much for sharing
Your effort of making this video solved my problem for which I was struggling for weeks. Thanks you so much. Awesome video.
A few things I'd like to add: the MISO line needs to be pulled high with a resistor (about 3K ohms). Breadboards can have intermittent connections causing errors. At MAX PA power, if the MCU (arduino) is too close to antenna, it can cause severe errors. I suppose long wires could also pickup strong RF causing MCU issues. Shielding can cure this. These are great units once idiosyncrasies are understood.
Please tell me how to pull miss high and how close are you talking abt..referring to Mcu and ant. Thanks
@@atdforgebc4605 add 10 to 100 kohm resistor between 5V and MISO. CLOSE IS like 6 inch and closer. (Add aluminum foil box around Arduino to test interference
Thank you, Thank you, Thank you! I've been ripping my hair out trying to figure out why my modules weren't communicating. With the photos of the die and the comparison of the writing on top, I determined I had a fake chip (Thanks Amazon...). I also then realized that the library I was using (RFLite) didn't have an option to turn off the autoAck. Once I changed to the RF24 library and was able to turn this off, my transmissions finally made it to the receiving unit. Thanks again!
1.radio.setAutoAck(false) worked...thanks alot....
2.In case the module still dont work then another suggestion is to power up nRF module via 5v host shield as Arduino sometimes is not able to source enough current to the module via 3.3v pin...
I followed both the steps and the modules started working like a charm. Thanks Vitaliy :D
Thank you sir. Simply excellent. This totally solved my problem. I have been working for the last 3 nights without any success. Never realized the solution was this simple.
Man...you saved my life. I was trying for more than a month and lost hope. But your awesome video brought my dream back.
You are welcome!
OMG, Thank You man, Saved my life, 5 days trying and trying and trying to make this thing works. Nice Job
Otávio Ribeiro Araújo. Welcome. Same time I spent.
Thank you very much for the video! I just started it and I see hope in finishing my project. I just returned 11 modules because non of them worked! :) I will try everything all over again.
Thank You!
It was very very useful!
The "radio.setAutoAck(false);" with a 100μF cappacitor solved the problem.
Attila Herczog. you are welcome. glad to see it helps someone within 12 hours after this video is posted! good luck.
Thank you Soooo much man. I spend 1 month on this having no clue on what the problem is..🙏
Muchas gracias, por cierto, el ejemplo de GettingStarted de tmrh20 no funciona bien, pero con el ejemplo de maniacbug funciona muy bien. Ambas versiones del api tienen varias diferencias. Por ahora estoy haciendo un control para un dron adaptando un Trasmitter SYMA con un adaptador de protocolo de SYMA a nrf24, y esta ayuda que has dado funciona muy bien.
Mis tips:
- Agregar Capacitor 100UF , ojalá sobre el módulo nrf24. Si no tiene 100UF, ponga 10x10uf en paralelo en la protoboard.
- setAutoAck(false) siempre que se pueda.
- Deje el PA en HIGH, y luego en LOW, chequee que ese valor se vea reflejado en el ejemplo de GettingStarted (de la versión de maniacbugs). Si ve que cambia, el módulo está funcionando. Si no ve cambios, revise la fuente de poder si está bien conectada o si está dando suficiente potencia (ampers y voltaje). Toque el módulo nrf24, si está muy caliente, significa que ya está quemado.
- Cuando haga las pruebas, procure desconectar el AC y volver a conectar, así los módulos se reinician. Primero deje encendido el receptor y luego el transmisor. Es probable que nunca conecten, para eso, desenchufe ambos.
- La fuente de poder que me funcionó fue una batería de litio de un Garmin Forerunner 305, que permitía alimentar dos módulos (con antena y sin antena) con un PA en High sin problemas, regulado con un ams1117 para que de 3.3 volts. La batería es de 3,7, así que podría ir conectada directamente.
- Un cargador USB de 1 a 2 ampers, pero debe ir con regulador de voltaje (ideal ams1117), el módulo nrf24 sin antena se quema muy rápido con voltajes de 5 volts.
- No usar en paralelo o en serie algún led o resistencias, ya que eso inhibe la potencia de nrf24.
- Como estándar en todos los ejemplos, usar el pin 9 y 10.
- Si va a usarlo en un dron, mejor adquiera una versión legítima.
Muchas gracias, desde Chile.
Man thank you, just got some of these radio modules and just could not get them to work. But this did it. Had to do so much digging before i found this video, i don't understand why its not more easy to find. Anyways great job!
Your welcome! Feel free to share a few of your search strings from your browser history. I will include more keywords for the vid. Also consider subscription to channel, this will help me too.
Thank you, for this video you put an end to my 2 days of frustration with these things, now I just need to get this working on a Mega now, but that solved the problem for the UNO's
That becomes an average length of frustration from ppl feedabcking here, 2 days :) glad it helps. Ps: I switched to RFM69 modules, and buying wifi ones next.
I get the 'Now sending "number"...ok...failed response timed out' to run just fine but when I type 'r' to get it into receiving mode, nothing happens; it just doesn't write anything other than '
*** CHANGING TO RECEIVE ROLE -- PRESS 'T' TO SWITCH BACK'. Does anyone else have this problem or have a solution to this?
Any resolution on this?
did you switch the other module to Send mode? (One has to be in T mode, another in R mode)
So helpful video man, Thank You, i was working on it for last couple of months and i couldn't figure it out
This video helped me out a lot, i was troubleshooting for 10 hours, got the initialization to work, but this rlly solved the issue, TY
how you solve
OMG, struggling for 2 days, you saved my life, thanks
incase u guys are still struggling after the video pls do check ur serial baud rate
Thank you for the nice tutorial.
I have got mine working after 6months!!
hi, i am using module with one antenna and one without antenna. but the one with antenna only works with Nano. Didn't work with Arduino uno. what could be the problem? I connected the one with antenna to nano and the one without antenna to uno. but after 18.22 meters the data exchange was broken. How many volts should we give the electricity need of the module? Would it be better if we give it outside? thanks in advance ;)
Hi. My Arduino tank robot using T300 chassis and cheap NRF24L01 is having hiccups. It seems like there are intermittent sudden signal drops between my diy TX and the bot itself. I soldered 100uF bet gnd and vcc of the RX module and 10uF on the idy TX device. But it still having sudden drops.
myonline88. Are those drops occuring in certain distances between Rx and tx ? Maybe use more powerful instead..
Thank you for replying so soon sir. No. In fact it was just a few feet away from me. It occurs almost as soon as I powered up the robot. Sometimes, it takes few minutes before it occurred. Sometimes those drops are successive, sometimes at an interval of few seconds. It wasn't like this before with my first version using old DIY stand alone using ATMega328p chip on a protoboard and plastic 4WD chassis. Now, I'm using Nano, L293D chip, cheap NRF24L02 and 11.1 volts li-po battery and the T300 aluminum tank chassis
you can read on the internet about "radio amateurs" although the signal is digital instead of anelogue. that information can be vital.
OMG ITS WORKING ITSSS WORKIIIIIIIIIINGG ! THANKS A LOT!!!
Welcome 👍
hello i have a problem, i tried to do exactly what you do in th video, but my rf24 modules can send data out, but if i switch to reciever mode its not working
Some of those are so badly cloned that it is not worth your time, buy a GOOD TRUSTED MODULES.
Dude i understand the amount of hardwork put in by you, as i am myself struggling with the code. Will try this out. Thanks in advance.
This is insane. You are a HERO!
so i tried both caps and the adapter board,but only the example sketch works,if i try to turn an led or usea potentiometer ,it does not work
Sorry not sure I can help with that. Need to look at code for potentiometer scratch ....
Hello thanks for the video it almost done helping me, I have a defense tomorrow done all you advised the transmitter is working perfectly but receiver isn't what can I do?
Please if you can reply asap
@@faokenterprise4520 checking wiring and quality of connection is a must. Also don't use cheap modules!
New Link for old wikispace documentation in this video: arduinoinfo.mywikis.net/wiki/Nrf24L01-2.4GHz-HowTo
Thanks for the content - but I'm still stuck. I can't get past radio.begin() - it freezes. On the next line I turn on the on-board led. If I comment out radio.begin() the led will come on. If I run the line radio.begin() it stops execution and the led stays off. Tried two arduinos, two nrf modules (the ones with the external antenna). I added a 100uf between 3.3v and ground. Any thoughts? I'm using the power modules with them as well...
Need to see wiring and code. Can't help from what's known.
How do you disable auto ack with reliable datagram library :)??
my problem is that i type "t" ... and nothing happen , theres no error or anything just nothing happen
i 've click on send or press enter and still nothing happen
rafael acerete. Might be serial baud rate, "new line" configuration on Arduino serial termination window. Need to make sure your serial communication and commands go through to Arduino.
This is a good video with lots of good info. It helped a lot. The music is nice but the volume overpowers your voice sometimes.
Thanks, yes need to improve on it
@@vitaliyd193 I went through step-by-step. As soon as I switched to the models with the external antenna it worked. The ones I have with the built-in antennas must be the counterfeits. After it started working, I experimented with some of the earlier modes. I remmed out "//radio.setAutoAck(false); // added 08/09/20
". Still working. round-trip delay is 22 or 23.
Thanks again.
Dear friend I have problem with d13...It cannot read if I connect only in D13....I don't know other connection without d13...
nick sbilliris. D13 is digital pin 13?
@@vitaliyd193 I mean that if I connect it something in digital 13 for example one led I will have low voltage in arduino LED 13 and I cannot upload a program...Arduino cannot works fine when I connect something in digital 13....So I am looking for to change the settings to connect in another digital pin to have fine work in my arduino device
nick sbilliris. No pin 13 is critical for this module. Only one such pin, it's hardware, you need to change ISP protocol or something to use something else than pin13
I have been struggling with the cheap Chinese modules and was about to give up entirely on RF24. This gives me renewed hope. Did you succeed with the "originals"?
Phil Chandler . no I never had a chance to get those , actually they were not available at that time from those links that I posted
hello! thank you sir for this video what you did at 6:30 i did get that so it resolves address problem
hi anyone can answer, why am I having some modules that can receive package, but cannot send? my hardward setup and code was same, but "some" modules just failed to send only, and still can successfully receive package
Must be manufacturing issues, quality control. These are tricky to make by non original manufacturers.
@@vitaliyd193 too bad, I have once tried custom nrf24 module board and stencil-pasted by hand, and less than half worked correctly. But those from salers should do far better, don't they?
hello I've fixed the problem, looks like cap is not enough for it. I use 2.2+0.1uF at initial setup and only some can successful radio.write on air, though all can read fine. It depends randomly on hardware. some worked like fine, or sometimes it worked a single message.
Then I just added a 50uF ceramic capacitor between 3.3V and GND and it just work like 100 folds better than before....
I should have use the code "setPALevel" or something. However its working at max level now.
@@user-ps1qj5mo2s can you make a vid and send please I am having the same issue I still dont understand what the issue is
@@gunvirdhesi6672 if you don't know how to modify the hardware, just add a code" radio.setPALevel(RF24_PA_MIN);" after setup, it should make it successful in sending, but it will slighty limit it's range
First of al thanks, but... Well I mean I came from "nothing is working" to "yea, it seems like its transmitting...". I managed to receiver about 5-10 payloads within i think 4 hours of today...
That's my code:
16:16:38.932 -> RX_ADDR_P0-1 = 0xf0f0f0f0e1 0xf0f0f0f0d2
-> I have connection!
16:16:38.979 -> Model = nRF24L01+
-> Also this shows only a plus, when I connected it the right way.
16:16:52.061 -> Now sending 13137...ok...Failed, response timed out.
-> Well yeah that's the farest I came...
What should I do now? I tried out so many things...
I'm using these Long Rang nrf24l01 things with that huge antenna on them with the proper base modul, so it gets perfectly clean 3.3V power
Either buy genuine modules from adafruit. Or buy HC06 modules 966 mhz with Rx TX inputs, better deal.
@@vitaliyd193 I have to use 2.4Ghz. And my models had great ratings on amazon...
@@felixbaum2180 I don't always trust Amazon reviews. Give it a try with better us based sources.
@@vitaliyd193 yea, I guess I don't have too much other options...
The thing is if you disable ACK, the function always return true so it's normal to have OK but nice vid
Message still gets through though. Cheap modules don't have ack set up well
@@vitaliyd193 oh, yeah mine have some issues with ACK
so there is no way to fix the response fail (time out)?
I'm working with nrf modules and Node MCU, and on the receiver side, always it's showing me Sending.... Failed. When I change the position or keep the CSN pin D8 floating, then sometimes it shows Sending.... Ok. But there is no reception at other end. I used the pull down resistor method too. Still no results. Stuck here for 3 weeks now. Please help me
It could be wiring. Don't take as oh no I checked everything, I always think so until I find a mistake and regret for not checking better. Also soldering connection vs breadboard is good help sometimes with radio.
19:31:02.006 -> CRC Length = Disabled
19:31:02.041 -> PA Power = PA_MIN
I got these...i have 2 nrf2401 but one of them show this ..(Arduino Mega) please help
Sorry never had this issue. Can't help. Check Arduino forum.
I LOVE YOU thank you so much, you're my hero
Ian Niculescu You are welcome!
dear sir, i am using the nrf24l01 to do a simple bit error rate test. do you have any code example about this one ? many thanks
Hola Mr Vitaly l consulta se pueden conectar las señales de un nrf24 a un dsm2 tienen el mismo protocolo PWM 2.4ghz y que libreria tendria que usarse, saludos, gracias
Pedro Riquelme. sorry can't read that
çok teşekür ederim. From Türkiye🙃
Thank you man,This is working but,but in other projects not working what to do
i am getting"got payload 0"
is there any solution for this ??
please tell me how to solve this issue??
Is it with default sketch as I m using,?
Why when I press the T button nothing happens??
Thanks for the help. Solved all my problems.
I am connecting it with jumper wires......it didn't worked for me
plz help...
Hey i don't get it started. I tried the "Getting started" sketch you shown in your video. But actually i'm not sure what it says about the connection. I wired the NRF24L01 exactly like you to the Arduino.
The serial monitor shows:
STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1 = 0xffffffffff 0x0000000000
RX_ADDR_P2-5 = 0x0000000000
RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA = 0xffEN_RXADDR = 0x00
RF_SETUP = 0x00
CONFIG = 0x00
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01
CRC Length = Disabled
PA Power = PA_MIN
I can't understand if I need to put a 110μF cappacitor on my module because I have the version with external antenna, not the version with the PCB antenna, Can you help me with that? :)
It's always better to have a cap. Thanks
Okay, thanks bro, greetings from Mexico
Thanks man it finally worked !
Hey at 6:50 you mentioned the addresses being wrong and attaching the module directly fixed it. was that using a base module? As in, it didn't work when using a base module? I bought the bases as i cant get the NRF to work hoping it would help. Are you saying it made things worse? These chips are driving me nuts :( i think its because i'm using cheap copy clones. Thanks
Hello, I said attaching the module directly AND SOLDERING A BIGGER CAPACITOR (100uF) - helped that module to report corrected address.
My impression of these (cheap clones) is not good too, I suggest buy better ones from links i have in description, or BUY RFM69HW modules, they are lower frequency (so potentially work for longer distances), plus they are more robust! I used them for my drone (remote controller and drone, works great with a wire antenna).
Can u give me remote details an maybe the sketch
Thanks you verry muc.. my project work again . Best konten video
Wow!! Good research!!
Do you have video that teach bi-directional communication between 2 nrf24l01?
I can push button on 1st circuit and make led on 2nd light up. But I can't get servo on 1st circuit to rotate when I adjust potentiometer on 2nd circuit.
You need a code on Arduino to send some numbers to other receive side
@@vitaliyd193 I already did but the servo turn a bit for few seconds after uploading the code. I can hear the sound of the servo rotate. But after that it doesn't response to the potentiometer.
I wonder if you have help me fix the code.
Great video thank you very much!
You are welcome!
Hi, I love the video about the NRF24L01 is very good ..... if it is not much trouble I do not know if I could clarify a doubt I have which is: How could I use the NRF24L01 in an external interrupt that has the arduino?
Thank you
NEO CURIOSO I guess you can test with multimeter which pin goes high in nrf module ok no case of new data coming in. and then wire it to Arduino pin programmed as interrupt.
"radio hardware is not responding!!" What does it mean?
Well, the NRF chip has a module that modulates RF signal, so that has not responded to main controller. Not sure but could be a bad module. Replace with trusted source one.
@@vitaliyd193 Initially i have given 5v vcc for nrf24l01 module and its working fine. when i tried after few days it showing " radio hardware is not responding " , does the nrf module get damaged?
okay so this is some new solution. let me try it out. BUT i still have a doubt, You told to add 100uF capacitor, but till now in all my troubleshoot search the recommend 10uF, any reasoning about it?
It should be fine with either one 10 or 100, I would use 100.
well the solution worked for me (also , I had used just a 10uF cap) thanks for this solution!!... I have been so tensed because of this :D
@@vitaliyd193 yea so my question being what actual difference would it make? sorry i dont know much about it so
@@hkhatri12 , smaller voltage spikes with bigger capacitor. But only if module sudennly draws spikes of current. Google search " why a cap is needed on DC motor?"
Hi, i hope you see my comment, it worked form me, but when a put the other node on Recive mode it it doesn't recive enything. Please help :(
the same thing happens to me!!!
@richardo any resolution of your problem. I am facing the same issue
@@luckychauhan7348 Nope, now I'm using a nodeMCU, WiFi.
it still doesn't work for me and I added an external 3.3V power supply to the modules and wrote the code you showed in your video
forteleaerieneromane send me pictures of what your serial monitor looks like . and what's the wiring.
I managed to make it work with a different library. It took some time and troubleshooting but it's done. Thank you anyway!
what library is it?
it's called "RadioHead"
thanks. yes i heard about it. Great, I am glad it worked for you! Good luck in rest of the project!
bro i am making gesture control car and u am facing probpem in communication alll value are showing 0 pls help me i spend to much money please reply, [forbididdden bit ] this youtuber video pls reply and help in connection 😭😭
great and unique work....
Not able to recieve the data by usimg your method. Any resoltion?
Sorry I am not sure I can help without looking at your wiring. Try to rewire things, double check instructions and code for configuration. Also my solution is only a workaround, the issue is that these are clones, I suggest to buy trusted nRF modules from good sources.
i did the same when i cmt 't' it worked normally but when i cmt 'r' it didn't do anything else it didn't receive the signal. Can you tell me why?
Well, r is receive , are you sending anything on a 2nd end?
@@vitaliyd193 no i follow the instruction but when cmt "r" there is no response from both the receiver and the transmitter still sending the signal.
Hi,
Can anyone help me with this?
when I plug my arduino with module to the computer and I start up the program i get sth like this:
RX_ADDR_P0-1 = 0x0000000000 0x0000000000
RX_ADDR_P2-5 =0x00 0x00 0x00 0x00
TX_ADDR =x0000000000
Everywhere in serial monitor i get answer with zeros.
I conected voltage line and everything is powered on.
Does anyone know what might be the problem?
It looks like its not communicating via SPI on with the arduino. Check power going to correct pin and SCK going to pin 13 on the UNO.
THANK YOU!
Thank you. it`s working!
Thanks
Is this problem from not connecting a capacitor 😅😅
found this on google: What happens if antenna is not grounded?
Your antenna mount needs to be properly grounded for your antenna to function correctly. Without a solid ground, you're bound to get high SWR levels and extremely poor performance.
like putting the fm radio antenna against the metal water plumbing. for better receptance.
maybe that helps.
made my day. thanks mate!
we need a 100 uf cap,thats it right or do i need 0.1uf in parallel
100uf is enough.
It is not working with the 100uf
@@maruthikotadamakki9017 get a new trusted sourced module.
Thanks
hello! thank you for the video ,
My NRF24+ antena and my NRF24 simple were working just fine with my nano arduinos , suddenly they stoped working , and whene I connect them to arduinos , the arduinos power shut down
I brought another new ones and they works fine ! now I want to fix the old ones.
is anyone have this problem !
great! you are welcome.
Ezzerouali Abdellah. Burned diode or the atmega chip!
Does original ones work better ?
I actually switched to other modules, never ordered original ones.thay should though!
Hey good video. Mine is sending wrong data. It send the right data 1/4 of the times. I added a 100uf to the power rails and a 0.1uf in parallel for decoupling. Still the same issues. Power amplifier settings dont change anything. Dont know what to do... can you help me? Thanks
BarbasBandas what kind of discrepancy you see in the data? is always same wrong data or dynamic changing?
Vitaliy D I have a transceiver for my Arduino Wheater Station. The one that is sending seems to be sending alright. No issues with that one. But the one that is receiving data displays (both in serial monitor and lcd display) wrong data. Like temperature is 24celcius and the I get sometimes 61 ou 63celcius. These numbers (like 61 63 or sometimes 00 or 99) are the most commom. I tried to delay some data because I thought that it was to much data per second but nothing changed.
try going simpler first, sent say a number 112233445566 and see if it is delivered consistent. Then complicify the code) Good luck. Distance might another issue
Vitaliy D Thank I will try again. My modules are 10cm apart... Thank you so much for repplying!
awesome
thank you
Can you submit a pull request to the master repo... this should definitely be included. 4 hours wasted. Thanks!!
Can we use 100 uf capacitor?
Modern Tech. Yes you can. I recommend that.
Will the connections differ if I use the nrf24l01 power adapter?
Modern Tech. I'm not sure, sorry.
Still not working for me... 😭
Try a other source of the modules. Likely bad device if all connections are made and capacitor used.
can you please give me your email,facebook or any other social media accounts..........I have some doubts regarding this.......plz help me
@@vitaliyd193 I agree, order them from elsewhere, I've gotten bad ones before...Unfortunately theres many clones out there
This does not work for me, and the page does not exist
This video help me!!!!
You are the Boss!
how about you dont play the background music louder than your voice, that would be helpful. thanks
welp, it doesn't work for me
I covered the antenas with my hand and it works without a problem. I searched for a solution for a month and that's what I get. I'm happy but I would not like doing that every second. Thanks for saying that.
@@myperro77 . Yea, better use HC12 or rfm69 modules. Or esp32 wifi modules if need wifi.
@@vitaliyd193 Indeed, I"ll do that. Cheap is expensive sometimes
Hello Mr Vitaly l consultation can be connected the signals of a nrf24 to a dsm2 have the same protocol PWM 2.4ghz and that library would have to be used, regards, thanks
Do you know anything about pinning this module on the micro?
*edit: thanks for the video
Try this one: schullebernd.de/wp-content/uploads/2015/10/Schaltbild_nRF24L01_ArduinNano_mit_Elko.png
thanks I'll give it a try.
what do you recommend for that capacitor? I've seen them mentioned but I've seen a few different ones bouncing around.
Cameren Gigantic I agree with what most ppl say 10uF and 0.1uF in parallel. But you can use just one. I was fine with one of 100uF capacity.
i think i got it working man (at least some of the time ) thanks for the help.
Could you please upload this file?
What you mean?
@@vitaliyd193 Code files sir that you have modified for both sender and receiver.
@@vitaliyd193 i tried this code for once it sent the data but on receiver side there was nothing, and from then till now it is failing over and over again
@@tamurtaj2722 man, just buy better modules from good store or use HC05 or HC12 or RFM69 modules. If this fix does not send data well, then check wiring 3 times and check if connections are really good (solder instead of jumpers). Then if no luck, see first sentence above.
thank you
Happy it still helps.
These days, though just use esp32 wifi, only $4, so good.
Thanku
Noise..!!
did you know Arduino Nano CLONE has no 3.3V OUTPUT????? :D
I thought some do have it. Not sure though
which resistor is sufficient for converting 5V to 3.3V? thanks.
Very good comprehensive video, but you speak too fast and I find it hard to follow sometimes.
Noted, thank you
please do NOT play background music. it interferes with your voice and makes it harder to hear and understand you. I clicked on you link to hear your message. NOT MUSIC!
Yah sorry, was a newbie.
Please Please stop the plinky plonk music, it is very annoying
Noted