Thread: Making Servo rotate 180 degrees

  1. #1
    Registered User
    Join Date
    Nov 2008

    Making Servo rotate 180 degrees


    I am part of my schools robotics team, we had just finished the first part of a robotics competition, we made to the top 4 and now where going to Alabama for the final part of the competition. The Robot performed well but not well enough, but luckily there more important things then the robot performance. In the competition we have to pick up these subassemblies that when put together make a small plane. We have the a gripper that we want to open more but the servo only rotates 45 degrees and we want it to open 180 degrees, but we none of us really know how to use the C++ Program to program the brain.

    sorry if I Post this in the wrong section.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    Not sure it's the wrong section, but it's certainly not easy for us to say why your servo rotates X only , and how to make that rotate Y degrees. It could be:
    1. Code limitation.
    2. Servo limitation.
    3. Other hardware limitation.

    Without full understanding of the hardware (servo and other components) as well as understanding the code itself, it is absolutely impossible to answer this question.

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    > but we none of us really know how to use the C++ Program to program the brain.
    So was any programming required to get this far?

    I mean, if some of you had actually written the controlling software for the robot (as opposed to what it seems like, you were given the code), then you'd know pretty instantly where the servo limits were coded, and how to go about changing them.

    But as matsp points out, this could easily be a hardware limitation of your servo's.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Convert DegMinSec to Decimal Degrees
    By JacquesLeJock in forum C Programming
    Replies: 3
    Last Post: 11-21-2007, 10:59 PM
  2. Temperature conversion...
    By Onslaught in forum C Programming
    Replies: 3
    Last Post: 10-21-2005, 01:15 PM
  3. rotate screen by XX degrees?
    By Dag_ in forum C++ Programming
    Replies: 2
    Last Post: 06-08-2005, 05:47 AM
  4. How do I rotate a matrix 45 degrees?
    By caduardo21 in forum C Programming
    Replies: 2
    Last Post: 06-06-2005, 01:19 AM
  5. Is this right
    By Granger9 in forum C Programming
    Replies: 6
    Last Post: 08-14-2002, 02:21 AM
Website Security Test