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

    Sharing Code for RC Servo tester

    PROJECTS
    3
    7
    12.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.
    • P
      pattiuak
      last edited by

      Hi.

      I just start code m5stack for 2 day (My model is m5stack fire).
      This code support 3 mode .

      • Manual Mode. You can set RC servo from 0 to 180 degree.(10 degree per step.)

      • Center Mode. This mode will lock servo at 90 degree.

      • Sweep Mode. This mode will loop sweeping servo to 0, 90 and 180 degree then sweep back to 90 and 0 degree.

      download file here

      alt text

      ajb2k3A 1 Reply Last reply Reply Quote 1
      • ajb2k3A
        ajb2k3
        last edited by

        Well, that’s a bit more interesting then my attempt at a servo tester. Thank you for sharing. Do you mind if I add it to the UIFLOW handbook?

        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!

        P 1 Reply Last reply Reply Quote 0
        • H
          heybin
          last edited by

          Very cool, could i add it in uiflow example

          P 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @pattiuak
            last edited by ajb2k3

            @pattiuak said in Sharing Code for RC Servo tester:

            Hi.

            I just start code m5stack for 2 day (My model is m5stack fire).
            This code support 3 mode .

            • Manual Mode. You can set RC servo from 0 to 180 degree.(10 degree per step.)

            • Center Mode. This mode will lock servo at 90 degree.

            • Sweep Mode. This mode will loop sweeping servo to 0, 90 and 180 degree then sweep back to 90 and 0 degree.

            download file here

            alt text

            Ahh, wrong port was set, now working on the Black Core.

            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
            • P
              pattiuak @ajb2k3
              last edited by

              @ajb2k3 I don't mind. Please do it.

              ajb2k3A 1 Reply Last reply Reply Quote 0
              • P
                pattiuak @heybin
                last edited by

                @heybin Please do it.

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

                  @pattiuak said in Sharing Code for RC Servo tester:

                  @ajb2k3 I don't mind. Please do it.

                  Thank you Very Much!

                  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