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

    Could not find a valid BMP280 sensor, check wiring!

    M5 Stick/StickC
    3
    15
    20.9k
    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.
    • ajb2k3A
      ajb2k3 @Happy Hippo
      last edited by

      @happy-hippo Yes, if you use arduino or ezloader you have to reinstall UIFlow as they overwrite the UIFlow firmware.

      Lets us know the resaults after you hook it directly to an arduino.

      UIFlow, so easy an adult can learn it!
      If I don't know it, be patient!
      I've ether not learned it or am too drunk to remember it!
      Author of the WIP UIFlow Handbook!
      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

      1 Reply Last reply Reply Quote 0
      • H
        Happy Hippo
        last edited by

        I hooked up the ENV C hat to Arduino i2C pins. The Arudino was able to read the I2C addresses. 0x10, for the BMM150, 0x5C for the DH12, and 0x76 for the BMP280.

        I was able to run an example for the BMP280. This outputs temperature too, apparently. The temperature was correct. The barometric pressure was low as before. The stated accuracy is supposed to be 12 Pa. But it is more like 275 Pa off.

        I also ran an example for the DHT12 sensor. Temperature was correct. Humidity was closer. In my opinion, both measurements are acceptable.

        I was not able to find a good example for the BMM150.

        So, as expected, it is clear the M5StickC device is significantly affecting the temperature and humidity readings.

        I don't know the reason why the official ENV hat example for the M5StickC does not work with Arduino iDE.

        UIFlow does not connect in the Desktop IDE. In the Web based version, the API key is unknown and is shown as disconnected..

        It would be nice if there was some indicator on the M5StickC which verifies that it is turned on. The only think I can see is the screen is dark gray, instead of black, when turned on.

        ajb2k3A 1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3 @Happy Hippo
          last edited by

          @happy-hippo If you install the firmware correctly you will get messages on the sticks screen asking you to connect to a web page 192.168.4.1 and select network to connect to.

          There is supposed to be some way to calibrate the sensor but this isn't documented yet.
          I have some work in progress document in the project forum you can look into for some technical details but they are for UIFlow.
          Someone else tried connecting the hat to the stick using dupont cables to space them apart.

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • H
            Happy Hippo
            last edited by

            When you say "install the firmware," are you taking about UIFlow? I installed UIFlow-v1.3.2 but the M5Stick did not display any message. The program indicated that the write was successful and the last thing it says is, "Staying in Bootloader"

            1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3
              last edited by

              unplug the stick and press the power button to reset and it should work

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0
              • H
                Happy Hippo
                last edited by

                OK- I was able to get an internet connection finally, but I had to install the firmware again. After that, I was able to get the Web version of UIFlow working. I ran the ENV hat example but that didn't work. Then I upgraded the firmware to 1.4.1, and now it works. The values are off, as I previously mentioned but at least it works now.

                I'm still not able to get the desktop version of UIFlow to work, but that will be for another day.
                Thanks for the help. I usually don't ask anyone for help but I was to the point of throwing the device away.

                ajb2k3A 1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3 @Happy Hippo
                  last edited by

                  @happy-hippo Feel free to ask for help at anytime as that is what I am here for and that is why I am writing two books on UIFLow

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  1 Reply Last reply Reply Quote 0
                  • H
                    Happy Hippo
                    last edited by

                    Thank you. I was able to get UIFlow desktop IDE working by changing the M5StickC settings to USB mode. I followed these steps: (taken from another forum post)
                    Power off stick
                    Hold home
                    And power on
                    Now stick should wake up in boot menu.
                    Inside there is a option and inside you can change it to pure usb mode

                    So I'm going to have to do this every time I switch from the web based UIFlow to the desktop UIFlow?

                    ajb2k3A 1 Reply Last reply Reply Quote 0
                    • ajb2k3A
                      ajb2k3 @Happy Hippo
                      last edited by

                      @happy-hippo yes, you will have to manually switch modes.

                      UIFlow, so easy an adult can learn it!
                      If I don't know it, be patient!
                      I've ether not learned it or am too drunk to remember it!
                      Author of the WIP UIFlow Handbook!
                      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                      1 Reply Last reply Reply Quote 0
                      • C
                        cata
                        last edited by

                        ENVII HAT on M5StickC works with the example by changing:
                        Wire.begin(32, 33);
                        to:
                        Wire.begin(0,26);

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