NRF24L01 Multiple Transmitters and Single Receiver for Sensor Monitoring using Arduino

Поділитися
Вставка
  • Опубліковано 2 сер 2024
  • PCBWay:
    High quality & Only 24 Hours Build time:
    www.pcbway.com/setinvite.aspx...
    Download Circuit Diagrams, Libraries, and Programming:
    www.electroniclinic.com/nrf24...
    Subscribe to my New UA-cam Channel, if you want to watch my videos in Hindi/Urdu
    / @letsgetstartedd
    Related NRF24L01 Videos:
    1. NRF24L01 with Arduino Getting Started Tutorial
    • NRF24L01 with Arduino,...
    2. NRF24L01 Radio control for RC Jet Plane
    • DIY RC Jet Plane Homem...
    3. Long Range Wireless 12V battery Voltage Monitoring using NRF24L01 and Android cell phone Application.
    • Long Range Wireless Ba...
    4. Long Range Wireless Industrial Temperature Monitoring
    • NRF24L01 based Wireles...
    5. LORA SX1278 433Mhz Long Range Wireless Transceiver with Arduino:
    • Lora SX1278/76/77/79 A...
    Support me on Patreon and get access to hundreds of projects:
    / electroniclinic
    sign up for a free account and download hardware designing and programming books:
    amzn.to/2WeBCw1
    ***********
    free Amazon Business Account:
    amzn.to/2MiPiBT
    ************
    Project Description:
    ********************
    As I said earlier, things get a little complicated when it comes to multiple sensors connected with multiple transmitters. The sensor values from the multiple transmitters based on the NRF24L01 Transceiver modules are sent to the single receiver. Now, at the receiver side, you should know exactly which value belongs to which sensor and from which transmitter the sensor value is received.
    These are the transmitter and receiver circuits that I used in the Long-range industrial temperature monitoring system. Now to explain the idea of how to use multiple NRF24L01 transmitters with a single receiver I made another Transmitter circuit. For demonstration purposes, I will use only two transmitters, but you can increase the number of transmitters which I will later explain in this video. So, as you can see both the transmitters are exactly the same. I have connected two potentiometers which I will use as the sensors. You can also increase the number of sensors as I have already used an array in the programming which can be used to store values of the multiple sensors.
    ********************
    Amazon Purchase links:
    *****************
    Arduino Nano USB-C Type ( recommended):
    amzn.to/4ahGLdk
    ESP32 WiFi + Bluetooth Module for iOT Projects (recommended), more IO pins, improved speed, and supports a Lipo Battery:
    amzn.to/3v40DkE
    NRF24L01 Transceiver Modules:
    amzn.to/3drQcZy
    NRF24L01 Transceiver Modules ”Smaller Ones”
    amzn.to/2IRllf6
    Other Must-Have Tools and Components:
    Top Arduino Sensors:
    amzn.to/3vZbnfM
    Super Starter kit for Beginners
    amzn.to/3cq56C5
    Top Oscilloscopes
    amzn.to/3ctF3d8
    Variable Supply:
    amzn.to/2PEAqE7
    Digital Multimeter:
    amzn.to/2QGRPg1
    Top Soldering iron kits: "best"
    amzn.to/39nqDtb
    Top Portable drill machines:
    amzn.to/3suQMh7
    Jumper Wires:
    amzn.to/2NYPEDA
    3D printers:
    amzn.to/3ruG1dt
    CNC Machines:
    amzn.to/3cuZWVv
    Electronics Accessories:
    amzn.to/3sueV7z
    Hardware Tools:
    amzn.to/3m9UhaN
    DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
    ****************
    Follow me on Facebook:
    / electronic-clinic-7697...
    Follow me on Instagram:
    / electroniclinic
    Email:
    stu_engineering@yahoo.com
    About the Electronic Clinic:
    Electronic Clinic is the only channel on UA-cam that covers all the engineering fields. Electronic Clinic helps the students and other professionals to learn electronics designing and programming. Electronic Clinic has tutorials on
    Arduino
    Raspberry PI
    image processing
    gsm based projects
    Bluetooth based projects
    esp8266 projects
    Nodemcu projects
    robotics
    desktop application designing and programming
    Project Related Tags:
    #NRF24L01MultipleTransmitters
    #NRF24L01Arduino
    #SensorMonitoring
    NRF24L01 MULTIPLE TRANSMITTERS AND SINGLE RECEIVER FOR SENSOR MONITORING USING ARDUINO
    MULTIPLE RF TRANSMITTERS ONE RECEIVER
    MULTIPLE TRANSMITTERS SINGLE RECEIVER
    MULTIPLE NRF24L01
    SINGLE NRF24L01
    NETWORK USING NRF24L01 MODULES
    Arduino multiple transmitters and one receiver
  • Наука та технологія

