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. Announcements
  3. 💬 Atmospheric Pressure Sensor

💬 Atmospheric Pressure Sensor

Scheduled Pinned Locked Moved Announcements
pressurebmp085
60 Posts 22 Posters 13.0k Views 19 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.
  • James FlosseJ Offline
    James FlosseJ Offline
    James Flosse
    wrote on last edited by
    #29

    I bought it in banggood, but it work's before...

    1 Reply Last reply
    0
    • ghislainG Offline
      ghislainG Offline
      ghislain
      wrote on last edited by
      #30

      It worked for a while and now it doesn't ? no problem of power supply ? 3v3 ?

      1 Reply Last reply
      0
      • James FlosseJ Offline
        James FlosseJ Offline
        James Flosse
        wrote on last edited by
        #31

        I supply itwith the 3.3 V output off arduino

        1 Reply Last reply
        0
        • ghislainG Offline
          ghislainG Offline
          ghislain
          wrote on last edited by
          #32

          I supply it with 5v, are you sure it's a 3v3 version ?

          1 Reply Last reply
          0
          • James FlosseJ Offline
            James FlosseJ Offline
            James Flosse
            wrote on last edited by James Flosse
            #33

            i tested with 3.3V and 5volt but same result
            http://www.banggood.com/fr/GY-68-BMP180-Digital-Barometric-Pressure-Sensor-Board-Module-p-1059025.html?rmmds=myorder

            1 Reply Last reply
            0
            • ghislainG Offline
              ghislainG Offline
              ghislain
              wrote on last edited by
              #34

              OK, i've no further idea to help you. But i think your sensor is dead. DId you try older or newer library to compile your project ?

              1 Reply Last reply
              0
              • James FlosseJ Offline
                James FlosseJ Offline
                James Flosse
                wrote on last edited by
                #35

                Have you link for older library? Are you french?

                1 Reply Last reply
                0
                • ghislainG Offline
                  ghislainG Offline
                  ghislain
                  wrote on last edited by
                  #36

                  I am and you ? I can give you the sketch which is working for me with library i used.

                  1 Reply Last reply
                  0
                  • James FlosseJ Offline
                    James FlosseJ Offline
                    James Flosse
                    wrote on last edited by
                    #37

                    Yes ^^ . can you give me at snyp_thx at hotmail dot fr?

                    1 Reply Last reply
                    0
                    • bgunnarbB Offline
                      bgunnarbB Offline
                      bgunnarb
                      wrote on last edited by
                      #38

                      Hi!
                      I had exactly the same problem until I realised I had compiled for the 8 MHz version of the Arduino Pro Mini instead of the 16 MHz version.
                      Also, recently building an humidity sensor I realised there are no pull-up resistors on the SDA SDL lines, but that should be built-in if you use a break-out module.

                      I have never been so busy since I retired!

                      1 Reply Last reply
                      2
                      • HeinzH Offline
                        HeinzH Offline
                        Heinz
                        Hero Member
                        wrote on last edited by
                        #39

                        Which altitude did you enter, or at which sealevel do you live (in meters)?

                        const float ALTITUDE = 688; // <-- adapt this value to your own location's altitude.
                        

                        The pressure of 728 hPa is a bit strange as it should be around 1000 hPa. In my eyes you threw out the code to correct the pressure depending on the sealevel of your home. See the code from my sketch:

                        float pressure = bmp.seaLevelForAltitude(SEALEVEL, absolutePressure);
                        

                        Here you can download the sketch I am using:
                        https://github.com/windkh/mysensors/blob/master/WeatherStationSensor/WeatherStationSensor.ino

                        The forecast will be unknown for at least 30minutes, because the sensor needs that time to detect a weather trend.

                        1 Reply Last reply
                        0
                        • James FlosseJ Offline
                          James FlosseJ Offline
                          James Flosse
                          wrote on last edited by
                          #40

                          @bgunnarb you are find the problem, i think i have arduino pro mini 3.3V but it's 5V. Thx very much it's work better now :)

                          1 Reply Last reply
                          1
                          • Jeff WilleckeJ Offline
                            Jeff WilleckeJ Offline
                            Jeff Willecke
                            wrote on last edited by
                            #41

                            Where do the pin assignments live?

                            gohanG 1 Reply Last reply
                            0
                            • Jeff WilleckeJ Jeff Willecke

                              Where do the pin assignments live?

                              gohanG Offline
                              gohanG Offline
                              gohan
                              Mod
                              wrote on last edited by
                              #42

                              @Jeff-Willecke
                              in the article page
                              SCL A5 (analog input) Marked blue
                              SDA A4 (analog input) Marked green

                              1 Reply Last reply
                              0
                              • Jeff WilleckeJ Offline
                                Jeff WilleckeJ Offline
                                Jeff Willecke
                                wrote on last edited by
                                #43

                                @gohan it appears as though I need SLC and SDA for the sensor it will prevent me from using a second SLC/SDA device. I was assuming that they were utilizing the analog input. My comment may be deleted as it is clearly not applicable

                                1 Reply Last reply
                                0
                                • gohanG Offline
                                  gohanG Offline
                                  gohan
                                  Mod
                                  wrote on last edited by
                                  #44

                                  that is I2C bus, you can collect multiple devices as long as they have different addresses

                                  1 Reply Last reply
                                  1
                                  • Jeff WilleckeJ Offline
                                    Jeff WilleckeJ Offline
                                    Jeff Willecke
                                    wrote on last edited by
                                    #45

                                    OH cool. I guess I have tons more to learn thank you for your help

                                    1 Reply Last reply
                                    1
                                    • skywatchS Offline
                                      skywatchS Offline
                                      skywatch
                                      wrote on last edited by
                                      #46

                                      The initial description on this page refers to BMP085.
                                      The 'Example' states it is for BMP085 with Adafruit library (linked for dowbload).
                                      The sketch uses a BME280 with library from Embedded Adventures.
                                      The Datasheet is linked for a BMP085.
                                      The shopping guide links to a BMP180.

                                      ????

                                      mfalkviddM 1 Reply Last reply
                                      1
                                      • skywatchS skywatch

                                        The initial description on this page refers to BMP085.
                                        The 'Example' states it is for BMP085 with Adafruit library (linked for dowbload).
                                        The sketch uses a BME280 with library from Embedded Adventures.
                                        The Datasheet is linked for a BMP085.
                                        The shopping guide links to a BMP180.

                                        ????

                                        mfalkviddM Offline
                                        mfalkviddM Offline
                                        mfalkvidd
                                        Mod
                                        wrote on last edited by
                                        #47

                                        Sorry for not noticing your post earlier @skywatch

                                        The example was originally designed for BMP085. When the BMP180 became widely available, the buy link was updated to the newer version with the note "replaces the old BMP085". Both use the same library.

                                        At a later stage, a MySensors user suggested changes to the example sketch to use the BME sensor instead. I don't know why this change was made, but my guess is that the user liked the BME sensor better. I don't know why the change was accepted without updating the build page, but my guess is that since the commit doesn't mention the change of sensor and the amount of code changed is quite large (369 additions and 252 deletions) nobody noticed that a new sensor was used.

                                        I'm trying to address the sensor change in https://forum.mysensors.org/topic/9801/bmp-e-atmospheric-pressure

                                        G 1 Reply Last reply
                                        0
                                        • M Offline
                                          M Offline
                                          Mark Hansen
                                          wrote on last edited by Mark Hansen
                                          #48

                                          Heads-up: I've observed my sensor trying to sleep for 4 billion ms when running the sample code:

                                          60082 MCO:SLP:MS=4294967214,SMS=0,I1=255,M1=255,I2=255,M2=255
                                          

                                          That's 2^32-82. So I think there's an underflow with this line:

                                          unsigned long sleeptime = BME280measurementSleepTime - (quicktimecheck - previousBME280Millis);
                                          

                                          Not sure where exactly though. I've changed my code to simply sleep for a constant 60s.

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          17

                                          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