/*********************************************************************************************/
本文档使用 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
/*********************************************************************************************/
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
stm32单片机ov7725采集图像实时图像处理led显示处理结果 (209个子文件)
OV7725.axf 593KB
keilkill.bat 401B
stm32f10x_tim.c 107KB
fonts.c 77KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
bsp_ili9341_lcd.c 31KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
bsp_xpt2046_lcd.c 24KB
stm32f10x_gpio.c 23KB
bsp_ov7725.c 22KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
stm32f10x_cec.c 11KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
bsp_sccb.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
bsp_sccb.c 6KB
stm32f10x_wwdg.c 6KB
stm32f10x_it.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
main.c 5KB
stm32f10x_crc.c 3KB
bsp_usart.c 3KB
bsp_led.c 2KB
bsp_key.c 2KB
bsp_SysTick.c 2KB
bsp_ov7725.crf 365KB
stm32f10x_tim.crf 362KB
main.crf 362KB
bsp_ili9341_lcd.crf 355KB
stm32f10x_can.crf 349KB
stm32f10x_it.crf 349KB
stm32f10x_adc.crf 348KB
stm32f10x_rcc.crf 348KB
stm32f10x_flash.crf 348KB
stm32f10x_i2c.crf 347KB
stm32f10x_usart.crf 346KB
stm32f10x_fsmc.crf 346KB
bsp_usart.crf 346KB
stm32f10x_sdio.crf 345KB
stm32f10x_spi.crf 345KB
stm32f10x_gpio.crf 344KB
bsp_sccb.crf 344KB
stm32f10x_dma.crf 344KB
stm32f10x_dac.crf 342KB
stm32f10x_cec.crf 342KB
system_stm32f10x.crf 342KB
stm32f10x_bkp.crf 342KB
stm32f10x_rtc.crf 342KB
stm32f10x_pwr.crf 342KB
stm32f10x_exti.crf 341KB
bsp_led.crf 341KB
stm32f10x_wwdg.crf 341KB
misc.crf 341KB
bsp_key.crf 341KB
stm32f10x_iwdg.crf 341KB
fonts.crf 340KB
bsp_systick.crf 340KB
stm32f10x_crc.crf 340KB
stm32f10x_dbgmcu.crf 340KB
core_cm3.crf 4KB
bsp_ov7725.d 2KB
bsp_ili9341_lcd.d 2KB
main.d 2KB
stm32f10x_dbgmcu.d 2KB
stm32f10x_flash.d 2KB
stm32f10x_usart.d 2KB
stm32f10x_it.d 2KB
stm32f10x_fsmc.d 2KB
stm32f10x_wwdg.d 2KB
stm32f10x_gpio.d 2KB
stm32f10x_exti.d 2KB
stm32f10x_sdio.d 2KB
stm32f10x_iwdg.d 2KB
system_stm32f10x.d 2KB
stm32f10x_dma.d 2KB
stm32f10x_can.d 2KB
stm32f10x_dac.d 2KB
stm32f10x_crc.d 2KB
stm32f10x_spi.d 2KB
stm32f10x_i2c.d 2KB
stm32f10x_pwr.d 2KB
stm32f10x_cec.d 2KB
stm32f10x_rcc.d 2KB
stm32f10x_rtc.d 2KB
stm32f10x_tim.d 2KB
stm32f10x_adc.d 2KB
共 209 条
- 1
- 2
- 3
Long-Giraffe
- 粉丝: 4
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0