Atmel AVR Jared Bevis January 14, 2008. The Power of Your Chips The main power of your chips lies in the programming language/compiler available to you.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Developing an AVR Microcontroller System
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Microcontroller – PIC – 4 PIC types PIC architecture
EEE305 Microcontroller Systems Lecture 9B: GPIO on the Arduino Teaching resources are at My office 5B18, telephone.
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
Getting Started with PIC Microcontrollers Kelly Flowers – NN8E April 18 th, 2011.
Systems Programming Course Gustavo Rodriguez-Rivera.
Programmable System on Chip Fully Configurable Mixed Signal Array Allows for Completely Customizable System Designs Capable of Internal MCU.
Railway Foundation Electronic, Electrical and Processor Engineering.
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Microcontroller: Introduction
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Robotics Research Laboratory Louisiana State University.
Indian Institute of Technology Hyderabad PC CONTROLLED BOT D. HARISH KUMAR CE12B1005 N. ABHINAND SAI CS12B1027 G.NITiSH EE12B1008.
In this PPT, all the materials covered up for the PIC microcontroller set-up would be studied. Preliminary skills: Knowing of basic C grammar and basic.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
AVR  Modern RISC architecture: Compact and FAST.  Tuned for high level languages.  Consistent architecture across entire line.  Small AVR are subsets.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
EE 1106: Introduction to EE Freshman Practicum
328eForth for Arduino Uno C. H. Ting February 16, 2012 SVFIG.
Typical Microcontroller Purposes
Microprocessors A practical approach Subjects Goals for this module Results Subjects of the module Plans Questions.
MICROPROCESSOR AND MICRO CONTROLLER LAB
Microcontrollers, Basics How Do I Choose the Right MCU? 17 January 2012 Jonathan A. Titus.
MICROPROCESSOR AND MICRO CONTROLLER
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
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.
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.
Robocon 2007, Hong Kong University of Science & Technology Robocon 2007 Electronics Quickstart! Session 1 Hello! Microcontroller. Prepared by KI Chi Keung.
Slides created by: Professor Ian G. Harris Embedded Systems  Embedded systems are computer-based systems which are embedded inside another device (car,
Chapter Microcontroller
PSoC Overview. 2 Cypress Confidential An Example Design Scenario.
Components of a typical full-featured microcontroller.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
Embedded C- Language Lets Learn fundamentals !!. An Embedded system is combination of computer hardware and software, and perhaps additional mechanical.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
10- Lock Bits, Fuse Bits and Boot Loader. Boot Loader Support – Read-While-Write Self- Programming: The Boot Loader Support provides a real Read-While-Write.
Smart Parking System (SPS) Prepared by: Ma’ali Hasan. Noora Dmedi.
RASH DRIVING WARNING SYSTEM FOR HIGHWAY POLICE
Voice Controlled Robot by Cell Phone with Android App
IF I ONLY HAD A BRAIN THE MICROCONTROLLER
IoT Milos Hampl.
Obstacle avoiding robot { pixel }
Popular Microcontrollers and their Selection by Lachit Dutta
Scrolling LCD using Arduino.
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Microcontrollers, Basics How Do I Choose the Right MCU?
Home automation using Arduino & ‘PIR sensor’
Microcontrollers, Basics Fundamentals of Designing with Microcontrollers 16 January 2012 Jonathan A. Titus.
Automatic human detector garbage can.
Microcontroller Applications
‘SONAR’ using Arduino & ultrasonic distance sensor
The Arduino Microcontroller: Atmel AVR Atmega 328
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Why microcontrollers in embedded systems?
Introduction to Microprocessors and Microcontrollers
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Journey: Introduction to Embedded Systems
Architectural Overview
Introducing the PIC Mid-Range Family and the 16F84A
George Hadley Kelli Hacker Sean Ma Jacob Champion
AVR – ATmega103(ATMEL) Architecture & Summary
Manual Robotics ..
Presentation transcript:

Atmel AVR Jared Bevis January 14, 2008

The Power of Your Chips The main power of your chips lies in the programming language/compiler available to you. – C is very powerful for both high and low level designs. – BASIC is very easy to learn for beginners, however you are at the mercy of the compiler and built in functions of the language.

BASIC – Has a large variety of functions built in for the PIC including: Digital to Analog conversion Analog to Digital conversion Software UARTS LCD Support Many others – Has very big limitations: No floating point number support. Very hard to change built in functions.

C – Does not have many “built in functions” This is easily overcome as you build your own code libraries. – Common libraries will be provided in demos » LCD Code written by me » ADC Code written by me – Very flexible Functions can quickly be written or modified for project specific purposes. Supports advanced arithmetic – Floating numbers – Trig functions – Array support

AVR Features AVR series come in both 32 and 8 bit architectures. Shares many features with the PIC such as ADCs, UARTs, SPI, I2C, pin pull ups, interrupt on pin changes, etc. Additional feature not present in PICs is sixteen bit PWM channels (generally three per 16 bit timer). – VERY useful for servo motor applications AVR chips offer single cycle instructions; the PICs require four clock cycles for each instruction.

Gotcha’s for Each Chip The PIC has many auxiliary functions of pins turned on by default such as comparators or PWM channels which must be manually turned off for certain compilers to enable normal I/O functions. The Atmel AVR has fuse settings which must be written into the device. If settings are incorrect for your application, you may render the chip useless.

AVR Software The AVR software is written by the manufacturer Atmel. AVR Studio is available for free download. – Natively supports assembly programming. Companion software to AVR Studio is WinAVR. – Provides a C compiler for AVR Studio. AVR Studio projects are easily written in C and integrate well with WinAVR for compilation.

Both pieces of software are provided free without licensing hassles or royalty fees. – Download AVR Studio from – Download WinAVR from ge_id= ge_id=66543 Be sure to install AVR Studio before installing WinAVR.

Programming Hardware Hardware is relatively cheap ~$35-$40 – With school discount Atmel is about $17 – Highly recommend buying your own whether you choose to use PIC or Atmel (programmers are NOT allowed to be taken outside of lab): PIC programmer is Pickit2 AVR programmer is AVRISP mkII – Both these programmers will program your chips in circuit using about five pins. See documentation for connection info.