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. Development
  3. RF24 PA LOW or HIGH

RF24 PA LOW or HIGH

Scheduled Pinned Locked Moved Development
8 Posts 4 Posters 6.9k Views 6 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.
  • A Offline
    A Offline
    Affe
    wrote on last edited by
    #1

    Hi Guys

    ¨Can someone explain for me when should i use Low and HIGH for RF 24

    #define MY_RF24_PA_LEVEL RF24_PA_LOW

    If a use high
    should i feed with extern 3 v ?

    Is there a difference with an external antenna LNA?:flushed:

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Affe
      wrote on last edited by
      #2

      Hi

      Can someone please explanin for me ?

      how should i do ?

      If I 'm building a reapeter

      #define MY_RF24_PA_LEVEL RF24_PA_LOW *or HIGH *
      #define MY_REPEATER_NODE

      Should I change to wait insted of sleep ? or only include **#define MY_REPEATER_NODE **

      I use a PA+LNA ,
      Is it better to use standard NRF24L01+?

      http://www.elecfreaks.com/wiki/index.php?title=2.4G_Wireless_nRF24L01p_with_PA_and_LNA

      1 Reply Last reply
      0
      • BartEB Offline
        BartEB Offline
        BartE
        Contest Winner
        wrote on last edited by
        #3

        @Affe when you use MY_RF24_PA_LEVEL HIGH you needs external radio power.
        A standard Arduino power regulator is not powerfull enough for high RF24 power.

        Disregarding which type of antenna one uses.

        The LNA antenna is more sensitive and thus will give a better reception

        A 1 Reply Last reply
        0
        • BartEB BartE

          @Affe when you use MY_RF24_PA_LEVEL HIGH you needs external radio power.
          A standard Arduino power regulator is not powerfull enough for high RF24 power.

          Disregarding which type of antenna one uses.

          The LNA antenna is more sensitive and thus will give a better reception

          A Offline
          A Offline
          Affe
          wrote on last edited by
          #4

          @BartE Thanks

          So i need too feed extern with 3 volt or select standard NRF24L01+

          Can you also explain reapeter funtion ?
          If i should change to wait insted of sleep

          BartEB Boots33B 2 Replies Last reply
          0
          • A Affe

            @BartE Thanks

            So i need too feed extern with 3 volt or select standard NRF24L01+

            Can you also explain reapeter funtion ?
            If i should change to wait insted of sleep

            BartEB Offline
            BartEB Offline
            BartE
            Contest Winner
            wrote on last edited by BartE
            #5

            @Affe No you need too feed with external 3.3 volt OR select LOW power

            the repeater mode is used for resending message from one node to the gateway, in case a node is not in reach of the GW.
            https://en.wikipedia.org/wiki/Repeater

            1 Reply Last reply
            0
            • A Affe

              @BartE Thanks

              So i need too feed extern with 3 volt or select standard NRF24L01+

              Can you also explain reapeter funtion ?
              If i should change to wait insted of sleep

              Boots33B Offline
              Boots33B Offline
              Boots33
              Hero Member
              wrote on last edited by
              #6

              @Affe you should use wait if it is a repeater node

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Affe
                wrote on last edited by
                #7

                Thanks @Boots33 and @BartE

                summation :+1: Use extern 3,3V feed when you use

                #define **MY_RF24_PA_LEVEL RF24_PA_HIGH **

                and
                When I build Repeater
                wait insted of sleep

                ex
                #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
                #define MAX_ATTACHED_DS18B20 16
                unsigned long **WAIT_TIME **= 30000; // Sleep time between reads (in milliseconds)
                OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
                DallasTemperature sensors(&oneWire); // Pass the oneWire reference to Dallas Temperature.
                float lastTemperature[MAX_ATTACHED_DS18B20];
                int numSensors=0;
                bool receivedConfig = false;
                bool metric = true;
                // Initialize temperature message
                MyMessage msg(0,V_TEMP);

                and

                // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
                wait(conversionTime);

                sleep(WAIT_TIME);

                sundberg84S 1 Reply Last reply
                1
                • A Affe

                  Thanks @Boots33 and @BartE

                  summation :+1: Use extern 3,3V feed when you use

                  #define **MY_RF24_PA_LEVEL RF24_PA_HIGH **

                  and
                  When I build Repeater
                  wait insted of sleep

                  ex
                  #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
                  #define MAX_ATTACHED_DS18B20 16
                  unsigned long **WAIT_TIME **= 30000; // Sleep time between reads (in milliseconds)
                  OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
                  DallasTemperature sensors(&oneWire); // Pass the oneWire reference to Dallas Temperature.
                  float lastTemperature[MAX_ATTACHED_DS18B20];
                  int numSensors=0;
                  bool receivedConfig = false;
                  bool metric = true;
                  // Initialize temperature message
                  MyMessage msg(0,V_TEMP);

                  and

                  // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
                  wait(conversionTime);

                  sleep(WAIT_TIME);

                  sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by sundberg84
                  #8

                  @Affe - And use a good 3.3v regulator, that can feed alof of mA.
                  The standard LE33A we suggest for the normal radio at Mysensors.org might be a bit weak.
                  ld1117v33 for example.

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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


                  11

                  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