资源简介
本项目是基于stm32的proteus仿真(UCOSII版本),文件包含源代码、仿真原理图,完美运行。通过Sharp红外距离传感器GP2D12获取传感器与阻挡物之间的距离,并将采集到的距离值在ILI9341显示,其次,距离值通过串口传输到上位机,1S更新一次。当距离值正常时,黄色LED灯常亮,红色LED熄灭;当距离值小于正常值时,黄色LED灯熄灭,红色LED灯闪烁。

代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @version V1.0.0
* @date 30-September-2011
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
* This file contains the system clock configuration for STM32F4xx devices
* and is generated by the clock configuration tool
* stm32f4xx_Clock_Configuration_V1.0.0.xls
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): Setups the system clock (System clock source PLL Multiplier
* and Divider factors AHB/APBx prescalers and Flash settings)
* depending on the configuration made in the clock xls tool.
* This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f4xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
* 2. After each device reset the HSI (16 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f4xx.s“ file to
* configure the system clock before to branch to main program.
*
* 3. If the system clock source selected by user fails to startup the SystemInit()
* function will do nothing and HSI still used as system clock source. User can
* add some code to deal with this issue inside the SetSysClock() function.
*
* 4. The default value of HSE crystal is set to 25MHz refer to “HSE_VALUE“ define
* in “stm32f4xx.h“ file. When HSE is used as system clock source directly or
* through PLL and you are using different crystal you have to adapt the HSE
* value to your own configuration.
*
* 5. This file configures the system clock as follows:
*=============================================================================
*=============================================================================
* Supported STM32F4xx device revision | Rev A
*-----------------------------------------------------------------------------
* System Clock source | PLL (HSE)
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 168000000
*-
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 20303 2020-04-09 11:44 ucos版本 扫地机器人避障系统设计与实现\仿真文件\Backup Of STM32与PC数据传输.pdsbak
文件 20929 2020-09-25 22:07 ucos版本 扫地机器人避障系统设计与实现\仿真文件\Backup Of 扫地机器人避障系统设计与实现.pdsbak
文件 286720 2008-01-02 22:16 ucos版本 扫地机器人避障系统设计与实现\仿真文件\ComMonitor(串口助手).exe
文件 20520 2020-04-09 16:48 ucos版本 扫地机器人避障系统设计与实现\仿真文件\Last Loaded STM32与PC数据传输.pdsbak
文件 20989 2020-04-29 22:20 ucos版本 扫地机器人避障系统设计与实现\仿真文件\Last Loaded 扫地机器人避障系统设计与实现.pdsbak
文件 18149 2020-04-11 11:23 ucos版本 扫地机器人避障系统设计与实现\仿真文件\STM32与PC数据传输.pdsprj.DESKTOP-D7PVR1V.MR.Sun.workspace
文件 20996 2020-04-29 21:26 ucos版本 扫地机器人避障系统设计与实现\仿真文件\扫地机器人避障系统设计与实现.pdsbad
文件 20929 2020-09-25 22:07 ucos版本 扫地机器人避障系统设计与实现\仿真文件\扫地机器人避障系统设计与实现.pdsprj
文件 18349 2020-09-25 22:07 ucos版本 扫地机器人避障系统设计与实现\仿真文件\扫地机器人避障系统设计与实现.pdsprj.DESKTOP-D7PVR1V.MR.Sun.workspace
文件 1120 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\Include\arm_common_tables.h
文件 240326 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\Include\arm_math.h
文件 31948 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\Include\core_cm0.h
文件 69722 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\Include\core_cm3.h
文件 79281 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\Include\core_cm4.h
文件 23979 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\Include\core_cm4_simd.h
文件 15691 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\Include\core_cmFunc.h
文件 16108 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\Include\core_cmInstr.h
文件 530693 2014-09-07 15:49 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\ST\STM32F4xx\Include\stm32f4xx.h
文件 2096 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\ST\STM32F4xx\Include\system_stm32f4xx.h
文件 21726 2011-10-28 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\CMSIS\ST\STM32F4xx\Source\system_stm32f4xx.c
文件 2989 2020-04-30 14:27 ucos版本 扫地机器人避障系统设计与实现\源代码\main\adc.c
文件 267 2020-04-28 21:44 ucos版本 扫地机器人避障系统设计与实现\源代码\main\adc.h
文件 445645 2020-03-14 15:03 ucos版本 扫地机器人避障系统设计与实现\源代码\main\code.h
文件 273 2020-04-28 10:17 ucos版本 扫地机器人避障系统设计与实现\源代码\main\delay.c
文件 223 2020-04-22 13:43 ucos版本 扫地机器人避障系统设计与实现\源代码\main\delay.h
文件 44 2020-04-21 09:45 ucos版本 扫地机器人避障系统设计与实现\源代码\main\font.c
文件 35016 2014-01-02 17:22 ucos版本 扫地机器人避障系统设计与实现\源代码\main\font.h
文件 11745 2020-09-25 22:10 ucos版本 扫地机器人避障系统设计与实现\源代码\main\ILI9341.c
文件 2288 2020-04-29 10:31 ucos版本 扫地机器人避障系统设计与实现\源代码\main\ILI9341.h
文件 2460 2020-04-29 17:25 ucos版本 扫地机器人避障系统设计与实现\源代码\main\led.c
............此处省略227个文件信息
相关资源
- 51单片机PWM程序,占空比、周期可调整
- proteus仿真 AT89C51输出各种波形
- 00
- 51单片机读取温度数据存储到SD卡中并
- 【单片机】51单片机数码管显示万年历
- proteus_24C08—有注释(proteus里面使用的
- DS18B20分布式多点测温的Proteus仿真
- 基于proteus的单片机仿真--交通灯控制
- 带时间温度显示的室内灯光控制系统
- 51多机通信(内附Proteus及.hex文件)
- ucosII源代码 2.9版本全 Micrium-uCOS-II-V
- 51单片机中使用ucos ii的优缺点转
- IIC proteus仿真实验
- 8086交通灯 Proteus原理图及程序
- 单片机仿真软件proteus6.7免安装绿色版
- 关于proteus仿真arm7出现错误的问题
- 基于PROTEUS的ARM7显示系统设计与仿真实
- STM32+1602液晶proteus仿真.zip
- AT89C51+ADC0808 PROTEUS仿真
- 单片机驱动4相步进电机proteus仿真
- proteus元件库对照表 (整理清晰)
- 微机原理 十字路口交通灯控制 prot
- 中央空调室内智能温控器设计论文、
- 基于51单片机的交通灯设计
- 基于AT89C51的十字路口交通灯设计pro
- Proteus单片机仿真大全几百个part4
- Proteus升压电路仿真
- keil调试仿真技巧-从入门到精通
- 十字路口交通灯.pdsprj
- 12864液晶Proteus模型
评论
共有 条评论