... | ... | @@ -18,7 +18,7 @@ Each exercise contains the following sections; |
|
|
Furthermore, we have an overall conclusion at the end of the notebook to summarise the overall findings.
|
|
|
|
|
|
|
|
|
## Exercise 1
|
|
|
## Exercise 1 - Test of the Sound Sensor
|
|
|
|
|
|
### Goal
|
|
|
The goal is to give descriptions of the reading from the sound sensor from different distances.
|
... | ... | @@ -33,7 +33,7 @@ We will test the sensor with different loudness levels at different distances. T |
|
|
As seen in the table, the distance of 25 cm with both 50% and 100% volume results in the same sensor reading with the value of 2. This is odd, and we are not quite sure why this.
|
|
|
In regards to the other readings the results shows a good connection with the loudness level, however, if you didn’t know the two loudness levels, it would be hard to derive their relation them from the data readings.
|
|
|
|
|
|
## Exercise 2
|
|
|
## Exercise 2 - Data logger
|
|
|
|
|
|
### Goal
|
|
|
The goal is here to use the datalogger to create graps of the relationship between the distance, measured sound level at the sound sensor, and the volume of the sound being played.
|
... | ... | @@ -46,8 +46,8 @@ We will test the sensor with different loudness levels at different distances. T |
|
|
#### Sound level 50%:
|
|
|
![Screen Shot 2015-02-26 at 16.52.20](http://gitlab.au.dk/uploads/u4099/legolabtimadala/7223e5352c/Screen_Shot_2015-02-26_at_16.52.20.png)
|
|
|
|
|
|
The telephone plays a sine tone at 50 percent volume. We then moved the sound source 5, 10, 15, 20 and 30 cm away from the sound sensor. The peaks illustrates the process of going from one distance to another.
|
|
|
The peaks in our data originates from our voices. Every time we made a measurement we said the distance we are measured from out loud. The peculiar thing about the peaks is that, even though we use a normal talking voice and moved with the phone, the sensor seem to be more respondent to our voices then to the sinus tone played from the phone. moreover it seems like, when talking down to the microphone the angle we talk have an impact on the measurement. This is hard to say because we don’t know if the actually spoke with the same loudness every time.
|
|
|
The telephone plays a sine tone at 50 percent volume. We then moved the sound source 5, 10, 15, 20 and 30 cm away from the sound sensor. The peaks illustrates the process of going from one distance to another, and further they originates from our voices.
|
|
|
When making the measurement we said the distance out loud. The peculiar thing about the peaks is that, even though we use a normal talking voice and moved with the phone, the sensor seemed to be more respondent to our voices then to the sinus tone played from the phone. Moreover it seems like, when talking down to the microphone the angle we talk have an impact on the measurement. However, it is hard to say if that was the impact, because we cannot say if we spoke with the same loudness every time.
|
|
|
|
|
|
|
|
|
#### Sound level 100%:
|
... | ... | @@ -60,29 +60,33 @@ The telephone plays a sine tone at 100 percent volume. We then moved the sound s |
|
|
### Conclusion
|
|
|
|
|
|
|
|
|
## Exercise 3
|
|
|
## Exercise 3 - Sound Controlled Car
|
|
|
|
|
|
### Goal
|
|
|
Our goal in this exercise is to test the soundctrcar.java so see how it affects the movement of the car.
|
|
|
|
|
|
### Plan
|
|
|
Our plan is to place the car at a table and make different sounds, claps or shouts, to see how we can control the car.
|
|
|
|
|
|
### Results
|
|
|
|
|
|
### Conclusion
|
|
|
|
|
|
|
|
|
## Exercise 4
|
|
|
## Exercise 4 - ButtonListener
|
|
|
|
|
|
### Goal
|
|
|
The goal is to implement a ButtonListener for the ESCAPE button, so you can exit the program.
|
|
|
|
|
|
### Plan
|
|
|
We are planning to do this by looking at the leJos tutorial on how to use a ButtonListener.
|
|
|
|
|
|
### Results
|
|
|
|
|
|
### Conclusion
|
|
|
|
|
|
|
|
|
## Exercise 5
|
|
|
## Exercise 5 - Clap Controlled Car
|
|
|
|
|
|
### Goal
|
|
|
|
... | ... | @@ -93,7 +97,7 @@ The telephone plays a sine tone at 100 percent volume. We then moved the sound s |
|
|
### Conclusion
|
|
|
|
|
|
|
|
|
## Exercise 6
|
|
|
## Exercise 6 - Party Finder Robot
|
|
|
|
|
|
### Goal
|
|
|
|
... | ... | |