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

    Missing module with my core M5 Basic ??

    PRODUCTS
    3
    10
    14.3k
    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.
    • L
      lfleron
      last edited by

      Hello,
      I bought the core M5 Basic and I want to connect the light sensor with relay module (I want to do as the video presentation). But both have a Grove connection. I think I'm missing a connection module, but which one?
      Thanks for your help.

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

        @lfleron You need to use the Pbhub to convert analog signals into i2c as the basic only has the i2c port
        Pbhub
        or you can use dupont connectors to connect the sensor and relay to the analogue pins on the bottom of the core basic.

        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
        • L
          lfleron
          last edited by

          I think that according to the documentation it is rather the PbHub? Because I / O must be converted to a single I2C. We do not want to have more I2C so it's not PaHub?
          But on the presentation video is the M5 Core with a gray module below. The person does not use paHub or pbhub in the video in the link: https://www.youtube.com/watch?v=DgxC_0WGkgk
          Thank you for your answer ;-)

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

            @lfleron said in Missing module with my core M5 Basic ??:

            I think that according to the documentation it is rather the PbHub? Because I / O must be converted to a single I2C. We do not want to have more I2C so it's not PaHub?
            But on the presentation video is the M5 Core with a gray module below. The person does not use paHub or pbhub in the video in the link: https://www.youtube.com/watch?v=DgxC_0WGkgk
            Thank you for your answer ;-)

            Yes the Pbhub sorry typo. Luke is using a gray core which has the go base which has An analog port and a UART.
            The core which has a black base has all the pins broken out.
            The gray uses the go base.
            Which has two ports and the RGB leds.
            While the light sensor can be connected to port A, the relay can not be connected to port A as it causes the m5Stack to reset.
            Also the video was made before the hubs,

            However, both the relay and light sensor can both be connected to port B using a groveT connector as the sensor uses analog0 and the relay usses analog1

            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!

            L 1 Reply Last reply Reply Quote 0
            • L
              lfleron @ajb2k3
              last edited by

              @ajb2k3
              Thanks again for your answers.
              I discover this new product which is fantastic to learn.
              You say: "While the light sensor can be connected to port A" but if I connect it as indicated in port A M5 says "ERROR invalid Pin for ADC.
              I find normal this answer because the porta = I2C and the light sensor are outputs analog and digital so rather for the port B.
              The only solution for me will be to buy the gray base to plug into the M5 Black?
              Because I do not want to cut the groove wires to connect them directly to the black M5 core pin connectors.
              LF

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

                @lfleron no need to cut if you have jumper/DuPont cables. The go base is the easiest way to connect things together. Invalid port? Looks like i need to check my documents thanks for letting me know

                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
                • L
                  lfleron
                  last edited by

                  The jumper / DuPont Female cables can not fit into the Male groove connector because the size of 4 jumpers is larger than the inside size of the groove connector.

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

                    usually you can get around it by cracking the plastic off one of the dupont female connectors, its a sketchy workaround but it works for me

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      lfleron @lukasmaximus
                      last edited by

                      @lukasmaximus
                      The solution you mention is not clean.
                      It takes a cable groove <--> Dupont.

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

                        I didn't say it was clean, it's a workaround. You can buy grove to dupont converters.
                        https://www.aliexpress.com/item/32801421897.html?spm=a2g0o.productlist.0.0.4612d357XRyxy0&algo_pvid=32f54ee3-80fd-47a2-8346-79292f9c97d6&algo_expid=32f54ee3-80fd-47a2-8346-79292f9c97d6-22&btsid=c43ffbaf-dfc6-4639-81cc-59bfa84bb838&ws_ab_test=searchweb0_0,searchweb201602_6,searchweb201603_52

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