Thread: A few questions
View Single Post
  #5   Spotlight this post!  
Unread 28-01-2004, 12:15
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: A few questions

Quote:
Originally Posted by cheezewiz
First off we heard that the schematic for the IR emmiter circuit was wrong, so we followed the new schematic and it just overheated and diddnt do anything. Was the origional schematic really wrong, or did we just wire the new circuit wrong?
The diagram in the kit and subsequent update on 1-16-04 had a flaw. The directions dated 1-27-04 are correct.


Quote:
Originally Posted by cheezewiz
Then asuming that the emitter circuit is working, and we have the infrared reciever hooked up to digital input 1, what variable should we be useing to get input from the censor (as in rc_dig01)? Also when the robot sees the censor what value should the variable show?
The variable to check is Sensor_Stats[x].Beacon_Quality[y], where x indicates the sensor number (use 0 for sensor 1, 1 for sensor 2,..., 3 for sensor 4) and y indicates which beacon you want data for (use 0 for type-0, 1 for type-1). If the beacon indicated by y isn't in view of the sensor, this value will be 0. If the beacon indicated by y is in view, this value will be >0 (usually 2 or 3). When the receiver.c code is running, this variable is updated around 38 times a second. More information can be found on the infrared beacon and tracking frequently-asked-questions page. BTW, digital input 1 isn't one of the choices. Please attach the sensors according to the information in receiver.c. Let us know if you have any problems.

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