Tuesday, 30 April 2019

FYP2 : Week 12

Recommendation for the project


Objective : 

  • To recommend for the future project
  • To make sure the future project can improve the limitation of this project

Activity: During the project exhibition day last week, the assessors had give few opinion on recommendations to upgrade the project. Recommendations is a part of chapter in the final report. The first recommendation by the first assessor is to add GPS sensor which to detect the location of the elderly. This is because the elderly might go out to garden or market. Second recommendation
by second assessor is to also send message when the alert had been cancel. This is to alert that might be false alarmor the elderly did fall down but can get up by themselves after the fall occurred. Next, the device may be added with LCD as they can monitor their vital sign to keep monitor their health status. Besides, the device will have extra point if the it be connect with Internet of Thing (IoT) such as Blynk and Thinger,io which can show the data from device to the smartphone.

Conclusion : By having these recommendations can improve the project and reduce the limitation and weakness of this project. Thanks to all assessor that willing to give opinions on recomendation for the project.

Wednesday, 24 April 2019

FYP2 : Week 11


Final Project Exhibition
Objective : 

  • To present about the project to assessor 
  • To get recommendations for the project from others

Activity: Today the final year project exhibition was held. Some presenting their project at Dewan Gemilang while some of it (included myself) presented at lab. By 8 a.m. I went to to lab to setup and prepare for the presentation. However, there was a lecturer using that lab so I need move to another lab. Total of presenter at the lab is 6 person and I was the second presenter. I have got acquainted with the other presenter at the lab while waiting for the assessors come. At 9.30 a.m. , the first assessor, Dr. Muhammad Noor bin Nordin had arrived. After I had done explained about my project based on the poster, he did ask few technical question such as the frequency of GSM and he also give some situation and ask for the response of the device. Besides, he also give some recommendation for the project. The next assessor, Sir Mohd Syazwan bin Mohd Yid came at 11:45 p.m.. He did ask few questions and I had demonstrated the project. He also had gave some recommendations for the project.
Figure 1 Presentation to first assessor

Figure 2 Presentation to second assessor

Figure 3 Picture of me with poster


Conclusion : It just a relieved as the big day of this semester which is project exhibition day had went well. Some recommendations had gained from the assessors. I need to start write my final report of FYP2 without any hesitation.

Sunday, 21 April 2019

FYP2 : Week 10

Project and Poster Making


Objective : 

  • To ensure the device running according to the objectives of the project
  • To make a poster that can represent total work for the project

Activity: There were some problem faced during all component interface. However, by having some help and discussion with my fellow friends. That's shown how important of cooperation with others. After all the project running well, I had put all of them inside a box such I had planned before this. I put them by attached them to the box using hot glue. This hot glue make they stay still in their position and make it looks neat. The full picture of device I will share after this when I write the Results and Analysis chapter.
Figure 1 Process of attaching the components to the box using hot glue
After all the device had been placed into the box, the device had tried been running to ensure it still functioning well. Then, the poster making began as the project development had been done. In the poster should have the main parts of the project which are :

  1. Project background
  2. Objective of the project 
  3. Methodology 
  4. Flowchart 
  5. Results 
  6. Conclusion 
  7. References


All the information was taken from the report of the project that had been simplified. This is to ensure the poster is not too crowded with words that can make readers boring and do not want to read it. The first draft of my poster had been rejected by my supervisor as the colour was very contrast which could make the poster had to be read. Then I had changed the poster into pastel colours which make ready more calm when they read it. The poster need to be print in A1 size which I need to ensure that the design will not burst the quality of the poster.
Figure 2 Final poster of the project

Conclusion : I need to ensure the project functioning well during the project exhibition and the poster need to be print by tomorrow. Then, I need to do some practice to prepare myself for the project exhibition day.

Thursday, 11 April 2019

FYP2 : Week 9

Interfaces of all component & design


Objective : 

  • To combine all components parts and their interface for this project
  • To finalize the design of the device

Activity: As there are two more weeks for the project presentation, I need to speed up in making this project. For the device sketch, i have planned to put all the components inside a box. Then, the box will be attach with a strap as it need to be wear on the wrist of the elderly. The skect of project shown in Figure 2 and 3. Then, I had finalized the circuit diagram of combination all components for this project as shown in Figure 1. All this I just combine from the parts of each component interfaces that had been done before. This are the connection pin between the Arduino Nano and all the components of the project :
Accelerometer (SDA & SCL) : A4 & A5                   
Pulse sensor : A0 
GSM (RX & TX) : A2 & A3
Alert cancelation button : A6                    
Figure 1 Circuit diagram of this project

Figure 2 Front view device sketch

Figure 3 View from side of device sketch


Conclusion : This shown the finalized design of device and circuit diagram for the project. All of this need to make it as a real device and working well right after this. Let's face the sleepless night for two more weeks.


