use NRF as a BLE Module | Arduino NRF24L01 Bluetooth Low Energy Tutorial
Вставка
- Опубліковано 4 сер 2020
- #electronicguru #electronic_guru #NRF24L01
________________________________________________
This video sponsored by PCBGOGO & order your PCBs from PCBGOGO & get $50 coupon on new registration : $5 for 10 PCBs; PCB assembly from $30.
www.pcbgogo.com
_________________________________________________
________________________________________
Support me on PayPal :
paypal.me/electronicguru007
electronicGURU Instagram :
electronicguru0...
electronicGURU FB page : - / electronicguru001
visit my site :
electronicguru.in
__________________________________________
buy nrf24l01 :
www.banggood.in/3Pcs-NRF24L01...
www.banggood.in/NRF24L01-SI24...
www.banggood.in/5Pcs-NRF24L01...
buy arduino uno :
www.banggood.in/Wholesale-Gee...
www.banggood.in/3Pcs-UNO-R3-A...
www.banggood.in/UNO-R3-ATmega...
buy jumper wires :
www.banggood.in/120pcs-20cm-M...
www.banggood.in/40pcs-20cm-Ma...
www.banggood.in/120Pcs-20cm-M...
www.banggood.in/40pcs-10cm-Ma...
www.banggood.in/200pcs-10cm-M...
www.banggood.in/40pcs-10cm-Fe...
www.banggood.in/200pcs-10cm-F...
Buy Arduino starter kit:
www.banggood.in/Geekcreit-UNO...
www.banggood.in/Geekcreit-Meg...
www.banggood.in/Geekcreit-UNO...
Sensor Kits :
www.banggood.in/Geekcreit-37-...
www.banggood.in/45-IN-137-IN-...
_____________________________________________ - Наука та технологія
Excellent vid, clear, concise and has a bundle of info.
Thanks you brother, happy to help. 😊👍
Muy interesante, gracias por compartir!
Very helpful video, thanks
I am happy that it helped.your welcome.
Great project thanks for documenting so well, I got 200m line-of-sight NRF24L01PA+LNA -to-smartphone. I didnt check the other way, I expect it will be much less. Also about to try with old wifi grid antenna for better range.
Cheers
Yeah it may definitely give you a better range. Good luck 😃
Great full contents
Thank you
Good concept sir
Thanks buddy 👍😊
Wow!
Thank you 😊👍
Thanks for the video it helped a lot. :D
Do you know if it's possible to connect to others app (like the MIT app inventor ) than the "nfr connect for mobile" with the BTLE library ?
I think we can. I just haven't tried it. Because i think other apps can recognise it but they might have some issue with understanding the data but it should work. Anyways nice idea , i will download some third party app and i will try it.
@@electronicGURU okay thank you very much, i'll try to connect to it, if it works i'll you know.
Tell me if you manage to connect it to a third party app, that would help me a lot !
Okay sure as soon as i'll get the time i will try it and let you know.
Very interesting project. Is it possible to improve your audio quality? I think it is an echo that makes it somewhat difficult to understand.
Yeah i am working on that brother, bought a bunch of microphones but still not able to achieve the best.. actually previously i was using a studio microphone which is at my other city and i can't get it because of pandemic so i am stuck with these lapel mic
Is possible to communicate with esp32 ble instead of using Android phone.
I did the "receive" example, leaving everything on defaults, like you did, but I am only seeing packages arrive on the Serial Monitor, every other second, or even less than that. Sometimes many seconds pass, without anything showing up.
This suggests to me that there is a very high rate of package loss, like 80% or so. Any idea how to debug this?
did you use any delay?
i am not sure man you can print the device info from the packagaes , but it is mostly the case that you will not recieve continuously, and yes there could be some package lost but our nrf has ble capabilities it is not a ble thogh so we are limited here to alot of things. but you might wanna implement some logic to get device info from packages and print it. and when you run recieve code it will try to pick anything it can find. so you gotta restrict that , thats why we send device info to identify our package.
Can nrf24 be used as Bluetooth audio reciver ?
Yeah!! First!!
First?
@@electronicGURU yes first view, like, comment
Okay thanks man 👍
Hello
I had a question .
I wanted to see how to write an Android application and download and display this data on the phone.
Do you have a source for this?
thanks for your help
It can be done but for these kind of functionalities you need a Android/JAVA developer to write the full application which could be complex because as of now things like MIT app inventor may not be able to help in this scenario because it is very specific thing to do & MIT app inventor & such are generic but it is worth a try , but i hardly think that it could work. The best solution is to write a proper android application from scratch.
Hey! I tried using the NRF24 as BLE following your video. I have made the same connections and uploaded the example send code. However, I am not able to see any Foobar named device on my mobile phone app. Can you point out any possible source of error?
oh is it the case? i would suggest check if power is correct and try to test the NRF it is in good condition. Sometimes NRF gives a lot of trouble because 2.4GHZ band is very CROWDED & most of the time power issue. It could use a capacitor to stabilize the power
hey , can the BLE module to be sender and receiver ? i want to create a project by using beacon and a robot ... i want to give a command to the robot through the beacon to be slow or stop. For example if i pressed a button in the beacon section the robot will go slow. but this function will happen if the robot is close to the beacon .
thankyou !
so i just want to make the beacon send a value to the robot like "robot speed" and then the robot calculating by their function to make it slow or stop
Hi , i would like to tell you the NRF is not exactly a BLE , somehow it possess some of BLE's quality so it can do few things but sending and receiving data fully will not work as you are expecting it could work but i am not sure that it will be good idea. Please use a proper BLE module.
@@electronicGURU thanks for the info, but can you give me a suggestion about how can i "control" maybe 2 or more robots using beacon ? I just want to know how beacon can pass "speed" value to all the robot and then the robot will calculate speed by itself to drive the motor so that all the robot will going to stop or slow, and then what type of beacon would have to use ? Thankyou !
Do you wanna stick with BLE ? go with RF man..!! NRF might not serve as good BLE but it is a very good RF module it can create multiple pipes at once and you can control multiple robots by just one controller.
Hello, nice video! Can you help me out? I have a RF Nano, a microcontroller with built-in nRF24L01. Used the example code with foobar but can't find it in nRF Mobile. Please help and keep it up :)
Please find the schmatics for your board it might be due to pins configuration so just check which pin they are connected to and then just change those ce & csn pin in code and you are good to go , i guess. Try it and let me know if it works. Otherwise we will try something else.
Does it work with the nrf24l01+ and plus pro ?
yes it does, what do you mean plus pro ? did you mean pa+lna ? if you mean that then yes it should even with pa+lna model i hope you could even get a good range and no package drop
and basically any version of nrf24l01 will work
even the never upper models of nrf too - not sure how true is that but i think they should
@@electronicGURU yeah ecaxtly - that's what's I meant - realy long range Bluetooth Le woul be great and ecaxtly what I need for my Project. I just didn't know what the version with the antenna amplifier was called :))
well buddy i don't think so it can see the nrf can read long range signals but the issue is mobile cant mobiles ble range is limited.
so there is a slight chance it might not work not sure but who knows.
Can you make a custom app for ble ?
No Bro , too time taking
I want to send simple numbers (like 1,2,3) to the NRF24L01 connected to an Arduino with an android App which has buttons for these numbers.
- Is that possible?
- Do I have to advertise in my app like the nrf connect app does?
- Is it possible to make a client-server connection between the NRF24L01 and the smartphone?
Yes you need to make an advertisement , i am already working on that video hoping to get it complete by next monthm
@@electronicGURU In Android Studio there ist the sample for bluetooth advertisement. Unfortunately it doesn't work immediately without any changes in the code of the app...
You can NRF CONNECT for mobile app to create a advertisement.
@@electronicGURU Yes I know but that is not what I want to do. I want to advertise like the nRF app but in my own app with my own data.
Then you need to get the source code of nrf app so that you can see how they implemented it. Which will not be available i think.
can I make a BLE scanner using NRF24 and arduino?
actually i haven't tried so I don't have exact idea but in my opinion , NRF's BLE capabilities are very limited so it might have some problems but as it can read any ble advertisement (most of them) , it might work.
Pcb gogo is chines website?
Yes...
Will this work as a hid device?
It will not but you can make it work if you write a code for HID.
the first example send is not working. I connected everything. RX light blinks on arduino. nothing else. I mean the app on smartphone did not showed any "foobar"
RF24 radio(10,9);
Bro can we use nrf24l01 as wifi module ?
no sir not possible