当前位置:网站首页>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
边栏推荐
- 成功解决之idea引用Lombok的@Slf4j后无法正常使用log
- To: Apple CEO Cook: great ideas come from constantly rejecting the status quo
- 抖音实战~分享模块~生成短视频二维码
- stm32和电机开发(直流有刷电机和步进电机)
- Xlua get button registration click event of ugui
- Create a time blocker yourself
- Chain game development finished product source code chain game system development details
- Project practice 4: user login and token access verification (reids+jwt)
- 50 lines of code to crawl TOP500 books and import TXT documents
- Redis单点登陆系统+投票系统
猜你喜欢
品达通用权限系统(Day 1~Day 2)
Project practice 6: distributed transaction Seata
Micro service single sign on system (SSO)
Basic and necessary common plug-ins of vscade
手机影像内卷几时休?
Minimum spanning tree, shortest path, topology sorting, critical path
关于不等式取值转义的思路
Arduino UNO + DS1302利用31字节静态RAM存储数据并串口打印
Unity——Mathf. Similarities and differences between atan and atan2
Tiktok practice ~ search page ~ scan QR code
随机推荐
Logstash安装及使用
tsconfig. json
mongoDB的三种基础备份方法
商品秒杀系统
项目实战六:分布式事务-Seata
读书笔记:《过程咨询 III》
转:实事求是
BOM and DOM operations
NFTGameFi链游系统开发详解方案丨链游系统开发原理解析
[recommended collection] these 8 common missing value filling skills must be mastered
抖音实战~搜索页面~视频详情
System table SQLite of SQLite database_ master
Invocation failed Unexpected end of file from server
Unity——Mathf. Similarities and differences between atan and atan2
抖音实战~分享模块~复制短视频链接
Conditional compilation in precompiling instructions
Decompilation of zero time technology smart contract security series articles
数据库范式和主码的选择
成功解决之微服务@Value获取配置文件乱码问题
Tiktok practice ~ sharing module ~ copy short video link