Programming and Interfacing ATMEL's AVRs, 1st Edition

  • Thomas Grace
  • ISBN-10: 1305509994  |  ISBN-13: 9781305509993
  • 264 Pages
  • © 2016 | Published
  • List Price = $ 39.99
  • For quantity discounts, Contact your Representative
  • For single copy purchases, visit



Atmel's AVR microcontrollers are the go-to chip for many hobbyists and hardware hacking projects. In this book, PROGRAMMING AND INTERFACING ATMEL'S AVRS, you will learn how to program and interface using three of Atmel's microcontrollers—the ATtiny13, the ATmega328, and the ATmega32. The book begins with the binary number system and move into programming in assembly, then C and C++. Very little prior engineering knowledge is assumed. You'll work step-by-step through sections on connecting to devices such as DC motors, servos, steppers, touch pads, GPS sensors, temperature sensors, accelerometers, and more. Get started working with Atmel's AVRs today, with PROGRAMMING AND INTERFACING ATMEL'S AVRS.

Features and Benefits

  • Covers number systems, probability, and digital logic.
  • Covers hardware interfacing with motors, sensors, LCD displays, and more.
  • Covers programming the AVR.

Table of Contents

1. Digital Systems.
2. AVR Programming.
3. Hardware Interfacing.
4. Projects Using the AVR.
5. The AVR Family of Microcontrollers.
6. Starting AVR Studio 5.0 or 6.0.
7. A First Program in Assembly.
8. Instruction Set.
9. Flags.
10. Looping.
11. Direct Addressing.
12. Indexed Addressing.
13. Stack Memory.
14. Subroutines and Delays.
15. Digital I/O Ports.
16. Polling.
17. Interrupts.
18. Analog to Digital Conversion.
19. RS232.
20. SPI.
21. I2C.
22. Clocks on the Attiny13.
23. Timer Counter.
24. Square Wave Generation using the '328.
25. Programming in Assembly.
26. Programming in C++.
27. In line Assembly.
28. Sensors.
29. LCD Displays.
30. XBee Wireless.
31. Motors.
32. Bibliography.
33. Technical Reference.
34. Starting AVR Studio 5.0 or 6.0.
35. Instruction Set.
36. AVR Pinout.
37. Index.

Meet the Author

Author Bio

Thomas Grace

Thomas Grace graduated from Clarkson University in 1987 with a master's degree in Electrical and Computer Engineering. He has worked for IBM Burlington in semiconductor manufacturing. In addition to teaching at SUNY Broome, Grace has taught for Clarkson University; University of Buffalo in Kuala Lumpur, Malaysia; and Purdue University in Jahor, Malaysia. He is the owner of Grace Instrumentation, LLC, which designs and builds microprocessor-based instrumentation. When not at work he enjoys building furniture in the 18th century style.