Thursday, 17 May 2012

PIC MICROCONTROLLER -16F877A

LITERATURE REVIEW

CONTENT:

The basic building block of PIC 16F877A is based on Harvard architecture.PIC 16F877 is one of the most advanced microcontroller from Microchip. This controller is widely used for experimental and modern applications because of its low price, wide range of applications, high quality, and ease of availability. It is ideal for applications such as machine control applications, measurement devices, study purpose, and so on.The PIC 16F877 features all the components which modern microcontrollers normally have. The PIC16FXX series has more advanced and developed features when compared to its previous series. It has a few important features such as 
  • high performance
  • only 35 simple word instructions
  • fully static design
  • wide operating voltage range (2.0-5.56)volts
  • high sink or source current (25mA)
  • commercial,industrial and extended temperature range
  • low power consumption

PIC 16F877A PROGRAM MEMORY

In order to write a program, we need a memory to run some system before interface on the IC. Program memory contains the program that are written by the user. The program counter (PC) executes these store commands one by one. Usually PIC16F877A devices have a 13 bits wide program counter that is capable of addressing 8K*14 bit program memory space. This memory is primarily used for storing the program that are written (burned) to be used by the PIC. These device also have 8K*14 bits of flash memory that can be electrically erasable or reprogrammed. Each time we write a new program to the controller, we must delete the old one at that time. The figure above shows the program memory and stack.

OBJECTIVES:

  • To become well-known  and get a lot of information about this PIC before used it as my brain of my system.
  • To recognize about the function and determine which PIC is suitable for my project.



Wednesday, 9 May 2012

CHANGE TO THE NEW BLOCK DIAGRAM

METHODOLOGY





DESCRIPTION

In this project, the 12V DC is further step down to 5V DC using a voltage regulator. Voltage regulator module is used to protect PIC and other connected sensor/relay from over voltage. This is because the PIC and all other connected sensors relay all support 5V DC only. To make sure the motor driver move fast and smoothly, the power that supply to this motor is still 12V and need to step down to 5V by using voltage regulator. This step is very important because the chip of motor driver can only accommodate 5V. The IR sensor (Transmitter and Receiver) detect the dark line (black line colour). When the IR sensor detects the black line colour, the voltage measured at the sensor will be increased and when the IR sensor not detects the line, the voltage will be decreased. That means, while the IR sensor detect the line, the voltage will be increased and connected to the PIC16F877A and the PIC will be identified the sensor to move by follow the line. But, when the side of the vehicle detects another line at the side of the track, it will immediately stop moving. So, the human will push button stop at the top of the vehicle to put a load. After finish a work, the human need to push the start button to make the vehicle move as usual by follow the track. The vehicle also will stop once the obstacle sensor detect any obstacle in front of the vehicle and move again when we put away the obstacle.


OBJECTIVE:
  1. The process of the project become smoothly once interface with the hardware.
  2. To fulfil the purpose of this project.
  3. To reduce an error that might occur.

CONCLUSION
When this block diagram is change , so I can achieve the purpose why this project were created beside I can move to the next step to make this project successfully.

Saturday, 5 May 2012

ITS MY GANTT CHART

METHODOLOGY

CONTENT:





OBJECTIVE:
  • To help me finish up my project due to the dateline.
  • To make sure that I can do my work by follow the step that required in this project.