当前位置:网站首页>DS18B20数字温度计系统设计
DS18B20数字温度计系统设计
2022-07-06 09:29:00 【社会你磊哥,命硬不弯腰】
STC89C52单片机
STC89C52单片机接口介绍
这个单片机一共有40个引脚。
①P0口(P0.0~P0.7) 8位漏极开关型双向I/O端口。可以作为通用I/O口使用,但必须加上拉电阻。
②P1口(P1.0~P1.7) 内部带上拉电阻的8位准双向I/O端口。
③P2口(P2.0~P2.7) 内部带上拉电阻的8位准双向I/O端口。
④P3口(P3.0~P3.7) 内部带上拉电阻的8位多功能双向I/O端口,具有外中断。
51单片机中断触发方式介绍
有两种中断触发方式,分别是电平触发和边沿触发。电平触发是每个机器周期内检查中断源口线,检测到低电平会置为中断请求的标志。边沿触发是单片机在上一个机器周期检测到中断源口线高电平,下一个机器周期内检测到低电平,会置位中断请求的标志,请求中断。
74HC245芯片使用
该芯片在DS18B20数字温度计系统中的作用是增加驱动能力,增加了数码管的亮度。另外这个芯片可以保护主控芯片,它还具有双向异步通信的功能,它一共有20个引脚,在系统中该芯片的A端8个引脚和单片机的P0.0-P0.7相连,这个芯片的第一个引脚DIR位1时高电平从A端输入B端输出,为0时低电平可以从B端输入A端输出。它还有一个比较特殊的引脚是OE引脚,也就是使能端口,为1时A/B端不导通,为0时导通,其实就是起到了开关的作用。
74HC138N芯片
38译码器是将3位2进制数通过电路转换成八路不同状态的输出
①当一个选通端G1为高电平,另两个选通端(G2)和(G3))为低电平时, 可将地址端(A0、A1、A2)的二进制编码在Y0至Y7对应的输出 端以低电平译出。比如: A2A1A0=1 10时,则Y6输出端输出低电平信号。
原理:有三个选通端,只有当选通端为100时138才工作, 每一个二进制数对应一个低电平的输出,比如000对应y1(非), 其他的输出都是高电平,只有一个是低电平。
边栏推荐
- Solve the problem that intel12 generation core CPU single thread only runs on small cores
- Spark独立集群Worker和Executor的概念
- ~72 horizontal and vertical alignment of text
- Market trend report, technical innovation and market forecast of double-sided foam tape in China
- One hundred questions of image processing (1-10)
- ~81 long table
- ~73 other text styles
- string. How to choose h and string and CString
- LeetCode 1558. Get the minimum number of function calls of the target array
- Tert butyl hydroquinone (TBHQ) Industry Research Report - market status analysis and development prospect forecast
猜你喜欢
Chapter 5 yarn resource scheduler
Chapter 7__ consumer_ offsets topic
提交Spark应用的若干问题记录(sparklauncher with cluster deploy mode)
图像处理一百题(11-20)
~76 sprite map
Saw local status change event StatusChangeEvent [timestamp=1644048792587, current=DOWN, previous=UP]
LeetCode 1584. Minimum cost of connecting all points
Detailed explanation of FLV format
Basic principles of video compression coding and audio compression coding
Solr new core
随机推荐
Investigation report of bench type Brinell hardness tester industry - market status analysis and development prospect prediction
~78 radial gradient
LeetCode 1638. Count the number of substrings with only one character difference
Research Report on market supply and demand and strategy of China's four seasons tent industry
China tetrabutyl urea (TBU) market trend report, technical dynamic innovation and market forecast
~72 horizontal and vertical alignment of text
Two weeks' experience of intermediate software designer in the crash soft exam
Research Report on market supply and demand and strategy of Chinese table lamp industry
「博士毕业一年,我拿下 ACL Best Paper」
Market trend report, technological innovation and market forecast of desktop electric tools in China
(multiple methods, need to continue to see) 7-11 go deep into the tiger's Den
Chapter 2 shell operation of hfds
LeetCode 1566. Repeat the pattern with length m at least k times
Spark独立集群Worker和Executor的概念
Chapter III principles of MapReduce framework
图像处理一百题(11-20)
Mp4 format details
视频压缩编码和音频压缩编码基本原理
Erlang installation
Solve the problem that intel12 generation core CPU single thread only runs on small cores