-
DS18B20数字温度传感器实验
实验器材:
探索者STM32F4开发板
实验目的:
学习DS18B20数字温度传感器的使用.
硬件资源:
1,DS0(连接在PF9)
2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)
3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A6接RS)
4,DS18B20传感器一个(接在PG9上).
实验现象:
本实验开机的时候先检测是否有DS18B20存在,如果没有,则提示错误。只有在检测到DS18B20之后才开始
读取温度并显示在LCD上,如果发现了DS18B20,则程序每隔100ms左右读取一次数据,并把温度显示在LCD
上。同样我们也是用DS0来指示程序正在运行。(Experimental equipment:
Explorer STM32F4 development board
Objective:
Learn the use of DS18B20 digital temperature sensor.
Hardware resources:
1, DS0 (connected to PF9)
2, serial port 1 (baud rate: 115200, PA9/PA10 connection on board USB to serial port chip CH340).
3 inch TFTLCD ALIENTEK, 2.8/3.5/4.3/7 module (via FSMC driver, FSMC_NE4 LCD chip select /A6 RS)
4, one of the DS18B20 sensors (attached to PG9).
Experimental phenomena:
This experiment first detects whether there is DS18B20 when starting up. If not, it prompts errors. Only after the detection of DS18B20 did it begin
Read the temperature and display it on LCD. If DS18B20 is found, the program reads data once every 100ms or so and displays the temperature at LCD.
On. Similarly, we also use DS0 to indicate that the program is running.)
- 2018-04-06 15:54:39下载
- 积分:1
-
Barcode
This is Baroce module
- 2020-06-25 02:00:01下载
- 积分:1
-
matlab-卡农
说明: 用Matlab实现钢琴演奏卡农,运行matlabpiano.m即可(MATLAB Playing Canon)
- 2020-10-22 15:27:22下载
- 积分:1
-
短信存储,ACCEss+VB,使用时需要改变数据库文件sms.mdb―――〉smsold.mc原来我自己的短信保密哦,所以被我删了。。。。。 重新建吧!...
短信存储,ACCEss+VB,使用时需要改变数据库文件sms.mdb―――〉smsold.mc原来我自己的短信保密哦,所以被我删了。。。。。 重新建吧!-SMS storage, ACCEss VB, when the need to change the use of database files sms.mdb---> smsold.mc my own original SMS confidentiality Oh, so I was censored by. . . . . Rebuild!
- 2022-07-09 08:50:12下载
- 积分:1
-
zuobiao
说明: 在FLAC3D中调用可以得到模型各个单元坐标和编号并记录下来。(The coordinates and numbers of each unit in the model are obtained.)
- 2021-03-22 20:49:16下载
- 积分:1
-
bcb6cgisample
说明: bc++build 6.0 最简CGI程序演示(bc++build 6.0 cgi example)
- 2020-06-18 07:00:02下载
- 积分:1
-
SkinMagic窗口换肤实例-VC++源码
SkinMagic窗口换肤实例-VC++源码,去掉了SkinMagic换肤时候在标题栏出现版权字符的功能,几天的摸索,也让我明白,使用SkinMagic更换皮肤时,需要把皮肤加入到静态资源中,然后为SDK 程序换肤,原来之前的摸索都是瞎折腾!~
- 2022-03-21 19:58:51下载
- 积分:1
-
这是用c++语言编写的在SCST仿真平台机器人足球赛一个比赛队提交的结果. 其中有一些人工智能的算法 值得一看.
这是用c++语言编写的在SCST仿真平台机器人足球赛一个比赛队提交的结果. 其中有一些人工智能的算法 值得一看.-This is the language used c SCST in robot soccer simulation platform for the team to a result. There are some interesting sites in artificial intelligence algorithms.
- 2022-03-23 00:32:00下载
- 积分:1
-
将中缀表达式转换为后缀表达式,并计算任意四则运算表达式的结果,采用链表和队列实现,非文法和状态机...
将中缀表达式转换为后缀表达式,并计算任意四则运算表达式的结果,采用链表和队列实现,非文法和状态机-Infix expression would be converted to suffix expressions, and calculate the arithmetic expression of arbitrary results, the use of linked lists and queues to achieve, non-grammar and the state machine
- 2022-02-15 14:53:48下载
- 积分:1
-
this a basic adaboost program of Matlab. good for beginners
this a basic adaboost program of matlab. good for beginners-this a basic adaboost program of Matlab. good for beginners
- 2023-06-11 13:40:03下载
- 积分:1