🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Env vs Hat Env

    M5 Stick/StickC
    3
    9
    15.6k
    Loading More Posts
    • 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.
    • MatiM
      Mati
      last edited by

      Hey all,

      finally i have some time to play with Env Hat, at first time there was some strange readings +-5% diff then normal env.
      Now there was time to check this out and here it is:
      text alternatywny
      and HW inside:
      text alternatywny

      HW info:
      M5StickC ENV Hat (DHT12, BMP280, BMM150)
      ENV Unit with Temperature Humidity Pressure Sensor (DHT12+BMP280)

      Inside ENV Hat we have DHT12 without blue case du the size, but why there is so big difference between normal Env ?

      Any clue ?

      Just BTW i have 3 Env Hat and all works in same way.

      Regards

      G 1 Reply Last reply Reply Quote 0
      • D
        dda
        last edited by

        If you have the OLED and WiFi on, the heat they produce will skew the results. I connect the ENV hat to my Stick C with wires, and I get different, lower-temp results.

        MatiM 1 Reply Last reply Reply Quote 0
        • MatiM
          Mati
          last edited by

          Ok let me try it. So the whole clue of env hat should come with some kind of shield to eliminate heat from stick.

          1 Reply Last reply Reply Quote 1
          • MatiM
            Mati @dda
            last edited by

            @dda said in Env vs Hat Env:

            If you have the OLED and WiFi on, the heat they produce will skew the results. I connect the ENV hat to my Stick C with wires, and I get different, lower-temp results.

            So after test with extra cables all is ok when hat is moved out from stick.

            But this is a main clue of hat to stick it in to StickC without extra lobg cable.

            @lukasmaximus please comment this, for me this looks like design issue.

            D 1 Reply Last reply Reply Quote 1
            • G
              grlind @Mati
              last edited by

              @mati

              Can you tell me how to compile the code I am confused on how to bring the code into the Arduino IDE.

              I created a main sketch and then copied the code into Mstickc_ENVHat, I also created 4 tabs.. DHT12.cpp, DHT12.h, and bmm150.cpp, and bmm150.h, and bmm150_defs.h...

              I get errors

              C:\Users\AppData\Local\Temp\arduino_build_90317\sketch\MstickC_ENVhat.ino.cpp.o:(.literal._Z4loopv+0x34): undefined reference to `DHT12::readTemperature(unsigned char)'

              C:\Users\AppData\Local\Temp\arduino_build_90317\sketch\MstickC_ENVhat.ino.cpp.o:(.literal._Z4loopv+0x38): undefined reference to `DHT12::readHumidity()'

              MatiM 1 Reply Last reply Reply Quote 0
              • MatiM
                Mati @grlind
                last edited by

                @grlind well its simple UIFlow drag and drop showcase.
                I will try to do same in arduino today.

                1 Reply Last reply Reply Quote 0
                • D
                  dda @Mati
                  last edited by

                  @mati I have mentioned this to Jimmi, and his answer basically was, well don't use wifi and OLED. Not exactly a practical answer. I'd rather have a long hat, isolating the DHT and BMP from the heat.

                  MatiM 1 Reply Last reply Reply Quote 0
                  • MatiM
                    Mati @dda
                    last edited by

                    @dda said in Env vs Hat Env:

                    @mati I have mentioned this to Jimmi, and his answer basically was, well don't use wifi and OLED. Not exactly a practical answer. I'd rather have a long hat, isolating the DHT and BMP from the heat.

                    rlly ?! hmm what's the point of making HAT with req extra cable to unHAT it :D
                    ok let's end this topic as a lesson. thx @dda for info.

                    1 Reply Last reply Reply Quote 0
                    • G
                      grlind
                      last edited by

                      @grlind I was able to get to work in Ardunio I just combine the DHT into the main sketch all things good though the pressure reading are off... I owuld like to see the uflow - I have not done anything in uflow want to try it.. Is your code posted somewhere?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post