SlideShare una empresa de Scribd logo
1 de 15
Descargar para leer sin conexión
Communication PIC-Microcontroller Lab
         Course by JAOM Center, Feb. 2013




PIC Microcontroller Review




               Instructor:
              Mohsen Sarakbi
Definitions of Control Systems

 A control system is a collection of components working
  together under the direction of some machine intelligence.

 In most cases, electronic circuits provide the intelligence, and
  electromechanical components such as sensors and motors
  provide the interface to the physical world.
Parts of Control System
Parts of Control System
 Every control system has (at least) a controller and an actuator (also
    called a final control element).
   The Controller is the intelligence of the system and is usually
    electronic.
   The input to the controller is called the Set point, which is a signal
    representing the desired system output.
   The Actuator is an electromechanical device that takes the signal from
    the controller and converts it into some kind of physical action.
    Examples of typical actuators would be an electric motor, an electrically
    controlled valve, or a heating element.
   The last block is labeled Process and has an output labeled Controlled
    variable. The process block represents the physical process being
    affected by the actuator, and the controlled variable is the measurable
    result of that process.
Control System Classifications
 Open-Loop Control Systems:The controller never actually
  knows if the actuator did what it was supposed to.




 Closed-Loop Control Systems: The output of the process
  (controlled variable) is constantly monitored by a sensor.
Microcontrollers
 The microcontroller is simply a computer on a chip.




 A microcontroller differs from microprocessor; it usually
  includes a central processor (CPU), input and output ports,
  memory for program and data storage, an internal clock, and
  one or more peripheral devices such as timers, counters,
  analog-to-digital converters (ADC) and serial
  communication facilities.
Microcontrollers
PIC Microcontrollers

 PIC is the name for the Microchip microcontroller (MCU)
  family, consisting of a microprocessor, I/O ports, timers and
  other internal, integrated hardware. The main advantages are
  low external part count, a wide range of chip sizes great
  availability of compilers and source code and easy
  programming.

 In our course we’ll use the Microchip products (PIC16F877A)
  microcontroller.
PIC16F877A Features

o High-performance RISC CPU
o 8 Kbytes of FLASH Program Memory
o 368 bytes of Data Memory (RAM)
o 256 bytes of EEPROM Data Memory
o 33 I/O pins: (5 ports: A(6), B(8), C(8), D(8) and E(3))
o 4-20 MHz operating speed
o Wide operating voltage range: 2.0V to 5.5V.
o Max. 25 mA current from an output pin.
PIC16F877A Features
MikroBasic
Create a Project
Programming …
PIC Lab

 ON/OFF LED
 IF Statements & Loops (WHILE & FOR)
 Procedures
 LCD
 USART TX/RX
 Analog input (Temp on LCD)


 Combined Scenario ..
PIC microcontroller review

Más contenido relacionado

La actualidad más candente

EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller pavihari
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontrollerAshish Ranjan
 
Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]gauravholani
 
Atmel and pic microcontroller
Atmel and pic microcontrollerAtmel and pic microcontroller
Atmel and pic microcontrollerTearsome Llantada
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mappingOsaMa Hasan
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailedAnkita Tiwari
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontrollerRAMPRAKASHT1
 
Programming pic microcontrollers
Programming pic microcontrollersProgramming pic microcontrollers
Programming pic microcontrollersMAIYO JOSPHAT
 
174085193 pic-prgm-manual
174085193 pic-prgm-manual174085193 pic-prgm-manual
174085193 pic-prgm-manualArun Shan
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC MicrocontrollerDivya Bansal
 
Embedded System - Dtmf robot
Embedded System - Dtmf robotEmbedded System - Dtmf robot
Embedded System - Dtmf robotAbhishek Sood
 
Pic16cxx instruction set
Pic16cxx instruction setPic16cxx instruction set
Pic16cxx instruction setv Kalairajan
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC MicrocontrollersPremier Farnell
 
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyPresentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyDilip Kumar Ckt
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.parthi_arjun
 

La actualidad más candente (20)

EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontroller
 
Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]
 
PIC_ARM_AVR
PIC_ARM_AVRPIC_ARM_AVR
PIC_ARM_AVR
 
Presentation
PresentationPresentation
Presentation
 
Pic full note
Pic full notePic full note
Pic full note
 
Atmel and pic microcontroller
Atmel and pic microcontrollerAtmel and pic microcontroller
Atmel and pic microcontroller
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailed
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
Programming pic microcontrollers
Programming pic microcontrollersProgramming pic microcontrollers
Programming pic microcontrollers
 
174085193 pic-prgm-manual
174085193 pic-prgm-manual174085193 pic-prgm-manual
174085193 pic-prgm-manual
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC Microcontroller
 
Embedded System - Dtmf robot
Embedded System - Dtmf robotEmbedded System - Dtmf robot
Embedded System - Dtmf robot
 
Pic18f458
Pic18f458Pic18f458
Pic18f458
 
Pic16cxx instruction set
Pic16cxx instruction setPic16cxx instruction set
Pic16cxx instruction set
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
 
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyPresentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 

Destacado

RF transmitter & receiver
RF transmitter & receiverRF transmitter & receiver
RF transmitter & receivercodexdesign
 
Understanding RF Fundamentals and the Radio Design of Wireless Networks
Understanding RF Fundamentals and the Radio Design of Wireless NetworksUnderstanding RF Fundamentals and the Radio Design of Wireless Networks
Understanding RF Fundamentals and the Radio Design of Wireless NetworksCisco Mobility
 
Wireless communication
Wireless communicationWireless communication
Wireless communicationKomal Gandhi
 
Wireless communication
Wireless communicationWireless communication
Wireless communicationDarshan Maru
 

