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

    4 Channels DC Encoder Motor driver module - how to use the I2C ports ?

    Modules
    2
    4
    4.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.
    • R
      ramaker
      last edited by

      The 4 Channels DC Encoder Motor driver module provides 2 additional I2C connectors.
      2x IIC GROVE port (extend PORTA from M5 Core)
      According to the schematic they are connected to the MBus = to the M5stack core.

      How can I use it ?
      For examole : how can I read a value from a connected sensor ?

      In the UIFlow block for that module there are only functions for controlling the motor or the encoder.

      1 Reply Last reply Reply Quote 0
      • sodokuS
        sodoku
        last edited by

        Those ports are connected to the same pins as the regular PortA on the core. Since I2C allows several devices on the same pins, you can attach I2C devices to those ports and use them in UI flow the same as with PortA. You essentially have three PortAs now.

        1 Reply Last reply Reply Quote 0
        • R
          ramaker
          last edited by

          Thank you !

          1 Reply Last reply Reply Quote 0
          • sodokuS
            sodoku
            last edited by

            Always happy to help :)

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