当前位置:网站首页>对于新入行的同学,如果你完全没有接触单片机,建议51单片机入门
对于新入行的同学,如果你完全没有接触单片机,建议51单片机入门
2022-07-03 09:09:00 【枪哥玩转嵌入式】
对于新入行的同学,如果你完全没有接触单片机,我建议51单片机开始入门,这是因为,51单片机在单片机中,甚至可以说,它是最简单的单片机,用来入门非常合适,往后,你就可以学习STM32。

STM32 就开始复杂了,原因是功能强大,你需要配置的程序更多,比如 51 单片机你要控制一个 IO 只需要2个语句,STM32 对于 IO 口,有多种模式和速率供你选择,你甚至还需要打开这个外设的时钟,这个在 51 单片机是没有的,不过你已经有了 51 的基础,这些还是可以进一步学习的,特别是硬件基础比较好的同学,就很顺利了。
文章相对比较长,字数比较多,大家可以先打开头像关注我,之后慢慢看,///插播一条:我自己在今年年初录制了一套还比较系统的入门单片机教程,想要的同学找我拿就行了免費的,私信我就可以哦~点我头像左下角黑色字体加我也能领取哦。最近比较闲,带做毕设,带学生参加省级或以上比赛///
对于库函数和寄存器开发,我建议入门的时候,对于简单的外设,比如 IO 口,串口,可以用寄存器,因为寄存器配置的过程,能让你了解单片机的寄存器,学会看数据手册,等你用寄存器配置过几个外设后,你就可以用库函数了,这样,你也就能体验到库函数为什么会出现了,以及更好的理解什么是库函数。

最后,你说的固件库,HAL,寄存器,应该指的是 STM32,首先 固件库 是 ST 比较早期的库函数,目前一些新的单片机已经没有这个库了,取而代之的,是LL库,HAL则是比LL库更上一层库,这里可能有点难以理解,简单来说,以前 固件库是老的库,而 LL和HAL 库是新的库。LL 库 和 HAL 库一个偏向底层,效率高,一个偏向应用层,兼容性好(STM32可是一个大家族,什么型号的单片机都有)
单片机造价低廉,指51系列,不说arm,稳定性高,极端适合低成本自动化开发。马路上红绿灯,led点阵广告牌,无一不使用,更不要说稍高端的应用。单片机学的好,今后工作有保障。
对于单片机来说,以后的发展可以概括为,更低的功耗,更小的体积,主流单片机和多品种共存。

为了更好地适应新的需求,无论是工业控制还是生活需求,单片机行业肯定会继续开发功能更强大的单片机,功能更多,性能更好,然而单片机的基础都是相通的。
入对门,摆正心态。单片机就像是凿子或者锤子这样的工具,拿到手里就可以使用。一个外行人或者一个小朋友拿到手里不多久也许就会使用了,但是如果你想让他短时间内雕刻一个高水平的雕塑就需要经验积累和耐心了。对自身要求高,不急于得到结果,这才是做单片机项目开发应当有的心态。
这个行业就是一个不断学习,螺旋上升的行业,你需要保持学习的态度,不断地注入新的知识和经验才能保持不落后,这才是适应以后单片机行业未来趋势的最好方法。

对单片机感兴趣的朋友可以找我,我录制了一些关于单片机的入门教程,有需要的童鞋找我拿就行,免费的,私信我“林老师”就可以拿~点击打开我的头像就能领取

边栏推荐
- Introduction to chromium embedded framework (CEF)
- Leetcode daily question (516. long palindromic subsequence)
- [CSDN] C1 training problem analysis_ Part III_ JS Foundation
- Common software open source protocols
- MySQL environment variable configuration
- 顺利毕业[3]-博客系统 更新中。。。
- You need to use MySQL in the opening experiment. How can you forget the basic select statement? Remedy is coming~
- Project cost management__ Cost management technology__ Article 8 performance review
- QT sub window is blocked, and the main window cannot be clicked after the sub window pops up
- Flink learning notes (IX) status programming
猜你喜欢

Vscode Arduino installation Library

Shell logic case

Matlab reads hexadecimal numbers and converts them into signed short

【22毕业季】我是毕业生yo~

Eight working modes of stm32gpio and chip naming rules

Code word in NR

万字手撕七大排序(代码+动图演示)

STM32 serial communication principle

Definition and use of enum in C language

UCI and data multiplexing are transmitted on Pusch - Part I
随机推荐
Design and development of biological instruments
Electronic product design
How does the memory database give full play to the advantages of memory?
Oracle数据库 SQL语句执行计划、语句跟踪与优化实例
MYSQL数据库底层基础专栏
2021-09-26
Jestson nano custom root file system creation (supports the smallest root file system of NVIDIA Graphics Library)
PolyWorks script development learning notes (4) - data import and alignment using file import
[combinatorics] Introduction to Combinatorics (combinatorial thought 2: mathematical induction | mathematical induction promotion | multiple induction thought)
Runtime. getRuntime(). GC () and runtime getRuntime(). The difference between runfinalization()
[successful graduation] [1] - visit [student management information system]
QT qstring:: number apply base conversion
Jestson nano downloads updated kernel and DTB from TFTP server
Development of electrical fire system
Win10安装ELK
NR technology -- MIMO
[graduation successful] [1] - tour [Student Management Information System]
Successful graduation [2] - student health management system function development...
【力扣刷题笔记(二)】特别技巧,模块突破,45道经典题目分类总结,在不断巩固中精进
The number of weak characters in the game (1996)