OCCRA
Go to Post I may be a little slow responding, I'm shoveling snow. - Mark McLeod [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2008, 01:44 PM
DPTeam270Driver's Avatar
DPTeam270Driver DPTeam270Driver is offline
Deer Park Driver
FRC #0270 (Falcon X)
Team Role: Driver
 
Join Date: Jan 2008
Rookie Year: 1998
Location: Deer Park
Posts: 34
DPTeam270Driver will become famous soon enoughDPTeam270Driver will become famous soon enough
Gear Tooth sensor Programming

hello,
there is a discrepensy within our team
one of our members wants to put 2 gear tooth sensors on both of the motors(one on each). he says that they will be in sync with eachother( in case one motor is slower than the other). is this possible to be done with programming
or will they automattically sync eachother.

-team 270
  #2   Spotlight this post!  
Unread 02-02-2008, 01:47 PM
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: Gear Tooth sensor Programming

Are you putting gear tooth sensors on four driven wheels, two on each side, or are you putting two gear tooth sensors on two driven wheels, one on each side?

Either way, if you're trying to look to synchronize motor speeds with code, you could always try 2 PID loops for each side of the drivetrain. If you mean trying to find values for distance with many gear tooth sensors, taking the average should suffice.

I guess clarification would make it easier to answer the question.
  #3   Spotlight this post!  
Unread 02-02-2008, 01:49 PM
usbcd36's Avatar
usbcd36 usbcd36 is offline
Registered User
AKA: "DOS"
FRC #2399 (The Fighting Unicorns)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Solon, OH
Posts: 150
usbcd36 is a jewel in the roughusbcd36 is a jewel in the roughusbcd36 is a jewel in the rough
Re: Gear Tooth sensor Programming

There are ways to do this with sensors, however, the motors will not "automatically" turn at the same speed.

If your programmer really knows what he's doing, he'll be able to do this, given some time (PID for position control, PD for velocity control, etc…). If he doesn't, he can probably find the information here.

Also, if you haven't corrected the problem with the gear tooth sensors (which involves switching two tiny resistors on one of the boards), you won't get anywhere with them.
  #4   Spotlight this post!  
Unread 02-02-2008, 05:16 PM
DPTeam270Driver's Avatar
DPTeam270Driver DPTeam270Driver is offline
Deer Park Driver
FRC #0270 (Falcon X)
Team Role: Driver
 
Join Date: Jan 2008
Rookie Year: 1998
Location: Deer Park
Posts: 34
DPTeam270Driver will become famous soon enoughDPTeam270Driver will become famous soon enough
Re: Gear Tooth sensor Programming

we were going to put the sensors on the gear boxes so it would count the gear teeth in there. there is a mount for them there(on the plexi side).
to clear up some info,
and we are going to send in the sensor to get it fixed
  #5   Spotlight this post!  
Unread 02-02-2008, 05:55 PM
Gamer930's Avatar
Gamer930 Gamer930 is offline
Team 930 and 171 Alumni
AKA: Justin
no team
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2002
Location: New Berlin, WI
Posts: 388
Gamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to behold
Re: Gear Tooth sensor Programming

Quote:
Originally Posted by DPTeam270Driver View Post
we were going to put the sensors on the gear boxes so it would count the gear teeth in there. there is a mount for them there(on the plexi side).
to clear up some info,
and we are going to send in the sensor to get it fixed
The holes on the Lexan Sides are slightly off we have noticed. . . We ended up making our own holes on the metal side and using some short standoffs.
__________________
2010 to Present, Volunteer
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
Closed Thread


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
Gear Tooth Sensor marco_alchemy Electrical 7 02-06-2008 09:54 AM
Gear Tooth Sensor Maria*61806* Electrical 0 01-30-2008 09:07 AM
Gear Tooth Sensor Nathan Programming 4 01-12-2008 03:09 PM
Gear Tooth Sensor nukem Programming 9 02-04-2006 08:21 PM
Gear Tooth Sensor Talha Electrical 1 01-23-2006 09:29 PM


All times are GMT -5. The time now is 04:19 PM.

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


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