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. Troubleshooting
  3. Problem getting BMP180 to show correct readings.

Problem getting BMP180 to show correct readings.

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 3 Posters 4.2k Views 3 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.
  • R Offline
    R Offline
    royson84
    wrote on last edited by
    #1

    So as the topic says, im having problems getting a working sketch to my BMP180. It shows some really weird readings:

    Temperature = 200.30 *C
    Pressure = 108908 Pa
    Altitude = -613.66 meters
    Pressure at sealevel (calculated) = 108914 Pa
    Real altitude = -599.14 meters

    I've tried the "sensorapi" sketch from "Adafruit BMP085 Unified" and the "BMP085test" från "Adafruit BMP085 Library".

    Its connected like the guide says:
    VIN<->3.3V
    GND<->GND
    SCL<->A5
    SDA<->A4

    My plan is to use this on a node together with a UV sensor and a DHT22.
    Anyone how wants to take a shoot at what im doing wrong? Cause I suspect thats the case.... =)

    Thanks.

    mfalkviddM 1 Reply Last reply
    0
    • R royson84

      So as the topic says, im having problems getting a working sketch to my BMP180. It shows some really weird readings:

      Temperature = 200.30 *C
      Pressure = 108908 Pa
      Altitude = -613.66 meters
      Pressure at sealevel (calculated) = 108914 Pa
      Real altitude = -599.14 meters

      I've tried the "sensorapi" sketch from "Adafruit BMP085 Unified" and the "BMP085test" från "Adafruit BMP085 Library".

      Its connected like the guide says:
      VIN<->3.3V
      GND<->GND
      SCL<->A5
      SDA<->A4

      My plan is to use this on a node together with a UV sensor and a DHT22.
      Anyone how wants to take a shoot at what im doing wrong? Cause I suspect thats the case.... =)

      Thanks.

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

      @royson84 with that temp and altitude I would guess that you're in Hell :-D I hope that's no the case.

      How are you powering the BMP180? (where does 3.3V come from?)
      Can you test with a different Arduino?
      Can you test with a different BMP180?
      Do you get the exact same value for every reading, or do they vary (if you heat the sensor with your hand for example)?
      Do you get the exact same value from the two libraries?

      R 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @royson84 with that temp and altitude I would guess that you're in Hell :-D I hope that's no the case.

        How are you powering the BMP180? (where does 3.3V come from?)
        Can you test with a different Arduino?
        Can you test with a different BMP180?
        Do you get the exact same value for every reading, or do they vary (if you heat the sensor with your hand for example)?
        Do you get the exact same value from the two libraries?

        R Offline
        R Offline
        royson84
        wrote on last edited by
        #3

        @mfalkvidd said in Problem getting BMP180 to show correct readings.:

        @royson84 with that temp and pressure I would guess that you're in Hell :-D I hope that's no the case.

        How are you powering the BMP180? (where does 3.3V come from?)

        Its now connected to an UNO that is powered from USB on my laptop. It get around 4V when a measure with multimeter. Might that be the problem? Will that destroy the poor little thing?

        Can you test with a different Arduino?

        Might have a Pro mini to give it a shot with.

        Can you test with a different BMP180?

        Nope, only bought one so far.

        Do you get the exact same value for every reading, or do they vary (if you heat the sensor with your hand for example)?
        Do you get the exact same value from the two libraries?

        Same value from both libraries and sketches. And since the temp is 200C, I think I might have a difficult time getting another reading in my hand, but I'll give it a shot ;)

        mfalkviddM 1 Reply Last reply
        0
        • R royson84

          @mfalkvidd said in Problem getting BMP180 to show correct readings.:

          @royson84 with that temp and pressure I would guess that you're in Hell :-D I hope that's no the case.

          How are you powering the BMP180? (where does 3.3V come from?)

          Its now connected to an UNO that is powered from USB on my laptop. It get around 4V when a measure with multimeter. Might that be the problem? Will that destroy the poor little thing?

          Can you test with a different Arduino?

          Might have a Pro mini to give it a shot with.

          Can you test with a different BMP180?

          Nope, only bought one so far.

          Do you get the exact same value for every reading, or do they vary (if you heat the sensor with your hand for example)?
          Do you get the exact same value from the two libraries?

          Same value from both libraries and sketches. And since the temp is 200C, I think I might have a difficult time getting another reading in my hand, but I'll give it a shot ;)

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

          @royson84 the adafruit description says

          connect the VIN pin to the 5V voltage pin

          and

          Vin: 3 to 5VDC

          so I think any voltage between 3 and 5V will work.

          R 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @royson84 the adafruit description says

            connect the VIN pin to the 5V voltage pin

            and

            Vin: 3 to 5VDC

            so I think any voltage between 3 and 5V will work.

            R Offline
            R Offline
            royson84
            wrote on last edited by
            #5

            @mfalkvidd said in Problem getting BMP180 to show correct readings.:

            @royson84 the adafruit description says

            connect the VIN pin to the 5V voltage pin

            and

            Vin: 3 to 5VDC

            so I think any voltage between 3 and 5V will work.

            Ok. Gonna give it a shot tomorrow with a Pro mini and see if that gives any different results.

            1 Reply Last reply
            1
            • R Offline
              R Offline
              royson84
              wrote on last edited by
              #6

              It seems like the sensor might be broken. Tried it just now with the library from Sparkfun following this guide: https://learn.sparkfun.com/tutorials/bmp180-barometric-pressure-sensor-hookup-

              BMP180 Init fail. The sensor is powered but that seems to be about it. Big disappointment.

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

                Maybe get a bme280 next time 😀

                R 1 Reply Last reply
                0
                • gohanG gohan

                  Maybe get a bme280 next time 😀

                  R Offline
                  R Offline
                  royson84
                  wrote on last edited by
                  #8

                  @gohan I might just do that. Any seller to recommend?

                  gohanG 1 Reply Last reply
                  0
                  • R royson84

                    @gohan I might just do that. Any seller to recommend?

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

                    @royson84 https://www.aliexpress.com/item/High-Accuracy-BME280-Digital-Sensor-Temperature-Humidity-Barometric-Pressure-Sensor-Module-GY-BME280-I2C-SPI-1/32672210336.html

                    This is what I got. Keep in mind that bme280 tends to report temperatures 0.7/0.8C higher than actual, so make a comparison and add a temperature offset in code

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


                    27

                    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