How to work with the NRF24L01+ Best Wireless Communication for Arduino

  Рет қаралды 201,646

Kevin Darrah

Kevin Darrah

Күн бұрын

Пікірлер: 252
@philbx1
@philbx1 9 жыл бұрын
No, myself I don't like just using libraries if at all possible (unless super-complicated) and I really appreciate your great effort in explaining the details in using these RF modules. Many thanks!
@kevinnicholls1017
@kevinnicholls1017 8 жыл бұрын
Thank you for your generosity in sharing a great project. This is a really great video that gets to grips with the NRF24L01 and encourages people to grapple with the data sheet rather than using a library. This is well structured code and lays out the way to approach any project/ attached device without depending on libraries. Excellent work.
@RealationGames
@RealationGames 10 жыл бұрын
I also got these just couple weeks ago! I was also planning to use these in home automation. I've already used 433Mhz, but they are power hogs and receivers don't have the same flexibility of transceivers. Thanks Kevin!
@Kevindarrah
@Kevindarrah 10 жыл бұрын
Yep, I have worked with the cheap RF links in the past, so really happy to have discovered the NRF
@Sabhail_ar_Alba
@Sabhail_ar_Alba 10 жыл бұрын
They are not very stable and the most frustrating module I've ever used.
@rfjgfude
@rfjgfude 9 жыл бұрын
This video is great for appreciating libraries. There is no way a 'non-programmer' like myself could ever do this in a reasonable amount of time.
@pslamba
@pslamba 10 жыл бұрын
I haven't read through all of the comments, but another way to integrate the NRF24L01+ with an Arduino and breadboard is to use Dupont female-to-male jumper cables. The female ends would connect to the wireless module and the male ends would connect to either the Arduino pins or the breadboard.
@jamescullins2709
@jamescullins2709 10 жыл бұрын
Kevin, You are a natural teacher! very good job, got me excited to do some radio projects.
@bleem313
@bleem313 10 жыл бұрын
Can't wait to see where this goes! Especially interested in the mesh network part.
@Fenris0000
@Fenris0000 10 жыл бұрын
I had much trouble trying to breath life into a system with 2 PIC MCU's with NRF modules. I will try again, following Your instructions. Thank You Kevin for this amazing video!
@marcusamancio8302
@marcusamancio8302 4 жыл бұрын
Hi sir. I'm a little late but.. Good job. As a person who usually doesn't use arduino in my projects it's very hard to find people actually explaining how to do something. Instead people just show you how to copy the code and press the upload button. I'm modding my wireless xbox 360 controller to send data via nRF24L01 and using the vusb library to create a hid device on the other side. My goal is to make the controller act as mouse and keyboard. Looking for information is hard because, even though it's such a commonly used radio, most videos are just using a nrf24 with no explanation. Have a nice week.
@biplabroy8991
@biplabroy8991 10 жыл бұрын
You always explain difficult stuffs in a simple manner. Thank you.
@FARLY7
@FARLY7 10 жыл бұрын
A little tip: I'm pretty sure if you use Pin 10 as the chip select, which is the Arduino Uno's dedicated SPI CS pin, you will not need to manually pull the pin low and high every time you want to do a SPI transfer. The SPI library will handle it for you. I'm pretty sure this is how I've done it any time I've used SPI devices with the Arduino. It should help clean your code up a little bit :)
@Kevindarrah
@Kevindarrah 10 жыл бұрын
Thanks for the tip. For some reason I thought that was the Arduino's chip select pin when the Arduino is a slave on the bus
@cremedeju
@cremedeju 10 жыл бұрын
Dude your videos are awesome I have watched all of them keep it up I am learning so much
@larisacorder1846
@larisacorder1846 8 жыл бұрын
Thank you for the tutorial, immensely helpful. Would you consider making a follow up to this video with anything else you've learned from these modules? Maybe the mesh network you were talking about?
@ArduinoMan101
@ArduinoMan101 10 жыл бұрын
DUDE! Perfect timing, i just got a bunch of these for a project and was having some real trouble learning to use them! Thank you so much! You rock!
@Kevindarrah
@Kevindarrah 10 жыл бұрын
great! let me know how it goes
@airwinx
@airwinx 10 жыл бұрын
your code is superb! We need something like this that will show us the core programming of what those chip is doing. Keep it up and will wait for your next great tutorial!
@JRoode32
@JRoode32 10 жыл бұрын
Kevin thank you so much for sharing all this with us. Please keep going with this I am looking forward to seeing the mesh network stuff and anything else you want to share about these modules. I just ordered 20 of them because they are so cheap. Thanks again and keep pumping out the great videos
@MilanKarakas
@MilanKarakas 8 жыл бұрын
Thank you very much for this video. I am struggling with SPI understanding and trying to set Si4432 (433 MHz) to work. So far, no success, but I see few places where perhaps I missed something (for example "delay(1)" to let transfer of the data to settle).
@raybrok4724
@raybrok4724 10 жыл бұрын
Perfect timing indeed, i just got a bunch of these also for a light project.Great work. Thanks man.
@zener857
@zener857 10 жыл бұрын
Hi Kevin, you are a master, I've tried with arduino nano, but i dont have success, I'm going to try with your library. thanks a lot for your videos
@zhoeon
@zhoeon 10 жыл бұрын
Great detailed video. You may want to use "INPUT" or "OUTPUT rather than 0/1 for NRFpinmode, as well as "HIGH" or "LOW" rather than 1/0 in your NRFpinwrite()
@TradieTrev
@TradieTrev 10 жыл бұрын
Great stuff! I love how you roll! Your code is gold many thanks for the share!
@Kevindarrah
@Kevindarrah 10 жыл бұрын
thanks a lot!
@rodrigo_dm
@rodrigo_dm 7 жыл бұрын
THANK YOU SO MUCH. Im building a drone and all i wanted was some help to communicate with the nRF24 without external libraries. best video on the subject side by side with the one from iforce2d. thank you so much
@GeorgeDev
@GeorgeDev 10 жыл бұрын
Excellent video! I tried to program that rf chip with an arm cortex (lpc1114/302) but didn't work, but with this great video I understood some things, thanks and regards!
@Taran72
@Taran72 6 жыл бұрын
Wow! Another great video that says it all! Proud to be a Patreon supporter! :)
@rohandvivedi
@rohandvivedi 9 жыл бұрын
i was trying to do a similar communication. your video was really very helpful for my project. thanks for the video
@audhen1
@audhen1 10 жыл бұрын
Just donated for this magnificent tutorial. Thank you very much! :-)
@sportq
@sportq 10 жыл бұрын
Very nice work! the code also works on Energia with the TI Tiva C ARM boards and the MSP430 launchpads. If you do make it into a library it would nice if it remained compatible with Energia. I bought a bunch of these module on ebay for a few $$$ and will link them with this code as a basis.
@EnviralDesign
@EnviralDesign 10 жыл бұрын
Is this a practical wireless solution for sending large byte arrays, or character strings from arduino to arduino? Or would there be a significant amount of noise or dropped data in the transmission? Looking for cheap / streamlined / wireless ways to drive lots of neoPixel leds.
@lifescience2050
@lifescience2050 10 жыл бұрын
nice video! just wonder that important delay value (the sweet 1) is determined by the hardware (uno for example) ? the RF breakout? or just random?
@jaggamboa3848
@jaggamboa3848 5 жыл бұрын
I like your way of cabling, should share how you did it
@beehive808
@beehive808 10 жыл бұрын
Kevin This is the first video that goes into some depth, Please make more videos about this subject. It tried to hookup 3 nRF24L01+, 2 for transmitter, and one receiver. I put 1 TX in my shed and 1 TX in my garage, and the receiver is in the house. I setup transmitters to not transmit unless I had a alarm. The problem is, I had the one in the shed died, and I had no way to know that. I don’t know how to write the code for the TX’s to make a “I am a live” that TX ever 4 hours and tells the receiver all is well. About making a new board If you could make a board like SainSmart SKU: 20-011-937, 3.3V/5V Supply Voltage and IO Voltage switch, and have sockets for the nRF24L01+, and XBee modules, and other 3.3 device you would have the best of all worlds
@huwroberts4825
@huwroberts4825 7 жыл бұрын
Tidy Have this when compiled thro: Sketch uses 6990 bytes (21%) of program storage space. Maximum is 32256 bytes. Global variables use 1754 bytes (85%) of dynamic memory, leaving 294 bytes for local variables. Maximum is 2048 bytes. Low memory available, stability problems may occur.
@yellofication7834
@yellofication7834 10 жыл бұрын
PS.: some seem to work better or only when i put a finger on the ground pin of the device. but some of the ones without lna work pretty good with 40m range in the same config.
@IsaacC20
@IsaacC20 9 жыл бұрын
Kevin Darrah, Please correct me if I'm wrong. Summarizing your code: it is essentially a barebones implementation of how to configure the hardware on the nRF transceivers to send bits; it is code that would be in a driver library for the device though it does not implement any communication features (like error checking, bit-rate optimization, etc.) for users who intend to use it to communicate data. Not to criticize your video or argue that it wasn't helpful, I just wanted to know how your code bridges the gap between the hardware and the physical process of sending/receiving bits. This, I think, would make a good description for your video. Best, MT
@stevegarza434
@stevegarza434 9 жыл бұрын
Off topic: Have you ever used or tested an NIRD CO2 sensor with Arduino? Just wondering if you have a video of a similar project. Great video demo by the way.
@Elixz89
@Elixz89 8 жыл бұрын
Hey Kevin, is it possible for you to revisit the NRF24 module and show a demonstration how to set up auto ack with payload? I have tried it a million times but never succeeded at it. Much appreciated
@Kevindarrah
@Kevindarrah 8 жыл бұрын
yea, I definitely want to revisit this - especially low power modes
@Elixz89
@Elixz89 8 жыл бұрын
Thanks that would help a lot. I'm looking forward to your next video :D
@magnetscience
@magnetscience 10 жыл бұрын
Hi Kevin, Really nice video, much easier to follow than other NRF24L01 tutorials around. It let me code what I needed for my wireless project in 1 evening :-) Thanks
@X3X1T0
@X3X1T0 10 жыл бұрын
Hi, great video! Did you created the library for "easier" using? I'm getting troubbles trying to comunicate 2 transmitters to one receiver, not using your code, but using RF24Network.
@VishalBhingare_Ltd
@VishalBhingare_Ltd 7 жыл бұрын
Thanks Kevin for this wonderful video. Did you experiment more with NRF ?. I am planning to use NRF in one of my project and plan to develop sensor mesh to transmit data to host. Hope to see more of your videos on NRF and Arduino.
@moah909
@moah909 10 жыл бұрын
I just bought a bunch of these! Awesome now I know how to use them.
@fxuchun
@fxuchun 10 жыл бұрын
Hi me again. Here is a link that sells your type of module. It only sells 2.5 Yen (less than half dollar). And the description of that module clearly states it's a SI24R1 made in Taiwan.
@sab229
@sab229 9 жыл бұрын
Is this based on line of sight communication or is it able to transmit data from one room to another or are there problems due to concrete wall shielding? Can this be used in a quadrotor ?
@JoopMedia
@JoopMedia 10 жыл бұрын
Hey Kevin, well delivered (as usual) and funnily enough I've just bought a 315Mhz RX & TX for a project I'm working on, please could you give me an indication of the expected range assuming line of sight (no walls). I went for 315Mhz coz final usage will be woodland environment where lower frequency will propagate more effectively, however, the 'transceiverness' may be worth the range hit :) thanks for your great channel bud.
@Kevindarrah
@Kevindarrah 10 жыл бұрын
They worked from one end of my house to the other with the doors closed without issue. That's about all the testing I've done with them.
@JoopMedia
@JoopMedia 10 жыл бұрын
Thanks Kevin, what we talking here? 10mw or so? I'm guessing around 30 meters open air max perhaps? Cheers
@Kevindarrah
@Kevindarrah 10 жыл бұрын
I plan on doing a full blown range test with these things, so I'll keep you posted
@TradieTrev
@TradieTrev 10 жыл бұрын
Hey Joop Media if it's any help get in touch with your local radio club, I'm sure a ham operator could give you as much power as needed :)
@JoopMedia
@JoopMedia 10 жыл бұрын
i've got some 1W transmitters here but i need something to run via single cell LiPo
@JuanFloresQuiroga
@JuanFloresQuiroga 10 жыл бұрын
Hi!! Amazing stuff. Any news about a library? It would be a must have. Thanks again for the code
@MohanLate
@MohanLate 10 жыл бұрын
Hi Kevin, Great video as always. You are a born inventor and teacher...deadly combination! I was wondering if we can have n Arduino transmitters talk to a single Arduino..like a spoke and hub configuration. If so, how would your code change so that it knows which Arduino is send what. Thanks and keep it coming...
@jessievalladares
@jessievalladares 10 жыл бұрын
Hi kevin, im a huge fan of you, I believe ur a genius by getting this which I consider very hard projects to the reality and explain them so well. Thanks a lot in advance!! =D Im up to the task to test ur code and Im first understanding every part of it, and I happen to have a doubt: On NRF_ClearInterrupts() function u read bits 4,5 & 6 and if is a 1, then you write a 1 to clear them? And in 14:35 serial monitor says that when they are turned off, they have a 0.... Maybe its me that doesn't understand this quite well, thanks a lot if you solve me this Again awesome work ur doing with your videos! Cheers from mexico!
@Jmaturner
@Jmaturner 9 жыл бұрын
Thanks for the vids Kevin! I'm going to attempt this with an Arduino (hopefully an ATTiny or something small) as the transmitter and an intel galileo as the receiver. Any tips?
@mohammedzaman1937
@mohammedzaman1937 7 жыл бұрын
nice video. is it possible to add temp probe to one NRF module and turn on/off a relay on another NRF for a set temp.? thanks .
@michaeltayler8838
@michaeltayler8838 9 жыл бұрын
The template example works excellent, but I would like to try changing the RF channel during the main loop depending a value that is received via the serial port. Is there an easy way to set the register from an int instead of bit-by-bit using e.g. NRFwrite_bit_write(5,x,1);
@michaeltayler8838
@michaeltayler8838 9 жыл бұрын
I was thinking of something like the code below, but I am not finding a working solution. The serial print of NRF_get_address(5, 1); tells me I am setting the channel correctly, but the ping returns as failed. Any ideas why? //add to definitions char mydata[20]; int cc=0; int dd=0; int ddbinary[7]; void loop(){// loop start loop start loop start loop start loop start while (Serial.available() == 0); mydata[cc] = Serial.read(); cc++; if(cc==11) { while (Serial.available() > 0) { Serial.read(); } Serial.println(mydata); //Optional. Use for debug. cc=0; if(mydata[0]=='A' && mydata[3]==':' && mydata[6]==':' && mydata[9]=='T' && mydata[10]=='X') {//Data parsed to rule Ann:nn:nnTX where n is any integer, e.g. A55:12:87TX dd = 10*(mydata[1] - '0') + (mydata[2]-'0'); if(dd
@thepartypinguin-nl
@thepartypinguin-nl 9 жыл бұрын
i might be late with this question but can you use this to sent a signal from a potentiometer to the other arduino to turn a servo??
@phoenixperry2164
@phoenixperry2164 8 жыл бұрын
Thank you for making a super useful video w/ code.
@MaferAguinaga
@MaferAguinaga 9 жыл бұрын
Hi, did you made the board for the nrf24l01 and the arguing, I would love to see that shield.
@yellofication7834
@yellofication7834 10 жыл бұрын
I have got 20 various boards with NRF24L01+. Mainly 2 types one with LNA one without. I also built breadboard adapters with proper decoupled voltage regs and did a looooooot of testing. The quality varies massively. Throuput varies alot from board to board some are not functioning. Some needed reflowing and work better now. The LNA types are not really x compatible. They dont work together with the ones without LNA.
@yaghiyahbrenner8902
@yaghiyahbrenner8902 10 жыл бұрын
quite an upgrade from the 433Mhz RF Module.
@NerdPanic
@NerdPanic 9 жыл бұрын
You said the transciever only runs on 3.3V, and you need a separate regulator to power it if you run it with arduino. But you don't use any regulators in your video, it's just the Arduino @5V, and the radio with cables soldered to it. Could you (or anyone) please clarify this to me?
@3deeguy
@3deeguy 9 жыл бұрын
+Some Guy I don't program Arduinos but you could supply it with 3.3v through a voltage divider. You should be able to use the same power source. (I program Parallax Propellers which is a 3.3v micro.) Be aware that if you use a common power supply 'and' a common ground you may have to filter out electrical noise.
@TheDrivenMind
@TheDrivenMind 9 жыл бұрын
+Some Guy Arduino boards have on-board 3.3V regulators. There is a 3.3V power output pin from that regulator that you can use, as he did here.
@terraria103
@terraria103 8 жыл бұрын
Is there any risk of messing up the 2.4GHz WiFi in the same area? Will these generate any interference or noise? What if the RF transmitters are transmitting a lot of data (like for a minute solid)?
@MohammadMansourDroid
@MohammadMansourDroid 10 жыл бұрын
Thanks for the very clear explanation, we r too lazy to read the datasheet and that is y u made this video for the likes of us ;-) Anyway, can you explain why u r reinventing the wheel ?! There r already two great libraries (MiRF & RF24) that seems to work fine Is there a missing feature u r aiming to have ?!
@gaiifafa1306
@gaiifafa1306 10 жыл бұрын
Actually this is a perfect video for me. I'm sick of buying sensors and then being not able to use the libraries for my projects because I can't use the datasheet, I'm still climbing the geek ladder. I'll try to learn this in and out so I can get the hang of writing my own libraries.
@DailyOpinionsUSA
@DailyOpinionsUSA 9 жыл бұрын
for this RF module, if you have more than one receivers, are they all going to receive the same message?
@henrychoquemaquera5097
@henrychoquemaquera5097 7 жыл бұрын
Hi, I love the video on 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
@3kilah
@3kilah 9 жыл бұрын
Im wondering, why are u writing ur code from scratch, and avoiding using libraries? What the benifite from doing so ?
@excaliber808
@excaliber808 9 жыл бұрын
People who do not take the time to write their own codes will never learn.. I've seen people that use Arduino that cannot write a blink sketch but they copy sketches written by others. This may work sometimes but when you run into errors you need to know how to diagnose and solve the error hence the reason anytime you can practice using correct functions with the correct syntax will further your skills as a coder / tech. Cheers friend Aj
@marinehm
@marinehm 8 жыл бұрын
+Anthony Odin (A.J.)I realize this is months old. Amen!!! I'm fairly new to the arduino scene but I insist on writing from scratch otherwise I have no clue what's going on under the hood. When my car breaks down, I break out the tools, NOT kick the tires and scratch my head. Yup, that's an engine!!!
@wellyntongbreton8227
@wellyntongbreton8227 9 жыл бұрын
Kevin, Thank you for your videos. Can I bind one of these NRF24L01 with an RC Remote control (also 2.4 GH) I have from a broken Quad Copter? How?
@guyd6742
@guyd6742 9 жыл бұрын
hi kevin, how do you connect the button and the led ? i need the pin what you use ? Guy.
@jamescullins2709
@jamescullins2709 10 жыл бұрын
Kevin, have you built the libary for the NRF24L01 ?
@SleeTheSloth
@SleeTheSloth 10 жыл бұрын
Can I use this on 3 Arduino Mega 2560's ? I want one as the main and the other two as Exstein's?
@MkmeOrg
@MkmeOrg 10 жыл бұрын
I hadn't heard of these. VERY cool. I'm going to give these a try- under a buck a piece- I have to try! Thanks for the tutorial and info. Cheers
@TheSolderingGuy007
@TheSolderingGuy007 7 жыл бұрын
Finally a video on how the thing works. Most other videos just say, here is how you connect and here is the library you use, now please like, comment and subscribe and please donate via patreon ;-)
@dreded7961
@dreded7961 10 жыл бұрын
Love the way you thought to have the "slaves" remotely configured... one quick issue... if I ping the two arduino's I have no issues they send successful forever but using your led/switch example it works for the first few seconds to a few minutes then the serial monitor writes "No Mode Byte Identified!" and it stops working sometimes leaving the led on sometimes leaving it off any ideas? if I then reset the master it continues on.. so the master is freezing for some reason
@dreded7961
@dreded7961 10 жыл бұрын
never mind... the issue was that I had written the same code to both arduino's apparently the slaves loop needs to be blank which makes sense... since for this type of application it would be nice to write the same code to all duino's I simply set pin8 as INPUT_PULLUP and check to see its state.. if its LOW then set as master if its high set as slave(skip code in loop)
@pilotnanda
@pilotnanda 10 жыл бұрын
Hey Kevin.... Awesome Vids..... I need a wireless Cam that can be connected to a PC for a Project. the basic Layout is simple.... Cam to Ardunio,ardunio to Xbee(any transmitting Sys).. and from there to PC.... Can u share your thoughts on how to Achieve it Thanks in advance
@kitbot2318
@kitbot2318 10 жыл бұрын
Nanda, AFAIK, you cannot use Arduino to stream live feed from a camera to PC over Xbee or anything.
@alphonsra
@alphonsra 4 жыл бұрын
hi, the video is awesome. i learned a lot but when i use the code with my arduinos in the serial monitor of the transmitter it is printed "PING FAIL" in all the pings and just 1 "PING SUCCESSFUL", i don't know what to do, if you can help would be awesome, thanks btw
@sumitsingh-ch8xi
@sumitsingh-ch8xi 4 жыл бұрын
Hi can you do a video for nrf with Rpi ....... ?
@Menimitz
@Menimitz 10 жыл бұрын
I tried the code with the ping function and only got a successful ping once over 20 or 30 packets maybe while moving the RF modules around. Not really sure where to go from there. Hopefully I'll get this code working, looks like a cool project.
@Menimitz
@Menimitz 10 жыл бұрын
Well apparently I was wrong. I only get a successful ping when 0 is the value transmitted. That means no data is getting through. I sure hope its me and not the cheap ebay tranceivers I bought.
@skyfire7163
@skyfire7163 10 жыл бұрын
It's an absolutly amazing video I didn't understand everything but it's my failur because my English is veery bad but you done that amazing with the code
@sanu7210
@sanu7210 5 жыл бұрын
Is tge effect if i add long antena , if i add bigger antena can effect on my module
@darrenallen1387
@darrenallen1387 6 жыл бұрын
Probably never see this but awesome video great info!!! Thanks
@prasanjitdey241
@prasanjitdey241 6 жыл бұрын
Can I send the voice signal using ESP8266 wifi module
@shlomicthail
@shlomicthail 10 жыл бұрын
Hi Kevin i wonder if you looked into z-wave integration here as you talk about mesh network and i think they do it best - i'm myself in a dilemma if to start my own protocol or not , its not an easy task. what do you think
@mrlazda
@mrlazda 10 жыл бұрын
Why anyone want to bother to write it own protocol, just use some industry standard protocol like ZigBee (Z-Wave is much less common and have only limited application and is not open and you have only one vendor) for which you have many vendors and is mature protocol.
@shlomicthail
@shlomicthail 10 жыл бұрын
I was not about to write my own protocol this why I commented, regarding z-wave you are so wrong , there are many that support it like openhab, open remote and many more, there are plenty of devices , on the contrary when i looked at zigbee all i could find was specs and standards no products.
@mrlazda
@mrlazda 10 жыл бұрын
Shlomi Cohen I suppose the you never heard for companies like Texas Instruments (CC2531, CC2530), Silicon Labs (EM358x, EM357x), Marvell (88MZ100), Freescale (MC1323x), NXP (JN-516x), Atmel (ATZB-24-B0) Telink (TLSR8636), Digi (XBee ....) Telegesis (ETRX3, ETRX3587), ST (STM32W10x) because all of them are running ZigBee protocol, on other hand only manufacturer that support Z-Wave is Sigma Designs (500 Series Products). If you want to learn difference this can help you (where they state that only place where Z-Wave win over ZigBee is that all devices are 100% compatible because there is only one manufacturer of modules for it) zwaveguide.com/z-wave-vs-zigbee/
@shlomicthail
@shlomicthail 10 жыл бұрын
you compiled a nice list and yes i know them but please explain why many controller apps do not support zigbee , at least not OOB. here one example from openhab www.openhab.org/features-tech.html
@mrlazda
@mrlazda 10 жыл бұрын
Shlomi Cohen Why openhab don't support zigbee as it is totally irrelevant (they don't support 99% of other products too), they support only low end products. And if you read better you will see that in fact they support it Philips Hue is effectively an HTTP to ZigBee bridge (the bulbs are ZigBee LightLink nodes controlled by the Philips Hue Controller).
@blueghost1366
@blueghost1366 10 жыл бұрын
could these modules be used for video streaming with a webcam?
@Huynh-Tan-Quoc
@Huynh-Tan-Quoc 10 жыл бұрын
thanks so much, I thinks that it will help me very much for my new project . :). I love how to you made.
@SMorrizz
@SMorrizz 9 жыл бұрын
I have two NRF24L01 and two Arduino nano's. Programmed one as transmitter and the other as receivers. Cant get it to work as expected. Even i slapped a 4.7uf capacitor on both the NRF modules. Both arduinos are powered by 5V output. Trasmitter with the 5V from an ESC that is powered by 7.4V 2S lipo and the receiver is connected the USB port. Both NRF modules are powered by 3.3 output from the Nanos. Not sure what i need to check now and I am stuck. Could you please help.
@sureshkumarmarichamy
@sureshkumarmarichamy 8 жыл бұрын
Ok. How many module can I use ?. it interference with other module ?. I am asking for example I am using arduino uno as primary and then AT tiny as secondary. If I am connecting HC05 bluetooth with uno. then these nrf24l01 is connected many with this uno. then receiver side each AT tiny connected with nrf module.
@yesow747
@yesow747 8 жыл бұрын
Hey Kevin, I am currently planning a project where I control a Quadcopter using a Joystick connected to a PC and have one of these Nrf's send the controls to the Quad. Is is possible to do such a thing? I understand it will be a hard task but I am really determined to do it. If yes, can it be done with Java? as it is my most fluent computer language
@TheRodionRaskolnikow
@TheRodionRaskolnikow 10 жыл бұрын
I have a question, when I'm doing ping test, and i have like 4 successfull and 4 fails, and 4 Successfull and 4 fails etc, or i have no connection ( all fails ). Is it because of the electrical noise or it can be something else ? I have 1 transreciver on a arduino Uno, and 1 atmega on a breadboard.
@Sabhail_ar_Alba
@Sabhail_ar_Alba 10 жыл бұрын
Good question, I worked on these devices for one year and never found them to be particularly stable. They are very sensitive to the 3.3 vdc supply and noisy, which is why I gave up on them. There are cheaper and more stable alternatives out there.
@akshaybhosale526
@akshaybhosale526 6 жыл бұрын
Will the same code work for an nrf with antenna?
@diljotsingh115
@diljotsingh115 8 жыл бұрын
HEY +Kevin Darrah i need help in my project i am building a wireless gas senor that can be carried away by a quadcopter and can trasmmit value on ground in real time
@ReinkeDK
@ReinkeDK 10 жыл бұрын
Have you stopped doing your home control project?
@caribbeanchild
@caribbeanchild 6 жыл бұрын
If running on 5 volts just get your 3.3 volts from the Arduino 3.3 volt pin! Why do you need a separate regulator? The things draws 12 ma when transmitting.
@bigbread9000000
@bigbread9000000 8 жыл бұрын
I try to comprehend these videos before I too start sipping the beer.
@SandwichMitGurke
@SandwichMitGurke 8 жыл бұрын
i have a arduino pro micro, which doesn't have pins 11-13. although i have changed the pins to the ones available it is not working. do you know whether something is different with the pro micro? p.s the other board im using is arduino mega 2560
@LeonardoBaracat
@LeonardoBaracat 9 жыл бұрын
Hi Kevin, Thanks for your work and your code. I'm messing with this right now and I'm having some problems. It's OK, I'm working on it. But I got a problem in your code. The NRF_ping uses random(256) which means any number between 0 and 255. When it's zero, it returns successful, even if it had failed. To avoid this (not so big) problem, change random(256) to: random(1,256) Or random(255) + 1 I personally prefer the second one. =) Regards, Leonardo
@JTeelen
@JTeelen 10 жыл бұрын
Very good video! Thanks a lot! Jeroen Teelen
@raphaelbridi
@raphaelbridi 6 жыл бұрын
I love you. Thanks for this gold explanation!!
@jamescameroon11
@jamescameroon11 9 жыл бұрын
Where you initialized the variable address = pipe+32+16+1?
@DMike92.
@DMike92. 9 жыл бұрын
+Adoni Aamir At 11:30 if I understand your question correctly.
@mrunalahirao9256
@mrunalahirao9256 9 жыл бұрын
The frequency of nRF module is 2.4Ghz right? so will it cause any interference with Wifi nearby?
@DieBastler1234
@DieBastler1234 9 жыл бұрын
+Mrunal Ahirrao Yes, but the interference is not worse than the interference another Wifi would cause. At least for the cheap, low-power version in the video :) lg, couka
@SunilSheth
@SunilSheth 10 жыл бұрын
Great video buddy !!.......thank you for explaining the code step by step I am writing for PIC microcontroller.
@Bonebags
@Bonebags 9 жыл бұрын
What if I want to use multiple nRF24L01+ chips. How do I get one to transmit ONLY to another chip and not interfere with the others that are currently working?
@Loundre3
@Loundre3 6 жыл бұрын
Use the other pair of nRF24L01+ on a different frequency. Setting up the pipes to use different addresses will work to (according to the datasheet) if on the same frequency. Note that if using pipes, your limited to about 6 of them.
@onlinematters5045
@onlinematters5045 10 жыл бұрын
Does the Arduino not have a 3.3V pin?
@MPElectronique
@MPElectronique 10 жыл бұрын
Good video! :) thanks! do you have a transmitter and a receiver? where are the codes for BOTH?? thanks! marC:)
@codec862
@codec862 10 жыл бұрын
Its a transceiver so both ends contain a transmitter and receiver so they are driven the same way. If you mean the code for the base station and node though, idk about that
@ilhamnurfattah1218
@ilhamnurfattah1218 9 жыл бұрын
hi kevin, how can be the arduino with no code can work and fully controlled with the arduino that has the code? is there really no code in the arduino? i tried but it's not work :( Your answer will help me a lot !
@walterijenox
@walterijenox 9 жыл бұрын
Ilham nur fattah hi, i thinks is for the interruption of the receiver. at the second arduino is continuly waiting an interrupt from the rnf, into the interrupt the arduino reads and sends the port status and drives the ports that the other arduino tells to drive. jejeje sorry my english i hope you understand :-)
@emoney0826
@emoney0826 8 жыл бұрын
hey Kevin I have these modules but I can't get them to communicate. I've only used an example code and schematic to reference and I am doing everything correctly, and they still won't work. any suggestions???
@Kevindarrah
@Kevindarrah 8 жыл бұрын
hmm, not sure? got a scope? might want to look at each of the signals and make sure they're behaving correctly
@theSimonking
@theSimonking 10 жыл бұрын
maybe didn't hear it.. but whats the range of them?
NRF24L01 - Improve Performance and Reliability
15:55
aswan korula
Рет қаралды 6 М.
Getting Started with the nRF24L01 Transceiver
14:06
ForceTronics
Рет қаралды 88 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Рет қаралды 618 М.
#38 Advanced Tutorial for NRF24L01 and Arduino #2 Reliable Connections
13:47
Raspberry Pi Pico: nRF24L01 over SPI
19:05
Tinker Tech Trove
Рет қаралды 30 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,3 МЛН
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 536 М.
CAN Bus Communication Explained (Part 1)
33:44
GoTech
Рет қаралды 272 М.
#37 Advanced Tutorial for NRF24L01 and Arduino #1
10:49
Andreas Spiess
Рет қаралды 80 М.
Building a Wireless Sensor Network with the nRF24L01 Part 1
13:38
ForceTronics
Рет қаралды 103 М.
Уроки Ардуино. ПИД регулятор
28:57
Заметки Ардуинщика
Рет қаралды 487 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН