SlideShare a Scribd company logo
Presented by
Jabez Winston C
Jagdeesh S
Shibin B
About Microchip
 Microchip Technology is an American manufacturer of
microcontroller, memory and analog semiconductors.
 HQ - Chandler, Arizona
 Wafer Fabs - Tempe, Arizona and Gresham, Oregon
 Assembly/Test facilities - Chachoengsao, Thailand
Competitors to Microchip
 Analog Devices
 Atmel
 Freescale
 Infineon
 Maxim Integrated Products
 NXP Semiconductors
 Renesas Electronics
 STMicroelectronics
 Texas Instruments
PIC architecture
 RISC instruction set
 PIC – Programmable Interface Controller ??
Peripheral Interface Controller ??
Programmable Interface Controller ??
Microchip Microcontroller variants
 8-bit MCUs
 PIC10, PIC12 - 12 bit wide code memory/instruction
 PIC16 - 14 bit wide code memory/instruction
 PIC18 - 8 bit wide code memory / 16 bit instruction
 16-bit MCUs –
 PIC24 -12 bit wide code memory / 24 bit instructions
 dsPIC - 12 bit wide code memory / 24 bit instructions
 32-bit MCUs - PIC32MX, PIC32MZ
 32 bit instruction set
 16 bit instruction set for compact code
Problem
Design a circuit to turn on LED
when voltage is less than 3 V or
greater than 4 V
ADC(Analog to Digital Converter)
 ADC converts physical quanity(usually voltage) to a
digital number.
(for n-bit ADC)
 n-bit ADC can produce value in the range 0 to 2n
Analog Digital
input output
Range: Vref- to Vref+ Range: 0 to 2n
ADC
For example , a 8 bit ADC has +ve voltage reference of 5
V and –ve voltage reference of 0V. What is ADC value
for 2.5 V ?
PIC12F683
 PIC12F683 has 10 bit Successive Approximation ADC.
 Default reference voltages are
 For 3 V , ADC value 
 For 4 V , ADC value 
PIC 12F683 registers
 ANSEL – Configure pins as digital/analog and
A/D conversion clock select
 ADCON0 – Channel , Reference voltage select,etc.,
 ADRESH
 ADRESL ADC Result registers
ANSEL
ADCON0
ADRESH & ADRESL Registers
Left justified result
Right justified result

More Related Content

What's hot

Embedded system (Chapter 3) io_port_programming
Embedded system (Chapter 3) io_port_programmingEmbedded system (Chapter 3) io_port_programming
Embedded system (Chapter 3) io_port_programming
Ikhwan_Fakrudin
 
Pic microcontrollers for_beginners
Pic microcontrollers for_beginnersPic microcontrollers for_beginners
Pic microcontrollers for_beginners
Praveen Chary
 
Analog I/O in PIC16F877A
Analog I/O in PIC16F877AAnalog I/O in PIC16F877A
Analog I/O in PIC16F877A
Mohamed Bedair
 
Presentation
PresentationPresentation
Presentation
Abhijit Das
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
Premier Farnell
 
Atmega16
Atmega16Atmega16
Atmega16
Thrived Kumar
 
MCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016AMCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016A
Arkhom Jodtang
 
AT mega8 basics
AT mega8 basicsAT mega8 basics
AT mega8 basics
thetechnicalzone
 
Microprocessor Week 10: Applications
Microprocessor Week 10: ApplicationsMicroprocessor Week 10: Applications
Microprocessor Week 10: Applications
Arkhom Jodtang
 
An introdution to MPLAB
An introdution to MPLABAn introdution to MPLAB
An introdution to MPLAB
Emanuele Bonanni
 
Programming the Digital I/O Interface of a PIC microcontroller
Programming the Digital I/O Interface of a PIC microcontrollerProgramming the Digital I/O Interface of a PIC microcontroller
Programming the Digital I/O Interface of a PIC microcontroller
Corrado Santoro
 
