ATTENTION: Due to increased demand and order volume, processing time may take an additional 1-3 business days.
HomeCommunitySubjectAT89C51 Microcontroller: Pin Description, Datasheet, Programming

AT89C51 Microcontroller: Pin Description, Datasheet, Programming

Embedded - Microcontrollers 40-DIP (0.600, 15.24mm) 0°C~70°C TA 4V~6V 89C 8-BIT, FLASH, 8051 CPU, 24MHZ The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer This post will unlock more details about AT89C51.

1524

Oct 23, 2021

Sampson Hope

How to Program 8051 ICs of ATMEL (2/3)

 

Embedded - Microcontrollers 40-DIP (0.600, 15.24mm) 0°C~70°C TA 4V~6V 89C 8-BIT, FLASH, 8051 CPU, 24MHZ

The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer This post will unlock more details about AT89C51. There is a huge range of Semiconductors, Capacitors, Resistors and ICs in stock. Welcome RFQ.

AT89C51-24PC

Inquiry
Min.: 1 Mult.: 1
Price not displayed? Not available to buy online? Please send an RFQ, and we will respond immediately.
Quick Links

AT89C51 Pinout

AT89C51 Pinout

 

Pin description is shown below:

Pin Number

Pin Name

Description

1

P1.0

0th pin of PORT P1

2

P1.1

1st pin of PORT P1

3

P1.2

2nd pin of PORT P1

4

P1.3

3rd pin of PORT P1

5

P1.4

4th pin of PORT P1

6

P1.5

5th pin of PORT P1

7

P1.6

6th pin of PORT P1

8

P1.7

7th pin of PORT P1

9

RST

Reset pin of the Microcontroller

10

(RXD) P3.0

0th pin of PORT P3 or Receiver pin of   Microcontroller

11

(TXD) P3.1

1st pin of PORT P3 or Transmitter pin of   Microcontroller

12

(INT0) P3.2

2nd pin of PORT P3 or External Interrupt   0 of MCU

13

(INT1) P3.3

3rd pin of PORT P3 or External Interrupt   1 of MCU

14

(T0) P3.4

4th pin of PORT P3 or Timer 0 interrupt   of MCU

15

(T1) P3.5

5th pin of PORT P3 or Timer 1 interrupt   of MCU

16

(WR) P3.6

6th pin of PORT P3 or Write to External   data memory pin

17

(RD) P3.7

7th pin of PORT P3 or Read from External   data memory pin

18

XTAL2

External crystal pin 2 of Microcontroller

19

XTAL1

External crystal pin 1 of Microcontroller

20

GND

Ground pin of MCU

21

P2.0(A8)

0th pin of PORT P2 or High-order Address   bit 8 of MCU

22

P2.1(A9)

1st pin of PORT P2 or High-order Address   bit 9 of MCU

23

P2.2(A10)

2nd pin of PORT P2 or High-order Address   bit 10 of MCU

24

P2.3(A11)

3rd pin of PORT P2 or High-order Address   bit 11 of MCU

25

P2.4(A12)

4th pin of PORT P2 or High-order Address   bit 12 of MCU

26

P2.5(A13)

5th pin of PORT P2 or High-order Address   bit 13 of MCU

27

P2.6(A14)

6th pin of PORT P2 or High-order Address   bit 14 of MCU

28

P2.7(A15)

7th pin of PORT P2 or High-order Address   bit 15 of MCU

29

PSEN

Program store enable pin, Read external   program memory

30

ALE/PROG

Address Latch Enable/ Program Pulse input   for flashing

31

EA/VPP

 Access Enable voltage/Program   enable voltage

32

P0.7(AD7)

7th pin of PORT P0 or Low-order Address   bit 7 of MCU

33

P0.6(AD6)

6th pin of PORT P0 or Low -order Address   bit 6 of MCU

34

P0.5(AD5)

6th pin of PORT P0 or Low -order Address   bit 5 of MCU

35

P0.4(AD4)

6th pin of PORT P0 or Low -order Address   bit 4 of MCU

36

P0.3(AD3)

3rd pin of PORT P0 or Low -order Address   bit 3 of MCU

37

P0.2(AD2)

2nd pin of PORT P0 or Low -order Address   bit 2 of MCU

38

P0.1(AD1)

1st pin of PORT P0 or Low -order Address   bit 1 of MCU

39

P0.0(AD0)

0th pin of PORT P0 or Low -order Address   bit 0 of MCU

40

Vcc

Supply pin of MCU

AT89C51 CAD Model

AT89C51 Symbol

 

3D Model

AT89C51 3D Model

AT89C51 Description

The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read-only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer that provides a highly-flexible and cost-effective solution to many embedded control applications.

AT89C51 Feature

• Compatible with MCS-51™ Products 

• 4K Bytes of In-System Reprogrammable Flash Memory – Endurance: 1,000 Write/Erase Cycles 

• Fully Static Operation: 0 Hz to 24 MHz 

• Three-level Program Memory Lock 

• 128 x 8-bit Internal RAM 

• 32 Programmable I/O Lines • Two 16-bit Timer/Counters 

• Six Interrupt Sources 

• Programmable Serial Channel 

• Low-power Idle and Power-down Modes

AT89C51 Application

  • Multiple DIY Projects

  • Very good choice if you are learning ATmel

  • Projects requiring Multiple I/O interfaces and communications

  • Replacement for Arduino Module

  • Ideal for more advanced level A/D applications in automotive, industrial, appliances and consumer applications

