NRF24L01 Tips and Tricks - Cheap and Easy Wirless

Sdílet
Vložit
  • čas přidán 26. 08. 2024

Komentáře • 35

  • @SarahKchannel
    @SarahKchannel Před 2 lety +8

    I dont know which library you are using. I am using the nrf24 mesh library, which I found to be pretty awesome. As it allows for very dynamic network configurations, adding more sensors as you go etc...
    Also I have added a counter to each device, that performs a restart every so many data packets sent, or every so many failed attempts. This creates a bit of a self healing behavior to the entire system.
    At the indoor unit, I opted to build a 'router' from nRF24 to Wifi. This feeds the data to Node-Red, to Influx DB and then can be graphically accessed via a Graffana web page.

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 lety

      I'm using NRFlite. That's a good idea about restarting periodically.

  • @SarahKchannel
    @SarahKchannel Před 2 lety +6

    In my experience the cap is all you need. The culprit in most cases I observed is that the jumper cables are of really bad conductivity (made from chinesium and not copper).

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 lety +2

      Interesting. Good to know.

    • @SarahKchannel
      @SarahKchannel Před 2 lety

      @@RobertCowanDIY I have about 20 odd nrf's deployed at the moment and I always traced it back to the wiring and the 'buffer' capacitor that just levels out spikes as you described...

    • @AdityaMehendale
      @AdityaMehendale Před 2 lety

      @@SarahKchannel How is it on power-consumption? I can imagine that with 20-odd devices you likely rely on harvesting rather than whizzing around changing batteries the whole time..

    • @SarahKchannel
      @SarahKchannel Před 2 lety +1

      @@AdityaMehendale I do not know the power draw from the top of my head. I am running all the remote satellite ones of solar panels with 18650 batteries and ESP8266 (wemos) MCUs. The nrf24 does not draw that much power per se, you can control it by how often you send data - only in the mesh configuration you have less control over how much each node receives or transmits.

    • @Farmingforskills247
      @Farmingforskills247 Před měsícem

      Hello,
      I'm a beginner and wanted to make a gesture control car, using an MPU6050 and the nRF24L01 module for wireless communication. Plus Arduino UNO and NANO as microcontrollers for receiver and transmitter.
      But after wiring it all up I noticed that the angles from my aren't being transmitted to the receiver nRF.
      The return value of radio.write() is LOW, and the received value is NULL.
      Could you please suggest any fixes? I believe the issue isn't with the code, but I might be wrong. I cross-checked it with few examples and the code seems right. What do you think might be the issue?

  • @PeetHobby
    @PeetHobby Před 14 dny

    There’s no voltage regulator on the nRF24L01 modules, so you need to provide an external 3.3V supply. The Arduino's 3.3V regulator isn’t strong enough, so maybe that's what you meant. 🤷‍♂

  • @jbflores01
    @jbflores01 Před 8 měsíci +1

    very well explained! thanks!

    • @RobertCowanDIY
      @RobertCowanDIY  Před 8 měsíci

      Glad it was helpful!

    • @Farmingforskills247
      @Farmingforskills247 Před měsícem

      @@RobertCowanDIY Hello,
      I'm a beginner and wanted to make a gesture control car, using an MPU6050 and the nRF24L01 module for wireless communication. Plus Arduino UNO and NANO as microcontrollers for receiver and transmitter.
      But after wiring it all up I noticed that the angles from my aren't being transmitted to the receiver nRF.
      The return value of radio.write() is LOW, and the received value is NULL.
      Could you please suggest any fixes? I believe the issue isn't with the code, but I might be wrong. I cross-checked it with few examples and the code seems right. What do you think might be the issue?

  • @TeamPanicRobotics
    @TeamPanicRobotics Před 2 lety +1

    NRF24L01's are very handy
    I used them in 150g combat robots 6+ years ago when commercial RX gear wasn't as small/light
    My other reliability tip for them, if you are using them in a location where they get rattled or bumped regularly, add glue, potting compound or at least hot glue to the crystal as otherwise the crystal has a tendency to break

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 lety

      Got it. Padding for all electronics is a good practice!

  • @woolfy02
    @woolfy02 Před měsícem

    Do you know where else to purchase these modules that are high quality? From what I've read on Amazon, sometimes they don't work and the chip is completely different from what is shown.

    • @RobertCowanDIY
      @RobertCowanDIY  Před měsícem +1

      You can get something decent from SparkFun directly if you're concerned about getting something good with support.

    • @woolfy02
      @woolfy02 Před měsícem

      @@RobertCowanDIY thank you

  • @sargismartirosyan9946
    @sargismartirosyan9946 Před 6 měsíci +1

    Your weakness is programing 😢
    Interesting video tho 😊
    Can I use it to scan for wifies and connect to WiFi using it ? Or make a switch out of it and Arduino ?

    • @RobertCowanDIY
      @RobertCowanDIY  Před 6 měsíci +1

      This isn't wifi, it's a completely different wireless protocol.

    • @sargismartirosyan9946
      @sargismartirosyan9946 Před 6 měsíci

      @@RobertCowanDIY sad

    • @RobertCowanDIY
      @RobertCowanDIY  Před 6 měsíci

      @@sargismartirosyan9946 Haha, it's not sad. Wifi is a PAIN. This is a better point to point communications protocol.

    • @sargismartirosyan9946
      @sargismartirosyan9946 Před 6 měsíci

      @@RobertCowanDIY but I want to scan long ranges wifis using it

    • @RobertCowanDIY
      @RobertCowanDIY  Před 6 měsíci

      @@sargismartirosyan9946not all wireless is wifi. this isn't wifi, it's something else. is your car's radio wifi? no, but it's wireless. this is another wireless communication and has nothing to do with wifi. they make similar modules for wifi. look at ESP microcontrollers.

  • @MrDksmall
    @MrDksmall Před 2 lety

    You mentioned packet transmissions, so I assume you’re using packets with a checksum or CRC. Does your software track the number of bad packets you receive? Wondering just how clean your reception is across that distance and through walls.

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 lety

      I think I disabled that feature, but when I had it enabled, I wasn't seeing anything significant.

  • @moustaphamuhammad7013
    @moustaphamuhammad7013 Před 3 měsíci

    can you tell us where I can get the weather station you are using in your video. thanks