当前位置:网站首页>51单片机进修的一些感悟
51单片机进修的一些感悟
2022-07-06 09:03:00 【大方老师嵌入式】
51单片机进修的一些感悟
\\\插播一条:文章末尾有惊喜哟~///

1、51单片机的P0口很特别。
2、对51单片机的操作本质上就是对寄存器的操作,对其他单片机也是如此。库只是一个接口,方便使用者使用罢了。
在这里给大家分享一下进修51单片机心得体会:
1、我从不说51是根底,假如我这么说,也请把这句话了解为微机原理是根底。
2、对51单片机的操作本质上就是对寄存器的操作,对其他单片机也是如此。库只是一个接口,方便使用者使用罢了。
3、汇编语言在工作中很少用到,了解就好。
4、51单片机的P0口很特别。
5、C语言就是C语言,51单片机就是51单片机,算法就是算法,外围电路就是外围电路,传感器就是传感器,通信器件就是通信器件,电路图就是电路图,PCB图就是PCB图,仿真就是仿真。
当你以后再也不使用51了,C语言的知识还在,算法的知识还在,搭建单片机的最小系统的技能还在,传感器和通信器件的使用方法还在,还会画电路图和PCB图,当然也会仿真。
7、当程序调试不如人意的时候,静下心来好好查资料,51单片机最大的益处就是网上资料非常多,你遇到的问题别人肯定也遇到过。作为进修者,问人可能更方便点,但一直这样是造就不出攻克问题的才能的。
8、有些单片机初学者觉得看例程不好,觉得就即是看答案一样有罪恶感。其实对初学者来说,看例程了解例程再看例程的注解是最好的进修途径。做实验做课程设计做参赛作品的时候也是能够移植程序的,不须要自己重新实现。(当然教师布置的作业还是独立完成好)
但是,要清楚,移植程序不即是进修单片机,最重要的是知道例程是怎样的框架及实现方法。初始化了哪些寄存器,做了哪些引脚配置,调用了哪些函数,那些函数又是怎么实现的,设置了哪些中断,用到了哪些片上资源(UART、ADC等),查询了哪些状态,假如状态变化(触发事件)又会做些什么等等。由此整理出一个流程图并知道其实现方式,根本上这个例程就进修得差不多了。
零根底进修单片机切记这四点要求,少走弯路
其中一种,其它的都能够触类旁通,快捷上手了。假如你这些条件都没有,那就跟着我学吧,我建议你进修51单片机。为什么要进修51单片机:虽然此时单片机品种和型号非常多,每个型号都有一?
你是谁的黑板擦
彩蛋:最近有同学跟我要单片机的资料,我特意花几个月时间,总结了我10年产品研发经验,资料包几乎覆盖了C语言、单片机、模电数电、原理图和PCB设计、单片机高级编程等等,非常适合初学者入门和进阶。除此以外,再含泪分享我压箱底的22个热门开源项目,包含源码+原理图+PCB+说明文档,不是市面上打包卖的那种课程,我认为教程多未必是好事,10年前我自学快,除了自身执行力以外,还有就是教程少。不要害羞做伸手党,等你一个小红点。后期我也会组建一些纯技术交流的小圈子,让大家能认识更多的大佬,有个好的圈子,你对行业的认知一定是最前沿的。

边栏推荐
- Le modèle sentinelle de redis
- Global and Chinese market of metallized flexible packaging 2022-2028: Research Report on technology, participants, trends, market size and share
- Redis cluster
- CAP理论
- 五月刷题27——图
- Design and implementation of film and television creation forum based on b/s (attached: source code paper SQL file project deployment tutorial)
- 五月刷题26——并查集
- Redis分布式锁实现Redisson 15问
- [Yu Yue education] Wuhan University of science and technology securities investment reference
- Global and Chinese market of linear regulators 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

leetcode-14. Longest common prefix JS longitudinal scanning method

A wave of open source notebooks is coming

面渣逆袭:Redis连环五十二问,图文详解,这下面试稳了

Persistence practice of redis (Linux version)

MapReduce instance (VIII): Map end join

MapReduce instance (IV): natural sorting

The five basic data structures of redis are in-depth and application scenarios

小白带你重游Spark生态圈!

MapReduce instance (VII): single table join

工作流—activiti7环境搭建
随机推荐
Hero League rotation chart manual rotation
MapReduce instance (VI): inverted index
Global and Chinese market for annunciator panels 2022-2028: Research Report on technology, participants, trends, market size and share
QML control type: menu
Blue Bridge Cup_ Single chip microcomputer_ Measure the frequency of 555
Global and Chinese market of AVR series microcontrollers 2022-2028: Research Report on technology, participants, trends, market size and share
One article read, DDD landing database design practice
MapReduce working mechanism
Research and implementation of hospital management inpatient system based on b/s (attached: source code paper SQL file)
Libuv thread
IDS cache preheating, avalanche, penetration
May brush question 27 - figure
硬件工程师的真实前途我说出来可能你们不信
Redis' bitmap
Servlet learning diary 8 - servlet life cycle and thread safety
What are the models of data modeling
June brush question 01 - array
O & M, let go of monitoring - let go of yourself
Global and Chinese market of linear regulators 2022-2028: Research Report on technology, participants, trends, market size and share
The order of include header files and the difference between double quotation marks "and angle brackets < >