Tuesday, March 18, 2014

WEEK 4

Title : Project research

Introduction 

Project research is an important part of solving the problem on the project. Project research must continue until it is completed and functioning as intended.

Objective

1. To investigate and learn part of software related with the project.
2. To solve the problem using MPLAB and Proteus software.

Problem Encountered

The problem during the week is to finish the coding for the project incubator program. As of last week, the problem comes is how to program the keypad 4 x 4 and other parts using interrupts. Interrupt that I use for this program is TMR0IF.

Project Description


Part that I has a problem during the week are the parts of the software. The problem comes, when the program projects using interrupts. I've tried to re-program but it still does not work as the project needed.To resolve this problem, I referring the book 'The 8051 microcontroller and emmbeded system' to understand the concept of the use of interrupts in the program. In addition, lecture notes is also used to solve the problems encountered and ask in forums on the internet such as linkedin. Below is the most important when do the research to solved a problems.

The following concepts are part of most formal research :-

1. Identification
2. Evidence
3. Recognition
4. Analysis of data
5. Identification
6. Attribution

Project Outcome

As a result of the project for this week, the problem is still in progress to be completed and a book on the picture below to be one of the references to complete the program for egg incubator project.



Figure 1 :
"Microcontroller Programming- The Microchip PIC " books by Julio Sanchez & Maria P.Canton


Date : 28/02/2014

Title of activity : Final Year Project 2 briefing.

        Briefing for final year project was held at room TTL 2 at 3pm on friday. The purpose of this briefing is to ensure that students are aware of and understand the guidelines on this matter. In addition, to inform students about the use of  UniKLBMI-FYP  websites. The students were also given important information about what students need to do and some of the procedures they have to follow as  important dates like the presentation of the project, a final report sending and other projects were presented by Mrs. Nulida Bt Abd Aziz and UniKLBMI-FYP community.

       As a conclusion from this briefing, students know the procedures that they should be following and some of the important date that they should be remind to complete all the tasks perfectly.


Monday, March 17, 2014

WEEK 3

Title : Keypad 4 x 4

Introduction : 

In this week, i'm continued the task at the first week and trying to combine the coding that already made before.But this week, i'm trying to use keypad 4 x 4 as a controller, and  to change normal  button that used last week.

What is keypad ?

A keypad is a set of buttons arranged in a block or "pad" which usually bear digits, symbols and usually a complete set of alphabetical letters. If it mostly contains numbers then it can also be called a numeric keypad. Keypads are found on many alphanumeric keyboards and on other devices such as calculators, push-button telephones, combination locks, and digital door locks, which require mainly numeric input.

So,this week i'm proceed to complete my project program/coding and the main focus is trying to program RTC (Real Time Clock ) using keypad 4 x 4 and others.

Objective :

1. To solve the problem using MPLAB and Proteus software.
2. To complete program the project using Keypad 4 x 4.

Problem Encountered :

Keypad 4 x 4 is the one solution that I already choose to replace push button. Before this, I'm planning to use push button setting the date and time.But,the problem is when use the push button ,we need to up and down the button with one by one to get the digit value of date and time.At, keypad 4 x 4 already have the number or digit that easy to use and setting the date and time.

Project Description :

Keypad is a set of buttons that are connected in the matrix. Advantages of using the keypad instead of using the normal button is button keypad provides more and less I / O port. Example 4 x 4 keypad, requires 8 ports because it is connected in the matrix.We can also build their own extensions using the push button. Keypad is the input module, but programs need to set 4 as the input port and 4 port as output. Connections for keypad is shown below. 



                                                          Figure 1 : Keypad 4 x 4 diagram.


Project Outcome


For project outcome this week still in progress because there have a problem and needed to solve especially in program

Monday, March 10, 2014

WEEK 2

Title : Real Time Clock

Introduction

Starting with new semester for Final Year Project 2 (FYP2). I am already doing some preparation to make project eggs incubator in previous semester break.So,from the first week in this semester, I am continued to make my project and it's more focus to finish the program or coding the project. In my target to finish the program or coding project is before midterm semester break and then continued with progress of design circuit and hardware.So,this week  I want to complete program the date and time using Real Time Clock (RTC) at PIC16F887.

What is RTC ?

A real-time clock (RTC) is a computer clock (most often in the form of an integrated circuit) that keeps track of the current time. Although the term often refers to the devices in personal computers, servers and embedded systems, RTCs are present in almost any electronic device which needs to keep accurate time.


Objective

1. To complete program the date and time by using Real Time Clock  (RTC).
2. To solve the problem using MPLAB and Proteus software.

Problem Encountered


Project Description

PIC program to set time and date to allow users to change the time and date of the projects that have clocks. After changing the time and date, it continues to be stored in the RTC chip.The RTC chip I'm use for this project is Real Time Clock  (RTC) DS1307. The connection for DS1307 RTC using SDA and SCL pins as shown below :-


                                             Figure 1 : Real Time Clock (RTC) diagram.


Project Outcome

There are some picture to show my accomplishments did during the week.But it's still in progress to finish my program project because I need to combine with other program to complete all function of project eggs incubator.Below just shown the program how to set the date :-


                                                  Figure 2 : Program to set time and date


                                                Figure 3 : Cont..




                                                 Figure 4 : Cont...