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. Pressure Sensor

Pressure Sensor

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 4 Posters 2.1k Views 1 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.
  • FrancoisF Offline
    FrancoisF Offline
    Francois
    wrote on last edited by Francois
    #1

    @hek when I run the pressure sensor on arduino mini I just get rubbish on the serial monitor why will this be the case? When I compile the sketch it gives me a warning about low memory and this can cause stability problems. However the sketch still compiles. Do you think this will be the problem?

    If I run the example Adafruit_BMP085 sketch the sensor do work.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Is it the original example sketch?

      Try turning off DEBUG in MyConfig.h an recompile/upload to see if this improves the memory situation..

      1 Reply Last reply
      0
      • FrancoisF Offline
        FrancoisF Offline
        Francois
        wrote on last edited by
        #3

        @hek thanks for that it work. Where do I put my local barometric pressure into the sketch?

        hekH 1 Reply Last reply
        0
        • FrancoisF Francois

          @hek thanks for that it work. Where do I put my local barometric pressure into the sketch?

          hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          @Francois said:

          Where do I put my local barometric pressure into the sketch?

          To get altitude or what do you mean?

          epierreE 1 Reply Last reply
          0
          • FrancoisF Offline
            FrancoisF Offline
            Francois
            wrote on last edited by
            #5

            @hek as per the spec sheet of the BMP085 you have to put your local altitude in.

            hekH 1 Reply Last reply
            0
            • hekH hek

              @Francois said:

              Where do I put my local barometric pressure into the sketch?

              To get altitude or what do you mean?

              epierreE Offline
              epierreE Offline
              epierre
              Hero Member
              wrote on last edited by
              #6

              @hek in fact the sensor car report the altitude, but nothing is meant for that in the 1.4 lib today

              z-wave - Vera -> Domoticz
              rfx - Domoticz <- MyDomoAtHome <- Imperihome
              mysensors -> mysensors-gw -> Domoticz

              1 Reply Last reply
              0
              • FrancoisF Francois

                @hek as per the spec sheet of the BMP085 you have to put your local altitude in.

                hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by
                #7

                @Francois

                Ok, you'll have to look at the library-api to fine-tune this.

                1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  Zeph
                  Hero Member
                  wrote on last edited by
                  #8

                  Regarding the low memory warning - at the time of the compile, sometimes the compiler does not know exactly how much memory will be needed by the program when it runs, as it doesn't know how deeply you may nest function calls or how much heap memory your code or the libraries you use may request. But if there's not much memory left for heap and stack, it will warn your about that even if it still compiles.

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


                  15

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.0k

                  Posts


                  Copyright 2019 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