WEEK 7
RESEARCH AND TESTING FOR THE GYRO SENSOR
On Wednesday, 7/3/2018, I had my meeting with my
supervisor for further discussion on my progress work for this final year
project. After receiving the gyro sensor, I manage to test it to fulfill my task
from previous week. The first thing that I need to do was to solder the gyro
sensor’s pin.
 |
| Soldered Gyro Sensor |
After the gyro sensor’s
pin has been soldered, I had done some testing on the gyro sensor to find the
angle produced from the sensor. The gyro sensor were connected to the Arduino
Uno and the Arduino Uno board were connected to the laptop same like the
previous testing of the gyro sensor.
 |
| Connection of Gyro sensor for testing |
The
coding for this gyro sensor testing:
 |
Coding For Gyro Sensor testing
|
The result obtained
from the gyro sensor can be shown at the serial port:
 |
Result obtained from Serial Port shows the angular velocity of the gyro sensor
|
From the result that obtained from the serial
port, the result were then imported into excel to convert into graph result.
 |
| Imported result from the serial sensor to excel to converted into graphical result |
From that graph, it can
be convert into angle in degree or radian. To find the angle, it need to
perform some calculation which was from angular velocity (obtained from gyro
sensor) into angle in degree or radian. However, I’m still stuck in this task
and still in progress. My supervisor have suggested me to do some research on
the calculation that involve the gyro sensor.
This were some info that I have found from the
internet:
 |
Reference Angle
|
“To measure the angle using the gyro we have to
integrate the signal.
But why we have to do this?
Because the gyro give us the angular rate, so a simple way to
get the angle is have the angular rate multiplied by the time [angle = angle +
w * dt]”
From the information,
it shows how the angle can be obtained from the gyro sensor and converted into
angle in degree. However, some of the method still cannot be used in my project
so I only use some of the information as my references.
From what I have done
through this week, new task had been given by my supervisor, such as:
a) Performed a calculation to find the
angle in degree
b) Made a coding to show the angle in
degree produced from the gyro sensor
c) Do the Final Year Project (FYP) Proposal
That all for this week task.