This textbook provides practicing scientists and engineers a primer on the Microchip AVR® microcontroller. We cover the main subsystems aboard the ATmega164, providing a short theory section followed by a description of the related microcontroller subsystem with accompanying hardware and software to operate the subsystem.