MCU Programming Learning

Publisher:TranquilMind88Latest update time:2013-06-08 Source: 21icKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

How to quickly learn microcontrollers is a difficult problem that troubles many college students.

I think the following method is more appropriate: first learn the 51 single-chip microcomputer, which is the basis and easier to start with. After learning the 51 single-chip microcomputer, you will have the inspiration for programming, and it will be easier to learn other single-chip microcomputers.

So, how can you quickly get started with 51 single-chip microcomputers? I have a jingle: To learn single-chip microcomputers well, there are tricks, first imitate, then improve. Practice plus theory, theory plus practice, and understanding with heart is the most important. Specifically,

Lesson 1 Installing the software

1.1 Install KEIL C51

1.2 Installing PROTEUS

Lesson 2 Debugging and Simulating Applets

2.1 Can debug two or three simple small programs on KEIL

2.2 Implementing simple simulation on PROTEUS

Lesson 3 Modification Procedure

3.1 Modify a simple program and download it

3.2 Modify a slightly more complex program and download it

Lesson 4 Download Program

***********************************************

Buy an entry-level microcontroller experiment board, which costs only a few dozen yuan. Don't buy an expensive one all at once.

*************************************************** ****

4.1 When you buy the board, there are programs provided. First download the simplest one, such as a single light flashing program.

4.2 Download a slightly more complex one, such as an electronic clock.

4.3 Modify a simple program and download it

4.4 Modify a slightly more complex program and download it

Lesson 5: Microcontroller Hardware Knowledge Learning

5.1 Chip Hardware Knowledge Learning

5.2 Learning the minimum system hardware knowledge

Lesson 6 Programming Training

6.1 Square Wave Signal Generator

6.2 Colored Light Controller . . . . .

*************************************************

At this point, you have already gotten started, and you can proceed step by step according to the current textbook. Remember, theory should be combined with practice.

Keywords:MCU Reference address:MCU Programming Learning

Previous article:Principle of single chip microcomputer reset circuit
Next article:Summary of MCU learning methods

Recommended ReadingLatest update time:2024-11-16 15:36

PIC microcontroller common instructions introduction and instruction function classification table
  The source program is mainly written with these basic instructions to achieve your control tasks. However, in order to increase the readability and maintainability of the source program, we introduce the concept of pseudo-instructions. Pseudo-instructions themselves do not generate executable assembly instructions,
[Microcontroller]
Development of electronic ballast for metal halide lamp based on single chip microcomputer
0 Introduction With the rapid development of science and technology, the world's natural resources are also being consumed at the same rapid rate. Energy saving has become an important project in the scientific research plans of various countries. Lighting energy saving has attracted more and more attention and has g
[Microcontroller]
Development of electronic ballast for metal halide lamp based on single chip microcomputer
PIC microcontroller (PIC16F877A) serial transceiver program
#include pic.h   #define uchar unsigned char    float rtemp,sflag;   void SerialInit(void)   {       TXSTA=0x24; //Turn on the transmit enable bit and high baud rate. The initial value of TRMT can be 0 or 1.       RCSTA=0x90; //Open the serial port, continuous receiving,       SPBRG=0x19; //4M crystal oscillator, baud
[Microcontroller]
PIC microcontroller (PIC16F877A) serial transceiver program
Detailed explanation of the design of single-chip microcomputer driven digital tube (implemented by 74HC595)
1. Digital tube display design This design uses a 4-bit digital tube, which is a common anode type. In order to save the IO port of the single-chip microcomputer, two 74HC595 chips are used as the driver chip of the digital tube, occupying a total of 3 IO ports. The partial circuit diagram of 74HC595 is as follows:
[Microcontroller]
Detailed explanation of the design of single-chip microcomputer driven digital tube (implemented by 74HC595)
Interface between MAX6901 RTC and 8051 microcontroller
This application note demonstrates how to interface the MAX6901 with an 8051 microcontroller and provides basic interface program routines. The microcontroller used in this article is DS2250, and the software is written in C language. MAX6901 pin configuration Overview This application note demonstrates how to inter
[Microcontroller]
Interface between MAX6901 RTC and 8051 microcontroller
Experiment 12: MCU singing --- "Wish you peace"
The following are his asm source program and hex program (the asm program can be edited with uvw51e on the matching CD to get hex. Of course, the following hex can also be copied directly to Notepad and saved as txt, and burned directly into the chip. Note that the XP kit supports text burning. The Yitian version k
[Microcontroller]
MSP430 MCU RTC Operation - Real-time Clock Implemented by TimeA
: //******************************************************************************* // D13x Demo - Use Timer_A and interrupt to realize RTC, and observe the flashing frequency of the LED light // // Description: Use Timer_A and interrupt to realize RTC; Use P1 XOR to negate P1.5; // The system is in sleep state LPM3,
[Microcontroller]
The realization method of parallel interconnection of two 51 series single chip microcomputers
Since the MCS51 series of single-chip microcomputers have the characteristics of stable performance, reliable operation and low price, they are widely used. An MCS51 series single-chip microcomputer (such as Atmel89cxx) contains multiple resources such as RAM, FLASH ROM, two or three 16-bit timers/counters, a univer
[Microcontroller]
The realization method of parallel interconnection of two 51 series single chip microcomputers
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components
Guess you like

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号