Home
Shop
Wishlist0

AT89C51 8-Bit Microcontroller DIP-40

85.00 EGP

Buy Now
Availability: In Stock
SKU:300000007001

Pin Description
Pin NumberPin NameDescription
1P1.00th pin of PORT P1
2P1.11st pin of PORT P1
3P1.22nd pin of PORT P1
4P1.33rd pin of PORT P1
5P1.44th pin of PORT P1
6P1.55th pin of PORT P1
7P1.66th pin of PORT P1
8P1.77th pin of PORT P1
9RSTReset pin of the Microcontroller
10(RXD) P3.00th pin of PORT P3 or Receiver pin of Microcontroller
11(TXD) P3.11st pin of PORT P3 or Transmitter pin of Microcontroller
12(INT0) P3.22nd pin of PORT P3 or External Interrupt 0 of MCU
13(INT1) P3.33rd pin of PORT P3 or External Interrupt 1 of MCU
14(T0) P3.44th pin of PORT P3 or Timer 0 interrupt of MCU
15(T1) P3.55th pin of PORT P3 or Timer 1 interrupt of MCU
16(WR) P3.66th pin of PORT P3 or Write to External data memory pin
17(RD) P3.77th pin of PORT P3 or Read from External data memory pin
18XTAL2External crystal pin 2 of Microcontroller
19XTAL1External crystal pin 1 of Microcontroller
20GNDGround pin of MCU
21P2.0(A8)0th pin of PORT P2 or High-order Address bit 8 of MCU
22P2.1(A9)1st pin of PORT P2 or High-order Address bit 9 of MCU
23P2.2(A10)2nd pin of PORT P2 or High-order Address bit 10 of MCU
24P2.3(A11)3rd pin of PORT P2 or High-order Address bit 11 of MCU
25P2.4(A12)4th pin of PORT P2 or High-order Address bit 12 of MCU
26P2.5(A13)5th pin of PORT P2 or High-order Address bit 13 of MCU
27P2.6(A14)6th pin of PORT P2 or High-order Address bit 14 of MCU
28P2.7(A15)7th pin of PORT P2 or High-order Address bit 15 of MCU
29PSENProgram store enable pin, Read external program memory
30ALE/PROGAddress Latch Enable/ Program Pulse input for flashing
31EA/VPP Access Enable voltage/Program enable voltage
32P0.7(AD7)7th pin of PORT P0 or Low-order Address bit 7 of MCU
33P0.6(AD6)6th pin of PORT P0 or Low -order Address bit 6 of MCU
34P0.5(AD5)6th pin of PORT P0 or Low -order Address bit 5 of MCU
35P0.4(AD4)6th pin of PORT P0 or Low -order Address bit 4 of MCU
36P0.3(AD3)3rd pin of PORT P0 or Low -order Address bit 3 of MCU
37P0.2(AD2)2nd pin of PORT P0 or Low -order Address bit 2 of MCU
38P0.1(AD1)1st pin of PORT P0 or Low -order Address bit 1 of MCU
39P0.0(AD0)0th pin of PORT P0 or Low -order Address bit 0 of MCU
40VccSupply pin of MCU
Detailed Features
AT89C51 – Detailed Features
CPU8-bit 8051 family
Architecture8051
Program Memory Size (Kbytes)4K Flash
RAM (bytes)128
EEPROM/HEFNil
Pin Count40
Max. CPU Speed (MHz)24
Peripheral Pin select (PPS)No
Internal OscillatorNo
No. Of comparators2
No. Of Operational Amplifier0
No. Of ADC channelsNil
Max ADC Resolution (bits)NA
ADC with ComputationNo
Number of DAC Converter0
Max DAC resolution0
Internal Voltage ReferenceNA
Zero Cross DetectNo
No. Of 8-bit timers0
No. Of 16-bit Timers2
Signal Measurement Timer0
Hardware Limit Timer0
No. Of PWM outputs0
Max PWM resolutionNA
Angular TimerNo
Math AcceleratorNo
No. Of UART module1
No. Of SPI Module0
No. Of I2C module0
No. Of USB Module0
Windowed Watchdog Timer (WWDT)No
CRC/ScanNo
Numerically Controlled Oscillator0
Cap. Touch ChannelsNA
Segment LCD0
Minimum Operating Temperature (*C)-55
Maximum Operating Temperature (*C)125
Minimum Operating Voltage (V)4
Maximum Operating Voltage (V)5.5
High Voltage CapableNo

Note: The AT89C51 datasheet of the Microcontroller and more detailed Features can be found at the bottom of this page.

AT89C51 Microcontroller

The AT89C51 is an age old 8-bit microcontroller from the Atmel family. It works with the popular 8051 architecture and hence is used by most beginners till date. It is a 40 pin IC package with 4Kb flash memory. It has four ports and all together provide 32 Programmable GPIO pins. It does not have in-built ADC module and supports only USART communication. Although it can be interfaced with external ADC IC like the ADC084 or the ADC0808.

The AT89C51 is no longer in production and Atmel does not support new design. Instead the new AT89S51 is recommended for new applications. But, since the AT89C51 has a strong community support if your motive is to learn embedded then AT89C51 can still be a good choice.

How to Program the AT89C51 (8051) Microcontroller

Atmel microcontroller can be programmed with different software’s that is available in the market. Arduino, Keil uVision are the most used platforms to name a few. If you are planning on serious programming and expansion with community support then Keil is recommended.

In order to program the Atmel microcontroller we will need an IDE (Integrated Development Environment), where the programming takes place. A compiler, where our program gets converted into MCU readable form called HEX files. An IPE (Integrated Programming Environment), which is used to dump our hex file into our MCUs.

IDE: Keil uVision IDE

Programming Hardware: MAX232 with RS232 to USB converter

Programmer: USBASP

To dump or upload our code into Atmel IC we need a programmer, the most commonly used programmer is the USBASP which has to be purchased separately. Also simulating you program on software before trying it on hardware will save a lot of time. So you can use software like ISIS proteus from Labcenter to simulate your programs.

A 8051 (AT89C51) Programming circuit is shown below

AT89C51 Programming Circuit

How to select your Atmel Microcontroller

Microchip provides a vast variety of Microcontrollers from PIC family and Atmel Family. Their collection has just piled up after Microchip has acquired Atmel. Each MCU has its own advantage and disadvantage. There are many parameters that one has to consider before selecting a MCU for his/her project. The below points are just suggestions which might help one to select a MCU.

  • If you are a beginner who is learning Microcontroller then, selecting a MCU that has good online community support and wide applications will be a good choice. For Atmel AT89S52 or ATmega328 will be a good choice.
  • Consider the operating voltage of your system. If they are 5V then select a 5V MCU some sensors or devices work and communicate on 3.3V in such case a 3.3V MCU can be selected
  • If size and price is a limitation then you can choose small 8-pin MCUs like Attiny1614. These are also comparatively cheaper.
  • Based on the sensors and actuators used in your project, verify which modules you might need in for MCU. For example is you are reading many Analog voltages then make sure MCU has enough ADC channels and supportive resolution. The details of all modules are given in the table above.
  • If you project involves communication protocols like UART, SPI ,I2C, CAN etc make sure you MCU can support them. Some MCU can support more than one module of the same protocol
Applications
  • 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 Microcontroller Datasheet

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Back to Top
Product has been added to your cart