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-...
    _____________________________________________
  • Наука та технологія

КОМЕНТАРІ • 60

  • @jackmanjls
    @jackmanjls 3 роки тому +1

    Excellent vid, clear, concise and has a bundle of info.

    • @electronicGURU
      @electronicGURU  3 роки тому

      Thanks you brother, happy to help. 😊👍

  • @davydbar
    @davydbar 3 роки тому

    Muy interesante, gracias por compartir!

  • @logik100.0
    @logik100.0 3 роки тому +1

    Very helpful video, thanks

  • @p1366
    @p1366 3 роки тому +1

    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

    • @electronicGURU
      @electronicGURU  3 роки тому

      Yeah it may definitely give you a better range. Good luck 😃

  • @MuhammadDaudkhanTV100
    @MuhammadDaudkhanTV100 3 роки тому +1

    Great full contents

  • @technolabcreation
    @technolabcreation 3 роки тому +1

    Good concept sir

  • @x-6790
    @x-6790 3 роки тому +1

    Wow!

  • @ben-patry6291
    @ben-patry6291 3 роки тому +1

    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 ?

    • @electronicGURU
      @electronicGURU  3 роки тому +1

      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.

    • @ben-patry6291
      @ben-patry6291 3 роки тому +1

      @@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 !

    • @electronicGURU
      @electronicGURU  3 роки тому

      Okay sure as soon as i'll get the time i will try it and let you know.

  • @abpccpba
    @abpccpba 3 роки тому +4

    Very interesting project. Is it possible to improve your audio quality? I think it is an echo that makes it somewhat difficult to understand.

    • @electronicGURU
      @electronicGURU  3 роки тому +1

      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

  • @sanghpriyverma9845
    @sanghpriyverma9845 2 роки тому

    Is possible to communicate with esp32 ble instead of using Android phone.

  • @thokari5848
    @thokari5848 3 роки тому +1

    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?

    • @electronicGURU
      @electronicGURU  3 роки тому +1

      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.

  • @yogeshhingonekar5418
    @yogeshhingonekar5418 10 місяців тому

    Can nrf24 be used as Bluetooth audio reciver ?

  • @unitedrobotics7377
    @unitedrobotics7377 3 роки тому +3

    Yeah!! First!!

  • @heymed3331
    @heymed3331 3 роки тому +1

    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

    • @electronicGURU
      @electronicGURU  3 роки тому

      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.

  • @navanyasharma7376
    @navanyasharma7376 2 роки тому +1

    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?

    • @electronicGURU
      @electronicGURU  2 роки тому

      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

  • @Elexpedia
    @Elexpedia 3 роки тому +1

    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 !

    • @Elexpedia
      @Elexpedia 3 роки тому +1

      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

    • @electronicGURU
      @electronicGURU  3 роки тому

      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.

    • @Elexpedia
      @Elexpedia 3 роки тому +1

      @@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 !

    • @electronicGURU
      @electronicGURU  3 роки тому

      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.

  • @krujero
    @krujero 3 роки тому +1

    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 :)

    • @electronicGURU
      @electronicGURU  3 роки тому

      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.

  • @TecSanento
    @TecSanento 3 роки тому +1

    Does it work with the nrf24l01+ and plus pro ?

    • @electronicGURU
      @electronicGURU  3 роки тому

      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

    • @TecSanento
      @TecSanento 3 роки тому +1

      @@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 :))

    • @electronicGURU
      @electronicGURU  3 роки тому

      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.

  • @sanghpriyverma9845
    @sanghpriyverma9845 2 роки тому +1

    Can you make a custom app for ble ?

  • @KING1HSV1KING
    @KING1HSV1KING 3 роки тому +1

    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?

    • @electronicGURU
      @electronicGURU  3 роки тому

      Yes you need to make an advertisement , i am already working on that video hoping to get it complete by next monthm

    • @KING1HSV1KING
      @KING1HSV1KING 3 роки тому +1

      @@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...

    • @electronicGURU
      @electronicGURU  3 роки тому

      You can NRF CONNECT for mobile app to create a advertisement.

    • @KING1HSV1KING
      @KING1HSV1KING 3 роки тому +1

      @@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.

    • @electronicGURU
      @electronicGURU  3 роки тому

      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.

  • @subhabratabasu266
    @subhabratabasu266 3 роки тому +1

    can I make a BLE scanner using NRF24 and arduino?

    • @electronicGURU
      @electronicGURU  3 роки тому +1

      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.

  • @x-6790
    @x-6790 3 роки тому +1

    Pcb gogo is chines website?

  • @mashurshalehin4972
    @mashurshalehin4972 3 роки тому +1

    Will this work as a hid device?

    • @electronicGURU
      @electronicGURU  3 роки тому

      It will not but you can make it work if you write a code for HID.

  • @habi7630
    @habi7630 Рік тому

    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"

  • @santhoskumar2592
    @santhoskumar2592 3 роки тому +1

    Bro can we use nrf24l01 as wifi module ?