Go to Post Bring on the competition! And of course the dancing. :D - booton [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
  #1   Spotlight this post!  
Unread 29-01-2006, 19:02
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Ball speed trap using 2005 RC

An interrupt/timer example that implements a ball speed trap using banner sensors can be found at:
www.srvhsrobotics.org/eugenebrooks/
in the file SpeedTrap2005.zip.

Teams might find this code useful in confirming that your ball shooter does not exceed 12 meters/sec. This code builds and runs on the 2004/2005 RC that you might have laying around from last year.

Many teams will have "narrow beam" banner sensors and reflective tape laying about around previous years as well and can quickly cobble a speed trap using these. Set up your banner sensors so that the digital inputs see a "1" when the light beam is clear of any obstruction. The sensor at the start of the speed trap is wired to digital input 01. The sensor at the end is wired to digital input 02. The code assumes a 19 inch separation between the beams, but you can adjust the calibration to any desired distance. The results are printed on the computer display with two digits behind the decimal point (truncated). The result is also shown on the user mode led display on the OI, in tenths of meters per second (rounded), making a selfcontained instrument without an attached computer possible.

Have fun,
Eugene

Last edited by eugenebrooks : 29-01-2006 at 19:08.
 


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
Speed Sensor for Ball Shooter Justin Stiltner Electrical 15 28-01-2006 14:40
Ball Compression? Veselin Kolev Technical Discussion 2 23-01-2006 15:47
**FIRST EMAIL**/No Limits Global Exhibition at 2005 World Exposition Rich Wong FIRST E-Mail Blast Archive 0 27-07-2005 12:40
Ball Shooter Squall Rules/Strategy 7 11-01-2005 14:47


All times are GMT -5. The time now is 18:54.

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