SlideShare uma empresa Scribd logo
1 de 43
Robo India
http://roboindia.com
The ATmega16 is a low-power CMOS 8-bit
microcontroller based on the AVR
enhanced RISC Architecture.
Click here to visit -ROBO INDIA
WHAT IS
CMOS
8-bit microcontroller
RISC Architecture
Click here to visit -ROBO INDIA
• CMOS -Complementary Metal Oxide
Semiconductor
• CMOS is a technology for constructing
integrated circuits
• Two important characteristics of CMOS devices
are high noise immunity and low static power
consumption.
Click here to visit -ROBO INDIA
WHAT IS
CMOS
8-bit microcontroller
RISC Architecture
Click here to visit -ROBO INDIA
• 8 bit : 00000000 capable of doing number
up to 255 (0-255)
• 16 bit: 00000000_00000000 capable of
doing numbers up to 65535 (0-65535)
• 32 bit:
00000000_00000000_00000000_0000000
0 capable of doing numbers up to
4294967295 (0-4294967295)
Click here to visit -ROBO INDIA
WHAT IS
CMOS
8-bit microcontroller
RISC Architecture
Click here to visit -ROBO INDIA
• RISC stands for Reduced Instruction Set
Computer.
• RISC is a type of microprocessor architecture
that utilizes a small, highly-optimized set of
instructions
Click here to visit -ROBO INDIA
• 16 Kbytes of In-System Programmable Flash
• Program memory with Read-While-Write
capabilities
• 512 bytes EEPROM, 1 Kbyte SRAM
• 32general purpose I/O lines
• 32 general purpose working registers
Click here to visit -ROBO INDIA
• Write/Erase Cycles: 10,000 Flash/100,000
EEPROM
• Data retention: 20 years at 85°C/100 years at
25°C(1)
• Programming Lock for Software Security
• Up to 16 MIPS Throughput at 16 MHz
• 512 Bytes EEPROM
Click here to visit -ROBO INDIA
• Two 8-bit Timer/Counters
• One 16-bit Timer/Counter
• Four PWM Channels
• 8-channel, 10-bit ADC
Click here to visit -ROBO INDIA
• Programmable Watchdog Timer
• Six Sleep Modes:
– Idle
– ADC Noise Reduction
– Power-save
– Power-down
– Standby
– Extended Standby
Click here to visit -ROBO INDIA
• Operating Voltages
– 2.7V - 5.5V for ATmega16L
– 4.5V - 5.5V for ATmega16
• Speed Grades
– 0 - 8 MHz for ATmega16L
– 0 - 16 MHz for ATmega16
• Power Consumption @ 1 MHz, 3V, and 25°C for ATmega16L
– Active: 1.1 mA
– Idle Mode: 0.35 mA
– Power-down Mode: < 1 µA
Click here to visit -ROBO INDIA
• Register is a data holding place and very
fast memory, it’s a part of CPU.
• Registers serves as connection between a
CPU and a Peripheral device
• CPU doesn’t give instruction directly to
peripherals or output devices.
Click here to visit -ROBO INDIA
• CPU doesn’t give instruction directly to
peripherals or output devices.
• CPU give output by writing registers
• CPU take input by reading registers
Click here to visit -ROBO INDIA
O/P - Device
REGISTER
CPU
Click here to visit -ROBO INDIA
CPU
REGISTER
I/P - Device
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Atmega16 have total of 40 pins
32 I/O pins..
PORTA = 8 Pins
PORTB = 8 Pins
PORTC = 8 Pins
PORTD = 8 Pins
Click here to visit -ROBO INDIA
• VCC (PIN11) - Digital supply voltage.
• GND (PIN12) - Ground
Click here to visit -ROBO INDIA
• Port A (PA7..PA0) - Port A serves as the
analog inputs to the A/D Converter Port A
also serves as an 8-bit bi-directional I/O
port, if the A/D Converter is not used. Port
pins can provide internal pull-up resistors
(selected for each bit)
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
• Port B (PB7..PB0) - Port B is an 8-bit bi-
directional I/O port with internal pull-up
resistors (selected for each bit). Port B
also serves the functions of various special
features of the ATmega16
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
• Port C (PC7..PC0) - Port C is an 8-bit bi-
directional I/O port with internal pull-up
resistors (selected for each bit). If the JTAG
interface is enabled, the pull-up resistors
on pins PC5(TDI), PC3(TMS) and PC2(TCK)
will be activated even if a reset occurs.
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
• Port D (PD7..PD0) - Port D is an 8-bit bi-
directional I/O port with internal pull-up
resistors (selected for each bit). Port D also
serves the functions of various special
features of the ATmega16
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
• RESET - Reset Input. A low level on this pin
for longer than the minimum pulse length
will generate a reset. Shorter pulses are
not guaranteed to generate a reset.
Click here to visit -ROBO INDIA
• AVCC - AVCC is the supply voltage pin for
Port A and the A/D Converter. It should be
externally connected to VCC, even if the
ADC is not used. If the ADC is used, it
should be connected to VCC through a low-
pass filter.
• AREF - AREF is the analog reference pin for
the A/D Converter.
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
Click here to visit -ROBO INDIA
In case of queries please write us-
info@roboindia.com
www.roboindia.com
Click here to visit -ROBO INDIA

