SlideShare a Scribd company logo
ATMEGA-128 & 
COMMUNICATION PROTOCOL 
PRESENTED BY: 
Rashmi Deoli 
Divya Rawat 
Shalini Ranjan
ATMEGA 128 DESCRIPTION 
• It is the high performance 
• Low power ATMEL 
• 8 bit AVR 
• RISC based microcontroller-128 kb programmable flash memory 
• JTAG interface on chip debugging 
• It operates between 4.5-5.5 volts 
• Pin count -64 
• No USB interface
Atmel Atmega128 Overview 
MEMORY SYSTEM:- 
There are four separate memory spaces on the AVR. 
 Program space: 
-128K byte (64Kx16) in-circuit flash programmable. 
-Can be accessed by program for storage of constants. 
 SRAM Data Memory: 
-4K bytes 
-variable storage area 
 EEPROM: 
-4K bytes 
-separate data space
BLOCK DIAGRAM
COMMUNICATION PROTOCOL 
 In Atmega-128, there are various types of 
Protocols:- 
- I2C (Inter Independent Circuit). 
- SPI ( Serial Peripheral Interface). 
- UART (Universal Asynchronous 
Receiver/Transmitter)
I2C Characteristics 
Only 2 Wires Needed On Bus 
-Serial Data (SDA) 
-Serial Clock(scl)
How Does It Work?
I2C Protocol (cont.) 
6. Receiver issues an ACK bit for the byte received 
7. Repeat 5 and 6 if more bytes need to be transmitted 
8. Master always sends stop condition (P) 
a. For write transaction (master transmitting), master issues 
stop condition (P) after last byte of data. 
b. For read transaction (master receiving), master does not 
acknowledge final byte, just issues stop condition (P) to tell 
the slave the transmission is done
ADVANTAGES 
• Only two signal lines requires 
• Flexible data transmission rates 
• Each device on the bus is independently addressable 
• Devices have a simple Master/Slave relationship.
References 
I2C: 
 http://www-us2.semiconductors.philips.com/acrobat/various/ 
 http://www.esacademy.com/faq/i2c/index.htm 
 http://www.embedded.com/story/OEG20020528S0057

More Related Content

PDF
Atmega 128 datasheet
PDF
2502s
PDF
Doc2502
PDF
Atmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheet
PDF
AVR introduction
PDF
A tmega16A Microcontroller Data Sheet
PDF
Atmel microcontrollers-a tmega328-p_datasheet
Atmega 128 datasheet
2502s
Doc2502
Atmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheet
AVR introduction
A tmega16A Microcontroller Data Sheet
Atmel microcontrollers-a tmega328-p_datasheet

What's hot (20)

PPT
A tmega8 basics
PPT
Developing an avr microcontroller system
PDF
Atmega324 p
PDF
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
PPS
Robotix Tutorial 9
PDF
Atmega8u2 mur
PDF
PPTX
Part-2: Mastering microcontroller with embedded driver development
PDF
Introduction to pic microcontroller
PPTX
Avr and arm
PDF
174085193 pic-prgm-manual
PPT
dsPIC33FJ06GSXXX DSCs
PPT
Getting Started with RS08 MCUs
PPT
An Overview of LPC2101/02/03
PPT
AT mega8 basics
PDF
Microcontroller Instruction Set atmel
PPT
3 embedded gr_ppapag_msp430_arch
PDF
At 89c51
PPT
Introduction of 16-Bit Automotive Microcontrollers S12XE
PPTX
Microcontroller kit
A tmega8 basics
Developing an avr microcontroller system
Atmega324 p
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Robotix Tutorial 9
Atmega8u2 mur
Part-2: Mastering microcontroller with embedded driver development
Introduction to pic microcontroller
Avr and arm
174085193 pic-prgm-manual
dsPIC33FJ06GSXXX DSCs
Getting Started with RS08 MCUs
An Overview of LPC2101/02/03
AT mega8 basics
Microcontroller Instruction Set atmel
3 embedded gr_ppapag_msp430_arch
At 89c51
Introduction of 16-Bit Automotive Microcontrollers S12XE
Microcontroller kit
Ad

Viewers also liked (6)

PPTX
I2 c and mpu6050 basics
PPTX
I2C Protocol
PDF
Practical reverse engineering and exploit development for AVR-based Embedded ...
PDF
I2C programming with C and Arduino
PPT
PPT
I2C protocol and DS1307 RTC interfacing
I2 c and mpu6050 basics
I2C Protocol
Practical reverse engineering and exploit development for AVR-based Embedded ...
I2C programming with C and Arduino
I2C protocol and DS1307 RTC interfacing
Ad

