pic16 f84a
TRANSCRIPT
![Page 1: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/1.jpg)
Prepare:
Abdullah Abdulaziz Nassar
ID. # 42805010
Supervising: Dr. Ghassan Dahman
Structure and Programming of PIC16F84A
Microcontroller
![Page 2: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/2.jpg)
Presentation Outline
Introduction to Microcontroller.Components of Microcontroller.Microcontrollers VS Microprocessors.Application.Types of Microcontroller.Specifications of PIC16F84A.Programming of PIC16F84A.
1
![Page 3: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/3.jpg)
Introduction to Microcontroller
What is the microcontroller?
2
![Page 4: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/4.jpg)
Components of Microcontroller
Microcontroller Containing of:1. CPU.2. RAM.3. EEPROM.4. I/O Units.
3
![Page 5: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/5.jpg)
Microcontrollers VS Microprocessors
4
![Page 6: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/6.jpg)
Application
5
![Page 7: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/7.jpg)
Types of microcontroller
Intel.Motorola.Microchip “Pic Microcontroller”.Hitachi.Atmel.National.Toshiba.Zilog.Texas Instruments.
6
![Page 8: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/8.jpg)
Specifications of PIC16F84A
Oscillator 4MHZCurrents 2mAVoltage 5VDifferent types.
7
![Page 9: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/9.jpg)
Specifications of PIC16F84A (cont.)
8
Pins Description.
![Page 10: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/10.jpg)
Specifications of PIC16F84A (cont.)
9
![Page 11: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/11.jpg)
Programming of PIC16F84A
Software Requirements. Hardware Requirements. Programming Language.
10
![Page 12: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/12.jpg)
Software Requirements MPLAB.
11
![Page 13: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/13.jpg)
Software Requirements (cont.)
MIKROC.
12
![Page 14: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/14.jpg)
Software Requirements (cont.)
Burner Program.
13
![Page 15: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/15.jpg)
Hardware requirements
PC.Programmer.Other Components.
14
![Page 16: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/16.jpg)
Programming language
15
![Page 17: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/17.jpg)
Programming language (cont.)
C Language. Assembly Language.
16
![Page 18: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/18.jpg)
#include>.……………< #define PI 3.14
*/this is the structure of the program in c language this is done by A. Nassar/*
void main) ({
int x=10; // integer variable with initial value equal to 10
float y; Char eng=‘A;’
char* eng1=“engineer2011;”
scanf ( x , y ) ; y= y + x;
printf ( y ); }
Programming language (cont.)
17
C language.
![Page 19: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/19.jpg)
Programming language (cont.)
18
#define PI 3.14void main) (
{
while(1){
;.…………… ;.…………… ;.……………
} }
Variable declaration
Data direction
Initial values
Structure of C program.
![Page 20: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/20.jpg)
Programming language (cont.)
19
Variables of C program.
char name[ ] = “A. Nassar ”;
![Page 21: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/21.jpg)
Programming language (cont.)
Assembly Language.
20
![Page 22: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/22.jpg)
Programming language (cont.)
21
![Page 23: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/23.jpg)
Programming language (cont.)
22
![Page 24: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/24.jpg)
Programming of PIC16F84A
23
Mikroc/Mplab
Burner Program
![Page 25: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/25.jpg)
Conclusion
What is the microcontroller?Pins Description of PIC16F84A.Organization of PIC16F84A. Mikroc & Mplab.Programming language.
24
![Page 26: Pic16 f84a](https://reader035.vdocument.in/reader035/viewer/2022062406/5590d6d71a28ab325d8b45bd/html5/thumbnails/26.jpg)
THANK YOU FOR YOUR ATTENTION !!
Any Question??