Mais conteúdo relacionado

Mais de Robo India

Mais de Robo India (15)

Relay and AVR Atmel Atmega 16
Relay and AVR Atmel Atmega 16Relay and AVR Atmel Atmega 16
Relay and AVR Atmel Atmega 16
 
DTMF - Dual Tone Multi Frequency Signaling and AVR Atmel Atmega16multi-freque...
DTMF - Dual Tone Multi Frequency Signaling and AVR Atmel Atmega16multi-freque...DTMF - Dual Tone Multi Frequency Signaling and AVR Atmel Atmega16multi-freque...
DTMF - Dual Tone Multi Frequency Signaling and AVR Atmel Atmega16multi-freque...
 
Servo motor and AVR Atmel Atmega 16
Servo motor and AVR  Atmel Atmega 16Servo motor and AVR  Atmel Atmega 16
Servo motor and AVR Atmel Atmega 16
 
IR Sensor Working and Concepts
IR Sensor Working and ConceptsIR Sensor Working and Concepts
IR Sensor Working and Concepts
 
Digital and Analog IR Sensor Working and Cocepts
Digital and Analog IR Sensor Working and Cocepts Digital and Analog IR Sensor Working and Cocepts
Digital and Analog IR Sensor Working and Cocepts
 
ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
ADC - Analog to Digital  Conversion on AVR microcontroller Atmega16ADC - Analog to Digital  Conversion on AVR microcontroller Atmega16
ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
 
LCD Theory and Working Principles
LCD Theory and Working PrinciplesLCD Theory and Working Principles
LCD Theory and Working Principles
 
Led Theory and Working Principles
Led Theory and Working PrinciplesLed Theory and Working Principles
Led Theory and Working Principles
 
Fundamentals of embedded system and electronics
Fundamentals of embedded system and electronicsFundamentals of embedded system and electronics
Fundamentals of embedded system and electronics
 
Single bit oprations in avr microcontroller
Single bit oprations in avr microcontrollerSingle bit oprations in avr microcontroller
Single bit oprations in avr microcontroller
 
Input Output programming in AVR microcontroller
Input  Output  programming in AVR microcontrollerInput  Output  programming in AVR microcontroller
Input Output programming in AVR microcontroller
 
Marketing to youth
Marketing to youthMarketing to youth
Marketing to youth
 
C language
C languageC language
C language
 
Concept and algorithm of line follower
Concept and algorithm of line followerConcept and algorithm of line follower
Concept and algorithm of line follower
 