PIC16F877A interfacing with LCD
PIC16F877A interfacing with LCDPIC16F877A interfacing with LCD
PIC16F877A interfacing with LCD
sunil polo
 
A tmega8 basics
A tmega8 basicsA tmega8 basics
A tmega8 basics
Nitesh Singh
 
Intrerfacing i
Intrerfacing iIntrerfacing i
Intrerfacing i
Mohamed Bedair
 
1203 Ppi 8155
1203 Ppi 81551203 Ppi 8155
1203 Ppi 8155
techbed
 
Tutorial dec0604(print24) Programming a PIC
Tutorial dec0604(print24) Programming a PICTutorial dec0604(print24) Programming a PIC
Tutorial dec0604(print24) Programming a PIC
Muhammad Khan
 
Lec13
Lec13Lec13
Embedded c & working with avr studio
Embedded c & working with avr studioEmbedded c & working with avr studio
Embedded c & working with avr studio
Nitesh Singh
 
Getting started with pic microcontrollers
Getting started with pic microcontrollersGetting started with pic microcontrollers
Getting started with pic microcontrollers
Pantech ProLabs India Pvt Ltd
 
Digital i o
Digital i oDigital i o
Digital i o
Mohamed Bedair
 

What's hot (20)

Embedded system (Chapter 3) io_port_programming
Embedded system (Chapter 3) io_port_programmingEmbedded system (Chapter 3) io_port_programming
Embedded system (Chapter 3) io_port_programming
 
Pic microcontrollers for_beginners
Pic microcontrollers for_beginnersPic microcontrollers for_beginners
Pic microcontrollers for_beginners
 
Analog I/O in PIC16F877A
Analog I/O in PIC16F877AAnalog I/O in PIC16F877A
Analog I/O in PIC16F877A
 
Presentation
PresentationPresentation
Presentation
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
 
Atmega16
Atmega16Atmega16
Atmega16
 
MCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016AMCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016A
 
AT mega8 basics
AT mega8 basicsAT mega8 basics
AT mega8 basics
 
Microprocessor Week 10: Applications
Microprocessor Week 10: ApplicationsMicroprocessor Week 10: Applications
Microprocessor Week 10: Applications
 
An introdution to MPLAB
An introdution to MPLABAn introdution to MPLAB
An introdution to MPLAB
 
Programming the Digital I/O Interface of a PIC microcontroller
Programming the Digital I/O Interface of a PIC microcontrollerProgramming the Digital I/O Interface of a PIC microcontroller
Programming the Digital I/O Interface of a PIC microcontroller
 
PIC16F877A interfacing with LCD
PIC16F877A interfacing with LCDPIC16F877A interfacing with LCD
PIC16F877A interfacing with LCD
 
A tmega8 basics
A tmega8 basicsA tmega8 basics
A tmega8 basics
 
Intrerfacing i
Intrerfacing iIntrerfacing i
Intrerfacing i
 
1203 Ppi 8155
1203 Ppi 81551203 Ppi 8155
1203 Ppi 8155
 
Tutorial dec0604(print24) Programming a PIC
Tutorial dec0604(print24) Programming a PICTutorial dec0604(print24) Programming a PIC
Tutorial dec0604(print24) Programming a PIC
 
Lec13
Lec13Lec13
Lec13
 
Embedded c & working with avr studio
Embedded c & working with avr studioEmbedded c & working with avr studio
Embedded c & working with avr studio
 
Getting started with pic microcontrollers
Getting started with pic microcontrollersGetting started with pic microcontrollers
Getting started with pic microcontrollers
 
Digital i o
Digital i oDigital i o
Digital i o
 

Viewers also liked

Wireless electronic notice board using rf
Wireless electronic notice board using rfWireless electronic notice board using rf
Wireless electronic notice board using rf
Jagadeesh Yadav
 
Electrical engineering labs modernization
Electrical engineering labs modernizationElectrical engineering labs modernization
Electrical engineering labs modernization
Jabez Winston
 
