Jump To Content

LearnHub



2 Comments

  1. From the lesson Arduino and Servos

    Fri, 05 Dec 2008 18:20:10 -0000

    thank’s for the answer… in fact i understood my mistake while writing my message… but anyway it’s good to hear from you!

    best from montreal!

    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes
  2. From the lesson Arduino and Servos

    Mon, 10 Nov 2008 23:51:41 -0000

    i’ve tried your sketche but all i get is a continous motor run… even if i change the myAngle to whenever Angle, it just have an impact of the speed, not the angle to where to stop my servo..

    maybe i’ve missed something (i’ve adapted your sketche for 1 servo (Parallax continuous rotation servo)...

    cheers

    j.

    Actions
    • 1 Reply
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

    1. robodude666 saidTue, 25 Nov 2008 06:17:50 -0000

      A continuous rotation servo does not have a potentiometer or stop inside of it, so the servo doesn’t “know” what angle or position it is on. All you can do with continuous rotation servos is control speed by PWMing the power, or control direction. If you need continous rotation and angle detection, then you’ll need to get a regular DC motor and an encoder. Try to get a motor with a built in encoder, or encoder attachment if angle is very important in your project. There are optical encoders which are cheaper, but they require a colorful disc on the wheel which adds errors.

      Rating
      0
      Rate Up
      Author
      robodude666
      robodude666
      Authority 0