Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. vobi
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    vobi

    @vobi

    0
    Reputation
    15
    Posts
    493
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    vobi Follow

    Best posts made by vobi

    This user hasn't posted anything yet.

    Latest posts made by vobi

    • RE: NRF24 specific settings

      @mfalkvidd Thanks for the help, well, it looks like I have to use a repeater...
      Anyways, if someone can come up with an explanation, please share! 🙂

      posted in Troubleshooting
      vobi
      vobi
    • RE: NRF24 specific settings

      @gohan Thanks for the answer, but that was not the question. 🙂
      BTW, already doing that, too.

      posted in Troubleshooting
      vobi
      vobi
    • NRF24 specific settings

      Hello Guys!

      I still having issues with my nrf24 ranges...

      Anyway, I have some specific questions:

      How can I change CRC length (I guess default is 16, so maybe to 8?)

      How can I change (limit) the maximum payload size? I dont use custom payloads, so setting it to max 7-8 should be good. (Or mys uses dynamic payloads?)
      I hope this could give me better ranges (https://hallard.me/nrf24l01-real-life-range-test/).

      I have found all these settings in RF24.h but Im not that experienced programmer, to know how all these come together (I can use PA levels, and data rate, as there are examples for that).
      What are these other features, how can (should I) I use/check/change them?

      #define RF24_LNA_HCURR (0) - (NON P model something?)
      #define RF24_RF_DR_LOW (5)
      #define RF24_RF_DR_HIGH (3) (is this default?)
      #define RF24_RF_PWR_LOW (1)
      #define RF24_RF_PWR_HIGH (2) (is this default?)

      Any other idea on the software side please?
      (Already using 250k, PA MAX...)

      Thank You!

      posted in Troubleshooting
      vobi
      vobi
    • RE: Breadboard PSU + Mega Serial GW + NRF24L01+PA+LNA?

      @TimO

      Great, thank You!

      posted in Hardware
      vobi
      vobi
    • Breadboard PSU + Mega Serial GW + NRF24L01+PA+LNA?

      Hello Guys!

      I have been Googling for the last 2-3 hours, but didn't find a definitive answer, so I hope You guys can help me!
      My nrf24+pa-lna module has arrived, and I plan to connect it to the gateway (so maybe I don't need a repeater node anymore).
      Right now, on the GW I have the nrf24l01+, that is powered by the Mega.
      The Mega is powered through usb from the Pi, that is the serial controller.
      If I see correctly, the new, pa-lna module needs 150+mA, so it should not be powered from the 3v3 pin of the Mega.
      But I have a "standard" YwRobot Breadboard PSU.

      So, the question is: Do I need to connect a GND on the Mega and a GND on the Breadboard PSU? As stated here:
      http://blog.blackoise.de/2016/02/fixing-your-cheap-nrf24l01-palna-module/

      Do I need, or is it advised to power the Mega with the Vin pin, from the PSU? (USB must be attached too).

      ...or should I do it some other way I didn't think about?

      It is strange that I was not able to find general useful information about how to use Breadboard PSU and Arduino (except nano) together.

      Thanks for Your time!

      posted in Hardware
      vobi
      vobi
    • RE: PIR example doesn`t wake Mega 2560?

      According to Mr. Nick Gammon, thats not the case (or I`m missing something):

      Running from a 9V battery through the "power in" plug, it draws about 50 mA.
      Running on 5V through the +5V pin, it draws about 49 mA.
      (Note: around 68 mA on a Mega 2560 board)
      Now we'll try putting it to sleep:
      Sketch B

      #include <avr/sleep.h>
      void setup () 
      {
        set_sleep_mode (SLEEP_MODE_PWR_DOWN);  
        sleep_enable();
        sleep_cpu ();  
      }  // end of setup
      void loop () { }
      

      Now the Uno draws 34.5 mA. A saving, but not a lot.
      (Note: around 24 mA on a Mega 2560 board)
      http://www.gammon.com.au/power

      Also see:
      https://forum.arduino.cc/index.php?topic=76724.0

      posted in Troubleshooting
      vobi
      vobi
    • RE: PIR example doesn`t wake Mega 2560?

      I have tested it, the interrupt indeed works fine.
      So yes, because there is no sleep, it cannot be interrupted.
      I still don`t understand why it cannot sleep.
      And IMHO the interrupt should break the not-so-sleep-but-wait cycle anyway.
      What do You think?

      posted in Troubleshooting
      vobi
      vobi
    • RE: PIR example doesn`t wake Mega 2560?

      @scalz
      Thanks, I will try it, and report back.

      posted in Troubleshooting
      vobi
      vobi
    • RE: PIR example doesn`t wake Mega 2560?

      Then what does it do when sleep is issued?
      Because the defined sleep-time still has to pass...and it does "nothing" till that, and that something cannot be broken by interrupt?
      What should be the good method to catch an interrupt, or a motion, without going thru the main loop crazy fast?
      Why cant it sleep?

      posted in Troubleshooting
      vobi
      vobi