This is the most precisely explained tutorial,, conceptually as well as practically, of all the beginner tutorials on nRF24L01 I've seen. Highly recommended.
Another interesting, full of relevant information. I admire the use of graphs and the amount of time you invest in scientifically arriving at your conclusions. I believe you will reach 10k subscribers very quickly. There is something very special about your videos. You always just seem to explain enough to make me very interested about subjects I would have avoided. It's official, I like the Swiss very much after having the pleasure of hearing and watching you. Please keep up both the quality and quantity of your videos. Thank you kind sir for sharing
By far the best explaination of how to setup an NRF2401 radio module. You have already answered a few of the questions that I had. So, the signals you use on the TX(CE and CSN) or RX don't have to be the same pins. I and many others have been looking for ways to trouble shoot our system after building it as we have had many problems. One was a bad library file. The one You suggest is the correct one as it works. Two, the antana must have 3.3 volts or it won't work as mine was 2.1 volts?! bad connection.Three, using print statments help, but only that the software is functioning properly and not the signal going out of the antana. I look forward to the next session, thanks Rick
Hey there, first off great video, thank you so much! At 6:56 when you show the serial output from the scan result, you highlight channel 25 however that is not channel 25. It is in hex, so it is actually channel 37.
As always a very informative video! I always have to watch your videos several times as they have such a plethora of information to digest. Keep up the great work!
+Jon Raymond I try to keep my videos below 10 minutes. This might lead to a certain compression. But it happens to me sometimes, too with other videos. I think this is a big advantage of RU-vid: If I didnt get it the first time I just rewind a few seconds or minutes and then, most of the times, it is clearer.
8:38 I don't understand openReadingPipe Function. Why there are 2 paramenter for openReadingPipe (parameter#1, parameter#2) but there's only one parameter? What is purpose of 1st parameter for openReadingPipe? What is the different between openReadingPipe(0, ...) and openReadingPipe(1,...)?
Experimenting on a smaller version of this NRF2401L. Got additional info : Status 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0, RX_ADDR_PO-1 = 0X0000000000, RX_ADDR_P2-5 = 0X00 etc. Only getting zeros inside my room. I hope it´s working.
Great, I have a question: I have a NRF24 network, how can I tell when I lose communication with a NRF24 on the network? I use the RF24 and RF24Network library. Thanks.
@@AndreasSpiess ohk then, i correct my question , how to convert scanner output into Excel and how to read it ? How do we know that this channel is free or not ? Bdw thanks for the response😊
Andreas, very informative video, thank-you. I have two points of confusion, where clarification would be helpful. I've been able to get the raw noise data from the serial monitor, but I fail to understand how you differentiate between channel numbers and what the binary information means. From a layman's point of view it seems you pull channel 24 out of a hat. the channel number isn't contiguous and I see nothing in the raw data, that differentiates specific channel numbers from the rest of the data. You also reference video #3 in regard to importing data into Excel, however there doesn't seem to be a 3rd part to your NFR24L01 videos.
The first two rows show the channel number and the other rows show the signal strenth on this channel at a particular time. If you see 0, the channel is free. So, you search for channels which stay free for a long time.
Thanks so much for the response Andreas. I'll go back and see if I can make some sense of it, now that I have an understanding of how to delineate the information.
Andreas, my results of the scanner is : 000000000000000011111111111111112222222222222222333333333333333344444444444444445555555555555555666666666666666677777777777777 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd 000000010000000000000000000000000000000000000000000000011110000000200000000000000000000000000000000000000000000000000000000000 is it normal? I dont understand the result.. thank you. Marc.
at 6:57 you have shown 2 graphs/charts using the traffic data , can you please provide some useful links on how to do it, or tell yourself what was the process in brief
@@AndreasSpiess I guess then its time for you to lead the way for your followers, including me. I was surprised when i compared BLE data sending current consumption. ESP32 on full throttle consumed 150mA (including IMU and WiFi disabled + no computation on processor) but NRF52 only consumed 38mA which is a huge difference.
@@AndreasSpiesswhat! Jammers are fun why would someone not like it... you are old i think that's why you don't like them ...come on old man I'm stuck help me out
Add commas into the scanner sketch as in printf(",") in the for i loops. The data can then be copied from the monitor screen and pasted into Excel. Select the data in Excel and copy it then paste special transpose. Add a channel number column 0 to 124 then insert an x-y chart.
I am working on a project like this but I really need help in making it 'Failsafe' . If the Tx fails, I want the Rx to shut down. ANY help would be much appreciated : )
Very great tutorial but using the library Tmrh20 results that the receiving rf24 doesn't start unless the serial monitor of the transmitter starts, how can i fix that??
Ok thank you for your reply, but i have another question related to the nrf24l01, when i send an array of 12 elements (6x2), i use serial printing, i got the first 6 only
hello, I am a student and i need some help for my project, may you help me? i want to display information from a soil moisture sensor(from the serial monitor in percentage) using nrf24l01 from one arduino to another, do you know how I might to do that? sorry i am still a beginner it.... and thank you for the video it is great :)
I would propose to start out with a block diagram. There, you should see, which problems you have to solve and you can start with one part and go on to the next. With this method, it is also easy to google for particular solutions because you can formulate your problem and questions very precise. Google is not good in answering broad questions. You find many tutorials for each aspect of your project, and if you are patient, you will be able to solve it. I also did not know anything about electronics when I was born and had to learn everything ;-)
That could be very helpful in my project - temperature sensors network. I were so optimistic abou it, but an error get me to the ground.. When I compile "scanner" I get the message "sketch\output\scanner.cpp:1:22: fatal error: WProgram.h: No such file or directory #include " I did some research and I found out that i must change in scanner.cpp "WProgram.h" to "Arduino.h" and I did.. and I get more error messages,... I'm fresh user of Windows 10. Could You have some advise for me?
+mamdobreklapki0 Which library do you use? RF24? Which IDE version do you use? Did you include the library with Sketch->include library-> manage libraries (and search for NRF24). Then install RF24 by TMRh20 library. It has nothing to do with Windows10.
+mamdobreklapki0 I still use 1.6.5. This version seems to be quite stable. I see no obvious readon for your error. So, I cannot help you because I will not upgrade to a higher version for the moment.
No, you have to program it yourself, I think,this is not easy. Because these devices work only on short distance, it is usually enough if you scan your channels from time to time and select a free one.
Pipe address and channels are something completely different. Pipe addresses must be the same for both NRF if they should communicate. For ease, use my examples. The channel is set with the command radio.setChannel(0x34); or similar.
Hey! I know it's out of context but can I use a motor driver in order to create sinusoidal or just alternating current ? Will it burn down ? I know it's possible but I was thinking that since it's not made for this I will fry the hell out of him :)) Thanks in advance!
@@AndreasSpiess Ich habe wohl seit Jahren ein Pinout an der Wand ausgedruckt das MISO und MOSI vertauscht hat :( Dazu kommt dass die RF lib nicht merkt, wenn kein Device da ist sondern einfach behauptet es sei ein nrf24l01+. Das scanner-Sketch hat noch einen Sender-Modus, wenn man sich den Code anschaut. Und der NRF braucht mehr Strom als mein Arduino Nano am 3V3 anbieten kann... Das alles war sehr verwirrend aber jetzt geht's! Danke