15EE51 - Microcontrollers Laboratory
15EE51 - Microcontrollers Laboratory15EE51 - Microcontrollers Laboratory
15EE51 - Microcontrollers Laboratory
Jabez Winston
 
Advance of usb
Advance of usb Advance of usb
Advance of usb
PREMAL GAJJAR
 
Labview -USB
Labview -USB Labview -USB
Labview -USB
Jabez Winston
 
Protection and Switchgear-EE2402 notes Unit-2
Protection and Switchgear-EE2402 notes Unit-2Protection and Switchgear-EE2402 notes Unit-2
Protection and Switchgear-EE2402 notes Unit-2
Jabez Winston
 
CAN in linux
CAN in linuxCAN in linux
CAN in linux
Jabez Winston
 
Fault avoidance and fault tolerance
Fault avoidance and fault toleranceFault avoidance and fault tolerance
Fault avoidance and fault tolerance
Jabez Winston
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect Network
Jabez Winston
 
VLSI Design
VLSI DesignVLSI Design
VLSI Design
Jabez Winston
 

Viewers also liked (10)

Wireless electronic notice board using rf
Wireless electronic notice board using rfWireless electronic notice board using rf
Wireless electronic notice board using rf
 
Electrical engineering labs modernization
Electrical engineering labs modernizationElectrical engineering labs modernization
Electrical engineering labs modernization
 
15EE51 - Microcontrollers Laboratory
15EE51 - Microcontrollers Laboratory15EE51 - Microcontrollers Laboratory
15EE51 - Microcontrollers Laboratory
 
Advance of usb
Advance of usb Advance of usb
Advance of usb
 
Labview -USB
Labview -USB Labview -USB
Labview -USB
 
Protection and Switchgear-EE2402 notes Unit-2
Protection and Switchgear-EE2402 notes Unit-2Protection and Switchgear-EE2402 notes Unit-2
Protection and Switchgear-EE2402 notes Unit-2
 
CAN in linux
CAN in linuxCAN in linux
CAN in linux
 
Fault avoidance and fault tolerance
Fault avoidance and fault toleranceFault avoidance and fault tolerance
Fault avoidance and fault tolerance
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect Network
 
VLSI Design
VLSI DesignVLSI Design
VLSI Design
 

Similar to MPLABX with proteus

digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
Arcanjo Salazaku
 
Embedded & pcb design
Embedded & pcb designEmbedded & pcb design
Embedded & pcb design
Tanveer Behl
 
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptxVhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
asolis5
 
Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)
Aravind E Vijayan
 
Precision microcontrolleroverview
Precision microcontrolleroverviewPrecision microcontrolleroverview
Precision microcontrolleroverview
Ghazi BEN HMIDA
 
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal TechnologyScaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Shivaprasad Tilekar
 
Automatic irrigation system using Arduino
Automatic irrigation system using ArduinoAutomatic irrigation system using Arduino
Automatic irrigation system using Arduino
BalajiK109
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
vasav2204
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
vasav2204
 
Galil rio catalog
Galil rio catalogGalil rio catalog
Galil rio catalog
Electromate
 
how to generate sms
how to generate smshow to generate sms
how to generate sms
sumant reddy
 
H0534248
H0534248H0534248
H0534248
IOSR Journals
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
rajeshkvdn
 
Embedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptxEmbedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptx
satheeshKumar750
 
Wireless Microcontroller (IEEE802.15.4 and ZigBee): JN5139
Wireless Microcontroller  (IEEE802.15.4 and ZigBee): JN5139Wireless Microcontroller  (IEEE802.15.4 and ZigBee): JN5139
Wireless Microcontroller (IEEE802.15.4 and ZigBee): JN5139
Premier Farnell
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
Saumya Ranjan Behura
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
Dhananjay Chauhan
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
AakashRawat35
 
