Atmel AVR Microcontroller Primer - Programming and Interfacing.pdf
(
9949 KB
)
Pobierz
38145147 UNPDF
Atmel AVRMicrocontroller
Primer: Programming and
Interfacing
Copyright © 2008 by Morgan & Claypool
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in
any form or by any means---electronic, mechanical, photocopy, recording, or any other except for brief quotations
in printed reviews, without the prior permission of the publisher.
Atmel AVR Microcontroller Primer: Programming and Interfacing
Steven F. Barrett and Daniel J. Pack
www.morganclaypool.com
ISBN: 1598295411 paperback
ISBN: 9781598295412 paperback
ISBN: 159829542X ebook
ISBN: 9781598295429 ebook
DOI:
10.2200/S00100ED1V01Y200712DCS015
A Publication in the Morgan & Claypool Publishers series
SYNTHESIS LECTURES ON DIGITAL CIRCUITS AND SYSTEMS # 15
Lecture #15
Series Editor: Mitchell A. Thornton, Southern Methodist University
Series ISSN
ISSN 1932-3166 print
ISSN 1932-3174 electronic
Atmel AVRMicrocontroller
Primer: Programming and
Interfacing
Steven F. Barrett
University of Wyoming
Daniel J. Pack
United States Air Force Academy
SYNTHESIS LECTURES ON DIGITAL CIRCUITS AND SYSTEMS #15
M
&
MORGAN CLAYPOOL PUBLISHERS
&
iv
ABSTRACT
This textbook provides practicing scientists and engineers a primer on the Atmel AVR microcon-
troller. Our approach is to provide the fundamental skills to quickly get up and operating with this
internationally popular microcontroller. The Atmel ATmega16 is used as a representative sample
of the AVR line. The knowledge you gain on the ATmega16 can be easily translated to every
other microcontroller in the AVR line. We cover the main subsystems aboard the ATmega16,
providing a short theory section followed by a description of the related microcontroller subsystem
with accompanying hardware and software to exercise the subsytem. In all examples, we use the
C programming language. We conclude with a detailed chapter describing how to interface the
microcontroller to a wide variety of input and output devices.
KEYWORDS
Atmel microcontroller, microcontroller, ATmega16, Atmel AVR, microcontroller interfacing
v
Preface
In 2006, Morgan & Claypool Publishers (M&C) released our textbook
Microcontrollers Fundamen-
tals for Engineers and Scientists
. The purpose of this textbook was to provide practicing scientists
and engineers a tutorial on the fundamental concepts and the use of microcontrollers. The text-
book presented the fundamental concepts common to all microcontrollers. Our goals for writing
this follow-on book are to present details on a specific microcontroller family---the Atmel AVR
Microcontroller.
WhyAtmel? There aremany excellent international companies that producemicrocontrollers.
As Atmel states, ‘‘Atmel Corporation is an industry leader in the design and manufacture
of advanced semiconductors, with focus on microcontrollers, nonvolatile memory, logic, radio
frequency components and sensors.’’ Some of the highlights of the Atmel AVR line include
high performance coupled with low power consumption,
outstanding flash memory technology,
reduced instruction set computer Harvard Architecture,
single-cycle instruction execution,
wide variety of operating voltages (1.8--5.5 VDC),
architecture designed for the C language,
one set of development tools for the entire AVR line, and
in-system programming, debugging, and verification capability.
Although all of these features are extremely important, we have chosen to focus on the Atmel
AVR line of microcontrollers for this primer for a number of other related reasons:
The learning curve for Atmel microcontrollers is gentle. If this is your first exposure to
microcontrollers, you will quickly come up to speed on microcontroller programming and
interfacing. If you already know another line of processors, you can quickly apply your
knowledge to this powerful line of 8-bit processors.
It is relatively inexpensive to get started with the Atmel AVR microcontroller line.
The microcontrollers themselves are inexpensive, and the compilers and programming
hardware and software are relatively inexpensive.
Plik z chomika:
mzg1
Inne pliki z tego folderu:
avrdude-gui_v0.2.0.zip
(520 KB)
DS18X20.pdf
(49 KB)
24CXX.pdf
(52 KB)
TDA8425.pdf
(46 KB)
mikrokontrolery avr - isp - pl.pdf
(1018 KB)
Inne foldery tego chomika:
• Schematy telefonów stacjonarnych
• Wielka baza układów scalonych
(4) Elektryka
⇒ Instrukcje wykrywaczy
1 Układy Scalone
Zgłoś jeśli
naruszono regulamin