Sunday, 31 March 2019

FYP2 : Week 8

Pulse sensor interface


Objective : 

  • To know how to interface between pulse sensor and Arduino Nano
  • To do research background about heart rate and blood pressure

Activity: The function of pulse sensor is to get the heart rate reading from the blood circulation. There are three recommended place location for the sensor which is on fingertip, wrist and earlobe. For this project, the sensor chosen to be place on the  wrist. To try interface the pulse sensor with Arduino Nano, a coding from open source had been tried to interface between pulse sensor and Arduino Nano. The pulse sensor connected to pin A0 as it produce analog input. The VCC pin of pulse sensor was connected with 5V pin on Arduino and for Ground pin of the pulse sensor was connected to the ground pin of Arduino.

Figure 1 Connection pin between pulse sensor and Arduino
Figure 2 Heart rate reading on serial monitor
The normal heart rate is from 60 to 100 heart beat per minute (bpm). Meanwhile, the normal range of blood pressure is from 120 for systolic and 80 for diastolic.Blood pressure reading unit in melimeters mercury (mmHg). As mention from Heart.org, there could be variation in relationship between blood pressure and heart rate. When heart rate reading increases, blood pressure reading will also increase but it not rise at the same rate. So, a study had been done to get the relationship between the blood pressure. The results shown when the heart rate higher from its normal range which is 100 bpm, the blood pressure also in high blood pressure (hypertension) range while when the heart rate lower from its normal range which is 60 bpm, the blood pressure also in low blood pressure (hypotension) range.


Conclusion : The relationship between heart rate and blood pressure is the abnormal reading of heart rate produced abnormal range of blood pressure class. More details will be discuss when I starts write chapter Results and Discussion for final report.

Monday, 18 March 2019

FYP2 : Week 7

Accelerometer interface


Objective : 
  • To study the interface between accelerometer and Arduino Nano
  • To get accelerometer reading of fall detection

Activity: This week I had tried the first part of my project which is finding the fall acceleration of the accelerometer reading. As to get consistent of acceleration, the accelerometer must placed on a static position. So, I had planned to put it on a small breadboard as shown in Figure 1. However, my Arduino Nano pin did not fit to the breadboard hole. I decided to resolder the pin leg back. I did suck the solder ion at the pin legs. Unfortunately when i want to solder it back, it so freaking hard to solder it as the pin is very near to each other and the solder ion keep twinning the pin legs. So i had failed to resolder the pin legs back. I just directly solder the jumper wire connection to the hole. Same goes with accelerometer. I had put them on a board and place it on the wrist.


Figure 1 Accelerometer connection with Arduino Nano

Figure 2 Arduino's pin not fit into the breadboard hole


I tried to run a coding that i got from open source for accelerometer. As you know, accelerometer have 3-axis which are X, Y and Z. The Y-axis is vertical acceleration, X-axis is forward acceleration and Z-axis is side-away acceleration. From all those 3-axis, Y-axis shown the most different when fall occur. The threshold was decided to set at 700 reading of accelerometer on Y-axis. Fallwill detect when the reading more than the threshold value. More detail will be discuss when i start write my Results and Discussion for my report.

Conclusion : Only Y-axis chosen for fall detection of this project. This is because Y-axis produces the most impacted andgive biggest changes during fall incident.

Monday, 11 March 2019

FYP2 : Week 6

Troubleshoot Arduino Nano Code Burning Error


Objective : 
  • To investigate the problem of Arduino Nano
  • To troubleshoot the Arduino Nano


Activity: I did googled and tried few solution steps that provided from this youtube video  : YouTube 5 Most Common Arduino Nano Problem which shown fews problems and its steps of solution which are :

  1. Missing serial communication drivers
  2. Improper port selection
  3. Improper board setting
  4. Missing Boatloader
  5. Static damaged


Some of the steps I had tried and did not work to my Arduino Nano. The step that working on my Arduino Nano shown that it missing or using an old boatloader. So, I had used Master-Slave way to burn the new boatloader to my Arduino Nano.

Figure 1 Connection between Master and Slave

A working Arduino UNO as the Master burned the new boatloader by using ArduinoISP. It used coding from examples> ArduinoISP and select Tools and choose setting :
Board:Arduino UNO
Programmer : Arduino as ISP
Then, choose Burn Boatloader which also under Tools. This to burn the boatloader code into Slave which was Arduino Nano. Proper steps are shown in this website under "Missing Boatloader" problem : Arduino Nano Clone Problems and Their Solutions . After I did this solution, the problem settled and I can burn any coding as usual.

Conclusion : The problem of cannot burn coding from software Arduino IDE into Arduino Nano had been found and settled down. There are many solution that have in open source in internet. So, try and eror process need to be done to troubleshoot the problem.