Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. about Arduino + NRF24L01 need help please.

about Arduino + NRF24L01 need help please.

Scheduled Pinned Locked Moved Hardware
5 Posts 3 Posters 82 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    llasking
    wrote on last edited by
    #1

    Hi,
    I am using Arduino + NRF24L01, got some questions:

    1. how to set the nrf24l01 transmitter to send the same message a few times (say 5 times) and then stop (just do nothing)?
    2. how to get NRF24L01 two way works according to design planning, in my case, I like to get:
      1. nrf24l01 transmitter A send command and let nrf24l01 transmitter B turn on a LED for 1 second, and then send feedback to nrf24l01 transmitter A;
      2. nrf24l01 transmitter A send next command and let nrf24l01 transmitter B turn on a LED for 2 seconds, and then send feedback to nrf24l01 transmitter A;
      3. nrf24l01 transmitter A send next command and let nrf24l01 transmitter B turn on a LED for 3 seconds, and then send feedback to nrf24l01 transmitter A;
        untill 5 seconds.
        are there any example or sketch clue please.
        Thanks
        Adam
    mfalkviddM 1 Reply Last reply
    0
    • L llasking

      Hi,
      I am using Arduino + NRF24L01, got some questions:

      1. how to set the nrf24l01 transmitter to send the same message a few times (say 5 times) and then stop (just do nothing)?
      2. how to get NRF24L01 two way works according to design planning, in my case, I like to get:
        1. nrf24l01 transmitter A send command and let nrf24l01 transmitter B turn on a LED for 1 second, and then send feedback to nrf24l01 transmitter A;
        2. nrf24l01 transmitter A send next command and let nrf24l01 transmitter B turn on a LED for 2 seconds, and then send feedback to nrf24l01 transmitter A;
        3. nrf24l01 transmitter A send next command and let nrf24l01 transmitter B turn on a LED for 3 seconds, and then send feedback to nrf24l01 transmitter A;
          untill 5 seconds.
          are there any example or sketch clue please.
          Thanks
          Adam
      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      Welcome to the MySensors forum @llasking

      If what you are describing is all you need, you might be better off using plain nrf24 communication instead of MySensors.

      But if you decide to use MySensors, these sketches should be useful:

      • https://www.mysensors.org/build/relay - replace the relay with a led and you've got "transmitter B".
      • https://www.mysensors.org/build/binary - if you want transmitter A to send when a button is pressed.

      https://www.mysensors.org/download/sensor_api_20#sending-data describes how to send and receive MySensors data.

      Info on what MySensors is designed for: https://www.mysensors.org/about/iot

      1 Reply Last reply
      0
      • L Offline
        L Offline
        llasking
        wrote on last edited by mfalkvidd
        #3

        @mfalkvidd said in about Arduino + NRF24L01 need help please.:

        If what you are describing is all you need,

        Thank you mfalkvidd.
        I picked mysensors cause of I used quite few of different sensors in my projects. the NRF is just for controlling need be solved firstly.
        BTW, are there any NRF24L01 specialized forum please?
        Best

        skywatchS 1 Reply Last reply
        0
        • mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          I'm not aware of any specific forums, but https://github.com/maniacbug/RF24 and https://github.com/nRF24/RF24 might be useful.

          1 Reply Last reply
          0
          • L llasking

            @mfalkvidd said in about Arduino + NRF24L01 need help please.:

            If what you are describing is all you need,

            Thank you mfalkvidd.
            I picked mysensors cause of I used quite few of different sensors in my projects. the NRF is just for controlling need be solved firstly.
            BTW, are there any NRF24L01 specialized forum please?
            Best

            skywatchS Offline
            skywatchS Offline
            skywatch
            wrote on last edited by skywatch
            #5

            @llasking Have a look on the arduino forum or github - I still use the older tmrh library for point-to-point on things made before I changed over to mysensors. There is also a nrf24-lite library as well, but I have never used it.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            18

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular