Go to Post It's always nice to have the outside party take a look at your code because one of two things can happen: 1. They write it better. 2. They find your stupid mistake. - [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-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 13-01-2008, 09:29
Brian Connors Brian Connors is offline
Registered User
FRC #1358 (The Generals)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: New York
Posts: 3
Brian Connors is an unknown quantity at this point
Sensor Issues

My team is looking to build a tricycle with the rear 2 as drive wheels and the front as a steering wheel (no forward power, only turn). The other programmer and I cannot figure out what sensor to use to determine the angle the front wheel is at to make it return to center when the joystick centers. If this makes any sense please help. If it doesn't, please let me know and I'll try to reword it. Thanks in advance.
  #2   Spotlight this post!  
Unread 13-01-2008, 09:37
avatarrobodude avatarrobodude is offline
crazy programmer
AKA: Tye Radabaugh
FRC #2068 (Metal Jackets)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Manassas, Virginia
Posts: 5
avatarrobodude is an unknown quantity at this point
Send a message via AIM to avatarrobodude Send a message via Yahoo to avatarrobodude
Re: Sensor Issues

Depending on the way that your steering is set up, you may be able to attatch a potentiometer to the steering axel, I guess it would be. Then it would be a simple matter of plugging into an analog port and getting the feeback.
Other than that I don't know of any other sensors you might be able to use like that.
__________________
My daily diet consists of: brackets for breakfast, pneumatics for lunch, software for dinner, and plastic tubes for dessert.
  #3   Spotlight this post!  
Unread 13-01-2008, 09:39
Brian Connors Brian Connors is offline
Registered User
FRC #1358 (The Generals)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: New York
Posts: 3
Brian Connors is an unknown quantity at this point
Re: Sensor Issues

Actually that makes perfect sense. we had not thought of that. Thanks
__________________
1358
  #4   Spotlight this post!  
Unread 13-01-2008, 09:40
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,363
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Sensor Issues

Warning! Our team made a trike before. We used a potentiometer for wheel position and 2 limit switches for calibration and safety. It worked but, the 3 points of contact make for a less stable robot than 4 points of contact. Also, that year each wheel was driven by worm gears. You need to do a little math to set the wheel speed for each wheel in tight turns. I would think twice about trikes.
  #5   Spotlight this post!  
Unread 13-01-2008, 09:45
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: Sensor Issues

If you can hook the potentiometer up to the shaft of the steering that would be your best bet. There are different type of potentiometer including Limitless and just single rotation. Both of these can be hooked up to your Analog input to tell your angle.
http://www.chiefdelphi.com/forums/sh...=potentiometer

You could also do it with an encoder also. You have your starting position call it zero. You count the pulses if you go left or right on the sensor. Then when you want to return you just do the opposite back to zero again.

The easier would be the first option with a potentiometer on the shaft. If you need additional help with programming or something feel free to contact me on IM.
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
  #6   Spotlight this post!  
Unread 13-01-2008, 09:48
Brian Connors Brian Connors is offline
Registered User
FRC #1358 (The Generals)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: New York
Posts: 3
Brian Connors is an unknown quantity at this point
Re: Sensor Issues

I may need some help. Thanks for the offer
__________________
1358
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
video issues Charger_07 General Forum 3 11-02-2007 23:53
CPU issues Windward Electrical 3 01-02-2007 22:49
MPLAB Issues jcatt Programming 3 02-02-2006 17:49
Gear tooth sensor issues Nine9cracker Electrical 2 17-01-2006 02:37
Sensor or no Sensor For Autonomous mode Kyle1010 Programming 14 22-01-2003 13:10


All times are GMT -5. The time now is 12:39.

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