... | ... | @@ -42,11 +42,11 @@ Try to play music and make mappings from the sound sensor to the two motors that |
|
|
|
|
|
As seen in the video the car moves forward when it detects a sound higher than 50 db. We have done this since the sound level that is detected by the microphone, when the room is totally quiet, differs between 10 and 20 db. We do not know exactly why this is, but could relate to a bad microphone or a too sensitive one.
|
|
|
We also notice that when the robot detects a decibel of eg. 60, the power that we have mapped to the motors are not enough for making robot drive. We did not manage to get a dynamic flow of the speed in relation to the distance of the sound source, it seemed like it only differed between three types om movement; backward, no movement, and full-power.
|
|
|
-
|
|
|
|
|
|
'
|
|
|
![Billed af afstand](http://gitlab.au.dk/uploads/u4099/legolabtimadala/3e8dd693b1/Billed_af_afstand.png)
|
|
|
##### Picture 1 Approximative distances - 0.5 cm. distance VS. 5 cm. distance
|
|
|
-
|
|
|
'
|
|
|
|
|
|
Another interesting aspect we found in regards to the detected db level by the microphone, was that when speaker was in almost as close as it could be to the sensor (see Picture 1), the db level was around 85, however when sound source was moved further away from the sensor, the decibel level increased to around 95. Again, we are not quite sure if this a result of weird behaving microphone or there are other factors or aspects that we have missed.
|
|
|
|
... | ... | |