diy stc mcu combined wireless small camera with ov7670 , nrf24l01 wireless transceiver module....

7
DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD (Provide code) Because I am familiar with BMP image display under the FAT32 file system and the application of NRF 24L01 wireless transceiver module.What’ more, I own a OV7670 camera in my hand, so I decide to make a project which I dream about since my childhood. The project is the wireless video transmission and display on wireless mobile device. I use one week to debug the OV7670 and I estimate roughly that the time of transmitting a 320*240 16-bit color picture is about 2 seconds and if only the monochrome picture, it can transmit 4 to 5 160*120 picture in one second.And the coherence is just so so ,but is OK just to play .The image acquisition terminal uses 24M crystal oscillator and the acceptation display terminal uses 33M. The MCU is STC12LE5A32AD 1T 51 SCM. While the problem appears, why the picture taken by the

Upload: wanita-long

Post on 31-Aug-2014

162 views

Category:

Self Improvement


3 download

DESCRIPTION

Because I am familiar with BMP image display under the FAT32 file system and the application of NRF 24L01 wireless transceiver module.What’ more, I own a OV7670 camera in my hand, so I decide to make a project which I dream about since my childhood. The project is the wireless video transmission and display on wireless mobile device.

TRANSCRIPT

Page 1: DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD

DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD (Provide code)

Because I am familiar with BMP image display under the FAT32 file system and the application of NRF 24L01 wireless transceiver module.What’ more, I own a OV7670 camera in my hand, so I decide to make a project which I dream about since my childhood. The project is the wireless video transmission and display on wireless mobile device.

I use one week to debug the OV7670 and I estimate roughly that the time of transmitting a 320*240 16-bit color picture is about 2 seconds and if only the monochrome picture, it can transmit 4 to 5 160*120 picture in one second.And the coherence is just so so ,but is OK just to play .The image acquisition terminal uses 24M crystal oscillator and the acceptation display terminal uses 33M. The MCU is STC12LE5A32AD 1T 51 SCM.

While the problem appears, why the picture taken by the VO7670 the green color will turn to the red and other color is basically no color ? Everything is normal when I debug.The output format is RGB565 and I try to change the register configurations which possibly have influence on.But the result are the same.

In my opinion, it should not be the problem of TFT display or disturb. And it may be the problem of the configuration of OV7670.But I don’t know which register configuration is wrong. I really hope someone could help me out about this problem.

At first I think it is the reason that I haven’t properly adjust the hue, that is to say it may be the hue register configuration of OV7670 is wrongly adjusted, but the key point is that there is no hue register configuration in OV7670. I am confused about it, it will be appreciated who can help me out.

Show you some pictures

This is an image acquisition module which is powered by the independent old lithium battery of the cell phone.

Page 2: DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD
Page 3: DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD

Following is the TFT receiver display module. This is also powered by the old lithium battery of the cell phone.

Page 4: DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD
Page 5: DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD

It is the picture taken by the OV7670.You can see that the green color turn to red.

Page 6: DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD

It is the original picture.

Page 7: DIY STC MCU combined wireless small camera with OV7670 , NRF24L01 Wireless transceiver module. 2.8”TFT LCD

Following is my program. There are many useful subroutine, including the drive of OV, NRF24L01, TFT and SCCB Bus. The program is a little messy, and the people who master them and no need to see.