AVR  Modern RISC architecture: Compact and FAST.  Tuned for high level languages.  Consistent architecture across entire line.  Small AVR are subsets.

Slides:



Advertisements
Similar presentations
Developing an AVR Microcontroller System
Advertisements

Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
Introduction CS212 Dick Steflik. What is CS-212 Primarily an introduction to linear and non-linear data structures  arrays  stacks and queues  lists.
Seminars at RSSC.org Sergei Grichine
AVR 8-bit RISC micro controllers by Atmel Seamk / ICT / Seppo Stenberg General features of AVR family Development tools - board, compiler, simulator etc.
ATMEL AVR. Facts ● ATMEL formed in 1984 ● AVR line introduced in 1993 ● RISC Architecture ● 90 instructions most of which can be performed in 1 clock.
Introduction.
ASPPRATECH.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Welcome to Workshop 88’s Tiny85 Class Please download Tiny core libs from: (for Arduino 1.0, not 1.5!) Unzip and.
Robotics Research Laboratory Louisiana State University.
SENIOR DESIGN 10/3.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Camera Interfacing using ARM7
CALLISTO Double - Heterodyne - Frequency Agile - Radio - Spectrometer ERAC Symposium Heppenheim Sep 5/6/7th 2003 Meyer Hansueli ETH Zürich.
Atmega32 Architectural Overview
Little arduino microcontrollers Meghan Jimenez 12 February 2014.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
AVR Microcontrollers.
2.0 EMBEDDED CONTROLLER Engr. Hj. Mohamad Fauzi bin Zakaria Department of Mechatronics and Robotics Engineering Faculty of Electrical and Electronic Engineering.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Microprocessors A practical approach Subjects Goals for this module Results Subjects of the module Plans Questions.
EGRE 6311 Midsize Microcontrollers and Microprocessors The 8051 is an example of a small inexpensive microcontroller intended for simple applications.
Designing with Components Wilmer Arellano. How to chose a Microcontroller Choose one that you are familiar with or that is easy to learn.
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
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.
Unconventional User Interface // // Mood Based Navigation Sheo // 1Haring, Naderer, Zachhuber Arduino  Open Source Project (HW u. SW)  Analog.
Microcontroller Programming
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
July 18, UCSD - R.A. de Callafon Short Intro to Micro Processors and I/O functions of our Kinetic Sculpture Control Box Raymond de Callafon.
Lecture 7: Overview Microprocessors / microcontrollers.
Chapter Microcontroller
Components of a typical full-featured microcontroller.
AVR Architecture Prepared By: Avdhesh Soni ( ) Sarthak Patel ( ) Akshay Parekh ( ) Fenil Sachla ( ) Guided.
Introduction to AVR Name : 1) Abhishek Yadav ) Prakash Giri ) Kheni Niral ) Bhadresh Langadiya Branch.
GROUP MEMBERS: SUMEET HOODA. RAJDEEP PATRE. DHIRAJ GAONKAR. LIVE HUMAN DETECTION USING WIRELESS REMOTE CONTROLLED ROBOT.
Embedded Systems Overview Prepared by Nisha Sinsinbar Subject: Microcontoller & Interfacing Sub code: EC Department.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Memory Mapped IO (and the CerfBoard). The problem How many IO pins are available on the 8051? What if you are using interrupts, serial, etc…? We want.
“Atmega32 Architectural Overview” SIGMA INSTITUTE OF ENGINEERING Prepared By: SR.NO NAME OF STUDENT ENROLLMENT 1 Parihar Shipra A Guided By:-
ALPHA COLLEGE OF ENGINEERING & TECHNOLOGY Introduction to AVR ATMega32 Architecture PREPARED BY SHWETA ( ) BHOOMI ( ) YOGEN ( )
Overview AvrEmbedded128_Pro RTLab. 김태현. Atmega128 Features High-performance, Low-power AVR® 8-bit Microcontroller advanced RISC Architecture – 133 Powerful.
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Application Case Study Christmas Lights Controller
Embedded Systems Programming
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Atmega32 Architectural Overview
Microcontroller Applications
BITS EDU. CAMPUS , VARNAMA
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
Project Title EVM IN PIC Under the Guidance of Submitted by.
The Arduino Microcontroller: Atmel AVR Atmega 328
Introduction to Microprocessors and Microcontrollers
میکرو کنترلر های AVR مدرس: مسعود بهمن پور
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Introduction to the Atmel AVR Butterfly
A more in depth look (XUF TQ128)
Tim Sumner, Imperial College, Rm: 1009, x47552
Architectural Overview
Lecturer: Reza Arjmandi Autumn 2015
AVR – ATmega103(ATMEL) Architecture & Summary
Presentation transcript:

AVR  Modern RISC architecture: Compact and FAST.  Tuned for high level languages.  Consistent architecture across entire line.  Small AVR are subsets of larger chips: Same hardware and code works across all chips.  I/O structure reduces need for external components.  Flash based, ultra trivial downloading of code.

AVR RISC Architecture  Single Cycle Instructions: 8mhz = 8mips.  Large register file (32).  Every register an accumulator.  3 index register pairs  Register & IO are mapped in SRAM space.

Typical Hardware Support  Internal or External Oscillator/Clock  Brown Out Detector  One or more timers  Two or more PWM  One or more USART  I2C  Real time clock  10bit ADC  Analog Comparator  External interrupts  Pulse timing capture  EEPROM  USB/CAN/RF

Tools  Atmel Studio: IDE & Simulator/debugger.  BASCOM: Basic compiler & IDE with programmer.  GNU C compiler (free, very high quality).  Third party C compilers vary from cheap to very expensive.  FLASH programmers are trivial to make.

Availability & Price has everything (single unit price):  Attiny26 (2k, ADC, USI, 2 PWM, 2 ports) $2.58  ATmega16 (16k, ADC, etc, 4 ports) $7.74  ATmega128 (128k, 6 ports, oodles of stuff) $16.34  STK500 (development board) $79  ICE200 (In circuit emulator) $100  ATAVRISP (serial programmer) $29

I/O Example: simple switch  No external parts

Input Example: Trinary Input  Three states with one input.  Useful way to expand IO.  Switch internal resistor on/off to determine state of pin.  Off: If input high, then J1-2.  On: if low, then J2-3.  On: If high, then no jumper.

Input example: Photo-detector  Schmitt trigger inputs on all lines.  No additional signal conditioning needed.  Stable, well defined trip points.  Basic circuit works well for Quadrature encoders.

Input Example: Variable Input  Useful for parts without ADC.  Set pin to output, low to discharge capacitor.  Set pin to input, no pull-up.  Increment counter until input reads 1.  Linear conversion.

Case Studies  BASCOM based multi-tasking Minisumo code in less than 2k  Dilbert II written with GCC in less than 6k  Gyrobot written with GCC in less than 6k  LCD user interface  PID based motion control  Sensor tasks managing tilt, gyro and wheel encoders  R/C Tether uses variable input (PC Joystick)

Resources     

Cool projects & pages     (ethernet & web software)  (Academy tab, must register)