当前位置:网站首页>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年前我自学快,除了自身执行力以外,还有就是教程少。不要害羞做伸手党,等你一个小红点。后期我也会组建一些纯技术交流的小圈子,让大家能认识更多的大佬,有个好的圈子,你对行业的认知一定是最前沿的。
边栏推荐
- May brush question 03 - sorting
- Redis core configuration
- Segmentation sémantique de l'apprentissage profond - résumé du code source
- 【深度學習】語義分割-源代碼匯總
- MapReduce instance (x): chainmapreduce
- O & M, let go of monitoring - let go of yourself
- Blue Bridge Cup_ Single chip microcomputer_ Measure the frequency of 555
- Scoped in webrtc_ refptr
- Global and Chinese markets for hardware based encryption 2022-2028: Research Report on technology, participants, trends, market size and share
- I2C summary (single host and multi host)
猜你喜欢
Design and implementation of online shopping system based on Web (attached: source code paper SQL file)
Redis之持久化实操(Linux版)
Design and implementation of online snack sales system based on b/s (attached: source code paper SQL file)
Kratos ares microservice framework (I)
Research and implementation of hospital management inpatient system based on b/s (attached: source code paper SQL file)
Oom happened. Do you know the reason and how to solve it?
解决小文件处过多
Solve the problem of too many small files
Use of activiti7 workflow
Persistence practice of redis (Linux version)
随机推荐
[deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
Research and implementation of hospital management inpatient system based on b/s (attached: source code paper SQL file)
Take you back to spark ecosystem!
Global and Chinese market of linear regulators 2022-2028: Research Report on technology, participants, trends, market size and share
May brush question 26 - concurrent search
DCDC power ripple test
Heap (priority queue) topic
Design and implementation of online snack sales system based on b/s (attached: source code paper SQL file)
Leetcode:608 tree node
Compilation of libwebsocket
五月刷题01——数组
英雄联盟轮播图手动轮播
Nc17 longest palindrome substring
Full stack development of quartz distributed timed task scheduling cluster
【深度学习】语义分割:论文阅读(NeurIPS 2021)MaskFormer: per-pixel classification is not all you need
Mapreduce实例(五):二次排序
MapReduce instance (IV): natural sorting
O & M, let go of monitoring - let go of yourself
大学想要选择学习自动化专业,可以看什么书去提前了解?
Redis distributed lock implementation redison 15 questions