The ATMEGA640-16AU is a high-performance, low-power 8-bit AVR RISC-based Microcontroller combines 4kb EEPROM, 86 general purpose I/O lines, 32 general purpose working registers, real time counter, six flexible timer/counters with compare modes, PWM, 4 USARTs, byte oriented 2-wire serial interface, 16-channel 10-bit A/D converter and a JTAG interface for on-chip debugging. The device achieves a throughput of 16 MIPS at 16MHz and operates between 2.7 to 5.5V. By executing powerful instructions in a single clock cycle, the device achieves a throughput approaching 1 MIPS per MHz, balancing power consumption and processing speed.