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


边栏推荐
- Unit test of boot
- Wechat applet uniapp left slide delete with Delete Icon
- Invocation failed Unexpected end of file from server
- Installation and use of logstash
- (几何) 凸包问题
- 2022/02/14 line generation
- Boot indicator monitoring
- Handwritten numeral recognition based on tensorflow
- Tiktok practice ~ homepage video ~ pull-down refresh
- Project practice 4: user login and token access verification (reids+jwt)
猜你喜欢

Kubernetes resource topology aware scheduling optimization

【推荐收藏】这8个常用缺失值填充技巧一定要掌握

Deep learning: numpy

Minimum spanning tree, shortest path, topology sorting, critical path

Wechat applet custom pop-up components

IK word breaker

Project practice 6: distributed transaction Seata

50 lines of code to crawl TOP500 books and import TXT documents

Unity——Mathf. Similarities and differences between atan and atan2

Clion breakpoint single step debugging
随机推荐
【Kubernetes】Kubernetes 原理剖析与实战应用(更新中)
转:实事求是
物联网协议的王者:MQTT
Handwritten numeral recognition based on tensorflow
Redis single sign on system + voting system
uni-app使用canvas绘制二维码
Unity——Mathf. Similarities and differences between atan and atan2
Solidity - 合约继承子合约包含构造函数时报错 及 一个合约调用另一合约view函数收取gas费用
微信小程序 自定义 弹框组件
What are the specific steps for opening a stock account? Is it safe to open an account online?
Tiktok practice ~ sharing module ~ copy short video link
Micro service single sign on system (SSO)
MySQL - subquery usage
vuex中利用缓存解决刷新state数据丢失问题
find_ path、find_ Library memo
网上办理中金财富开户安全吗?
460million zongzi were sold in half a year. How big is the "imagination space" of time-honored brands?
微服务版单点登陆系统(SSO)
Tiktok practice ~ homepage video ~ pull-down refresh
Six necessary threat tracking tools for threat hunters