-
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
-
一些原来的代码,对于学习和提高很有帮助的帮助
vc的一些原码,对于帮助学习和提高很有帮助-vc some of the original code, for help to learn and improve very helpful
- 2022-07-05 02:10:22下载
- 积分:1
-
TFT
用义隆单片机78P156写的倒车雷达程序,(The reversing radar program written with Elan microcontroller)
- 2013-04-16 15:47:31下载
- 积分:1
-
wayos-bin
完美不拉黑版WAYOS升级包,电信版
非常稳定(Do not pull the black version WAYOS perfect upgrade package, Telecom version
Very stable)
- 2013-10-22 23:04:09下载
- 积分:1
-
图形过程的源文件
graphics porocess source file
- 2022-09-24 05:05:02下载
- 积分:1
-
PS2解码通讯及例程V1.7
遥控小车支持STM32 需要的请下载 可以实现很多功能(Remote control car support STM32 needs, please download, you can achieve many functions)
- 2017-09-12 20:38:05下载
- 积分:1
-
数学建模
说明: 用遗传算法求解带模糊时间窗的VRP问题,注释清晰明了,新手友好(Genetic algorithm for VRP with fuzzy time window)
- 2020-11-22 12:09:35下载
- 积分:1
-
contourlet_toolbox.tar
轮廓波变换的基本原理,对输入图像的进行轮廓波变换,并重构原始信号(The basic principle of contourlet transform, performing contourlet transform on the input image and reconstructing the original signal.)
- 2018-04-10 14:53:58下载
- 积分:1
-
Sparse Matrix Calculator
稀疏矩阵计算器,以带行逻辑链接信息的三元组表示稀疏矩阵,实现矩阵相加相减相乘的运算。-Sparse Matrix Calculator
- 2022-03-16 20:51:01下载
- 积分:1
-
brball
双色球.
预定一组号,看看机选N次后,你的号码中奖数多高。(Color ball. Book a group number, look at the machine N times after the election, the number of the winning number of tall.)
- 2012-05-18 15:22:55下载
- 积分:1