##Group-22: Lab Notebook 2 - Installing PID controller on Megatron
#Group-22: Lab Notebook 2 - Installing PID controller on Megatron
**Date:** 03/3/2015
**Date:** 03/3/2015
...
@@ -17,7 +17,7 @@ Jesper Kurtzmann Svith
...
@@ -17,7 +17,7 @@ Jesper Kurtzmann Svith
**Overall plan**
**Overall plan**
#Exercise 1
#Exercise 1
**Task**
**Task**
To mount the sound sensor and run a test using a modified version of SonicSensorTest.java. Test the sensor with different loudness and under different circumstances and describe the readings.
To mount the sound sensor and run a test using a modified version of SonicSensorTest.java. Test the sensor with different loudness and under different circumstances and describe the readings.
...
@@ -60,25 +60,13 @@ First we clapped at different distances to the sensor in order to measure from h
...
@@ -60,25 +60,13 @@ First we clapped at different distances to the sensor in order to measure from h
To compensate for the inconsistency we decided to use a smartphone and transmit a constant tone. The setup is showed in the picture below. The car was placed on a table in the middle of the room and loudness were measured from different distances:
To compensate for the inconsistency we decided to use a smartphone and transmit a constant tone. The setup is showed in the picture below. The car was placed on a table in the middle of the room and loudness were measured from different distances:
Fig. 1: Picture of the setup. The robot was placed on a table and the phone was pointed towards the robot. After each sensor reading the distance to the phone was increased.
Fig. 1: Picture of the setup. The robot was placed on a table and the phone was pointed towards the robot. After each sensor reading the distance to the phone was increased.