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

    Env vs Hat Env

    Scheduled Pinned Locked Moved M5 Stick/StickC
    9 Posts 3 Posters 19.4k Views 1 Watching
    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.
    • OyczEO Offline
      OyczE
      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 Offline
        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.

        OyczEO 1 Reply Last reply Reply Quote 0
        • OyczEO Offline
          OyczE
          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
          • OyczEO Offline
            OyczE @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 Offline
              grlind @OyczE
              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()'

              OyczEO 1 Reply Last reply Reply Quote 0
              • OyczEO Offline
                OyczE @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 Offline
                  dda @OyczE
                  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.

                  OyczEO 1 Reply Last reply Reply Quote 0
                  • OyczEO Offline
                    OyczE @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 Offline
                      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

                      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
                      • First post
                        Last post