Docsity

Appendix-Interfacing Microprocessor-Project Report, Study Guides, Projects, Research of Microprocessor and Interfacing

Toggle sidebar
bg1
1
Appendix
ATmega16:
Features
• High-performance, Low-power AVR® 8-bit Microcontroller
• Advanced RISC Architecture
– 131 Powerful Instructions – Most Single-clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– On-chip 2-cycle Multiplier
• Nonvolatile Program and Data Memories
– 16K Bytes of In-System Self-Programmable Flash
Endurance: 10,000 Write/Erase Cycles
– Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
– 512 Bytes EEPROM
Endurance: 100,000 Write/Erase Cycles
– 1K Byte Internal SRAM
– Programming Lock for Software Security
• JTAG (IEEE std. 1149.1 Compliant) Interface
– Boundary-scan Capabilities According to the JTAG Standard
– Extensive On-chip Debug Support
– Programming of Flash, EEPROM, Fuses, and Lock Bits through the JTAG
Interface
• Peripheral Features
– Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and
Capture Mode
– Real Time Counter with Separate Oscillator
– Four PWM Channels
– 8-channel, 10-bit ADC
8 Single-ended Channels
7 Differential Channels in TQFP Package Only2 Differential Channels with
Programmable Gain at 1x, 10x, or 200x
– Byte-oriented Two-wire Serial Interface
– Programmable Serial USART
– Master/Slave SPI Serial Interface
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
• Special Microcontroller Features
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated RC Oscillator
– External and Internal Interrupt Sources
docsity.com
pf3
pf4

Partial preview of the text

Download Appendix-Interfacing Microprocessor-Project Report and more Study Guides, Projects, Research Microprocessor and Interfacing in PDF only on Docsity!

Appendix

ATmega16:

Features

  • High-performance, Low-power AVR® 8-bit Microcontroller
  • Advanced RISC Architecture
    • 131 Powerful Instructions – Most Single-clock Cycle Execution
    • 32 x 8 General Purpose Working Registers
    • Fully Static Operation
    • Up to 16 MIPS Throughput at 16 MHz
    • On-chip 2-cycle Multiplier
  • Nonvolatile Program and Data Memories
    • 16K Bytes of In-System Self-Programmable Flash

Endurance: 10,000 Write/Erase Cycles

  • Optional Boot Code Section with Independent Lock Bits

In-System Programming by On-chip Boot Program

True Read-While-Write Operation

  • 512 Bytes EEPROM

Endurance: 100,000 Write/Erase Cycles

  • 1K Byte Internal SRAM
  • Programming Lock for Software Security
  • JTAG (IEEE std. 1149.1 Compliant) Interface
  • Boundary-scan Capabilities According to the JTAG Standard
  • Extensive On-chip Debug Support
  • Programming of Flash, EEPROM, Fuses, and Lock Bits through the JTAG

Interface

  • Peripheral Features
    • Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
    • One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and

Capture Mode

  • Real Time Counter with Separate Oscillator
  • Four PWM Channels
  • 8-channel, 10-bit ADC

8 Single-ended Channels

7 Differential Channels in TQFP Package Only2 Differential Channels with

Programmable Gain at 1x, 10x, or 200x

  • Byte-oriented Two-wire Serial Interface
  • Programmable Serial USART
  • Master/Slave SPI Serial Interface
  • Programmable Watchdog Timer with Separate On-chip Oscillator
  • On-chip Analog Comparator
  • Special Microcontroller Features
  • Power-on Reset and Programmable Brown-out Detection
  • Internal Calibrated RC Oscillator
  • External and Internal Interrupt Sources
  • Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down,

Standby and Extended Standby

  • I/O and Packages
    • 32 Programmable I/O Lines
    • 40-pin PDIP, 44-lead TQFP, and 44-pad QFN/MLF
  • Operating Voltages
    • 2.7 - 5.5V for ATmega16L
    • 4.5 - 5.5V for ATmega
  • Speed Grades
    • 0 - 8 MHz for ATmega16L
    • 0 - 16 MHz for ATmega
  • Power Consumption @ 1 MHz, 3V, and 25°C for ATmega16L
    • Active: 1.1 mA
    • Idle Mode: 0.35 mA
    • Power-down Mode: < 1 μA HD4470 Hitachi LCD:

Most alphanumeric LCD displays have HD44780 compatible driver chipsets that follow

the original Hitachi commands to control the LCD.

The most common connectors for alphanumeric LCD’s are either 14-pin single row or

2X7 pins dual row connectors.

Pin Diagram

Set Cursor Move Direction:

o ID - Increment the Cursor after Each Byte Written to Display if Set

o S - Shift Display when Byte Written to Display

Enable Display/Cursor

o D - Turn Display On(1)/Off(0)

o C - Turn Cursor On(1)/Off(0)

o B - Cursor Blink On(1)/Off(0)

Move Cursor/Shift Display

o SC - Display Shift On(1)/Off(0)

o RL - Direction of Shift Right(1)/Left(0)

Set Interface Length

o DL - Set Data Interface Length 8(1)/4(0)

o N - Number of Display Lines 1(0)/2(1)

o F - Character Font 5x10(1)/5x7(0)

Poll the "Busy Flag"

o BF - This bit is set while the LCD is processing

Move Cursor to CGRAM/Display

o A - Address

Read/Write ASCII to the Display

o D – Data

RS = 0 (instruction) RS = 1 (data)

RW = 0 (write) RW = 1 (read)

ISP Connections: