Navigation

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

    dom

    @dom

    1
    Reputation
    5
    Posts
    226
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    dom Follow

    Best posts made by dom

    • RE: Radio in standby but not the processor ?

      Hello,

      Thank you very much for your explanation.

      The solution is to call the functions :

      • transportDisable() to put the radio in sleep mode
      • transportReInitialise() to wake up the radio

      I made the following test :

      void loop() {
        delay(90);
        transportDisable();
        delay(60);
        transportReInitialise();
        sleep(30);
      }
      

      and verified the power consumption with an oscilloscope. I save 16mA, that is coherent with the rfm69 datasheet.

      0_1541715932539_IMG_20181108_232445.jpg

      posted in Development
      dom
      dom

    Latest posts made by dom

    • RE: Radio in standby but not the processor ?

      Hello,

      Thank you very much for your explanation.

      The solution is to call the functions :

      • transportDisable() to put the radio in sleep mode
      • transportReInitialise() to wake up the radio

      I made the following test :

      void loop() {
        delay(90);
        transportDisable();
        delay(60);
        transportReInitialise();
        sleep(30);
      }
      

      and verified the power consumption with an oscilloscope. I save 16mA, that is coherent with the rfm69 datasheet.

      0_1541715932539_IMG_20181108_232445.jpg

      posted in Development
      dom
      dom
    • RE: Radio in standby but not the processor ?

      I understand your opinion, in your case, your are absolutly right.

      My case is a bit different. My sensor is a load cell used to detect letters in my letter box. The weight is drifting with temperature, power voltage, etc...

      If betwen two successive measures, the weight didn't change of more than a threshold, I know that the weight is the same and I can compensate.

      Then the more often I can do measures, the smallest theshold I can have.
      The less the node use power, the more often I can do measure, and the best precision I have.

      Another future use I have in mind is a solar powered node with a super capacitor used as a battery. In that case, it is very important to save the best energy possible to reduce the size of the solar panel and the capacitor.

      I looked in the source code, I don't think it is possible to put the radio in sleep mode without the processor at the same time.

      I see 2 means to implement that feature :

      • write my own function that send the SPI frames that put the radio in sleep mode
      • modify the library.

      The second solution is more elegant, but it will complicate a lot the adoption of the next version of the library.

      posted in Development
      dom
      dom
    • RE: Radio in standby but not the processor ?

      Ok, i understand better what you have in mind.

      Your solution save a little the battery, but the radio is ON during all the measurement operation, except during the stabilization of the sensor.

      Imagine you don't want to send the moisture level and the battery voltage every time you do the measures, but only an average of the 10 last measures.

      In that case, you radio is woken up 9 times for nothing. I would like to save the power used by these 9 times...

      posted in Development
      dom
      dom
    • RE: Radio in standby but not the processor ?

      Hello,

      Thank you for your answer.

      My radio is a rfm69HW.

      Sorry, I made a mystake, i want the radio to stay in sleep mode (not in standby mode) while the processor is doing something else.

      The only solution to put the radio in sleep mode seems to call the mysensors sleep function that put the processor in sleep mode too.

      In my understanding, when the node wake up after a sleep, the radio is woken up too and use power.

      I would like to save this power because I don't need the radio communication when the processor do measurements and other calculations.

      What do you mean by sleeping the whole node when performing measurement ?

      Dom

      posted in Development
      dom
      dom
    • Radio in standby but not the processor ?

      Hello,

      I have a sensor node that do measurement every minute, but send the measure only every hour.

      To save power, I would like to keep the radio in standby mode while the processor is doing measurement, and wake up the radio only when I decide to send a message to the gateway.

      It seems the only function that allow to put the radio in standby is the sleep function that put the processor in sleep too.

      Does someone know another way that allow to put the radio in standby without putting the processor in sleep mode ?

      Best regards

      Dom

      posted in Development
      dom
      dom