Robotics and automation
Robotics and automationRobotics and automation
Robotics and automation
 

Último

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Último (20)

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 

Introduction to AVR Microcontroller Atmel Atmega16

  • 2. The ATmega16 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC Architecture. Click here to visit -ROBO INDIA
  • 3. WHAT IS CMOS 8-bit microcontroller RISC Architecture Click here to visit -ROBO INDIA
  • 4. • CMOS -Complementary Metal Oxide Semiconductor • CMOS is a technology for constructing integrated circuits • Two important characteristics of CMOS devices are high noise immunity and low static power consumption. Click here to visit -ROBO INDIA
  • 5. WHAT IS CMOS 8-bit microcontroller RISC Architecture Click here to visit -ROBO INDIA
  • 6. • 8 bit : 00000000 capable of doing number up to 255 (0-255) • 16 bit: 00000000_00000000 capable of doing numbers up to 65535 (0-65535) • 32 bit: 00000000_00000000_00000000_0000000 0 capable of doing numbers up to 4294967295 (0-4294967295) Click here to visit -ROBO INDIA
  • 7. WHAT IS CMOS 8-bit microcontroller RISC Architecture Click here to visit -ROBO INDIA
  • 8. • RISC stands for Reduced Instruction Set Computer. • RISC is a type of microprocessor architecture that utilizes a small, highly-optimized set of instructions Click here to visit -ROBO INDIA
  • 9. • 16 Kbytes of In-System Programmable Flash • Program memory with Read-While-Write capabilities • 512 bytes EEPROM, 1 Kbyte SRAM • 32general purpose I/O lines • 32 general purpose working registers Click here to visit -ROBO INDIA
  • 10. • Write/Erase Cycles: 10,000 Flash/100,000 EEPROM • Data retention: 20 years at 85°C/100 years at 25°C(1) • Programming Lock for Software Security • Up to 16 MIPS Throughput at 16 MHz • 512 Bytes EEPROM Click here to visit -ROBO INDIA
  • 11. • Two 8-bit Timer/Counters • One 16-bit Timer/Counter • Four PWM Channels • 8-channel, 10-bit ADC Click here to visit -ROBO INDIA
  • 12. • Programmable Watchdog Timer • Six Sleep Modes: – Idle – ADC Noise Reduction – Power-save – Power-down – Standby – Extended Standby Click here to visit -ROBO INDIA
  • 13. • Operating Voltages – 2.7V - 5.5V for ATmega16L – 4.5V - 5.5V for ATmega16 • Speed Grades – 0 - 8 MHz for ATmega16L – 0 - 16 MHz for ATmega16 • Power Consumption @ 1 MHz, 3V, and 25°C for ATmega16L – Active: 1.1 mA – Idle Mode: 0.35 mA – Power-down Mode: < 1 µA Click here to visit -ROBO INDIA
  • 14. • Register is a data holding place and very fast memory, it’s a part of CPU. • Registers serves as connection between a CPU and a Peripheral device • CPU doesn’t give instruction directly to peripherals or output devices. Click here to visit -ROBO INDIA
  • 15. • CPU doesn’t give instruction directly to peripherals or output devices. • CPU give output by writing registers • CPU take input by reading registers Click here to visit -ROBO INDIA
  • 16. O/P - Device REGISTER CPU Click here to visit -ROBO INDIA
  • 17. CPU REGISTER I/P - Device Click here to visit -ROBO INDIA
  • 18. Click here to visit -ROBO INDIA
  • 19. Click here to visit -ROBO INDIA
  • 20. Atmega16 have total of 40 pins 32 I/O pins.. PORTA = 8 Pins PORTB = 8 Pins PORTC = 8 Pins PORTD = 8 Pins Click here to visit -ROBO INDIA
  • 21. • VCC (PIN11) - Digital supply voltage. • GND (PIN12) - Ground Click here to visit -ROBO INDIA
  • 22. • Port A (PA7..PA0) - Port A serves as the analog inputs to the A/D Converter Port A also serves as an 8-bit bi-directional I/O port, if the A/D Converter is not used. Port pins can provide internal pull-up resistors (selected for each bit) Click here to visit -ROBO INDIA
  • 23. Click here to visit -ROBO INDIA
  • 24. • Port B (PB7..PB0) - Port B is an 8-bit bi- directional I/O port with internal pull-up resistors (selected for each bit). Port B also serves the functions of various special features of the ATmega16 Click here to visit -ROBO INDIA
  • 25. Click here to visit -ROBO INDIA
  • 26. • Port C (PC7..PC0) - Port C is an 8-bit bi- directional I/O port with internal pull-up resistors (selected for each bit). If the JTAG interface is enabled, the pull-up resistors on pins PC5(TDI), PC3(TMS) and PC2(TCK) will be activated even if a reset occurs. Click here to visit -ROBO INDIA
  • 27. Click here to visit -ROBO INDIA
  • 28. • Port D (PD7..PD0) - Port D is an 8-bit bi- directional I/O port with internal pull-up resistors (selected for each bit). Port D also serves the functions of various special features of the ATmega16 Click here to visit -ROBO INDIA
  • 29. Click here to visit -ROBO INDIA
  • 30. • RESET - Reset Input. A low level on this pin for longer than the minimum pulse length will generate a reset. Shorter pulses are not guaranteed to generate a reset. Click here to visit -ROBO INDIA
  • 31. • AVCC - AVCC is the supply voltage pin for Port A and the A/D Converter. It should be externally connected to VCC, even if the ADC is not used. If the ADC is used, it should be connected to VCC through a low- pass filter. • AREF - AREF is the analog reference pin for the A/D Converter. Click here to visit -ROBO INDIA
  • 32. Click here to visit -ROBO INDIA
  • 33. Click here to visit -ROBO INDIA
  • 34. Click here to visit -ROBO INDIA
  • 35. Click here to visit -ROBO INDIA
  • 36. Click here to visit -ROBO INDIA
  • 37. Click here to visit -ROBO INDIA
  • 38. Click here to visit -ROBO INDIA
  • 39. Click here to visit -ROBO INDIA
  • 40. Click here to visit -ROBO INDIA
  • 41. Click here to visit -ROBO INDIA
  • 42. Click here to visit -ROBO INDIA
  • 43. In case of queries please write us- info@roboindia.com www.roboindia.com Click here to visit -ROBO INDIA

