Due to book weight, this only ships to Australian addresses. Other countries please order via No Starch Press, your local bookseller or amazon.
AVR Workshop is a comprehensive introduction to working with the Microchip AVR 8-bit family of microcontrollers – made famous through their use in Arduino and other compatible boards. Whether you’re an absolute beginner or longtime electronics enthusiast, this book gives you the latest coding and hardware knowledge required to build 60 projects.
Rather than relying on libraries that hide operations under the hood, AVR Workshop teaches the basic C programming skills you need to work directly with ATmega328P-PU and ATtiny85 microcontrollers. You’ll get your operation up and running, then go from blinking LEDs and handling various types of user input to creating real-time clocks and digital thermometers, and even controlling small motorized devices. Once you understand the basic properties of electricity and electronic components, you’ll learn how to:
- Detect input signals from external devices and put them to work
- Work with popular parts like LCDs, motors, servos, and interfacing chips
- Implement the SPI and I²C buses with AVR microcontrollers
- Send serial data between AVR and a computer with USART
- Use hardware interrupts, AVR timers, Pulse-Width Modulation, and EEPROM
- Write your own AVR libraries
Whether your aim is hobbyist tinkering or full product development, AVR Workshop will give you the skills to harness a wide variety of devices, sensors, motors, displays, and more with your AVR microcontroller and bring your own ideas to life.
Chapter 1: Getting Started
Chapter 2: First Steps
Chapter 3: Getting Input
Chapter 4: Communicating with the Outside World
Chapter 5: Taking Control with Hardware Interrupts
Chapter 6: Timing with Hardware Timers
Chapter 7: PWM
Chapter 8: Motors
Chapter 9: EEPROM
Chapter 10: Libraries
Chapter 11: SPI Bus
Chapter 12: I2C Bus
Chapter 13: LCD
Chapter 14: Servos