Wds
WdsWds
Industrial training report of embedded system and robotics
Industrial training report of embedded system and roboticsIndustrial training report of embedded system and robotics
Industrial training report of embedded system and robotics
Pallavi Bharti
 

Similar to MPLABX with proteus (20)

digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
 
Embedded & pcb design
Embedded & pcb designEmbedded & pcb design
Embedded & pcb design
 
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptxVhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
 
Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)
 
Precision microcontrolleroverview
Precision microcontrolleroverviewPrecision microcontrolleroverview
Precision microcontrolleroverview
 
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal TechnologyScaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
 
Automatic irrigation system using Arduino
Automatic irrigation system using ArduinoAutomatic irrigation system using Arduino
Automatic irrigation system using Arduino
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
 
Galil rio catalog
Galil rio catalogGalil rio catalog
Galil rio catalog
 
how to generate sms
how to generate smshow to generate sms
how to generate sms
 
H0534248
H0534248H0534248
H0534248
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
 
Embedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptxEmbedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptx
 
Wireless Microcontroller (IEEE802.15.4 and ZigBee): JN5139
Wireless Microcontroller  (IEEE802.15.4 and ZigBee): JN5139Wireless Microcontroller  (IEEE802.15.4 and ZigBee): JN5139
Wireless Microcontroller (IEEE802.15.4 and ZigBee): JN5139
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
 
Wds
WdsWds
Wds
 
Industrial training report of embedded system and robotics
Industrial training report of embedded system and roboticsIndustrial training report of embedded system and robotics
Industrial training report of embedded system and robotics
 

Recently uploaded

Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 

Recently uploaded (20)

Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 

MPLABX with proteus

  • 1. Presented by Jabez Winston C Jagdeesh S Shibin B
  • 2. About Microchip  Microchip Technology is an American manufacturer of microcontroller, memory and analog semiconductors.  HQ - Chandler, Arizona  Wafer Fabs - Tempe, Arizona and Gresham, Oregon  Assembly/Test facilities - Chachoengsao, Thailand
  • 3.
  • 4. Competitors to Microchip  Analog Devices  Atmel  Freescale  Infineon  Maxim Integrated Products  NXP Semiconductors  Renesas Electronics  STMicroelectronics  Texas Instruments
  • 5. PIC architecture  RISC instruction set  PIC – Programmable Interface Controller ?? Peripheral Interface Controller ?? Programmable Interface Controller ??
  • 6. Microchip Microcontroller variants  8-bit MCUs  PIC10, PIC12 - 12 bit wide code memory/instruction  PIC16 - 14 bit wide code memory/instruction  PIC18 - 8 bit wide code memory / 16 bit instruction  16-bit MCUs –  PIC24 -12 bit wide code memory / 24 bit instructions  dsPIC - 12 bit wide code memory / 24 bit instructions  32-bit MCUs - PIC32MX, PIC32MZ  32 bit instruction set  16 bit instruction set for compact code
  • 7. Problem Design a circuit to turn on LED when voltage is less than 3 V or greater than 4 V
  • 8. ADC(Analog to Digital Converter)  ADC converts physical quanity(usually voltage) to a digital number. (for n-bit ADC)  n-bit ADC can produce value in the range 0 to 2n Analog Digital input output Range: Vref- to Vref+ Range: 0 to 2n ADC
  • 9. For example , a 8 bit ADC has +ve voltage reference of 5 V and –ve voltage reference of 0V. What is ADC value for 2.5 V ?
  • 11.  PIC12F683 has 10 bit Successive Approximation ADC.  Default reference voltages are  For 3 V , ADC value   For 4 V , ADC value 
  • 12. PIC 12F683 registers  ANSEL – Configure pins as digital/analog and A/D conversion clock select  ADCON0 – Channel , Reference voltage select,etc.,  ADRESH  ADRESL ADC Result registers
  • 13. ANSEL
  • 15. ADRESH & ADRESL Registers Left justified result