ebook img

Practical AVR microcontrollers : games, gadgets, and home automation with the microcontroller used in the Arduino PDF

646 Pages·2012·16 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Practical AVR microcontrollers : games, gadgets, and home automation with the microcontroller used in the Arduino

Practical AVR Microcontrollers Games, Gadgets, and Home Automation with the Microcontroller Used in Arduino Alan Trevennor Practical AVR Microcontrollers Copyright © 2012 by Alan Trevennor This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law. ISBN-13 (pbk): 978-1-43024446-2 ISBN-13 (electronic): 978-1-4302-4447-9 Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. President and Publisher: Paul Manning Lead Editor: Michelle Lowman Developmental Editor: Matthew Moodie Technical Reviewer: Cliff Wootton Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Louise Corrigan, Morgan Ertel, Jonathan Gennick, Jonathan Hassell, Robert Hutchinson, Michelle Lowman, James Markham, Matthew Moodie, Jeff Olson, Jeffrey Pepper, Douglas Pundick, Ben Renow- Clarke, Dominic Shakeshaft, Gwenan Spearing, Matt Wade, Tom Welsh Coordinating Editor: Jill Balzano Copy Editor: Lori Jacobs Compositor: SPi Global Indexer: SPi Global Artist: SPi Global Cover Designer: Anna Ishchenko Distributed to the book trade worldwide by Springer Science + Business Media New York, 233 Spring Street, 6th Floor, New York, NY orders- 10013. Phone 1-800-SPRINGER, fax (201) 348–4505, e-mail [email protected] , or visit www.springeronline.com . [email protected] For information on translations, please e-mail , or visit www.apress.com. Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference www.apress.com/bulk- our Special Bulk Sales–eBook Licensing web page at sales . Any source code or other supplementary materials referenced by the author in this text is available to www.apress.com readers at . For detailed information about how to locate your book’s www.apress.com/source-code source code, go to . “To Wendy, who made it all possible.” Contents at a Glance Foreword About the Author About the Technical Reviewers Acknowledgments Introduction Part 1: The Basics Chapter 1: A Brief History of Microcontrollers Chapter 2: Building Our AVR Test Bed Chapter 3: Arduino and the Naked AVR Chapter 4: Moving On! Chapter 5: Smarten Up! Chapter 6: Digitally Speaking Part 2: The Projects Chapter 7: Introduction to the Projects Section Chapter 8: Project 1: Good Evening, Mr. Bond: Your Secret Panel Chapter 9: Project 2: Crazy Beams—Exercise Your Pet! Chapter 10: Project 3: WordDune Chapter 11: Project 4: The Lighting Waterfall Chapter 12: Moving to Mesmerize Chapter 13: Smart Home Enablers Appendix A: Common Components Appendix B: A Digital Electronics Primer Appendix C: Breadboards Appendix D: Serial Communications Index Contents Foreword About the Author About the Technical Reviewer Acknowledgments Introduction Part 1: The Basics Chapter 1: A Brief History of Microcontrollers A Microcontroller Timeline Why Microcontrollers? Why Should You Learn About Microcontrollers? What Can You Do with a Microcontroller? Why AVR? Summary Coming Up Next Chapter 2: Building Our AVR Test Bed Test Bed Details Test Bed Ingredients A Desktop Computer Summary List of Other Parts Toolkit: Required Items Toolkit: Optional Items Piece Parts AVR ISP Programmer Other Programmers AVR ISP Programming Adaptor and Pin Headers Assembling the Programming Adaptor Test Bed Software—Installation and Setup Choosing the Software: Why Arduino? Test Bed Testing TTL Level Serial Port Summary Coming Up Next Chapter 3: Arduino and the Naked AVR Comparing Approaches AVR Pulls Ahead Go AVR! Putting All the Pieces in Place The AVR Type Arduino’s Configuration Files: AVR Out of the Box Using an External Crystal The AVR and Its Fuses AVRDude The Trouble with AVRDude’s Terminal Mode AVRDude: Getting Started Arduino and the AVR ID Problem Pin Name Translations AVR: Speak to Me! Terminal Emulators Summary Coming Up Next Chapter 4: Moving On! Making Things That Move The Servo Motor Giving a Servo Motor a Testing Time The Gem Light Drive On! MOS-What? Relays Solenoids Motors (Non-Servo) Sensing Movement Sensor Switches Active Sensors Summary Coming Up Next Chapter 5: Smarten Up! Intelligent Devices Increased Functionality Adaptive Behavior Increased Efficiency Improved Problem Management Capacity for Repurposing Greener Products Support from the Mother Ship Embedded Intelligence Benefits Downsides of Intelligent Devices The Anatomy of a Smart Device Summary Coming Up Next Chapter 6: Digitally Speaking

Description:
In Practical AVR Microcontrollers, you’ll learn how to use the AVR microcontroller to make your own nifty projects and gadgets. You’ll start off with the basics in part one: setting up your development environment and learning how the "naked" AVR differs from the Arduino. Then you’ll gain expe
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.