当前位置:网站首页>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


边栏推荐
- Create a time blocker yourself
- 字符串String转换为jsonArray并解析
- Xlua get button registration click event of ugui
- SSO微服务工程中用户行为日志的记录
- Redis single sign on system + voting system
- The eigen library calculates the angle between two vectors
- Tiktok practice ~ sharing module ~ short video download (save to photo album)
- Handwritten numeral recognition based on tensorflow
- Web resource preloading - production environment practice
- Numpy之matplotlib
猜你喜欢

Boot indicator monitoring

Pinda general permission system (day 1~day 2)

Solidity - 合约继承子合约包含构造函数时报错 及 一个合约调用另一合约view函数收取gas费用

Micro service single sign on system (SSO)

Wechat applet uniapp left slide delete with Delete Icon

抖音实战~搜索页面~视频详情

微服务版单点登陆系统(SSO)

自己创建一个时间拦截器

Project practice 6: distributed transaction Seata

威胁猎人必备的六个威胁追踪工具
随机推荐
Request method 'POST' not supported
刷新三观的HP-UX系统中的强指针赋值出core问题
8VC Venture Cup 2017 - Final Round C. Nikita and stack
Résolution du problème: la machine virtuelle n'a pas pu copier et coller le fichier
为什么我不推荐去SAP培训机构参加培训?
Feign remote call
案例描述:比赛分数管理系统,需要统计历届冠军所得比赛得分,并记录到文件中,其中系统有如下需求:- 打开系统有欢迎界面,并显示可选择的选项- 选项1:记录比赛得分- 选项2:查看往届
知识点总结
SSO微服务工程中用户行为日志的记录
Installation and use of logstash
Why don't I recommend going to sap training institution for training?
成功解决之Jenkins报错:The goal you specified requires a project to execute but there is no POM
JS mobile terminal touch screen event
手机影像内卷几时休?
Boot indicator monitoring
抖音实战~分享模块~复制短视频链接
【Mysql系列】工作常用sql集锦(持续更新)
Using cache in vuex to solve the problem of data loss in refreshing state
wm_ Concat() and group_ Concat() function
问题解决:虚拟机无法复制粘贴文件