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

    Range of GoPlus2 command

    Scheduled Pinned Locked Moved Modules
    2 Posts 2 Posters 907 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.
    • T Offline
      Totoche
      last edited by

      Hello, I try to use a GoPlus2 module in two way :
      First to command directly DC brushed motors,
      Second to command brushed motor through ESC.
      For the first way, I want to know the range of the motorSpeed for the method goPlus.Motor_write_speed(). In the example of the "documentation", the user set the motorSpeed between (-127,127)?
      For the second way, I want to know the range of the width for the method goPlus.Servo_write_plusewidth(). I want generate a pulse between 1ms and 2ms.
      Thank you for your help. If there's a precise documentation about GoPlus2 module, I'm a taker

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

        @Totoche -127 is reverse 0 is off and 127 is forwards, the full output voltage is limited to 5v I haven’t measured current but I have been able to run a OO gauge model railway at 5V from the output pins.
        PWM pulse is set to the normal servo pulse frequencies

        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

        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