Saturday, 24 March 2018

WEEK 8

PROGRESS ON FINDING THE ANGLE AND PROPOSAL


For this week, I continue with my calculation to find the angle from the gyro sensor which is to convert from angular velocity (from gyro sensor) to angle in degree. From previous week that i have show on how I obtained the angular velocity, so i continued the with some manual calculation using a table like this: 

Manual Calculation to find angle (SET 1- 4) 

Each of the table I constructed using the value obtained from the serial port. Here some explanation for each box/section:

i) Formula use = (2-1)*(256+256)/2 = 256 (numerical number)  
   *using this formula to get the manual number 

ii) Pink Box = Manual number (numerical number)

iii) Blue box = Angular velocity obtain from serial number of the arduino software

iv) Red Box = Total of the manual number to get 1 set of numerical number

I have made up until 16 set (16 table) to get 16 numerical number to perform next calculation which is integrating the numerical number. 


SET 5 - 8
        
SET 8 - 11
SET 12 - 16


Unfortunately I still need to understand the calculation with further information as it is not easy to do. So I still need to refer to my supervisor on how to perform the calculation. After a meeting, my supervisor advised me to use another method which can only be performed by using arduino software and MATHLAB software. I will search more on how to find the angle by using this 2 software as it is recommended by my supervisor.

For my proposal, I have done up until chapter 1 only and for the following week will start with chapter 2 and chapter 3, Inshaa Allah.

So my new task for the following week are to do:

a) FYP Proposal (Chapter 2 & Chapter 3)
b) Research on finding the angle using arduino and MATHLAB




Sunday, 11 March 2018

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.





WEEK 6

RESEARCH ON GYRO SENSOR


For this week, I did not manage to have a meeting with my supervisor. This is because the gyro that I have ordered online was still in delivery and expected to arrive on Thursday (1/3/2018). During the waiting time of the gyro sensor to arrive, I made some research on the previous task that I need to do which was to find the angle from the gyro sensor.

This were some of the link from the internet that I used to make as the reference to perform on the testing of the gyro sensor:




That all for week 6 which I only manage to do some research before start to test the gyro sensor while waiting for it to arrive. For this week I did not do much, as I’m busy working on other assignment and others.