View Single Post
  #5   Spotlight this post!  
Unread 15-02-2013, 12:17
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: programmed DC motor in degree..

Quote:
Originally Posted by akash992391 View Post
i have servo but how u programmed that i tried everything but doesn't work on servo can u help me please how to programmed servo i have all electical is good connected but the big problem is progrmming idk please help us....thanx
A servo is programmed much like a motor. Instead of setting its relative power from -1 to +1, you set a desired angle from 0 to 180-ish.

But before we go too far down the road of providing you with helpful software, can you convince us that you have the servo correctly wired? Tell us exactly where you have it plugged in, and which colored wires go to what pins, and anything else associated with the electrical connections.