Notas do Editor

  1. CMOS = COMPLEMENTRY , NOISE IMUNE , LOW POWER CONSUMPTION
  2. Qn : now convert 32 bit binary data to decimal upto 255 , 65535 , 4294967295
  3. Reduced Instruction Set Computer , better then cisc
  4. 16 KB FLASH MEMORY 512 byte EEPROM
  5. WRITE CYCLE – 10K ERASE CYCLE – 100K
  6. 8 and 16 Bit timer/counter 4 PWM 8 channel 10 bit ADC
  7. Idle ADC NOISE REDUCTION POWER SAVE POWER DOWN STANDBY EXTENDED STANDBY The ADC features a noise canceler that enables conversion during sleep mode to reduce noise induced from the CPU core and other I/O peripherals.
  8. 2.7 – 5.5 QN SPEED GRADE EXPLAIN
  9. PB7- Master Clock output, Slave Clock input
  10. JTAG – JOINT TEST ACTION GROUP TCK , TMS , TDI are USED IN TAP – TEST ACCESS PORT
  11. Timer Oscillator pin 1: When the AS2 bit in ASSR is set (one) to enable asynchronous clocking of Timer/Counter2 JTAG – JOINT TEST ACTION GROUP TCK , TMS , TDI are USED IN TAP – TEST ACCESS PORT
  12. SP used for storing temporary data for storing local variables and for storing return addresses after interrupts