SlideShare a Scribd company logo
Lecture 5 :
Analog I/O
Agenda
• Analog Vs Digital
• ADC Module
• Analog inputs in PIC
• Project 1 “Temperature sensor”
• Break
• PWM Module
• Analog output in PIC
• Project 2 “ Fan speed control”
• Q & A
Analog Vs Digital
Analog Signals :- Nature signals which use a continuous range of values to
represent information, Like Sound signals.
Digital Signals :- Signals which uses discrete (discontinuous) values to represent
information , Like computers.
ADC Module
Analog to Digital Converter (ADC) :- is a
device that converts a continuous quantity
(Voltage) to a digital number that represent
the quantity’s amplitude.
Analog inputs in PIC
PIC16F877A has 10-bit resolution ADC , with 8 channels.
MikroC functions and commands :-
* Void ADC_Init();
* Int ADC_Read(Channel number);
Project 1 “Temperature Sensor”
Write a program That measure the temperature is the room and the display that
temperature on LCD.
Break
PWM Module
Pulse Width Modulation (PWM) :- is a fancy term for describing a type of digital
signal , which is used in many application like controlling Servos and driving RGB
LEDs.
Analog output in PIC
PIC16F877A has 2 PWM
MikroC Function and Commands :-
* Void PWMx_Init(Freq);
* Void PWMx_Set_Duty(Duty Cycle)
* Void PWMx_Start();
* Void PWMx_Stop();
Project 2 “Fan Speed Control”
Write a program that control the speed of fan , using variable resistor.
Q & A
For more Informatin
AZEX team
FB Page : https://www.facebook.com/AlAZharEXhibition
Mohamed Ali Bedair
FB : https://www.facebook.com/MohamedAliBedair
Mail : M.Bedair@Azhar.Edu.Eg

More Related Content

What's hot

Crystal tester
Crystal testerCrystal tester
Crystal tester
UdayKumar937
 
Printed circuit board
Printed circuit boardPrinted circuit board
Printed circuit board
Suhail Ahmed
 
m.e.vlsi design
m.e.vlsi designm.e.vlsi design
m.e.vlsi design
Magudeeswaran V
 
Introduction to-microprocessors
Introduction to-microprocessorsIntroduction to-microprocessors
Introduction to-microprocessorsmudulin
 
8251 communication interface
8251 communication interface8251 communication interface
8251 communication interface
LingalaSowjanya
 
1204 Ppi 8255
1204 Ppi 82551204 Ppi 8255
1204 Ppi 8255
techbed
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
Unsa Shakir
 
Proteus Circuits Design and Simulation - Examples and Projects
Proteus Circuits Design and Simulation - Examples and ProjectsProteus Circuits Design and Simulation - Examples and Projects
Proteus Circuits Design and Simulation - Examples and Projects
Hassan Khan
 
Fabrication steps of IC
Fabrication steps of ICFabrication steps of IC
Fabrication steps of IC
Gowri Kishore
 
Unit 1
Unit 1Unit 1
Unit 1
Ramanalluri
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
Nitin Ahire
 
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
ACE ENGINEERING COLLEGE
 
8051 programming in c
8051 programming in c8051 programming in c
8051 programming in c
Dr. Ritula Thakur
 
Digital Clock Using Logic Gates
Digital Clock Using Logic GatesDigital Clock Using Logic Gates
Digital Clock Using Logic Gates
JalpaMaheshwari1
 
Pic16cxx instruction set
Pic16cxx instruction setPic16cxx instruction set
Pic16cxx instruction set
v Kalairajan
 
Master synchronous serial port (mssp)
Master synchronous serial port (mssp)Master synchronous serial port (mssp)
Master synchronous serial port (mssp)
babak danyal
 
An application of 8085 register interfacing with LED
An application  of 8085 register interfacing with LEDAn application  of 8085 register interfacing with LED
An application of 8085 register interfacing with LED
Taha Malampatti
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
ISMT College
 

What's hot (20)

Crystal tester
Crystal testerCrystal tester
Crystal tester
 
