当前位置:网站首页>Some thoughts on the study of 51 single chip microcomputer

Some thoughts on the study of 51 single chip microcomputer

2022-07-06 09:43:00 Dafang teacher embedded

51 Some insights of SCM learning

055682c2395b228c58a943effcaef318.png

1、51 Single chip microcomputer P0 Mouth is very special .
2、 Yes 51 The operation of single chip microcomputer is essentially the operation of registers , The same is true for other microcontrollers . The library is just an interface , It's just convenient for users .

Here to share with you about learning 51 SCM experience :

1、 I never say 51 Is the foundation , If I say so , Please also understand this sentence that the principle of microcomputer is the foundation .

2、 Yes 51 The operation of single chip microcomputer is essentially the operation of registers , The same is true for other microcontrollers . The library is just an interface , It's just convenient for users .

3、 Assembly language is rarely used in work , Understanding is good. .

4、51 Single chip microcomputer P0 Mouth is very special .

5、C Language is C Language ,51 SCM is 51 Single chip microcomputer , An algorithm is an algorithm , Peripheral circuit is peripheral circuit , Sensors are sensors , Communication devices are communication devices , A circuit diagram is a circuit diagram ,PCB The picture is PCB chart , Simulation is simulation .

   When you don't use it anymore 51 了 ,C The knowledge of language is still , The knowledge of algorithm is still , The skill of building the smallest system of single chip microcomputer is still , The use of sensors and communication devices is still , I can also draw circuit diagrams and PCB chart , Of course, it will also simulate .  

7、 When the program debugging is not satisfactory , Calm down and check the information carefully ,51 The biggest benefit of single chip microcomputer is that there are many online materials , The problems you encounter must have been encountered by others . As a learner , It may be more convenient to ask people , But it is impossible to cultivate the ability to overcome problems all the time .

8、 Some beginners of single chip microcomputer think it's bad to watch routines , I feel guilty just like looking at the answer . Actually, for beginners , Looking at routines, understanding routines, and then looking at the notes of routines is the best way to learn . It is also possible to transplant programs when doing experiments, curriculum design and entries , There is no need to re realize .( Of course, the homework assigned by the teacher should be completed independently )

   however , Be clear , Transplant program is not just learning SCM , The most important thing is to know the framework and implementation method of routines . Which registers are initialized , What pin configurations have been made , Which functions are called , How are those functions implemented , What interrupts are set , What on-chip resources are used (UART、ADC etc. ), What statuses have been queried , If the state changes ( Triggering event ) What will you do and so on . From this, we can sort out a flow chart and know its implementation , Basically, this routine is almost learned .

Keep these four requirements in mind when learning single chip microcomputer with zero foundation , Little detours

One of them , Others can be understood by analogy , Get started quickly . If you have none of these conditions , Then follow me , I suggest you study 51 Single chip microcomputer . Why study 51 Single chip microcomputer : Although there are many kinds and models of single chip computers at this time , Each model has a ?

Whose blackboard eraser are you

原网站

版权声明
本文为[Dafang teacher embedded]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060903026642.html