Navigation

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

    Topics created by RPunkt

    • RPunkt

      NodeManager: hookon example needed
      NodeManager • • RPunkt  

      7
      0
      Votes
      7
      Posts
      913
      Views

      user2684

      @rpunkt sorry for replying to late...hooks are pretty simple to use in Nodemanager once you enable them. Just define your custom function and pass it to the hook. In the example below I'm activating a buzzer every time my fingerprint sensor is successful. The function will be executed every time (e.g. in this case after every loop() of fingerprint), up to you to implement your logic in the hook function. void bip(Sensor* sensor) { if (fingerprint.success) buzzer.setStatus(ON); } fingerprint.setPostLoopHook(&bip);
    • RPunkt

      Solar powered node, that should only send occasionally
      Hardware • • RPunkt  

      8
      0
      Votes
      8
      Posts
      1051
      Views

      Jens Jensen

      3mA sleep current is very high, you should probably set a goal for a few hundred uA maximum. I would suggest determining what is causing high sleep current consumption. This is theoretically possible with atmega328p as well as nrf24l01, should be able to accomplish this if using proper sleep and/or standby modes for each. Another thing to look at is the hardware your boards are using. One notorious culprit for high sleep current is AMS1117 voltage regulator, which has very sad ~4mA quiescent current - not appropriate for power-saving/battery nodes - but far to common on boards you will find (like clone of pro-minis, etc). (There are several other 3.3v LDOs with much better Iq - https://ethercalc.org/500ma-ldos) This might also have some good ideas as a place to start as well: http://www.home-automation-community.com/arduino-low-power-how-to-run-atmega328p-for-a-year-on-coin-cell-battery/