Similar to atmega 128 and communication protocol (20)

PDF
Introduction to intel galileo board gen2
PPT
ARDUINO AND ITS PIN CONFIGURATION
PDF
Atemega saya
PDF
Lpc1769 68 67_66_65_64
PDF
Atmega16 Microconntroller Data sheet
PDF
Atmega16 datasheet
PPT
Ii avr-basics(1)
PDF
Unit II Study of Onchip Peripherals
PPTX
UNI T 6- SPI_I2C_Lecture8.pptx
PDF
Atmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheet
PPT
I2C And SPI Part-23
PPTX
8051 architecture and pin configuration
PPT
MPC854XE: PowerQUICC III Processors
PDF
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
PPTX
Inter intergrated circuits-communication protocol
PDF
MICROPROCESSORS & MICROCONTROLLERS
PPTX
I2c protocol - Inter–Integrated Circuit Communication Protocol
PPTX
Electronics Microcontrollers for IoT applications
Introduction to intel galileo board gen2
ARDUINO AND ITS PIN CONFIGURATION
Atemega saya
Lpc1769 68 67_66_65_64
Atmega16 Microconntroller Data sheet
Atmega16 datasheet
Ii avr-basics(1)
Unit II Study of Onchip Peripherals
UNI T 6- SPI_I2C_Lecture8.pptx
Atmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheet
I2C And SPI Part-23
8051 architecture and pin configuration
MPC854XE: PowerQUICC III Processors
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
Inter intergrated circuits-communication protocol
MICROPROCESSORS & MICROCONTROLLERS
I2c protocol - Inter–Integrated Circuit Communication Protocol
Electronics Microcontrollers for IoT applications

More from Rashmi Deoli (6)

PPT
testing
PPTX
English assignment class 8th
PPT
information practices
PPT
Satellite communication
PPT
wireless systems
PPTX
4 g wireless
testing
English assignment class 8th
information practices
Satellite communication
wireless systems
4 g wireless

Recently uploaded (20)

PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Welding lecture in detail for understanding
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Construction Project Organization Group 2.pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
additive manufacturing of ss316l using mig welding
CYBER-CRIMES AND SECURITY A guide to understanding
Mechanical Engineering MATERIALS Selection
Welding lecture in detail for understanding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Internet of Things (IOT) - A guide to understanding
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Digital Logic Computer Design lecture notes
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
bas. eng. economics group 4 presentation 1.pptx
Construction Project Organization Group 2.pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Foundation to blockchain - A guide to Blockchain Tech
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
additive manufacturing of ss316l using mig welding

atmega 128 and communication protocol

  • 1. ATMEGA-128 & COMMUNICATION PROTOCOL PRESENTED BY: Rashmi Deoli Divya Rawat Shalini Ranjan
  • 2. ATMEGA 128 DESCRIPTION • It is the high performance • Low power ATMEL • 8 bit AVR • RISC based microcontroller-128 kb programmable flash memory • JTAG interface on chip debugging • It operates between 4.5-5.5 volts • Pin count -64 • No USB interface
  • 3. Atmel Atmega128 Overview MEMORY SYSTEM:- There are four separate memory spaces on the AVR.  Program space: -128K byte (64Kx16) in-circuit flash programmable. -Can be accessed by program for storage of constants.  SRAM Data Memory: -4K bytes -variable storage area  EEPROM: -4K bytes -separate data space
  • 5. COMMUNICATION PROTOCOL  In Atmega-128, there are various types of Protocols:- - I2C (Inter Independent Circuit). - SPI ( Serial Peripheral Interface). - UART (Universal Asynchronous Receiver/Transmitter)
  • 6. I2C Characteristics Only 2 Wires Needed On Bus -Serial Data (SDA) -Serial Clock(scl)
  • 7. How Does It Work?
  • 8. I2C Protocol (cont.) 6. Receiver issues an ACK bit for the byte received 7. Repeat 5 and 6 if more bytes need to be transmitted 8. Master always sends stop condition (P) a. For write transaction (master transmitting), master issues stop condition (P) after last byte of data. b. For read transaction (master receiving), master does not acknowledge final byte, just issues stop condition (P) to tell the slave the transmission is done
  • 9. ADVANTAGES • Only two signal lines requires • Flexible data transmission rates • Each device on the bus is independently addressable • Devices have a simple Master/Slave relationship.
  • 10. References I2C:  http://www-us2.semiconductors.philips.com/acrobat/various/  http://www.esacademy.com/faq/i2c/index.htm  http://www.embedded.com/story/OEG20020528S0057