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 10.1k 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
    gohanG
    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
      rozpruwaczR
      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
        P
        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
          rozpruwaczR
          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
            C
            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
              P
              peerv
              wrote on last edited by
              #7

              @rozpruwacz Thanks, very impressive solution!

              1 Reply Last reply
              0
              • M
                M
                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
                  P
                  peerv
                  wrote on last edited by
                  #9

                  @mickecarlsson What BME280 library are you using?

                  1 Reply Last reply
                  0
                  • M
                    M
                    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
                      alexsh1A
                      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

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      9

                      Online

                      12.4k

                      Users

                      11.2k

                      Topics

                      113.4k

                      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