Simple rover robot

well ive got this robot all built and wired up but ive got a few problems with it. for starters the servo is completely stuck i just got the metal gear servo and attached it to the servo port on the adafruit motorshield but when i tried using the servo sweep code it kinda worked but then it just got stuck. it wont move at all ive cut off all power to it and its still stuck the code wont work any more either how can i fix this? im also at a loss for trying o write the code not as easy as i thought it be nothing is moving and im not sure if the sensor even works so if has code for a robot remotely similar to this robot please give it to me [email protected] i jus need a starting code for my robot thanks

 

hopefully navigate around via ultra sound

  • Actuators / output devices: one servo &Tamiya twin gearbox
  • Control method: autonomous
  • CPU: arduino uno
  • Operating system: Microsoft Windows XP
  • Power source: 1 9v for uno and 4 aa for the motor shield
  • Programming language: what?
  • Sensors / input devices: seeedstuido ultrasonic ranger finder
  • Target environment: indoors

This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/simple-rover-robot

how do i post more than one picture

this is like rocket science!!

It would help to see your

It would help to see your code and some more details about your creation. I am sure we can help you to find the faulty code or whatever is wrong with your bot.

When your servo is

When your servo is disconnected, you should be able to manually rotate the servo horn with your fingers. There will be some resistance, but it should not be very hard to move. If the servo is stuck even when it is not connected/powered, you have a mechanical problem.

If you sent the servo an invalid command, for example, commanded it to turn further than it was mechanically designed to do, you may have caused the gears to strip or jam. All it would take would be issuing a servo command with a number either too high or too low. I’ve damaged servos this way myself.

You can carefully disassemble the servo and see if the gears are stuck or damaged. You might be able to fix the problem. If the gears themselves are damaged, you can get replacement parts.

 

You gave us one picture and

You gave us one picture and a very vague description. We need to know ALOT more than what you’ve given us.