... | ... | @@ -96,7 +96,7 @@ |
|
|
>interesting to note that the spikes increase faster than they fade away. This observation can be due to resonance or >echo from the sound waves which take some milliseconds to fade away.
|
|
|
>
|
|
|
> ---
|
|
|
># Exercise 3 - sound controlled car
|
|
|
>## Exercise 3 - sound controlled car
|
|
|
>
|
|
|
>#### Task
|
|
|
>
|
... | ... | @@ -113,7 +113,7 @@ |
|
|
>As every word has its own sound profile It could be interesting to investigate if the robot could interpret and act >differently on various voice commands. For instance it might be possible for the robot to recognize the difference >in length of words. However if different words are of equal length it might be difficult.
|
|
|
>
|
|
|
> ---
|
|
|
># Exercise 4 - button listener
|
|
|
>## Exercise 4 - button listener
|
|
|
>
|
|
|
>#### Task
|
|
|
>
|
... | ... | @@ -142,14 +142,15 @@ |
|
|
>
|
|
|
>```
|
|
|
>In order to make the program terminate we use the S
|
|
|
>
|
|
|
> ---
|
|
|
># Exercise 5
|
|
|
>## Exercise 5
|
|
|
>
|
|
|
> ---
|
|
|
># Exercise 6
|
|
|
>## Exercise 6
|
|
|
>
|
|
|
> ---
|
|
|
># Conclusion
|
|
|
>## Conclusion
|
|
|
>Through this lab lesson we’ve gained experience with the sound sensor and how it can be used as an alternate >navigation method. We found out that the sensor is able to detect sound in distances between 0-4 metres and that the >obtained value will vary dependently on the distance. We used the sound input to navigate the car in various ways. >First we made it drive, turn and stop after it detects a clap. Furthermore we installed to sound sensors on the car, >and made it drive towards the direction where most sound was detected.
|
|
|
>
|
|
|
>By logging data from the sound sensor we found out that different sounds result in different sound profiles. This >means that we are able to detect and distinguish different sounds based on the sound profile. For example it is >possible to program the robot to listen for claps as it emits a certain sound pattern.
|
... | ... | |