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

    UIFlow custom module for Servo2

    Modules
    1
    2
    3.9k
    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.
    • O
      Ove
      last edited by

      I could not find any support for Servo2 module in UIFlow so I created a Custom UIFlow module

      https://gitlab.com/ove.risberg/uiflowblockservo2

      This module was created for Core2 but if the i2c pins are modified it should also work on older Cores.
      I hope to make this configuration automatic in future versions of Servo2.m5b

      O 1 Reply Last reply Reply Quote 1
      • O
        Ove @Ove
        last edited by

        I have added one more block for enabling power from Servo2 module and the new Servo2.m5b can be found here: https://gitlab.com/ove.risberg/uiflowblockservo2

        You still need the battery in M5Core2 or USB cable connected since the current firmware is turning off external power shortly after boot so your M5 will poweroff if no USB cable or the internal battery is connected... if the new "Servo2 enable external power" block is used the external power is enabled and you can disconnect the USB cable.

        The internal battery should be charged by the external power after the new "Servo2 enable external power" block is used.

        Thanks to @felmue for the code used in the new "Servo2 enable external power" block!

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