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

    Range of GoPlus2 command

    Modules
    2
    2
    261
    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
      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
        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
        • First post
          Last post