Printed circuit board
Printed circuit boardPrinted circuit board
Printed circuit board
 
m.e.vlsi design
m.e.vlsi designm.e.vlsi design
m.e.vlsi design
 
Introduction to-microprocessors
Introduction to-microprocessorsIntroduction to-microprocessors
Introduction to-microprocessors
 
8251 communication interface
8251 communication interface8251 communication interface
8251 communication interface
 
1204 Ppi 8255
1204 Ppi 82551204 Ppi 8255
1204 Ppi 8255
 
Pcb designing
Pcb designingPcb designing
Pcb designing
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
Proteus Circuits Design and Simulation - Examples and Projects
Proteus Circuits Design and Simulation - Examples and ProjectsProteus Circuits Design and Simulation - Examples and Projects
Proteus Circuits Design and Simulation - Examples and Projects
 
Fabrication steps of IC
Fabrication steps of ICFabrication steps of IC
Fabrication steps of IC
 
Unit 1
Unit 1Unit 1
Unit 1
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
 
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
 
8051 programming in c
8051 programming in c8051 programming in c
8051 programming in c
 
Digital Clock Using Logic Gates
Digital Clock Using Logic GatesDigital Clock Using Logic Gates
Digital Clock Using Logic Gates
 
Pic16cxx instruction set
Pic16cxx instruction setPic16cxx instruction set
Pic16cxx instruction set
 
Master synchronous serial port (mssp)
Master synchronous serial port (mssp)Master synchronous serial port (mssp)
Master synchronous serial port (mssp)
 
An application of 8085 register interfacing with LED
An application  of 8085 register interfacing with LEDAn application  of 8085 register interfacing with LED
An application of 8085 register interfacing with LED
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
 
Analog vlsi
Analog vlsiAnalog vlsi
Analog vlsi
 

Viewers also liked

Smart lamp with gsm modul sim800 l
Smart lamp with gsm modul sim800 lSmart lamp with gsm modul sim800 l
Smart lamp with gsm modul sim800 l
rikkjo29
 
Pic16F87XA
Pic16F87XAPic16F87XA
Adc
AdcAdc
Serial EEPROM
Serial EEPROMSerial EEPROM
Serial EEPROM
Raghav Shetty
 
PIC16F877A interfacing with LCD
PIC16F877A interfacing with LCDPIC16F877A interfacing with LCD
PIC16F877A interfacing with LCD
sunil polo
 
our 1st project
our 1st projectour 1st project
our 1st project
mohamed sarhan
 
Pic Mini Project Board
Pic Mini Project BoardPic Mini Project Board
Pic Mini Project Board
Raghav Shetty
 
DC VOLTAGE MEASUREMENT USİNG THE WITH PIC MICROCONTROLLER
DC VOLTAGE MEASUREMENT USİNG THE WITH PIC MICROCONTROLLERDC VOLTAGE MEASUREMENT USİNG THE WITH PIC MICROCONTROLLER
DC VOLTAGE MEASUREMENT USİNG THE WITH PIC MICROCONTROLLER
Dursun Kalpak
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notes
SARITHA REDDY
 
register file structure of PIC controller
register file structure of PIC controllerregister file structure of PIC controller
register file structure of PIC controller
Nirbhay Singh
 
Using Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersUsing Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersCorrado Santoro
 
8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth
Raghav Shetty
 
Embedded System - Dtmf robot
Embedded System - Dtmf robotEmbedded System - Dtmf robot
Embedded System - Dtmf robot
Abhishek Sood
 
Wireless Radio Frequency Module Using PIC Microcontroller.
Wireless Radio Frequency Module Using PIC Microcontroller.Wireless Radio Frequency Module Using PIC Microcontroller.
Wireless Radio Frequency Module Using PIC Microcontroller.
Abee Sharma
 
Pic microcontroller step by step your complete guide
Pic microcontroller step by step your complete guidePic microcontroller step by step your complete guide
Pic microcontroller step by step your complete guide
Ashraf Said AlMadhoun - Educational Engineering Team
 
Embedded systems class notes
Embedded systems  class notes Embedded systems  class notes
Embedded systems class notes
Dr.YNM
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
VISHNU KP
 

