Key facts
- Brand
- Atmel
- Model
- AT89S4051
- Industry
- Industrial
- Documents
- 2
- Languages
- EN
- Last added
- 2012-04-12
Start here

Atmel AT89S4051 Microcontroller User Manual
This manual describes the AT89S2051/AT89S4051 low‑voltage 8‑bit CMOS microcontroller, its 2 KB/4 KB ISP flash, 256 B RAM, 15 I/O pins, timers, UART, PWM, analog comparator and power‑saving modes. It includes a full description, pin‑out diagrams, block diagrams, and electrical characteristics.
The document also covers special function registers, instruction restrictions, lock‑bit protection, reset sources (power‑on, brown‑out, external), and mechanical dimensions for the 20‑lead SOIC package. Revision history and package drawings are provided at the end.
Atmel AT89S4051 specifications
| Flash program memory | 2 KB or 4 KB |
|---|---|
| Internal RAM | 256 bytes (8‑bit) |
| Programmable I/O lines | 15 |
| Timer/Counters | Two 16‑bit |
| Operating voltage range | 2.7 V to 5.5 V |
| Maximum CPU frequency | 24 MHz |
| PWM resolution | 8‑bit |
All Atmel AT89S4051 documents by type
Ratings, dimensions and ordering codes, for selection and design work.
Day-to-day operation, settings and troubleshooting. Start here if the product is already set up.
Questions answered in these manuals
What is the operating voltage range of the AT89S2051/AT89S4051?
The devices operate from 2.7 V up to 5.5 V.
How much Flash memory is available on these microcontrollers?
Each device provides either 2 KB or 4 KB of ISP Flash program memory.
What is the operating voltage range of the AT89S4051?
The device operates from 2.7 V up to 5.5 V.
How many programmable I/O lines does the AT89S4051 have?
It provides 15 programmable I/O lines.
