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

    Testing Lego+ Base and Suggestion

    Bases
    3
    5
    9.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.
    • liemphL
      liemph
      last edited by

      I tested the Lego+ Base using three Lego NXT Motors. I am using UiFlow and it seems that not too much can be done with the present version. We know that the Lego NXT motor has an encoder and from the software side, we can control the movement of the motor precisely using the unit of "Rotation", "Degree" and of course simple PWM speed (combine with a time interval). In addition, after a certain amount of shaft movement, usually, we would like to let the motor brake or coast away.

      My testing program used all the available features provided by the UiFlow, and you can see that driving (unload) the motors forward and backward with the same PWM speed does not necessarily bring the motors back to their initial positions. This is frustrating for a serious project.

      I hope in the future M5 will improve these issues. @lukasmaximus89 @m5stack

      0_1587895840792_スライド1.JPG

      0_1587895856482_スライド2.JPG

      liemphL 1 Reply Last reply Reply Quote 0
      • liemphL
        liemph @liemph
        last edited by

        I forgot. I wanted to say that the PID feature of the Lego motor should be included in the future improvement of the Lego+ base API. Thanks.

        m5stackM 1 Reply Last reply Reply Quote 0
        • m5stackM
          m5stack @liemph
          last edited by

          @liemph the LEGO+ module don't provide PID API yet. if you want the use PID API , you could use BASE X module。

          liemphL 1 Reply Last reply Reply Quote 0
          • liemphL
            liemph @m5stack
            last edited by

            @m5stack Thanks. I am now experimenting with Base X.

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

              Firstly, apologies for reviving an old topic. I realise i could use base x (and indeed do own one already). However, i was wondering if there had been any progress on adding the pid functions to the api for the lego+ module. i was hoping to use with ev3 motors but was looking to have both speed and position control.

              many thanks.

              paul

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