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.
John Boxall has been an electronics enthusiast for over 30 years, spending much of that time in the retail, wholesale, and consulting fields. He also spent several years writing Arduino tutorials, designing projects, and reviewing kits and accessories at www.tronixstuff.com. Arduino Workshop (No Starch Press) was his first book.