ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.

Slides:



Advertisements
Similar presentations
Developing an AVR Microcontroller System
Advertisements

Micro controllers introduction. Areas of use You are used to chips like the Pentium and the Athlon, but in terms of installed machines these are a small.
Microcontroller – 3 PIC.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
Introduction and Motivation Microcontrollers vs. microprocessors uC: A complete computer system optimized for h/w control that encapsulates processor,
Microcontrollers Lecture L12.2 Section Microcontrollers Microcontrollers vs. Microprocessors Two standard architectures PIC microcontroller 68HC12.
The 8051 Microcontroller Architecture
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
The domestic refrigerator-An example A car door mechanism.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
Introduction to Microcontrollers Dr. Konstantinos Tatas
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
AVR Microcontrollers.
MICROCONTROLLERS. What is a microcontroller? A microcontroller is a nifty little gadget that houses a microprocessor, ROM (Read Only Memory), RAM (Random.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
1 AVR Session 2 Master : Dr.jafari Authors: M.H Edrisi, hadi.edrisi yyyy aaaa hhhh oooo oooo.... cccc oooo mmmm.
Digital to Analogue Converter
Basic information. * Microcontrollers incorporate the microprocessor, memory and input/output interfaces all on one chip * Microcontrollers have a separate.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
Atmel AVR Jared Bevis January 14, The Power of Your Chips The main power of your chips lies in the programming language/compiler available to you.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
The AVR Microcontroller: History and Features
TI MSP430 MICROCONTROLLERS BY ADITYA PATHAK. THE MSP FAMILY Ultra-low power; mixed signal processors Widely used in battery operated applications Uses.
AT91 Products Overview. 2 The Atmel AT91 Series of microcontrollers are based upon the powerful ARM7TDMI processor. Atmel has taken these cores, added.
Embedded System. What is an Embedded System? Computing systems embedded within electronic devices Hard to define – Nearly any computing system other than.
MICROOCESSORS AND MICROCONTROLLER:
Presented by Sadhish Prabhu
Lecture 7: Overview Microprocessors / microcontrollers.
Device Overview 1.  The advantages of all PIC18Fxxxx microcontrollers:  High computational performance  High-endurance  Enhanced Flash program memory.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
Chapter Microcontroller
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
Components of a typical full-featured microcontroller.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
Modified Harvard architecture 8-bit RISC single chip microcontroller Complete System-on-a-chip On Board Memory (FLASH, SRAM & EEPROM) On Board Peripherals.
Microcontroller & Interfacing
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
1 Lab 4: D/A Converter Lab 4: D/A Converter This is a simple resistive network for a D/A converter Port 1, Port 0 are digital inputs ==> 00 (minimum),
Overview AvrEmbedded128_Pro RTLab. 김태현. Atmega128 Features High-performance, Low-power AVR® 8-bit Microcontroller advanced RISC Architecture – 133 Powerful.
The 8051 Microcontroller architecture
Popular Microcontrollers and their Selection by Lachit Dutta
SHRI S’AD VIDYA MANDAL INSTITUTE OF TECHNOLOGY
Hoda Roodaki AVR Family Overview Hoda Roodaki
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING
C. K. Pithawalla College of Engineering and Technology, Surat
Microcontrollers & GPIO
AVR ATMEGA 8 MICRO-CONTROLLER
MCI PPT AVR MICROCONTROLLER Mayuri Patel EC-1 5th sem
Modified Harvard Architectures
AVR Microcontrollers Prepared By: Disha Ruparelia ( )
The Arduino Microcontroller: Atmel AVR Atmega 328
Subject Name: Microcontroller Subject Code: 10ES42
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
Getting the Most Out of Low Power MCUs
Architectural Overview
Lecturer: Reza Arjmandi Autumn 2015
Introducing the PIC Mid-Range Family and the 16F84A
AVR – ATmega103(ATMEL) Architecture & Summary
Microcontroller – 2 PIC.
Wireless Embedded Systems
Presentation transcript:

ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison

What does AVR RISC mean? The acronym AVR has been reported to stand for: Advanced Virtual RISC and also for the chip's designers: A lf-Egil Bogen and Vegard Wollan who designed the basic architecture at the Norwegian Institute of Technology. RISC stands for reduced instruction set computer. CPU designCPU design with a reduced instruction set as well as a simpler set of instructions (like for example PIC and AVR)instructions

A little history The PIC (Programmable Interrupt Controller) appeared around →8 bit bus → executes 1 instruction in 4 clk cycles → Harvard architecture → advantage ADC of 10 bits at 200 ks/s AVR (1996) → 16 bit bus → one instruction per cycle → ADC of 10 bits at 15 ks/s

AVR 8-Bit RISC High Performance True single cycle execution →single-clock-cycle-per-instruction execution →PIC microcontrollers take 4 clock cycles per instruction One MIPS (mega instructions per second) per MHz →up to 20 MHz clock 32 general purpose registers →provide flexibility and performance when using high level languages Harvard architecture

AVR 8-Bit RISC Low Power Consumption 1.8 to 5.5V operation →will use all the energy stored in your batteries A variety of sleep modes → AVR Flash microcontrollers have up to six different sleep modes → fast wake-up from sleep modes Software controlled frequency

AVR 8-Bit RISC Compatibility AVR® Flash microcontrollers share a single core architecture →use the same code for all families →1 Kbytes to 256 Kbytes of code →8 to 100 pins → all devices have internal oscillators

AVR 8-Bit RISC - picoPower Technology “PicoPower enables AVR to achieve the industry’s lowest power consumption with 650 nA with a RTC running and 100nA in Power Down sleep” (from ATMEL website) - True 1.8V Supply Voltage - Minimized Leakage Current - Ultra Low Power 32 kHz Crystal Oscillator - Digital Input Disable Registers - Power Reduction Register

So what chip should I use? the application chooses the chip each family has a large number of variants the number of pins, the package, the cost of the chip, the peripherals, the operating voltage, the current consumption, and so forth PIC is more application oriented AVR mostly pin #s and flash memory differ

Many choices TI(MSP430), Zilog (Z8), Freescale (SC8), Atmel(AVR), Microchip (PIC), ST, Renesas / Hitachi (Mx or H8), Philips (8051) as just few of the many possible selections MICROCHIP ATMEL and MSP430 → FREE SAMPLES

AVR has best documentation Wide use AVRFreaks.net Free software

Most Importantly!!! Best C compiler to start programming in C →and it is FREE → Code Vision AVR AVR Studio 4 also free from:

Code Vision AVR setup After opening Code Vision AVR click on: → tools → codewizardAVR select you chip version and oscillator frequency

Set/clear the pins you want

LCD setup (LCD from microprocessors lab) Control LCD with port A:

Setting up the Analog to Digital conversion 8 bit A/D on channel 3 (PORTA.3)

Simple code for writing to LCD and reading A/D channel 3 while (1) { // Place your code here lcd_clear(); i = read_adc(3); delay_ms(10); lcd_putsf(“Atmel lecture "); lcd_PrintInt(i); delay_ms(50); }; → The lcd_PrintInt function is displayed on next page. It prints an integer on the lcd. This is my function so you can write a better one.

How to print a varaible to the LCD void lcd_PrintInt(int number) { char character[1]; itoa(number, character); lcd_puts(character); } For example: lcd_PrintInt(i) would print the value of i to the LCD.