找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

stm32温湿度-超声波-LCD1602结合项目 附Proteus仿真程序

查看数: 10202 | 评论数: 17 | 收藏 14
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2020-7-10 10:23

正文摘要:

程序实现功能: 程序基于stm32芯片实现了控制LED灯亮灭、按键控制、串口通信、电机控制、温湿度数据采集、超声波测距、LCD显示屏显示内容这几个功能,并用proteus8进行仿真。 1.电路图     1 ...

回复

ID:1146186 发表于 2025-6-11 16:41
文明233 发表于 2021-6-15 09:16
LCD液晶显示器怎么修改显示

左侧找到lcd.c uint8_t const table1[]=
这里改
ID:1146186 发表于 2025-6-9 11:01
牛牛牛
ID:1103550 发表于 2025-3-7 20:53
仿真不了啊。。LCD和串口都没反应。。
ID:743691 发表于 2023-4-17 18:41
看到能仿真成功,我也试试,不知道8.8能不能行
ID:1045113 发表于 2023-4-15 22:25
测量出来的距离误差有点大,把UltrasonicWave_Distance=TIM_GetCounter(TIM2)*5*34/2000;
改成UltrasonicWave_Distance=TIM_GetCounter(TIM2)*0.79;
会好很多
ID:1020198 发表于 2022-5-29 10:56
试了一下能仿真成功,牛!
ID:972656 发表于 2022-5-25 21:35
撞南墙 发表于 2021-6-14 19:04
为什么keil5显示

..\..\Output\DHT11.axf: error: L6002U: Could not open file ..\..\output\core_cm3. ...

你这个好像是目标没有创建
ID:972656 发表于 2022-5-25 19:36
   #error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
ID:972656 发表于 2022-5-25 19:16
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'E:\keil\ARM\ARMCC\Bin'
Build target 'Target 1'
compiling UltrasonicWave.c...
UltrasonicWave.c(1): error:  #5: cannot open source input file "./Wave/UltrasonicWave.h": No such file or directory
  #include "./Wave/UltrasonicWave.h"
UltrasonicWave.c: 0 warnings, 1 error
compiling w.c...
w.c(11): error:  #5: cannot open source input file "./dht11/bsp_dht11.h": No such file or directory
  #include "./dht11/bsp_dht11.h"
w.c: 0 warnings, 1 error
compiling LCD.c...
LCD.c(1): error:  #5: cannot open source input file "LCD/bsp_LCD.h": No such file or directory
  #include "LCD/bsp_LCD.h"  
LCD.c: 0 warnings, 1 error
compiling main.c...
E:\keil\ARM\PACK\Keil\STM32F1xx_DFP\1.0.5\Device\Include\stm32f10x.h(96): error:  #35: #error directive: "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
   #error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
main.c: 0 warnings, 1 error
".\Objects\1.axf" - 4 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:00
ID:972656 发表于 2022-5-25 19:07
在仿真中
ID:387687 发表于 2022-3-14 12:55

看到能仿真成功,我也试试
ID:935902 发表于 2021-6-17 11:22
撞南墙 发表于 2021-6-14 19:04
为什么keil5显示

..\..\Output\DHT11.axf: error: L6002U: Could not open file ..\..\output\core_cm3. ...

因为用户名是中文的原因
ID:935902 发表于 2021-6-17 11:20
撞南墙 发表于 2021-6-14 19:04
为什么keil5显示

..\..\Output\DHT11.axf: error: L6002U: Could not open file ..\..\output\core_cm3. ...

把if 改成else if 好了
ID:934599 发表于 2021-6-15 09:16
LCD液晶显示器怎么修改显示
ID:935902 发表于 2021-6-14 19:04
为什么keil5显示

..\..\Output\DHT11.axf: error: L6002U: Could not open file ..\..\output\core_cm3.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
"..\..\Output\DHT11.axf" - 1 Error(s), 5 Warning(s).
Target not created.
Build Time Elapsed:  00:00:10
ID:139339 发表于 2020-7-30 00:23
看到能仿真成功,我也试试
ID:304785 发表于 2020-7-16 23:44
这个是牛的,给楼主点个赞

小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表