Friday, 18 March 2016

FINAL YEAR PROJECT 2 (WEEK 7): Final Report Thesis Format

Objectives:
1) To learn the format of doing the final report about the final year project
2) To produce a good final report as a reference in the future

Method:
1) Attend the writing workshop conducted by the Final Year Project committee.

Below is the content of handouts that I had received during the workshop. 


















Conclusion:
This week I learn how to do the full report by following the format. Starting from Introduction part until the Conclusion part, each of the contents had detailed explanation so that the students understood how to write up a good report. This handouts gave a lot of help to complete my report as it was a requirement to complete this course. 


Friday, 11 March 2016

FINAL YEAR PROJECT 2 (WEEK 6): GSM Interfacing

Objectives:
1) To construct circuit of GSM interfacing and display on the LCD.
2) To build a program using C++ language 

Method:
1) using Proteus 7 Professional software to construct circuit
2) using KeilVision4 to write the program


The program has been written and compiled. The HEX file is loaded to the circuit. The simulation is running to demonstrate the system operation. Below is the circuit which had been running the program:



GSM is used to send a message about the information that an accident had happened. The circuit of interfacing GSM to microcontroller mainly consists of GSM modem and 8051 family microcontroller. GSM has RS 232 interface for serial communication and the GSM module is connected with MAX232 IC where it is used for converting the logic levels. To communicate with GSM modem, AT commands were required. Microcontroller sends these commands to the GSM modem which is then activated to perform the required operation. These are the following commands to control the operations of GSM modem:

COMMAND
OPERATION
AT + CSMS
Select message service
AT + CMGF
Message format
AT + CMGL
List messages
AT + CMGR
Read message
AT + CMGS
Send message
AT + CMGD
Delete message
ATA
Answer a call
ATD
Dial a number
ATDL
Dial the last outgoing number
ATH
Hang up the call


Conclusion:
This week I learn how to do the program for GSM interfacing which linked with the LCD display. I learned that the program need to start by declared the input pins that had been used in the circuit. LCD is used for displaying the received message. GSM module is wireless modem that transmits data using radio waves. By using the AT commands, it helped this project to send a message about the accident location that had been occured. The GSM modem has a sim slot similar to a mobile to communicate with the network. 

Friday, 4 March 2016

FINAL YEAR PROJECT 2 (WEEK 5): GPS Interfacing

Objectives:
1) To construct circuit of GPS interfacing and display on the LCD.
2) To build a program using C++ language 

Method:
1) using Proteus 7 Professional software to construct circuit
2) using KeilVision4 to write the program



The program has been written and compiled. The HEX file is loaded to the circuit. The simulation is running to demonstrate the system operation. Below is the circuit which had been running the program:




GPS is used to locate the accident happens in this project. It depicts the use of GPS module/receiver to find latitude and longitude of its location. The data obtained from GPS receiver (GPGGA sentence) had been processed by the microcontroller to extract the latitude and longitude values. The serial data is taken from the GPS module through MAX232 into the SBUF register of 8051 controller which refers to serial interfacing.  By using the Serial Interrupt of the controller, the serial data from the GPS receiver is taken. The data consists of a sequence of NMEA sentences from which GPGGA sentence is identified and processed. The first six bytes of the data received are compared with the pre-stored ($GPGGA) string and if it is matched, the only data is further accounted for besides the process is repeated again otherwise. From the comma delimited GPGGA sentence, latitude and longitude positions are extracted by finding the respective comma positions and extracting the data.

Conclusion: 

This week I learn how to do the program for GPS interfacing which linked with the LCD display. I learned that the program need to start by declared the input pins that had been used in the circuit. The GPS module continuously transmits serial data by using RS232 protocol in the form of sentences according to NMEA standards. The latitude and longitude values of the location are contained in the GPGGA sentence by referred NMEA format. In this program, these values are extracted from the GPGGA sentence and are displayed on LCD.