Missing module with my core M5 Basic ??



  • 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.



  • @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.



  • 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 ;-)



  • @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



  • @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



  • @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



  • 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.


  • M5Stack

    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