当前位置:网站首页>《单片机原理及应用》——概述
《单片机原理及应用》——概述
2022-06-26 08:48:00 【涛涛呐~】
系列文章目录
前言
学习视频链接是:https://www.bilibili.com/video/BV1sE411L7j5?spm_id_from=333.337.search-card.all.click&vd_source=60e3b17e753a5208aab341fe208e4d70
以51单片机为主讲单片机原理和应用。
单片机是微控制器的一种,也属于嵌入式计算机。
以模电数电主导的传统电子技术和单片机设计的电路有什么区别?
传统数字电路组成的流水灯电路为:
而单片机设计的电路,可以软件实现电路的调整、改善和维护!
一、计算机的位数是什么?
计算机一次同时处理二进制数据的位数代表计算机处理数据的能力,如8位单片机、64位计算机等。
数值在计算机内由原码、补码、反码三种表达方式。
原码在计算机内部进行加减计算的时候会有部分运算是错误结果,
进而提出反码的表达方式解决前面的问题
但是反码的结果与正确结果差值为1,所以用补码来解决:
对一个数据的补码进行取反计算就可以解决计算问题。
二、51单片机
51单片机命名:
单片机应用范围非常广泛,现在已经大量使用32位MCU进行控制,硬件电路设计。
X=1,表示片内ROM存储容量为4Kb。
单片机是一种复杂的时序电路所以需要时钟电路,51单片机内部结构为:
ROM里面会存放预先设计的单片机工作的程序,RAM存放单片机工作中产生的临时数据。
单片机是计算机,那一定有计算功能,所以单片机内部是有一个以8位算术逻辑运算单元ALU为核心,包括累加器、寄存器等部件的运算部件。
CPU内部还有一个控制部件,
边栏推荐
- Implementation code of interceptor and filter
- In automated testing, there are three commonly used waiting methods: sleep, implicitly\wait, and expected\u conditions
- 1.27 pytorch learning
- In depth study paper reading target detection (VII) Chinese version: yolov4 optimal speed and accuracy of object detection
- phpcms小程序插件api接口升级到4.3(新增批量获取接口、搜索接口等)
- Backward usage
- How to use the least money to quickly open the Taobao traffic portal?
- Basic concept and advanced level of behavior tree
- Applet realizes picture preloading (picture delayed loading)
- ImportError: ERROR: recursion is detected during loading of “cv2“ binary extensions. Check OpenCV in
猜你喜欢

Fix the problem that the rich text component of the applet does not support the properties of video cover, autoplay, controls, etc

Yolov5进阶之一摄像头实时采集识别

Selenium 搭建 Cookies池 绕过验证反爬登录

Games104 Lecture 12 游戏引擎中的粒子和声效系统

Autoregressive model of Lantern Festival

Yolov5进阶之四训练自己的数据集

修复小程序富文本组件不支持video视频封面、autoplay、controls等属性问题

力扣399【除法求值】【并查集】

隐藏式列表菜单以及窗口转换在Selenium 中的应用

反爬之验证码识别登录 (OCR字符识别)
随机推荐
【C】青蛙跳台阶和汉诺塔问题(递归)
Vipshop work practice: Jason's deserialization application
爬虫 对 Get/Post 请求时遇到编码问题的解决方案
PD fast magnetization mobile power supply scheme
Section IV HQL execution process
Load other related resources or configurations (promise application of the applet) before loading the homepage of the applet
Autoregressive model of Lantern Festival
20220623 Adobe Illustrator入门
What is optimistic lock and what is pessimistic lock
【程序的编译和预处理】
【云原生 | Kubernetes篇】深入万物基础-容器(五)
基于SSM的毕业论文管理系统
滑块验证 - 亲测 (京东)
Yolov5 advanced 4 train your own data set
docker安装redis
关于小程序tabbar不支持传参的处理办法
隐藏式列表菜单以及窗口转换在Selenium 中的应用
什么是乐观锁,什么是悲观锁
Nacos注册表结构和海量服务注册与并发读写原理 源码分析
How to use the least money to quickly open the Taobao traffic portal?