Go to Post And, if you don't know what something means, say so, we'll be happy to explain. - DonRotolo [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-05-2006, 10:30
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

I am considering running a vex or EDU controller to handdle most or all of the sensors on next year's robot and want to have it working on this years robot this summer. What i want to do is have a serial cable runnign between the VEX and FRC controllers that would send all the sensor data mabe ten time a second. Idealy the VEX unit would know what pwm values were being sent to the motors so it would be able to say change the camera values as the robot starts to move. or be able to tell if the accelration is from the motors or if the robot got hit. So is it posibal to run this kind of program on a vex? How hard would it be to run Kevin's serial port code on a vex controller? And, i still don't have any good Gear tooth code.

If anyone has any ideas or suggestions i'd like to hear them.
__________________
Eric Haskins KC9JVH
  #2   Spotlight this post!  
Unread 21-05-2006, 11:32
jerry w's Avatar
jerry w jerry w is offline
Free Agent Mentor
no team (Team Krunch)
Team Role: Engineer
 
Join Date: Nov 2003
Rookie Year: 2002
Location: dunedin fl
Posts: 113
jerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud of
Re: Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

you are making things harder by adding another controller.
the FRC controller can handle every sensor mentioned here. our team had several potentiometers in addition to the items in your list. the gear count sensors were the only problem for the FRC controller. i would suggest using a quadrature controller for rolling measurements.
our 2006 team had wiring problems. so not all the sensors were active. but the code was in the controller. we are currently fixing the wiring so as to demonstrate the optimized control.
we would be glad to share our efforts with you.

jerry w
__________________
Happiest when people tell the truth... However, I am blessed with many friends.
  #3   Spotlight this post!  
Unread 21-05-2006, 12:11
Matt H. Matt H. is offline
Long Distance Mentor
FRC #1726 (N.E.R.D.S.)
Team Role: Alumni
 
Join Date: May 2006
Rookie Year: 2007
Location: Sierra Vista, AZ
Posts: 238
Matt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond repute
Re: Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

I'm not sure if another controller is the way to go. I'm very much in favor of keeping a robot as simple as possible leaving less chance of error. While I believe it would be possible to use a vex controller I'm not sure why you would want to.
  #4   Spotlight this post!  
Unread 21-05-2006, 17:56
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

I'd suggest going with the 2nd-gen EDU bot. That runs the same way as the main controller I believe. The VEX, like everyone else has said, will just be a hassle. However, the EDU bot will handle it just like the FRC one will. However, since it is the older chip, you'll have to just compile the code in the same way you did 2004/2005 controllers. But, in theory once you've developed your code you can just compile it the way we had to this year for the 2006 controller without any issues. Either way you look at it, if they are making changes for 2007 (which if you've been reading the rumors floating around, there's definitly a possibility of this occuring) you may have a total revamp or just a basic "change the compiler" thing like this year. Sticking with the EDU should keep you in the ballpark with your code to easily transfer to whatever they throw at us next year though, definitly more than the VEX. Good luck with it!
__________________
Chopsaw? Chopsaw.
  #5   Spotlight this post!  
Unread 21-05-2006, 19:10
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

Quote:
Originally Posted by EHaskins
I am considering running a vex or EDU controller to handdle most or all of the sensors on next year's robot
Out of curiosity, what problem are you trying to solve by adding a second controller to your robot? I have an EDU, a Vex, and a Gumstix in my collection of robot stuff, and I would love to slap one onto my team's robot, but I don't really know why I would. The only justification I could use is if you needed more than 18 I/O lines, or more than six interrupts, but I can't possibly imagine what you would be doing that would necessitate that.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #6   Spotlight this post!  
Unread 21-05-2006, 19:17
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,262
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

I thought the EDU controller cost too much for this application, does it fit into the rules? I would reccomend a Gumstix, teams in the past have used them to do higher level math so it doesn't slow the controller, you get more for your money this way.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #7   Spotlight this post!  
Unread 22-05-2006, 09:16
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

Based on our past 3 years experience of using interrupt driven events to count shaft encoders for speed and distance, I'd say that a 2nd processor would be useful for off-loading that task from the FRC. Sampling accelerometers also comes to mind... It all comes down to the sensors you plan to use for a particular game, the accuracy you think you need, and the resources you have to pull it off.

...my 2 cents
Eric
__________________

Don't PANIC!
S. P. A. M.
  #8   Spotlight this post!  
Unread 22-05-2006, 10:16
Richard Wallace's Avatar
Richard Wallace Richard Wallace is offline
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,623
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

Quote:
Originally Posted by JamesBrown
I thought the EDU controller cost too much for this application, does it fit into the rules? I would reccomend a Gumstix, teams in the past have used them to do higher level math so it doesn't slow the controller, you get more for your money this way.
Because of its $249 list price on the IFI site, the EDU controller would not have been a legal COTS electronic component under <R49> in the 2006 robot rules:
Quote:
Originally Posted by <R49>
The total cost of all non-Kit items may not exceed $3,500.00 USD. No individual COTS electronic component shall have a value of over $200.00 USD. ...
A separate controller might be useful -- just be sure your solution will be allowed at robot inspection before you invest a lot of time/money.

Thanks for the tip on Gumstix. These look interesting, and the pricing looks good, too.
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
  #9   Spotlight this post!  
Unread 22-05-2006, 12:08
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program

First the VEX controller is almost the same as an edu controller it runs two 18f8720s and is programmable with mplab and IFI Loader. also the VEX controller is under $200 if bought separately from vexlabs.com.

what i wanted to do is run a second controller that could handle most of the sensor software. Part of the reason i want the sensors on a separate processor is so when IFI does update the robot controller i can leave all the sensor software and just write the new software for the master controller to interpret the serial signal from the VEX/EDU/Gumstix. I have considered the possibility of the master controller to power the VEX off one of the Digital Outputs and have the Main Processor be able to reset the VEX if it stops responding.

Edit: Jerry W if you would be able to e-mail me a copy of that code i would appreciate it. haskinseric@hotmail.com
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 22-05-2006 at 12:11.
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
where can we buy hall effect sensors or gear tooth sensors amirjpl Electrical 3 13-02-2006 11:02
Gear Tooth Sensor nukem Programming 9 04-02-2006 20:21
Gear Tooth Sensors et1337 Electrical 7 28-01-2006 22:48
Source for Additional Gear Tooth Sensors Madison Kit & Additional Hardware 3 18-01-2006 16:57
Accelerometer vs Gear Tooth Sensors zdeswarte Electrical 4 22-01-2005 15:35


All times are GMT -5. The time now is 04: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