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

    Grove HUB unit trouble

    Units
    5
    12
    23.2k
    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.
    • m5-docsM
      m5-docs @vvs551
      last edited by

      @vvs551
      Do you mean that you are programming ENV unit which consists of DHT12 and BMP280? And the connection: ENV unit -> Hub unit -> M5Core. Finally, you can not read DHT12 value but BMP280 works well?

      M5Stack documentation URL

      https://docs.m5stack.com

      V 1 Reply Last reply Reply Quote 0
      • V
        vvs551 @m5-docs
        last edited by

        @watson Absolutely.
        I could not scan DHT12 address

        m5-docsM 1 Reply Last reply Reply Quote 0
        • m5-docsM
          m5-docs @vvs551
          last edited by

          @vvs551
          How about ENV unit connects to M5Core straightly?

          M5Stack documentation URL

          https://docs.m5stack.com

          V 1 Reply Last reply Reply Quote 0
          • V
            vvs551 @m5-docs
            last edited by

            @watson in case of direct connection, ENV unit is working without any problem

            1 Reply Last reply Reply Quote 0
            • P
              PlayTheGame
              last edited by

              @vvs551 If you wire the ENV module to the GROVE port A (with and without HUB) do you have the charging base connected?
              Specifically do you have the M5GO Base (e.g. Fire) or the Core Bottom Base?

              1 Reply Last reply Reply Quote 0
              • V
                vvs551
                last edited by

                Oh yes!)
                I discovered the cause of this problem with ENV unit
                It is long cable (50 cm) to HUB unit
                When I connected HUB unit with short cable to m5core - all I2C addresses was scanned successfully!
                0_1548318186295_f1c52e6a-0154-4c2f-a1f3-feb9900a442a-image.png

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

                  @vvs551 said in Grove HUB unit trouble:

                  Oh yes!)
                  I discovered the cause of this problem with ENV unit
                  It is long cable (50 cm) to HUB unit
                  When I connected HUB unit with short cable to m5core - all I2C addresses was scanned successfully!
                  0_1548318186295_f1c52e6a-0154-4c2f-a1f3-feb9900a442a-image.png

                  Nice discovery

                  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
                  • V
                    vvs551
                    last edited by

                    Unfortunately, all these wires were bought in the official m5stack store(
                    Including 50 cm wire

                    1 Reply Last reply Reply Quote 0
                    • lukasmaximusL
                      lukasmaximus
                      last edited by

                      Are the wires in the same order as your short cables? we were having QC issues for a while where the manufacturing department put the wires in the wrong order into the grove connector. Would greatly appreciate if you could double check for me.

                      Thanks

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

                        Also out of scientific curiosity, try wrapping the wires in some foil. It could be that the larger wire need to be shielded or the device may need its own power at that distance

                        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
                        • lukasmaximusL
                          lukasmaximus
                          last edited by

                          I tested a hub device attached to port A with a few 100cm grove cables and I was able to successfully read the i2c address of the ENV sensor and also others. I tested with the i2c_tester arduino program https://github.com/m5stack/M5Stack/blob/master/examples/Advanced/I2C_Tester/I2C_Tester.ino perhaps its just an isolated incident.
                          0_1548835367201_WechatIMG46.jpg

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