当前位置:网站首页>《单片机原理及应用》——概述
《单片机原理及应用》——概述
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内部还有一个控制部件,
边栏推荐
- 运行时端的执行流程
- Graduation thesis management system based on SSM
- Machine learning (Part 1)
- 51单片机ROM和RAM
- 深度学习论文阅读目标检测篇(七)中文版:YOLOv4《Optimal Speed and Accuracy of Object Detection》
- Efficiency thesis Reading 1
- In depth study paper reading target detection (VII) Chinese version: yolov4 optimal speed and accuracy of object detection
- What is optimistic lock and what is pessimistic lock
- The solution of positioning failure caused by framework jump
- 外部排序和大小堆相关知识
猜你喜欢

Games104 Lecture 12 游戏引擎中的粒子和声效系统
![[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)](/img/cf/44b3983dd5d5f7b92d90d918215908.png)
[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)

Solution to the encoding problem encountered by the crawler when requesting get/post

Yolov5 advanced 5 GPU environment setup

MySQL在服务里找不到(未卸载)

唯品会工作实践 : Json的deserialization应用

20220623 Adobe Illustrator入门

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

框架跳转导致定位失败的解决方法
![[Matlab GUI] key ID lookup table in keyboard callback](/img/b6/8f62ff4ffe09a5320493cb5d834ff5.png)
[Matlab GUI] key ID lookup table in keyboard callback
随机推荐
编程训练7-日期转换问题
【程序的编译和预处理】
基于SSM的电脑商城
【IVI】15.1.2 系统稳定性优化篇(LMKD Ⅱ)PSI 压力失速信息
Fast construction of neural network
Graduation thesis management system based on SSM
读书笔记:SQL 查询中的SQL*Plus 替换变量(DEFINE变量)和参数
Yolov5进阶之五GPU环境搭建
Some commands for remote work
[QNX Hypervisor 2.2用户手册]12.1 术语(一)
PD快充磁吸移動電源方案
Data warehouse (1) what is data warehouse and what are the characteristics of data warehouse
2021 software university ranking crawler program
SRv6----IS-IS扩展
Lagrange multiplier method
HDU - 6225 Little Boxes(__int128的使用)
Yolov5进阶之四训练自己的数据集
Section IV HQL execution process
Isinstance() function usage
HDU - 6225 little boxes (\u int128)