Components / Integrated circuits / AT89S52 8051 microcontroller

AT89S52 8051 microcontroller

8051 chip used in most Indian college labs.

Function8-bit 8051 microcontroller, 8 KB flash
Supply voltage4 to 5.5 V
Inputs and outputs32 I/O
SpeedUp to 33 MHz
Integrated CircuitsReviewedMPN AT89S52-24PUUsed in 1 project
AT89S52
In short

What is the AT89S52 8051 microcontroller and what is it used for?

8051 chip used in most Indian college labs. Makers use it for 8051 assembly labs.

How it works

An 8051-core microcontroller with 8 KB flash and three timers.

Key specifications

Integrated circuit specValue
Function8-bit 8051 microcontroller, 8 KB flash
Supply voltage4 to 5.5 V
Inputs and outputs32 I/O
SpeedUp to 33 MHz
PackageDIP-40

Pinout

1to 8P1.0 to P1.7 (P1.5 to P1.7 = MOSI, MISO, SCK for ISP)
9RST, active HIGH
10to 17P3.0 to P3.7 (RXD, TXD, INT0, INT1, T0, T1, WR, RD)
18and 19XTAL2 and XTAL1
20GND
21to 28P2.0 to P2.7
29PSEN
30ALE
31EA, tie to VCC for internal flash
32to 39P0.7 to P0.0 (open drain, needs 10 kΩ pull-ups)
40VCC

How to use it

Common in Indian microcontroller labs with Keil µVision. Use an 11.0592 MHz crystal for exact UART baud rates, a 10 µF and 10 kΩ power-on reset on pin 9, and pull-ups on port 0.

Applications

Alternatives

Buy at

Common questions

What is the AT89S52 8051 microcontroller used for?

In maker projects: 8051 assembly labs.

How does the AT89S52 8051 microcontroller work?

An 8051-core microcontroller with 8 KB flash and three timers.

What voltage does the AT89S52 8051 microcontroller need?

4 to 5.5 V.

What can I use instead of the AT89S52 8051 microcontroller?

ATmega328P-PU (blank) and PIC16F877A microcontroller.