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. [SOLVED] BME280 power consumtion

[SOLVED] BME280 power consumtion

Scheduled Pinned Locked Moved Hardware
11 Posts 6 Posters 8.6k Views 5 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #2

    Maybe you could try the adafruit library and see if it works better

    1 Reply Last reply
    0
    • rozpruwaczR Offline
      rozpruwaczR Offline
      rozpruwacz
      wrote on last edited by
      #3

      ok, i think the problem is solved, the example i was looking at is just wrong, the default mode is normal not forced so default configuration of the driver put in nornal mode not forced, changing the constructor values solves the problem.

      P C 2 Replies Last reply
      1
      • rozpruwaczR rozpruwacz

        ok, i think the problem is solved, the example i was looking at is just wrong, the default mode is normal not forced so default configuration of the driver put in nornal mode not forced, changing the constructor values solves the problem.

        P Offline
        P Offline
        peerv
        wrote on last edited by
        #4

        @rozpruwacz
        Hi,
        Could you please share with me how you managed to get the power consumption of the BME280 down.
        Can this also be done with the Adafruit library?

        1 Reply Last reply
        0
        • rozpruwaczR Offline
          rozpruwaczR Offline
          rozpruwacz
          wrote on last edited by
          #5

          You can checkout my code from github: https://github.com/mczerski/MyMultiSensorBME280. If you want to build this project remember pull also git submodule (git submodule init; git submodule update)

          P 1 Reply Last reply
          0
          • rozpruwaczR rozpruwacz

            ok, i think the problem is solved, the example i was looking at is just wrong, the default mode is normal not forced so default configuration of the driver put in nornal mode not forced, changing the constructor values solves the problem.

            C Offline
            C Offline
            Craig Thom
            wrote on last edited by
            #6

            @rozpruwacz The big downside to using forced instead of normal is that you can't use the IIR filters, since they require relatively recent previous readings to work.

            1 Reply Last reply
            0
            • rozpruwaczR rozpruwacz

              You can checkout my code from github: https://github.com/mczerski/MyMultiSensorBME280. If you want to build this project remember pull also git submodule (git submodule init; git submodule update)

              P Offline
              P Offline
              peerv
              wrote on last edited by
              #7

              @rozpruwacz Thanks, very impressive solution!

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mickecarlsson
                wrote on last edited by
                #8

                Just add:

                BME280.writeMode(smSleep);                 // go to sleep, save battery
                

                After your have read the bme280, just before you call sleep().

                P 1 Reply Last reply
                0
                • M mickecarlsson

                  Just add:

                  BME280.writeMode(smSleep);                 // go to sleep, save battery
                  

                  After your have read the bme280, just before you call sleep().

                  P Offline
                  P Offline
                  peerv
                  wrote on last edited by
                  #9

                  @mickecarlsson What BME280 library are you using?

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mickecarlsson
                    wrote on last edited by
                    #10

                    I am using this:

                    // Bosch BME280 Embedded Adventures MOD-1022 weather multi-sensor Arduino code, 
                    // written originally by Embedded Adventures. 
                    // https://github.com/embeddedadventures/BME280
                    #include <BME280_MOD-1022.h>```
                    alexsh1A 1 Reply Last reply
                    1
                    • M mickecarlsson

                      I am using this:

                      // Bosch BME280 Embedded Adventures MOD-1022 weather multi-sensor Arduino code, 
                      // written originally by Embedded Adventures. 
                      // https://github.com/embeddedadventures/BME280
                      #include <BME280_MOD-1022.h>```
                      alexsh1A Offline
                      alexsh1A Offline
                      alexsh1
                      wrote on last edited by alexsh1
                      #11

                      @mickecarlsson I believe BME280.writeMode(smSleep); is not necessary.
                      Forced mode must be used. I think after taking the measurement the sensor goes back to sleep.

                      BME280.writeMode(smForced); 
                      
                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      22

                      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