Embedded Systems Design with the Atmel AVR Microcontroller