参赛程序

所属分类:单片机开发
开发工具:C/C++
文件大小:8449KB
下载次数:0
上传日期:2019-07-30 09:30:25
上 传 者金貳胖
说明:  2017年全国大学生电子设计大赛电赛板球系统的程
(Procedures of Cricket System in 2017 National College Students Electronic Design Competition)

文件列表:
程序 (0, 2019-03-16)
程序\Doc (0, 2018-12-05)
程序\Libraries (0, 2018-12-05)
程序\Libraries\CMSIS (0, 2018-12-05)
程序\Libraries\CMSIS\core_cm3.c (17273, 2014-07-04)
程序\Libraries\CMSIS\core_cm3.h (85714, 2014-07-04)
程序\Libraries\CMSIS\startup (0, 2018-12-05)
程序\Libraries\CMSIS\startup\startup_stm32f10x_cl.s (15766, 2014-07-04)
程序\Libraries\CMSIS\startup\startup_stm32f10x_hd.s (15503, 2016-11-24)
程序\Libraries\CMSIS\startup\startup_stm32f10x_hd_vl.s (15692, 2014-07-04)
程序\Libraries\CMSIS\startup\startup_stm32f10x_ld.s (12376, 2014-07-04)
程序\Libraries\CMSIS\startup\startup_stm32f10x_ld_vl.s (13656, 2014-07-04)
程序\Libraries\CMSIS\startup\startup_stm32f10x_md.s (12765, 2014-07-04)
程序\Libraries\CMSIS\startup\startup_stm32f10x_md_vl.s (14073, 2014-07-04)
程序\Libraries\CMSIS\startup\startup_stm32f10x_xl.s (15955, 2014-07-04)
程序\Libraries\CMSIS\stm32f10x.h (633941, 2014-07-04)
程序\Libraries\CMSIS\system_stm32f10x.c (36557, 2014-07-04)
程序\Libraries\CMSIS\system_stm32f10x.h (2085, 2014-07-04)
程序\Libraries\FWlib (0, 2018-12-05)
程序\Libraries\FWlib\inc (0, 2018-12-05)
程序\Libraries\FWlib\inc\misc.h (8982, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_adc.h (21690, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_bkp.h (7555, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_can.h (27559, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_cec.h (6573, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_crc.h (2162, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_dac.h (15233, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_dbgmcu.h (3818, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_dma.h (20754, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_exti.h (6824, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_flash.h (25445, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_fsmc.h (27016, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_gpio.h (20175, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_i2c.h (30029, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_iwdg.h (3828, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_pwr.h (4383, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_rcc.h (30452, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_rtc.h (3857, 2014-07-04)
程序\Libraries\FWlib\inc\stm32f10x_sdio.h (21863, 2014-07-04)
... ...

/*********************************************************************************************/ 本文档使用 TAB = 4 对齐,使用keil5默认配置打开阅读比较方便。 【*】程序简介 -工程名称:OV7725摄像头-液晶显示 -实验平台: 秉火STM32 指南者 开发板 -MDK版本:5.16 -ST固件库版本:3.5 【 !】功能简介: 驱动摄像头,把采集得的图像直接显示在液晶屏上。 【 !】实验操作: 连接摄像头、3.2寸液晶屏,下载程序后复位开发板即可,屏幕会显示采集得的图像, 可通过旋转镜头调焦。 按Key2可以使用黑白模式。 bsp_ov7725.c文件中cam_mode提供了几组不同的配置, 可以根据其中的注释说明使用不同的配置测试下 修改cam_mode的值可实现不同的配置 /***************************************************************************************************************/ 【*】 引脚分配 摄像头: 摄像头与STM32的普通GPIO相连,使用模拟I2C: OV7725_OE <---> PA3 //FIFO输出使能 OV7725_RRST <---> PA2 //读指针复位引脚,低电平复位 OV7725_RCLK <---> PC5 //FIFO读时钟 OV7725_XCLK <---> 不需要连接,OV7725时钟输入引脚,摄像头内已自带晶振 OV7725_VSYNC <---> PC3 //OV7725帧同步信号 OV7725_WRST <---> PC4 //写指针复位引脚,低电平复位 OV7725_WEN <---> PD3 //FIFO写使能 OV7725_HREF <---> 不需要连接,本程序控制不需要这个信号 OV7725_D[0:7] <---> PB[8:15] //FIFO数据信号线 OV7725_SIO_C <---> PC6 //I2C 时钟信号,模拟 OV7725_SIO_D <---> PC7 //I2C 数据信号,模拟 液晶屏: 液晶屏接口与STM32的FSMC接口相连,支565格式, 使用FSMC产生8080时序与液晶屏驱动芯片ILI9341通讯. /*液晶控制信号线*/ ILI9341_CS <---> PD7 //片选,选择NOR/SRAM块 BANK1_NOR/SRAM1 ILI9341_DC <---> PD11 //PD11为FSMC_A16,本引脚决定了访问LCD时使用的地址 ILI9341_WR <---> PD5 //写使能 ILI9341_RD <---> PD4 //读使能 ILI9341_RST <---> PE1 //复位引脚 ILI9341_BK <---> PD12 //背光引脚 数据信号线省略,本实验没有驱动触摸屏。 串口(TTL-USB TO USART): CH340的收发引脚与STM32的发收引脚相连。 RX<--->PA9 TX<--->PA10 /*********************************************************************************************/ 【*】 版本 -程序版本:1.0 -发布日期:2013-10 /*********************************************************************************************/ 【*】 联系我们 -秉火论坛 :http://www.firebbs.cn -淘宝店铺 :https://fire-stm32.taobao.com /*********************************************************************************************/

近期下载者

相关文件


收藏者