Robotics_V2.2_Ch8_solution

# Robotics_V2.2_Ch8_solution - Chapter 8 Questions 1. What...

This preview shows pages 1–2. Sign up to view the full content.

Chapter 8 Questions 1. What would the relative sensitivity of the IR detector be if you use FREQOUT to send a 35 kHz harmonic? What is the relative sensitivity with a 36 kHz harmonic? The relative sensitivity at 35 kHz is 30%. For 36 kHz, it's 50%. 2. If you move an object into Zone 1, which frequencies can be used to detect the object and which cannot? How about Zone 4? Zone 1: Frequencies which detect = 40500, 39500, 38250, 37500 Frequencies that don't detect = 41500 Zone 4: Frequencies which detect = 37500 Frequencies that don't detect = All the rest (41500, 40500, 39500, 38250) 3. Consider the code snippet below. If the index variable is 4, which number will be placed in the prime variable in this LOOKUP command? What values will prime store when index is 0, 1, 2, and 7? LOOKUP index, [2, 3, 5, 7, 11, 13, 17, 19], prime When index = 4, prime = 11 When index = 0, prime = 2 index = 1, prime = 3 index = 2, prime = 5 index = 7, prime = 19 4. What does the command irDetect = IN9 do in the example programs in this chapter? This commands saves the output from the IR detector into a bit-

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 07/25/2008 for the course ME 456 taught by Professor Radcliffe during the Fall '07 term at Michigan State University.

### Page1 / 3

Robotics_V2.2_Ch8_solution - Chapter 8 Questions 1. What...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online