Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Announcements
  3. 💬 Servo Control Actuator

💬 Servo Control Actuator

Scheduled Pinned Locked Moved Announcements
14 Posts 8 Posters 2.8k Views 8 Watching
  • 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.
  • Duncan PullenD Offline
    Duncan PullenD Offline
    Duncan Pullen
    wrote on last edited by
    #5

    I had issues with this sketch only doing what looked like 90° of motion when using a slider.
    Turned out, it was doing 100°.
    To rectify change the myservo.write line to:
    myservo.write(SERVO_MAX + (SERVO_MIN-SERVO_MAX)/100 * 1.8 * val); // sets the servo position 0-180

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anno
      wrote on last edited by
      #6

      how, what and is it possible to control 2 servo's, on pin 3 and 4 of 1 arduino?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Albert P
        wrote on last edited by
        #7

        hello, Im getting following error during compilation this examle (latest libraries)
        \libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function `ServoCount':

        (.text+0x0): multiple definition of `__vector_11'

        mfalkviddM 1 Reply Last reply
        0
        • A Albert P

          hello, Im getting following error during compilation this examle (latest libraries)
          \libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function `ServoCount':

          (.text+0x0): multiple definition of `__vector_11'

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #8

          @albert-p thanks for reporting.
          Which board are you using?
          How did you install the servo lib? From which source?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Andrzej
            wrote on last edited by
            #9

            hello. I have a problem with this sketch. After restart, the servo moves only once, then the whole system locks.

            mfalkviddM 1 Reply Last reply
            0
            • A Andrzej

              hello. I have a problem with this sketch. After restart, the servo moves only once, then the whole system locks.

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #10

              @Andrzej what does the node's debug output say?

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Andrzej
                wrote on last edited by
                #11
                This post is deleted!
                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Andrzej
                  wrote on last edited by
                  #12

                  nothing, node is blocked, i think this is due to servos time measurement in sketch, but when i replace servo with led, led blinks. I'm using MYSController

                  skywatchS 1 Reply Last reply
                  0
                  • A Andrzej

                    nothing, node is blocked, i think this is due to servos time measurement in sketch, but when i replace servo with led, led blinks. I'm using MYSController

                    skywatchS Offline
                    skywatchS Offline
                    skywatch
                    wrote on last edited by
                    #13

                    @Andrzej Maybe power related - what power supply are you using and are you connecting servo to arduio for it's power?

                    A 1 Reply Last reply
                    0
                    • skywatchS skywatch

                      @Andrzej Maybe power related - what power supply are you using and are you connecting servo to arduio for it's power?

                      A Offline
                      A Offline
                      Andrzej
                      wrote on last edited by
                      #14

                      @skywatch, wow, you were right, I remembered such a basic thing, thank you for your help

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      13

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular