🤖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 ?

    Scheduled Pinned Locked Moved Modules
    4 Posts 2 Posters 5.5k Views
    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 Offline
      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 Offline
        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 Offline
          ramaker
          last edited by

          Thank you !

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

            Always happy to help :)

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post