Destacado (7)

RF transmitter & receiver
RF transmitter & receiverRF transmitter & receiver
RF transmitter & receiver
 
ZigBee module
ZigBee moduleZigBee module
ZigBee module
 
Basics of RF
Basics of RFBasics of RF
Basics of RF
 
RF module
RF moduleRF module
RF module
 
Understanding RF Fundamentals and the Radio Design of Wireless Networks
Understanding RF Fundamentals and the Radio Design of Wireless NetworksUnderstanding RF Fundamentals and the Radio Design of Wireless Networks
Understanding RF Fundamentals and the Radio Design of Wireless Networks
 
Wireless communication
Wireless communicationWireless communication
Wireless communication
 
Wireless communication
Wireless communicationWireless communication
Wireless communication
 

Similar a PIC microcontroller review

Similar a PIC microcontroller review (20)

Industrial Automation EMERSON EDUARDO RODRIGUES
Industrial Automation EMERSON EDUARDO RODRIGUESIndustrial Automation EMERSON EDUARDO RODRIGUES
Industrial Automation EMERSON EDUARDO RODRIGUES
 
Plc Basics
Plc BasicsPlc Basics
Plc Basics
 
Mechatronics Systems.pdf
Mechatronics Systems.pdfMechatronics Systems.pdf
Mechatronics Systems.pdf
 
1 introduction to plc and its programming-1
1 introduction to plc and its programming-11 introduction to plc and its programming-1
1 introduction to plc and its programming-1
 
DCS
DCSDCS
DCS
 
PLC basic concepts
PLC  basic conceptsPLC  basic concepts
PLC basic concepts
 
Plc notes
Plc notesPlc notes
Plc notes
 
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh ShekhawatPLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
 
INTRODUCTION TO MECHATRONICS
INTRODUCTION TO MECHATRONICSINTRODUCTION TO MECHATRONICS
INTRODUCTION TO MECHATRONICS
 
Introduction to PLC
Introduction to PLCIntroduction to PLC
Introduction to PLC
 
PLC General
PLC   GeneralPLC   General
PLC General
 
Microcontroller 8051 timer 274 P$
Microcontroller 8051 timer 274 P$Microcontroller 8051 timer 274 P$
Microcontroller 8051 timer 274 P$
 
Ipc presentation
Ipc presentationIpc presentation
Ipc presentation
 
PLC, by Mohamed Al-Emam, Session 1
PLC, by Mohamed Al-Emam, Session 1PLC, by Mohamed Al-Emam, Session 1
PLC, by Mohamed Al-Emam, Session 1
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Introduction to mechatronics
Introduction to mechatronicsIntroduction to mechatronics
Introduction to mechatronics
 
PLC and SCADA in Industrial Automation
PLC and SCADA in Industrial AutomationPLC and SCADA in Industrial Automation
PLC and SCADA in Industrial Automation
 
PLC Intro
PLC IntroPLC Intro
PLC Intro
 
Unit II.pptx
Unit II.pptxUnit II.pptx
Unit II.pptx
 
introduction to mechatronics.ppt
introduction to mechatronics.pptintroduction to mechatronics.ppt
introduction to mechatronics.ppt
 

PIC microcontroller review

  • 1. Communication PIC-Microcontroller Lab Course by JAOM Center, Feb. 2013 PIC Microcontroller Review Instructor: Mohsen Sarakbi
  • 2. Definitions of Control Systems  A control system is a collection of components working together under the direction of some machine intelligence.  In most cases, electronic circuits provide the intelligence, and electromechanical components such as sensors and motors provide the interface to the physical world.
  • 4. Parts of Control System  Every control system has (at least) a controller and an actuator (also called a final control element).  The Controller is the intelligence of the system and is usually electronic.  The input to the controller is called the Set point, which is a signal representing the desired system output.  The Actuator is an electromechanical device that takes the signal from the controller and converts it into some kind of physical action. Examples of typical actuators would be an electric motor, an electrically controlled valve, or a heating element.  The last block is labeled Process and has an output labeled Controlled variable. The process block represents the physical process being affected by the actuator, and the controlled variable is the measurable result of that process.
  • 5. Control System Classifications  Open-Loop Control Systems:The controller never actually knows if the actuator did what it was supposed to.  Closed-Loop Control Systems: The output of the process (controlled variable) is constantly monitored by a sensor.
  • 6. Microcontrollers  The microcontroller is simply a computer on a chip.  A microcontroller differs from microprocessor; it usually includes a central processor (CPU), input and output ports, memory for program and data storage, an internal clock, and one or more peripheral devices such as timers, counters, analog-to-digital converters (ADC) and serial communication facilities.
  • 8. PIC Microcontrollers  PIC is the name for the Microchip microcontroller (MCU) family, consisting of a microprocessor, I/O ports, timers and other internal, integrated hardware. The main advantages are low external part count, a wide range of chip sizes great availability of compilers and source code and easy programming.  In our course we’ll use the Microchip products (PIC16F877A) microcontroller.
  • 9. PIC16F877A Features o High-performance RISC CPU o 8 Kbytes of FLASH Program Memory o 368 bytes of Data Memory (RAM) o 256 bytes of EEPROM Data Memory o 33 I/O pins: (5 ports: A(6), B(8), C(8), D(8) and E(3)) o 4-20 MHz operating speed o Wide operating voltage range: 2.0V to 5.5V. o Max. 25 mA current from an output pin.
  • 14. PIC Lab  ON/OFF LED  IF Statements & Loops (WHILE & FOR)  Procedures  LCD  USART TX/RX  Analog input (Temp on LCD)  Combined Scenario ..