当前位置:网站首页>对于新入行的同学,如果你完全没有接触单片机,建议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点阵广告牌,无一不使用,更不要说稍高端的应用。单片机学的好,今后工作有保障。
对于单片机来说,以后的发展可以概括为,更低的功耗,更小的体积,主流单片机和多品种共存。

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

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

边栏推荐
- PIP references domestic sources
- Successful graduation [3]- blog system update...
- Leetcode daily question (985. sum of even numbers after queries)
- Process communication - semaphore
- UCI and data multiplexing are transmitted on Pusch - determine the bit number of harqack, csi1 and csi2 (Part II)
- PolyWorks script development learning notes (4) - data import and alignment using file import
- Install local sources using yum
- Win10安装ELK
- UCI and data multiplexing are transmitted on Pusch (Part V) -- polar coding
- Find all possible recipes from given supplies
猜你喜欢

Win10 install elk

CEF下载,编译工程

PolyWorks script development learning notes (I) - script development environment

Win10安装ELK

UCI and data multiplexing are transmitted on Pusch (Part V) -- polar coding

Fundamentals of Electronic Technology (III)__ Fundamentals of circuit analysis__ Basic amplifier operating principle

Leetcode daily question (2090. K radius subarray averages)

STM32 port multiplexing and remapping
![[combinatorics] Introduction to Combinatorics (combinatorial thought 2: mathematical induction | mathematical induction promotion | multiple induction thought)](/img/0e/dff6d3c6b7bf388bf71b0965533c25.jpg)
[combinatorics] Introduction to Combinatorics (combinatorial thought 2: mathematical induction | mathematical induction promotion | multiple induction thought)

內存數據庫究竟是如何發揮內存優勢的?
随机推荐
MySQL的简单使用(增删改查)
Nr-prach: access scenario and access process
Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 2 --blinker_ Hello_ WiFi (lighting technology - Mobile App control routine)
Uncle Wang's blog directory [constantly updating]
[combinatorics] Introduction to Combinatorics (context of combinatorics | skills of combinatorics | thought of combinatorics 1: one-to-one correspondence)
PIP references domestic sources
numpy. Reshape() and resize() functions
Esp32 at command does not respond
[male nanny style] teach you to open the first wechat applet
Electronic product design, MCU development, circuit cloning
Install local sources using yum
The third paper of information system project manager in soft examination
Fundamentals of Electronic Technology (III)__ Logic gate symbols in Chapter 5
NR technology -- MIMO
Call the contents of Excel cells opened at the same time - button line feed
CEF download, compile project
Leetcode daily question (1856. maximum subarray min product)
DSP data calculation error
Find all possible recipes from given supplies
Flink CDC practice (including practical steps and screenshots)