Go to Post The moral of this story: A healthy respect for the customer, dedication to your job, and a positive outlook can make even the most trivial and monotonous job into a wonderful experience. - Molten [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 14-02-2006, 16:59
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: Camera isn't working

A servo is a tiny motor with a built-in position sensor, along with a small circuit that controls the motor in order to make the sensed position match the commanded position. You will need to duplicate that sort of system with a motor from the Kit of Parts and a position-sensing device such as a potentiometer, along with programming that controls the motor in order to make the sensed position match the commanded position. A simple algorithm would be to find the error between the desired and measured positions and drive the motor in the appropriate direction until the error is near zero.

For a fancier and more effective algorithm, search the forums for PID position control.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who has the camera working? cvbritton Programming 43 28-01-2007 13:46
Camera shows no love to drive motors anifinder Programming 4 13-02-2006 10:31
Camera code not working.... DemonYawgmoth Programming 5 11-02-2006 09:21
Camera not working st1nkm4n Programming 7 02-02-2006 08:22
Camera stops working when we use camera_set_servos()... SeanCassidy Programming 16 13-02-2005 03:08


All times are GMT -5. The time now is 02:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi