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