SlideShare a Scribd company logo
1 of 12
Mahmoud Mohamed Younis
mahmoude.mohamed1996@gmail.com
﷽

 GPIO
 Timer 8/16 bits
 External Interrupts
 EEPROM
 USART protocol
 SPI protocol
 I2C protocol
 ADC
Head lines
2Eng. Mahmoud Mohamed

 I/O Ports.
 I/O Ports Programming in c.
 Interfacing with Switches and LEDs.
 Interfacing with 7-Segment.
 Interfacing with Keypad.
 Interfacing with LCD.
 Interfacing with DC Motor-direction control.
GPIO
3Eng. Mahmoud Mohamed

I/O Ports
4Eng. Mahmoud Mohamed

5Eng. Mahmoud Mohamed

 Introduction.
 Normal mode.
 Output compare mode.
 Timer0.
 Timer1.
 Timer2.
 PWM generation.
 Interfacing with DC motor-speed control.
 Interfacing with servo and stepper motors.
 Additional ideas with timers.
Timers
6Eng. Mahmoud Mohamed

 AVR interrupts.
 Programming Timer interrupts.
 Programming External Interrupts.
 Additional ideas with timers.
External Interrupt
7Eng. Mahmoud Mohamed

 Introduction
 Internal EEPROM programming.
 External EEPROM programming.
EEPROM
8Eng. Mahmoud Mohamed

 Basics of serial communication.
 USART programming.
 AVR with USB.
USART protocol
9Eng. Mahmoud Mohamed

 SPI bus protocol.
 SPI programming.
 One muster-multi slaves simple project.
SPI protocol
10Eng. Mahmoud Mohamed

 I2C bus protocol.
 I2C programming.
 One muster - multi slaves project.
 Multi muster - multi slaves project.
I2C protocol
11Eng. Mahmoud Mohamed

 ADC characteristics.
 ADC programming.
 Interfacing with LM35.
 Interfacing with LDR.
 Interfacing with Potentiometer.
 Interfacing with DAC module.
ADC
12Eng. Mahmoud Mohamed

More Related Content

Similar to ATMEGA32 full tutorials

Cell phone based dtmf controlled
Cell phone based dtmf controlledCell phone based dtmf controlled
Cell phone based dtmf controlledslmnsvn
 
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
 
E notice board project report
E notice board project reportE notice board project report
E notice board project reportamit chaudhary
 
Cell phone based dtmf
Cell phone based dtmfCell phone based dtmf
Cell phone based dtmfslmnsvn
 
Introduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersIntroduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersMohamed Tarek
 
Gsm anti theft
Gsm anti theftGsm anti theft
Gsm anti theftAshu0711
 
01 GPIO||General Purpose Input Output.2016
01 GPIO||General Purpose Input Output.201601 GPIO||General Purpose Input Output.2016
01 GPIO||General Purpose Input Output.2016Mohamed Fawzy
 
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO RO...
Everything about PLC programming Practical lessons on PLC  EMERSON EDUARDO RO...Everything about PLC programming Practical lessons on PLC  EMERSON EDUARDO RO...
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO RO...EMERSON EDUARDO RODRIGUES
 
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO ROD...
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO ROD...Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO ROD...
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO ROD...EMERSON EDUARDO RODRIGUES
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduinoelwalia
 
Automatic car parking system using avr.pptx
Automatic car parking system using avr.pptxAutomatic car parking system using avr.pptx
Automatic car parking system using avr.pptxAlbertGeorge21
 
Plc and hmi based stenter machine poster
Plc and hmi based stenter machine posterPlc and hmi based stenter machine poster
Plc and hmi based stenter machine posterRakshita Upadhyay
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino MicrocontrollerShyam Mohan
 
Project report on dtmf based door opening system
Project report on  dtmf based door opening systemProject report on  dtmf based door opening system
Project report on dtmf based door opening systemMukul Mohal
 

Similar to ATMEGA32 full tutorials (20)