Viewers also liked (20)

Adc(pic)
Adc(pic)Adc(pic)
Adc(pic)
 
Smart lamp with gsm modul sim800 l
Smart lamp with gsm modul sim800 lSmart lamp with gsm modul sim800 l
Smart lamp with gsm modul sim800 l
 
Pic16F87XA
Pic16F87XAPic16F87XA
Pic16F87XA
 
Adc
AdcAdc
Adc
 
Serial EEPROM
Serial EEPROMSerial EEPROM
Serial EEPROM
 
Pic16 f84a
Pic16 f84aPic16 f84a
Pic16 f84a
 
PIC16F877A interfacing with LCD
PIC16F877A interfacing with LCDPIC16F877A interfacing with LCD
PIC16F877A interfacing with LCD
 
our 1st project
our 1st projectour 1st project
our 1st project
 
Pic Mini Project Board
Pic Mini Project BoardPic Mini Project Board
Pic Mini Project Board
 
DC VOLTAGE MEASUREMENT USİNG THE WITH PIC MICROCONTROLLER
DC VOLTAGE MEASUREMENT USİNG THE WITH PIC MICROCONTROLLERDC VOLTAGE MEASUREMENT USİNG THE WITH PIC MICROCONTROLLER
DC VOLTAGE MEASUREMENT USİNG THE WITH PIC MICROCONTROLLER
 
Mikroc gps
Mikroc gpsMikroc gps
Mikroc gps
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notes
 
register file structure of PIC controller
register file structure of PIC controllerregister file structure of PIC controller
register file structure of PIC controller
 
Using Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersUsing Timers in PIC18F Microcontrollers
Using Timers in PIC18F Microcontrollers
 
8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth
 
Embedded System - Dtmf robot
Embedded System - Dtmf robotEmbedded System - Dtmf robot
Embedded System - Dtmf robot
 
Wireless Radio Frequency Module Using PIC Microcontroller.
Wireless Radio Frequency Module Using PIC Microcontroller.Wireless Radio Frequency Module Using PIC Microcontroller.
Wireless Radio Frequency Module Using PIC Microcontroller.
 
Pic microcontroller step by step your complete guide
Pic microcontroller step by step your complete guidePic microcontroller step by step your complete guide
Pic microcontroller step by step your complete guide
 
Embedded systems class notes
Embedded systems  class notes Embedded systems  class notes
Embedded systems class notes
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
 

Similar to Analog I/O in PIC16F877A

ADC using single slope technique
ADC using single slope  techniqueADC using single slope  technique
ADC using single slope technique
PoojashreeG
 
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINODESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
Ratnesh Kumar chaurasia
 
Temparature alarm
Temparature alarmTemparature alarm
Temparature alarm
DIVYA S
 
MICS Band Wireless Body Sensor Network
MICS Band Wireless Body Sensor NetworkMICS Band Wireless Body Sensor Network
MICS Band Wireless Body Sensor Network
Myo Naung Lwin
 
Personal Convection Air Device Alpha Design Document
Personal Convection Air Device Alpha Design DocumentPersonal Convection Air Device Alpha Design Document
Personal Convection Air Device Alpha Design Document
Tao Jiang
 
Arduino Thermometer
Arduino ThermometerArduino Thermometer
Arduino Thermometer
Mahmoud Salheen
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
 
Analog to digital converter (ACD)
Analog to digital converter (ACD)Analog to digital converter (ACD)
Analog to digital converter (ACD)
Luckysaw
 
MPLABX with proteus
MPLABX with proteusMPLABX with proteus
MPLABX with proteus
Jabez Winston
 
digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
Arcanjo Salazaku
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
vasav2204
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
vasav2204
 
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
Dilip Kumar Ckt
 
analog to digital converter and dac final
analog to digital converter and dac finalanalog to digital converter and dac final
analog to digital converter and dac final
DrVikasMahor
 
10 11_gen_revision_notes_term_3
10  11_gen_revision_notes_term_310  11_gen_revision_notes_term_3
10 11_gen_revision_notes_term_3
CDI Aljeer
 
