Go to Post ADMIT IT! Dave Lavery has better legs than Amanda Morrison! - DCA Fan [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 24-06-2002, 03:50
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: That's what I was looking for

Posted by Tom S. at 04/26/2001 8:53 PM EST


Student on team #177, The Bobcats, from South Windsor High School and International Fuel Cells.


In Reply to: That's what I was looking for
Posted by ChrisH on 04/25/2001 1:59 PM EST:



Chris,

Couldn't you just do this by adding a potentiometer to the arm's pivot point, and using software to get it to go to a set position? we did this successfully in florida, i wrote code that on every loop it checked to see what position the arm was at through the potentiometer, and if it was too high or too low it set the motor speeds accordingly...

This may or may not be what you want to do, i'm not really sure what you mean by a servo-design, I put the code that we use to do this on our bot at the bottom of this post... the code looks kind of wierd beucase my code lost its formatting when i posted it. good luck

Tom Schindler
Team 177


if p3_sw_trig = 1 and p3_sw_trig = 1 then armpos
goto noarmpos

armpos:
'This will move the arm until sensor1
'reads 134.

if sensor1 > 134 then armdown
goto skiparmdown

armdown:
if sensor1 128 then armupslow
p4_y = 67
goto skiparmup
armupslow:
p4_y = 114
skiparmup:

noarmpos:



__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


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 Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:10.

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