-
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
-
[emuch.net]lammps使用手册-中文简版
说明: lammps使用手册-中文简版(Michael博客)(Lammps user manual of Chinese Version from Michael blog.)
- 2020-07-02 16:44:11下载
- 积分:1
-
CracX-0.7.1
说明: non so che devo scrivere ma ci provo
- 2019-03-10 03:47:35下载
- 积分:1
-
GBSBEM
适用于微小区的几何单反射椭圆模型的波达角、波达时间的代码(Code for the angle of arrival and the time of arrival of a geometric single reflection ellipse model in a microcell.)
- 2018-10-14 19:42:16下载
- 积分:1
-
BiosHelp
BiosHelp.pas initially started as help for one developer who wants to read
the ROM-BIOS on Windows NT (one of the common questions on message boards).
Since BiosHelp and my ROM-BIOS related code starts growing (e.g. SMBIOS) -
I finally decided to change the names of the functions, types, and consts in
Version 2.0 to be able to extend this packages without name/sense conflicts.
Sorry for any circumstances - it will be the last major change for long time.
- 2020-06-24 12:00:02下载
- 积分:1
-
VC++猫捉老鼠捉迷藏游戏
VC++猫捉老鼠捉迷藏游戏,带音效,每个老鼠,不管是猫的侧身还是后身,只要一碰猫就算是被猫吃看.只需将算法改为如下,便可实现只有接近嘴巴时才被吃掉.
If(在老鼠接猫时,再判断老鼠接的是猫的嘴巴,){吃掉}
即是:
若老鼠在猫的左边接近猫,且猫的方向需向右(m_nCatDirection==2)才能吃掉老鼠.
若老鼠在猫的右边接近猫,且猫的方向需向左(m_nCatDirection==3)才能吃掉老鼠.
若老鼠在猫的上边接近猫,且猫的方向需向下(m_nCatDirection==1)才能吃掉老鼠.
若老鼠在猫的下边接近猫,且猫的方向需向上(m_nCatDirection==0)才能吃掉老鼠.
以老鼠在猫的左边接近猫为例
- 2022-03-30 15:02:59下载
- 积分:1
-
code
说明: 基于蚁群算法的 TSP 求解,分别采用蚁群算法和蚁群算法-粒子群混合算法进行优化求解,使用不同的交叉和变异适应度函数更新粒子,从而实现 TSP问题的优化求解,更加逼近实际问题。(Based on the TSP solution of ant colony algorithm, ant colony algorithm and hybrid algorithm of ant colony algorithm particle swarm optimization are used to solve the TSP, and different fitness functions of crossover and mutation are used to update the particles, so as to achieve the optimal solution of TSP, which is closer to the actual problem.)
- 2020-03-11 10:47:21下载
- 积分:1
-
matlab
说明: 频率为24GHZ脉冲LFM车载雷达MATLAB仿真(Simulation of LFM Vehicle Radar with Frequency of 244HZ Pulse by MATLAB)
- 2019-07-08 17:40:12下载
- 积分:1
-
Ti(Texas Instruments) 说明书
【实例简介】Ti(Texas Instruments) 说明书
- 2022-01-14 00:31:56下载
- 积分:1
-
C++ Progarms-Baisc
说明: C++ programs for students
- 2020-06-25 19:00:01下载
- 积分:1