当前位置:网站首页>Introduction to single chip microcomputer one-on-one learning strategy, independent development program immediately after reading
Introduction to single chip microcomputer one-on-one learning strategy, independent development program immediately after reading
2022-06-26 19:28:00 【Huawei MCU programming】
Hello everyone , I am the tutor of Huawei monolithic programming , Today, I'd like to share with you about 51 The learning and practice process of single chip microcomputer
Take the introduction teaching of Huawei SCM students as an example , Our approach is based on STC 51 The actual combat project teaching of single chip microcomputer .
Now let's talk about , Beginners learn SCM , from 0 To 1 The process of , Hand in hand to teach you to learn SCM , From the feedback of the trainees , Through our teaching , Ninety nine percent of the students usually develop their own programs , From the introductory stage , Each student's situation is different , Let me give you a general explanation , Interested students can try .
Huawei MCU programming entry stage , It's roughly divided into five steps
First step : First you have to buy a development board , Buy one about 100 in a treasure ! If you study for the first time , No contact at all , Just buy a peripheral , Just the average price , You buy complicated , There is very little information available

At the beginning, follow the example program to practice by yourself , Familiar with SCM software 、 Downloader 、 Use of development board , After being familiar with a certain degree, you can change the software code to achieve the desired function .
The second step : Build the basic development environment of single chip microcomputer , After the arrival of the development board , Install immediately Keil Software , First new project , Completion control LED Lamp procedure , Burn program , Show control LED The effect of . Simply master the whole process of SCM development .

This process can be started by Xiaobai with zero foundation , Students who have just experienced SCM can also do it !
Can directly find us Huawei MCU programming , Command search Huawei MCU programming to find us to get resources
The third step : Learn SCM C Language .
C There are many contents in language courses , It's not difficult. , For students with zero Foundation , It is troublesome to integrate algorithm and programming
If you really want to learn to master , Learning pointer , Learn how to operate files , about 0 Basically , I can tell you that responsibly , It's hard to reach the sky ! But you only need to know the following about the basis of SCM development
5 Instruction statements switch sentence ,if else sentence ,while sentence ,for sentence ,= Assignment statement .
7 Operators +,-,*,/,|,&,!.
4 A logical relation ||,&&,!=,==.
3 Data types unsigned char, unsigned int, unsigned long.
3 The bases are converted to each other , Binary system , Hexadecimal , Decimal system .
1 individual void function .
1 One dimensional array code( or const) unsigned char array[].
After you have learned these basic knowledge , Almost any single-chip program can be written . Don't learn at all C The advanced use of language , Even if you use C The most basic statements of the language can complete the programming , The bottom running mechanism is the top priority of learning !

C Language is a necessary tool for SCM development , The specific introductory tutorial can be obtained from the programming of Huawei single chip microcomputer , This tutorial is customized for SCM development , It can seamlessly connect the follow-up MCU development .
Step four : Learn the peripheral interface of single chip microcomputer :
master GPIO Input and output 、 External interrupt 、 A serial port 、 Timer and other basic usage and drive , It can realize some basic functions , You can implement the function according to the following instructions .
GPIO Input : Key detection experiment
GPIO Output : LED Flash control
External interrupt : External interrupt detection key
A serial port communication : Communicate with computers
Timer : Complete precise intervals 1 Second blink LED The lamp
Step five : Project practice
Project practice is the most important part of learning . Can it take root in the SCM development industry , It depends on your actual project experience . The ultimate goal of learning SCM is to develop products , Software and hardware are combined to form a complete control system , Learn... Through projects , Can better develop and verify the knowledge learned , Lay the foundation for independent product development in the future .
Huawei SCM programming also provided two complete practical projects for the students , Including product requirements , Hardware design , software development , I have more knowledge ( The screenshot is part of )
Because these two practical projects are practical products , It is a project close to the development needs of the enterprise , Help students to be familiar with the daily product development of the enterprise , Simply speaking , It is convenient for students to find jobs in the future !

The final summary , The initial stage of learning is imitation , We need to imitate and learn constantly , Savor its essence carefully , The process of becoming a master , Just keep looking , Constantly changing , Then rewrite the process yourself
Learning SCM is the same , After we have learned the basics of SCM , Start imitating others 2-3 A real project
Complete simple projects independently , For example, smart cars , Running water lamp , As a beginner, I can do , After completion, find someone to take you to learn senior projects , Finally, we can do product development independently , Rooted in this industry !
Learn SCM , As long as you study the actual combat project carefully , You can certainly learn SCM , For wanting to learn single Film machine partners , Need to have a correct learning path planning , Try to avoid detours .
If the method is correct , After the foundation is laid , You will feel that SCM is no longer difficult to learn , And the more you learn, the more you work . When SCM obediently according to your logical thinking and algorithm to execute instructions , When the desired control effect is achieved , A sense of accomplishment will give you confidence 、 Round the clock 、 Sleepless into the world of SCM
Get... Free of charge , Introduction to single chip microcomputer to advanced learning Introduction ( Tutorial attached + Tools )
https://blog.csdn.net/HWdanpianji/article/details/121722883?spm=1001.2014.3001.5502
Friends who want to learn SCM together , Comment on ” I want to get started “, Have a pleasant surprise , Join us , You can interact with your mentor one-on-one , The rapid growth


边栏推荐
猜你喜欢
随机推荐
Solve com mysql. jdbc. exceptions. jdbc4.MySQLNonTransientConnectionException: Could not create connection
Why don't I recommend going to sap training institution for training?
【推荐收藏】这8个常用缺失值填充技巧一定要掌握
Database SQL statement writing
案例描述:比赛分数管理系统,需要统计历届冠军所得比赛得分,并记录到文件中,其中系统有如下需求:- 打开系统有欢迎界面,并显示可选择的选项- 选项1:记录比赛得分- 选项2:查看往届
元宇宙链游开发案例版 NFT元宇宙链游系统开发技术分析
Unity - URP get camera stack
[MySQL series] collection of common working SQL (continuous update)
Solidity - contract inheritance sub contract contains constructor errors and one contract calls the view function of another contract to charge gas fees
Yujun product methodology
Chain game development finished product source code chain game system development details
转:苹果CEO库克:伟大的想法来自不断拒绝接受现状
好物推荐:移动端开发安全工具
Wechat applet uniapp left slide delete with Delete Icon
9. Intelligent transportation project (2)
Numpy之matplotlib
Filebeat安装及使用
【Kubernetes】Kubernetes 原理剖析与实战应用(更新中)
Numpy's Matplotlib
ROS query topic specific content common instructions








