Pic16 f84a

1,289 views
1,070 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,289
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
82
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Pic16 f84a

  1. 1. Structure and Programmingof PIC16F84A Microcontroller Prepare: Abdullah Abdulaziz Nassar ID. # 42805010 Supervising : Dr. Ghassan Dahman
  2. 2. Presentation Outline Introduction to Microcontroller. Components of Microcontroller. Microcontrollers VS Microprocessors. Application. Types of Microcontroller. Specifications of PIC16F84A. Programming of PIC16F84A. 1
  3. 3. Introduction to Microcontroller What is the microcontroller? 2
  4. 4. Components of Microcontroller Microcontroller Containing of:1. CPU.2. RAM.3. EEPROM.4. I/O Units. 3
  5. 5. Microcontrollers VS Microprocessors 4
  6. 6. Application 5
  7. 7. Types of microcontroller Intel. Motorola. Microchip “Pic Microcontroller”. Hitachi. Atmel. National. Toshiba. Zilog. Texas Instruments. 6
  8. 8. Specifications of PIC16F84A Oscillator 4MHZ Currents 2mA Voltage 5V Different types. 7
  9. 9. Specifications of PIC16F84A (cont.) Pins Description. 8
  10. 10. Specifications of PIC16F84A(cont.) 9
  11. 11. Programming of PIC16F84A Software Requirements. Hardware Requirements. Programming Language. 10
  12. 12. Software Requirements MPLAB. 11
  13. 13. Software Requirements (cont.) MIKROC. 12
  14. 14. Software Requirements (cont.) Burner Program. 13
  15. 15. Hardware requirements PC. Programmer. Other Components. 14
  16. 16. Programming language 15
  17. 17. Programming language (cont.) C Language. Assembly Language. 16
  18. 18. Programming language (cont.) C language.#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 to10 float y; Char eng=„A‟; char* eng1=“engineer2011”; scanf ( x , y ); y= y + x ; printf ( y ) ;} 17
  19. 19. Programming language (cont.) Structure of C program. #define PI 3.14 void main( ) { Variable declaration Data direction Initial values while(1) { …………….; …………….; …………….; } } 18
  20. 20. Programming language (cont.) Variables of C program. char name[ ] = “A. Nassar” ; 19
  21. 21. Programming language (cont.) Assembly Language. 20
  22. 22. Programming language (cont.) 21
  23. 23. Programming language (cont.) 22
  24. 24. Programming of PIC16F84A Mikroc/Mplab Burner Program 23
  25. 25. Conclusion What is the microcontroller? Pins Description of PIC16F84A. Organization of PIC16F84A. Mikroc & Mplab. Programming language. 24
  26. 26. THANK YOU FOR YOUR ATTENTION !! Any Question ??

×