View Single Post
  #2   Spotlight this post!  
Unread 11-01-2004, 13:21
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: InfraRed = gps ?

Quote:
Originally Posted by mightywombat
ok. So you'd have one beacon tracking each of the different types by how often they recieve envelopes? How exactly are you going to figure out the distance from the emitter? Will the signal be recognizeably weaker the farther you get from it?
This is the sequence of events within the beacon state machine:

1) The type-0 beacon is allowed to flash for 1ms. As the carrier frequency is 40KHz, this means the LED will flash on and off 40 times.

2) A delay of 3.5ms where both LEDs are off. This allows reflections to die off before...

3) The type-1 beacon (on the other side of the field) is allowed to flash for 2ms, which means the LED will flash on and off 80 times.

4) Another 3.5ms delay is inserted where the LEDs aren't flashed before the state machine starts all over again at #1 above.

If you add up all of the periods (1ms + 3.5ms + 2ms +3.5ms), you'll see that the total time needed to flash the beacons is 10ms, which means the beacons flash at a 100Hz rate.

You can calculate your distance and angle to the beacon by using a little trig (exercise left to the student ).

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org

Last edited by Kevin Watson : 12-01-2004 at 12:22.
Reply With Quote