|
|
| Create an echo-locator. |
|
Similar to a bat with a sonar echo locator, this program uses light to measure distance, with sound as a feedback. Using your RCX or NXT, and a light sensor, develop your own echo locator.
Part 1: This program should use the light sensor value to determine the frequency of the note played. The light sensor value will need to be multiplied by a factor to create a frequency humans can hear. Start with a muliplier of 100 and experiment to see how other values affect the pitch.
Part 2: Using the Container's Container, have your echo locator iterate with different mulipliers. The first loop it mulitplies by 100, the second by 150, the third by 225 and the fourth back to 100.

ses
|