3299 views|12 replies

13

Posts

0

Resources
The OP
 

How to learn 51 single chip microcomputer self-understanding [Copy link]

 

Recently I have been learning 51 single-chip microcomputer and I would like to share my recent experience. I originally wanted to learn sm32 directly, but after thinking about it, I think 51 is more suitable for beginners. After I have fully mastered 51, I will learn stm32. I believe I can learn it in 2 to 3 months.

First of all, the language must be C language, of course, assembly language is also OK, you must be familiar with the loops, switch statements, and if statements in C language

I also think that I should learn about the principles of computer composition. I think microcontrollers and computers are actually very similar. For example, the CPU of a computer is equivalent to a microcontroller, and there are various peripherals inside the chip, just like a computer can be connected to peripherals such as keyboard and mouse. You can also understand buses such as SPI and IIC.

There is also the principle of microcomputers. Understanding the internal working principle of the 51 microcontroller is also helpful for understanding various peripherals.

The most important thing is digital electronics and analog electronics. This is also the most important thing for learning other microcontrollers in the future. Because not all microcontrollers have tutorials to find, so self-study is particularly important. The most important thing to learn a microcontroller is to understand the schematic diagram, so that you can know how to write code.

Finally, the learning process is inevitably a bit boring. You can use the 51 single-chip microcomputer to make some alarm clocks, confessions , etc. Of course, you can also use competitions to promote learning. I recommend the Blue Bridge Cup single-chip microcomputer competition. The board they use is a type of 51: STC15F2K60S2, which can also promote our learning. Winning a prize is also good.

Finally, I hope it will be useful to everyone. I believe that everyone can learn 51 well. I will definitely share what I have learned with you in the future.

This post is from 51mcu

Latest reply

The 51 MCU is relatively easy to understand. The first step is to understand what functional units are in the entire MCU, mainly the CPU (in fact, it should only be considered an ALU, arithmetic logic processing unit), and then what peripheral functional modules are there: RAM, ROM (Flash). Most of the focus is on learning its peripheral device parts, such as LTIMER, UART, GPIO.   Details Published on 2023-10-16 11:56
 

1w

Posts

25

Resources
2
 

Many 51 tutorials are not suitable for modern programming methods and have a reverse effect on the application of other microcontrollers.

This post is from 51mcu

Comments

Bro, the boss only cares about whether you can get work done.  Details Published on 2022-6-17 09:11
 
 
 

2w

Posts

74

Resources
3
 

Looking forward to sharing your actual project

This post is from 51mcu
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
Personal signature

加油!在电子行业默默贡献自己的力量!:)

 
 

42

Posts

0

Resources
4
 
dcexpert posted on 2022-3-22 20:39 Many 51 tutorials are not suitable for modern programming methods and have a reverse effect on the application of other microcontrollers.

Bro, the boss only cares about whether you can get work done.

This post is from 51mcu
 
 
 

58

Posts

0

Resources
5
 

51 is the basic knowledge of microcontrollers. It will be more efficient to learn the programming language with 51 first and then learn other ones.

This post is from 51mcu
 
 
 

1

Posts

0

Resources
6
 

I learned microcontrollers based on what I used, without following books or other people's dogma, and it feels pretty good this way.

This post is from 51mcu
 
 
 

7422

Posts

2

Resources
7
 

There is no need to learn 51.

This post is from 51mcu
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

17

Posts

0

Resources
8
 
It would be convenient to have a sample program. It would be better to have a program of a finished product that has been mass-produced by others. You can understand it after reading it a few times.
This post is from 51mcu
 
 
 

210

Posts

3

Resources
9
 

Learning 51 MCU will definitely help you learn other MCUs later. At least in C programming. But if you want to learn 51 MCU in depth, it will still take a lot of time. Now many jobs that can be done with 32-bit MCU can actually be done with 51 MCU. As a beginner, I also recommend learning 51 MCU as an introduction.

This post is from 51mcu
 
 
 

224

Posts

0

Resources
10
 

I learned assembly through 51 single chip microcomputer

As for why I learn assembly, of course it's for some ulterior motive, haha

This post is from 51mcu
 
 
 

224

Posts

0

Resources
11
 

I have been working on STM32 recently, and I realized that what others have been saying, "51 MCU is relatively simple", is not serious nonsense.

This post is from 51mcu

Comments

Indeed, I have recently finished learning STM32, and I feel that SRM32 library function programming is quite simple. The main reason is that 51 has many registers that need to be remembered, unlike STM32, which is fun to program in library functions as long as you understand it.  Details Published on 2022-12-6 19:00
 
 
 

13

Posts

0

Resources
12
 
starcat123 posted on 2022-11-14 22:29 I have been working on STM32 recently, and I realized that what others have been saying, "51 MCU is relatively simple", is not serious nonsense

Indeed, I have recently finished learning STM32, and I feel that SRM32 library function programming is quite simple. The main reason is that 51 has many registers that need to be remembered, unlike STM32, which is fun to program in library functions as long as you understand it.

This post is from 51mcu
 
 
 

6

Posts

0

Resources
13
 

The 51 MCU is relatively easy to understand. The first step is to understand what functional units are in the entire MCU, mainly the CPU (in fact, it should only be considered an ALU, arithmetic logic processing unit), and then what peripheral functional modules are there: RAM, ROM (Flash). Most of the focus is on learning its peripheral device parts, such as LTIMER, UART, GPIO.

This post is from 51mcu
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list