КОМЕНТАРІ • 83

  • @batticha462
    @batticha462 3 роки тому +8

    One of the best learning channels on the UA-cam

  • @shingabiss
    @shingabiss Рік тому +1

    This is an excellent, well made tutorial! I have been searching for what this presentation covers for days! Thanks for making this!

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

    Looks good! Als a project I made almost the same but with the nrf24mesh module. That has the advantage of trying to find a route to the endpoint by itself if a relay-point fails.

  • @techwithkeshana6143
    @techwithkeshana6143 2 роки тому +2

    Great video

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

    Very nice video

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

    Thanks for the great content. One comment - for those sensors at the lowest level in the network that will be wired to the MCUs, you just need a transmitter instead of a transceiver since you are only reading from those sensors.

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

    Tank you very good

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

    Very very great useful video ♥♥♥

  • @rafaelrpa
    @rafaelrpa Місяць тому

    Este canal é fantástico! Tem me ajudado muito no meu desenvolvimento.

  • @electronic7979
    @electronic7979 3 роки тому +2

    Nice project

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

    Finally found a very good tutorial for multiple nrf network data communication. Thank you!

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

      very soon will upload the other two versions

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

      On the first part, I encountered an error on the receiver side. I just deleted "done =" from radio.read(data, sizeof(data) ); Now it works! Also noticed the last recorded values remained after turning Off the transmitters. Might need to modify if statements to default to zero.

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

      @@ElectroniClinic I have a small problem. I need to use components that are compatible with Arduino. A position sensor (so I use a GPS module. This GPS module must be Adafruit Ultimate GPS Data Acquisition Module (GPS Included)). A position storage (with an SD card that must work with an SPI link). A bluetooth interface. A GUI to visualize the route (using an Android tablet that is compatible with a bluetooth module).
      you can advise me to use what as a component . because it's 3 components must be compatible with Arduino and an Android tablet IHM thanks to a Bluetooth module.

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

      @@ElectroniClinic Hi! Could you post links for all the libraries you used? I'm encountering a problem for the SimpleTimer and LCD display. Thanks!

  • @zainulmuttaqinalghiffari4042
    @zainulmuttaqinalghiffari4042 5 місяців тому

    can you use a different version of nrf?, for example nrf24l01 with antenna

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

    Thanks

  • @shakirmohdnoor4095
    @shakirmohdnoor4095 4 місяці тому

    Which is better? The one with the header or the one with node address?

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

    Sir what is program for covering the maximum distance while using rf24networl library...

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

    Thank you for the video that makes me can find idea for my thesis. I have a question, can the data be stored into database such as TinyDB and be visualize in some kind of apps like web apps or mobile apps?

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

    hello, if between transmitter 1 and 2 if the frequency is different can the receiver receive?

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

    Please answer the question about "void value not ignored as it ought to be" .done=radio.read(data,sizeof(data)); reciever code is no good with this error message

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

    I have a small problem. I need to use components that are compatible with Arduino. A position sensor (so I use a GPS module. This GPS module must be Adafruit Ultimate GPS Data Acquisition Module (GPS Included)). A position storage (with an SD card that must work with an SPI link). A bluetooth interface. A GUI to visualize the route (using an Android tablet that is compatible with a bluetooth module).
    you can advise me to use what as a component . because it's 3 components must be compatible with Arduino and an Android tablet IHM thanks to a Bluetooth module.

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

    I used shift register 74HC165 to increase my push button switches, and 3 pins of Shift register (Load in Pin1, Clock in Pin2 and Serial out Pin9) are connected to arduino with wires and it's working ok. How is it possible to connect wirelessly 3 pins of Shift register to 3 or more arduino boards and achieve the same result with the use of NRF24L01? THANK YOU.

  • @rafaelrpa
    @rafaelrpa Місяць тому

    Is there anything specific to be done with the Esp32 DevKit V1 board, to use the nRF24L01+PA+LNA, because I've done it in several ways and didn't connect for anything?

  • @inspirationalwords3847
    @inspirationalwords3847 Рік тому +1

    Great lesson please can you do the same project using a PIR motion sensor with a siren at the reciever, thank you

    • @ElectroniClinic
      @ElectroniClinic  Рік тому +1

      ya, of course, I can. I added this to my list.

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

      @@ElectroniClinic : I am having a problem with receiver code displaying error:- done = radio.read( data,sizeof(data) );
      ^
      exit status 1
      Compilation error: void value not ignored as it ought to be

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

    Thank you. I am studying and researching to make my final year project. Where can I contact with u to learn more about this wireless technology?. Pls respond. I really need your help

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

    Great work Sir, please can you assist on this error:
    Receiver coding for the nrf24L01 radio\Receiver coding for the nrf24L01 radio.ino:58:39: error: void value not ignored as it ought to be
    done = radio.read( data,sizeof(data) );

  • @jman4715
    @jman4715 4 місяці тому

    Schematic shows only one capacitor, but PCB shows 4 (across NRF24L01 + and -). What are the other ones for?

  • @sylgonjaysanoy8890
    @sylgonjaysanoy8890 Рік тому +1

    i like you video and presentation..
    may i ask question can I use these method of programming using 7segment display??

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

      Thank you. Ya you can use.

    • @sylgonjaysanoy8890
      @sylgonjaysanoy8890 Рік тому +1

      @@ElectroniClinic how would i code it because I've try many times and nothing happen.

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

    Thank you for your tutorial. It was very helpful. I have one problem: my receiver is getting data from my 4 transmitters in strange intervals. I get data from transmitters 1-4 in a sequence like 111111222233232442444444444444441212123444. Can you help explain why this is happening? Thank you!

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

    Hello! I want your help and guidance in one of my project, can you help me please

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

    This is a nice project.how can i send the data collected by nrf reciever module via gsm module internet.thanks in advance.

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

      this is quite simple, All you need define another serial port on the Arduino for the GSM module, and then all you need is to send that data to the gsm module. If you find this confusing, you can watch my videos on gsm module.

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

      @@ElectroniClinic thanks

  • @shakirmohdnoor4095
    @shakirmohdnoor4095 11 місяців тому

    Where can i get the components list for this project?

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

    good pls give me heart

  • @IRONMAN-pi6fh
    @IRONMAN-pi6fh Рік тому

    how to make multiple receivers controlled by single transmitter

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

    Sir make it water level monitor using nrf

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

    How to connect base nodeoo leavel3 Without leavel 2 ? For example if leavel2 is disconnected? I want everyone to be able to connect with each other.

  • @aliibrahim8257
    @aliibrahim8257 3 роки тому +2

    facing problems void value not ignored as it ought to be
    at line ------------> done = radio.read(data, sizeof(data) );

    • @rominar.8958
      @rominar.8958 3 роки тому +1

      I have the same problem. Could you solve it?

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

      @@rominar.8958 Did you solve your proble with "error: done = radio.read(data, sizeof(data) ); ?

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

      @@rominar.8958 Did you solve your proble with "error: done = radio.read(data, sizeof(data) ); ?

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

      Same problem🥺

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

    How can i read the address of direction for example node1 send a and the valué of sensor

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

      This idea i will explain in the next video. It will be based on the two way communication. Any node will be able to communicate with any other node in the network.

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

      Even if you watch this video, you will find, these nodes are assigned unique address, on the receiver side i am using if conditions to check form which transmitter i am receiving the data.

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

    I want to make a remote car project, I've tried to communicate in bi- directions and it worked. but because of my situation i need 2 arduino nano in the car, so can nrf24 be used for 3 units to communicate in bi-directions ?

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

      ya of course you can use. watch my other videos on nrf modules.

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

      @@ElectroniClinic thank you very much sir, if i use 2 different microcontrollers is this not a problem? for example remote stm32f103c8 and remote car arduino nano

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

      @@maulanawahyudi7127 ya, you can use. I did the same thing in my latest videos on Lora Sx1278 modules.

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

      @@ElectroniClinic I have a problem, sir, when communicating in two directions using stm and arduino, where the feedback reading from the sensor in my car reads randomly even though I've used the same program on my arduino ide with my arduino nano. Please help me, what should i do ? Because my program works fine in arduino nano

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

    Attention using modules produced by EBYTE, based on nrf24L01. From some time on they use a clone and not a true Nordic component, not compatible with previous modules. This has caused many problems on production based on this module! EBYTE does not admit this! Buy these modules from more reliable builders (or build it your own)

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

    If i send data from multiple transmitters simultaneously that data gets garbled can u please help on this.

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

      It's been 2 months since your question with no answers.
      So I'm curious, have you figured this out?
      I'm working on a project right now where I'll have up to 6 transmitters and 1 receiver. (well, there may be more than 1 receiver for a couple of different locations).
      So I've been wondering the same thing.
      I have no problems with one on one, but 6 to one, I'm not sure of how to do that either.
      I don't know that if all 6 go into LISTEN mode and the receiver sends out a code to trigger one at a time. When the code, say, C1, C2, C3 etc is heard, then THAT module would SEND its data, then wait for a confirmation of receipt.
      The other way I thought though, is since I'm using Nextion Enhanced displays for each Tx, they have RTC and what I thought was, MAYBE, I could have the Nextion, depending on the channel that the Arduino is configured for, it could tell the arduino to SEND at certain intervals, each device being at specific intervals.
      Perhaps a 2 or 3 second difference.
      Just ideas at this point.

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

    I'm curious about something.
    Is there any specific reason why you use those specific identifying codes,
    231 and 434?
    Is that significant for some reason?
    Could one just use 0 and 1 or perhaps 0, 1, 2, 3, 4, 5, 6 to identify?

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

    Where is the pipe⛲ disappears in the last sketches? 👲

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

    Can you please give me code for f-22 plane for transmitter and receiver

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

      ua-cam.com/video/bD7rQbnSbek/v-deo.html like this transmitter and receiver code please I will subscribe to your channel 🥺🥺🥺🥺

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

      The code was not opening

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

      check my video on arduino rc plane

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

      its available on website

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

    You don't explain how to have more than 5 nodes.