Top Banner
IR Receiver Board Frequency select Exposure control Intensity output am plifier selector Tuning circuit Exposure C ontrol Resetto detector#0 sensitivity 0 1 2 3 4 5 6 7 counter 8 4 2 1 reset count Infrared detectors VEX C ontroller AD1 A D 14 A D 15 A D 16 Circuitboard Side view Top V iew Longerlead Board edge
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!

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

limit_pwm() Program