Wireless fuel level sensor using rfid
Wireless fuel level sensor using rfidWireless fuel level sensor using rfid
Wireless fuel level sensor using rfid
Sriteja Rst
 
Punch sensor, Arduino
Punch sensor, Arduino Punch sensor, Arduino
Punch sensor, Arduino
Christopher Brennan
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Ismailkhan77481
 
ppt of mdas
ppt of mdasppt of mdas
ppt of mdas
Ravindra Saini
 

Similar to Analog I/O in PIC16F877A (20)

ADC using single slope technique
ADC using single slope  techniqueADC using single slope  technique
ADC using single slope technique
 
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINODESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
 
Temparature alarm
Temparature alarmTemparature alarm
Temparature alarm
 
MICS Band Wireless Body Sensor Network
MICS Band Wireless Body Sensor NetworkMICS Band Wireless Body Sensor Network
MICS Band Wireless Body Sensor Network
 
Personal Convection Air Device Alpha Design Document
Personal Convection Air Device Alpha Design DocumentPersonal Convection Air Device Alpha Design Document
Personal Convection Air Device Alpha Design Document
 
Arduino Thermometer
Arduino ThermometerArduino Thermometer
Arduino Thermometer
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Analog to digital converter (ACD)
Analog to digital converter (ACD)Analog to digital converter (ACD)
Analog to digital converter (ACD)
 
MPLABX with proteus
MPLABX with proteusMPLABX with proteus
MPLABX with proteus
 
digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
 
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
 
analog to digital converter and dac final
analog to digital converter and dac finalanalog to digital converter and dac final
analog to digital converter and dac final
 
10 11_gen_revision_notes_term_3
10  11_gen_revision_notes_term_310  11_gen_revision_notes_term_3
10 11_gen_revision_notes_term_3
 
Wireless fuel level sensor using rfid
Wireless fuel level sensor using rfidWireless fuel level sensor using rfid
Wireless fuel level sensor using rfid
 
Punch sensor, Arduino
Punch sensor, Arduino Punch sensor, Arduino
Punch sensor, Arduino
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
 
ppt of mdas
ppt of mdasppt of mdas
ppt of mdas
 

Recently uploaded

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 

Recently uploaded (20)

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 

Analog I/O in PIC16F877A

  • 2. Agenda • Analog Vs Digital • ADC Module • Analog inputs in PIC • Project 1 “Temperature sensor” • Break • PWM Module • Analog output in PIC • Project 2 “ Fan speed control” • Q & A
  • 3. Analog Vs Digital Analog Signals :- Nature signals which use a continuous range of values to represent information, Like Sound signals. Digital Signals :- Signals which uses discrete (discontinuous) values to represent information , Like computers.
  • 4. ADC Module Analog to Digital Converter (ADC) :- is a device that converts a continuous quantity (Voltage) to a digital number that represent the quantity’s amplitude.
  • 5. Analog inputs in PIC PIC16F877A has 10-bit resolution ADC , with 8 channels. MikroC functions and commands :- * Void ADC_Init(); * Int ADC_Read(Channel number);
  • 6. Project 1 “Temperature Sensor” Write a program That measure the temperature is the room and the display that temperature on LCD.
  • 8. PWM Module Pulse Width Modulation (PWM) :- is a fancy term for describing a type of digital signal , which is used in many application like controlling Servos and driving RGB LEDs.
  • 9. Analog output in PIC PIC16F877A has 2 PWM MikroC Function and Commands :- * Void PWMx_Init(Freq); * Void PWMx_Set_Duty(Duty Cycle) * Void PWMx_Start(); * Void PWMx_Stop();
  • 10. Project 2 “Fan Speed Control” Write a program that control the speed of fan , using variable resistor.
  • 11. Q & A
  • 12. For more Informatin AZEX team FB Page : https://www.facebook.com/AlAZharEXhibition Mohamed Ali Bedair FB : https://www.facebook.com/MohamedAliBedair Mail : M.Bedair@Azhar.Edu.Eg