Atmel AT89C51 Microcontroller C Language Tutorial

This document introduces a development system for learning microcontrollers and the preparation work before learning microcontrollers. The system integrates control software, microcontroller experiment board, and serial download programmer, making it convenient and efficient without the need to plug and unplug cables and chips. The chip used for learning is AT89S51, which can achieve In-System Programming (ISP). In addition, the document also introduces the commonly used assembly language and C language in microcontroller programming.


Atmel AT89C51 Microcontroller C Language Tutorial - cover page
Brand
Atmel
Category
microcontrollers
Document type
User Manual
Language
Chinese
Pages
18
File format
PDF
File size
605 KB
Published
23 September, 2022
Updated
28 September, 2023
Model
AT89C51
MD5 checksum
3CA42CEF4AD63335A1A13A813A2101B7

About this manual

This document serves as an introductory guide to developing 51-series microcontrollers using the C programming language. It focuses specifically on the Atmel AT89C51 chip and utilizes the KEIL uVision2 integrated development environment (IDE) for coding, compiling, and debugging.

The text details the process of creating a first C project within the software, including setting up the project file, selecting the specific microcontroller model, writing code, and generating HEX files. It also provides an overview of the AT89C51 hardware structure, explaining its ports (P0-P3), reset functionality, and ISP (In-System Programming) capabilities. This manual is written in Chinese.

What's inside

  • Learning Preparation
  • Creating First C Project
  • KEIL uVision2 Usage
  • AT89C51 Chip Structure
  • Port Functions (P0-P3)
  • ISP Download Lines
  • Reset Functionality

Frequently asked questions

What is the stated operating voltage for the AT89C51 microcontroller?

The working voltage for the AT89C51 is 5V.

What is the maximum oscillator frequency available for the AT89C51?

The maximum oscillator frequency selectable for the AT89C51 is 24MHz.

How many pins are required for the ISP download connection on the board?

The board requires a 10-pin download connector.

Download PDF (605 KB)

More Atmel Manuals


View all Atmel manuals →