AT89C51 Block Diagram

AT89C51 Block Diagram

How to Program the AT89C51 (8051) Microcontroller

How to Program the AT89C51  Microcontroller

The Atmel microcontroller can be programmed using a variety of software available on the market. The most popular platforms are Arduino and Keil µVision, to mention a few. Keil is recommended if you want to do serious programming and expand with community help.

To program the Atmel microcontroller, we'll need an IDE (Integrated Development Environment), which acts as a programming environment. A compiler converts our software into HEX files, which can be read by MCUs. Our hex file is dumped into our MCUs using an IPE (Integrated Programming Environment).

IDE: Keil µVision IDE

Programming Hardware: MAX232 with RS232 to USB converter

Programmer: USBASP

A programmer is required to dump or upload our code into an Atmel IC; the most often used programmer is the USBASP, which must be purchased separately. Simulating your program in software before attempting it on hardware will also save you time. As a result, you can simulate your applications using software such as Labcenter's ISIS proteus.

AT89C51 Programming circuit is shown below:

AT89C51 Programming circuit

Specifications

AT89C51-24PC Tech Specifications

Rochester Electronics, LLC AT89C51-24PC technical specifications, attributes, parameters and parts with similar specifications to Rochester Electronics, LLC AT89C51-24PC.

Product Attribute Attribute Value
Mounting TypeThrough Hole
Package / Case40-DIP (0.600, 15.24mm)
Supplier Device Package40-PDIP
Number of I/Os32I/Os
Operating Temperature0°C~70°C TA
PackagingTube
Series89C
Product Attribute Attribute Value
Part StatusObsolete
Moisture Sensitivity Level (MSL)3 (168 Hours)
Oscillator TypeInternal
Speed24MHz
RAM Size128 x 8
Voltage - Supply (Vcc/Vdd)4V~6V
Core Processor80C51
Product Attribute Attribute Value
Program Memory TypeFLASH
Core Size8-Bit
Program Memory Size4KB 4K x 8
ConnectivityUART/USART
RoHS StatusNon-RoHS Compliant
0 Products View Similar

Datasheet PDF

AT89C51-24PC Documents

Download datasheets and manufacturer documentation for AT89C51-24PC

AT89C51 Package

AT89C51 Package

AT89C51 Manufacturer

Rochester Electronics ranks as a global leading semiconductor provider. Due to their products' characteristics of high quality and durability, these products are suitable for long-term production and maintenance in the fields of industry, transportation and high-reliability markets. Their large inventory includes more than 100,000 products and 15 billion units, making them exceed other companies in terms of selection, capabilities, or solutions.

Frequently Asked Questions

What is AT89C51?
The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read-only memory (PEROM). The device is manufactured using Atmel's high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout.
What is the difference between 8051 and 89C51 microcontroller?
Basically, the difference is that 8051 is the original one, 89C51 is one of the many 8051 families. If you are starting a new product, I strongly recommend you to use 89C51 (Atmel) or 89V51(NXP).
What is difference between 89c51 and 89s52?
Difference between 89s52 & 89c51 First of all both microcontroller has been discontinued by Atmel. If your design is based on 89C51, you don't have to worry if it's changed later with 89C52. No changes are to be performed, neither software nor hardware (some minor settings in the hardware programmer device).
Is AT89C51 a 8051?
The Atmel AT89C51 is an 8051-based Fully Static 24MHz CMOS controller with 32 I/O Lines, 2 Timers/Counters, 6 Interrupts/2 Priority Levels, UART, Three-Level Program Memory Lock, 4K Bytes Flash Memory, 128 Bytes On-chip RAM.
What is clock frequency in AT89C51 microcontroller?
8 Bit MCU, 8051 Family AT89C51 Series Microcontrollers, 40 MHz, 32 KB, 1 KB, 44 Pins, VQFP.
What is the size of bank registers space in RAM & Flash Memory in AT89C51?
The AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full-duplex serial port, on-chip oscillator and clock circuitry.
FAQ
What is AT89C51?
The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read-only memory (PEROM). The device is manufactured using Atmel's high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout.
What is the difference between 8051 and 89C51 microcontroller?
Basically, the difference is that 8051 is the original one, 89C51 is one of the many 8051 families. If you are starting a new product, I strongly recommend you to use 89C51 (Atmel) or 89V51(NXP).
What is difference between 89c51 and 89s52?
Difference between 89s52 & 89c51 First of all both microcontroller has been discontinued by Atmel. If your design is based on 89C51, you don't have to worry if it's changed later with 89C52. No changes are to be performed, neither software nor hardware (some minor settings in the hardware programmer device).
Is AT89C51 a 8051?
The Atmel AT89C51 is an 8051-based Fully Static 24MHz CMOS controller with 32 I/O Lines, 2 Timers/Counters, 6 Interrupts/2 Priority Levels, UART, Three-Level Program Memory Lock, 4K Bytes Flash Memory, 128 Bytes On-chip RAM.
What is clock frequency in AT89C51 microcontroller?
8 Bit MCU, 8051 Family AT89C51 Series Microcontrollers, 40 MHz, 32 KB, 1 KB, 44 Pins, VQFP.
What is the size of bank registers space in RAM & Flash Memory in AT89C51?
The AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full-duplex serial port, on-chip oscillator and clock circuitry.

TAGS

Share