[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
 
Cell phone based dtmf controlled
Cell phone based dtmf controlledCell phone based dtmf controlled
Cell phone based dtmf controlled
 
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
 
E notice board project report
E notice board project reportE notice board project report
E notice board project report
 
12266127.ppt
12266127.ppt12266127.ppt
12266127.ppt
 
Cell phone based dtmf
Cell phone based dtmfCell phone based dtmf
Cell phone based dtmf
 
Introduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersIntroduction to Avr Microcontrollers
Introduction to Avr Microcontrollers
 
Gsm anti theft
Gsm anti theftGsm anti theft
Gsm anti theft
 
01 GPIO||General Purpose Input Output.2016
01 GPIO||General Purpose Input Output.201601 GPIO||General Purpose Input Output.2016
01 GPIO||General Purpose Input Output.2016
 
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO RO...
Everything about PLC programming Practical lessons on PLC  EMERSON EDUARDO RO...Everything about PLC programming Practical lessons on PLC  EMERSON EDUARDO RO...
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO RO...
 
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO ROD...
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO ROD...Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO ROD...
Everything about PLC programming Practical lessons on PLC EMERSON EDUARDO ROD...
 
G3602050055
G3602050055G3602050055
G3602050055
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Automatic car parking system using avr.pptx
Automatic car parking system using avr.pptxAutomatic car parking system using avr.pptx
Automatic car parking system using avr.pptx
 
Plc and hmi based stenter machine poster
Plc and hmi based stenter machine posterPlc and hmi based stenter machine poster
Plc and hmi based stenter machine poster
 
Industrial Automation
Industrial AutomationIndustrial Automation
Industrial Automation
 
Basic PLC.ppt
Basic PLC.pptBasic PLC.ppt
Basic PLC.ppt
 
Micro-controllers (PIC) based Application Development
Micro-controllers (PIC) based Application DevelopmentMicro-controllers (PIC) based Application Development
Micro-controllers (PIC) based Application Development
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
 
Project report on dtmf based door opening system
Project report on  dtmf based door opening systemProject report on  dtmf based door opening system
Project report on dtmf based door opening system
 

Recently uploaded

Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Toolssoginsider
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfSkNahidulIslamShrabo
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashidFaiyazSheikh
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationEmaan Sharma
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptjigup7320
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdfAlexander Litvinenko
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Stationsiddharthteach18
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentationsj9399037128
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/FootingEr. Suman Jyoti
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfJNTUA
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024EMMANUELLEFRANCEHELI
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxMustafa Ahmed
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfKira Dess
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsMathias Magdowski
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...AshwaniAnuragi1
 

Recently uploaded (20)

Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/Footing
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
 

ATMEGA32 full tutorials

  • 2.   GPIO  Timer 8/16 bits  External Interrupts  EEPROM  USART protocol  SPI protocol  I2C protocol  ADC Head lines 2Eng. Mahmoud Mohamed
  • 3.   I/O Ports.  I/O Ports Programming in c.  Interfacing with Switches and LEDs.  Interfacing with 7-Segment.  Interfacing with Keypad.  Interfacing with LCD.  Interfacing with DC Motor-direction control. GPIO 3Eng. Mahmoud Mohamed
  • 6.   Introduction.  Normal mode.  Output compare mode.  Timer0.  Timer1.  Timer2.  PWM generation.  Interfacing with DC motor-speed control.  Interfacing with servo and stepper motors.  Additional ideas with timers. Timers 6Eng. Mahmoud Mohamed
  • 7.   AVR interrupts.  Programming Timer interrupts.  Programming External Interrupts.  Additional ideas with timers. External Interrupt 7Eng. Mahmoud Mohamed
  • 8.   Introduction  Internal EEPROM programming.  External EEPROM programming. EEPROM 8Eng. Mahmoud Mohamed
  • 9.   Basics of serial communication.  USART programming.  AVR with USB. USART protocol 9Eng. Mahmoud Mohamed
  • 10.   SPI bus protocol.  SPI programming.  One muster-multi slaves simple project. SPI protocol 10Eng. Mahmoud Mohamed
  • 11.   I2C bus protocol.  I2C programming.  One muster - multi slaves project.  Multi muster - multi slaves project. I2C protocol 11Eng. Mahmoud Mohamed
  • 12.   ADC characteristics.  ADC programming.  Interfacing with LM35.  Interfacing with LDR.  Interfacing with Potentiometer.  Interfacing with DAC module. ADC 12Eng. Mahmoud Mohamed