ir receiver board. global variables main() for goto_beacon program call three functions note: you...
Post on 21-Dec-2015
213 views
TRANSCRIPT
![Page 1: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/1.jpg)
IR Receiver Board
Frequency select
Exposure control
Intensity output amplifier
selector
Tuning circuit
Exposure Control
Reset to detector #0
sensitivity
0 1 2 3 4 5 6 7
counter 8 4 2 1 reset
count
Infrared detectors VEX
Controller
AD1
AD14
AD15
AD16
Circuit board
Side view Top View
Longer lead
Board edge
![Page 2: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/2.jpg)
GlobalVariables
Main() for GOTO_Beacon Program
Call three functions
Note: you need to change freq for the beacon you want to find!
![Page 3: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/3.jpg)
amplifierTuning circuit
From previous stage
1kHz To next stage
Beacon Frequency Selection(filter)
AD14Freq select (0=1kHz, 1=10kHz)
![Page 4: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/4.jpg)
Read_PD() Function
1
1
0
0
![Page 5: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/5.jpg)
Infrared Detectors
Selector
1
10
To next stage
counterLEDs
1kHz
AD16 Counter reset
AD15 pulse
IR Detector Selection
1
1
0
Count output set to zero
Get ready to count
Increment count (0 to 1 transition)
![Page 6: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/6.jpg)
amplifierTuning circuit
From previous stage
1kHz To next stage
Beacon Frequency Selection(filter)
AD14Freq select (0=1kHz, 1=10kHz)
![Page 7: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/7.jpg)
Exposure Control Circuit
AD15
From previous stage
To AD1
(VEX Analog input)
Amplifier
1 Clear ‘film’ (discharge C14)
0 Open ‘shutter’ (allow C14 to charge)
![Page 8: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/8.jpg)
expose_and_read() Function
![Page 9: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/9.jpg)
Main() for GOTO_Beacon Program
Find maximum intensity
![Page 10: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/10.jpg)
find_max() Function
![Page 11: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/11.jpg)
Main() for GOTO_Beacon Program
Move the robot
![Page 12: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/12.jpg)
Move() Program
![Page 13: IR Receiver Board. Global Variables Main() for GOTO_Beacon Program Call three functions Note: you need to change freq for the beacon you want to find!](https://reader035.vdocument.in/reader035/viewer/2022070323/56649d5d5503460f94a3b9b4/html5/thumbnails/13.jpg)
limit_pwm() Program