The AT89S52 is a low-power, high-performance 8-bit microcontroller with 8K bytes of in-system programmable flash memory. It has 8 I/O lines, 32 I/O lines, three 16-bit timer/counters, a full duplex serial port, an 8-bit CPU, and 256 bytes of RAM. The microcontroller can operate between 4.0-5.5V and features two low-power modes, idle and power-down, to reduce power consumption. It also has an 8-bit address/data bus, program memory lock feature, and watchdog timer.