Chapter 7 - Navigating with Infrared Headlights |
Outcomes: By the time you complete this section you will be able to:
Assignments:
|
Videos and Simulations
Activity Videos: |
Key Points or FAQs:
How is the Freqout command used? The Freqout command varies the frequency of an output signal. For example it can be used to make a light brighter or dimmer by varying the light wave frequency, or it can be used to vary a tone on an audio frequency. A FREQOUT signal contains two sine wave components with two different frequencies. One component’s frequency is Freq1. The second component’s frequency 65536 – Freq1 (or the amount of time). What does a high signal and a low signal mean from the IR detector? The high signal means that there are no objects within the range of the IR detector. The lower the number returned in the signal, the closer an object is to the IR detector. Advanced topic: Learn more about IR Detectors http://www.ladyada.net/learn/sensors/ir.html What is an interference sniffer and why is it needed? An interference sniffer is a routine that checks to see if a value returned is valid or possibly bad data outside of what is expected. It’s needed to make sure the robot doesn’t respond to false positives or data that is outside of the expected results. For Example, if IR is detected in an area where the Boe-Bot is not sending IR, then it could lead to false results. By using an interference sniffer, the robot can check to make sure the area in which it will be operating is free of bad data or stray signals. |
|||