Yet Another OV7670 Cam to LCD with some differences...

cspwcspw
Posts: 18
Joined: Mon Apr 16, 2018 5:08 pm

Yet Another OV7670 Cam to LCD with some differences...

Postby cspwcspw » Sun Sep 30, 2018 4:02 pm

Hi

Release of my latest project:

I now send camera pixel data directly from the OV7670 to my LCD screen, so the pixel data bypasses the ESP32, and
I don't need to use ESP32 I2S or DMA. The ESP32 has to coordinate everything.

My demo is at 25 frames per second at 320x240. And the LCD has a touchscreen, so we can tap on the screen to take a
snapshot of the current image. The ESP32 then reads the pixels from the LCD framebuffer and uploads them (currently
slowly, over serial) to the host computer. So I can capture 320x240 images to my laptop.

There is a two-minute demo video at https://www.youtube.com/watch?v=3Ga8L9qx-Yk, and the source code and
writeup is on github at https://github.com/cspwcspw/ESP32_YetAnotherCamToLCD.

Enjoy.
Peter

User avatar
Vader_Mester
Posts: 300
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

Re: Yet Another OV7670 Cam to LCD with some differences...

Postby Vader_Mester » Thu Oct 04, 2018 10:01 am

Interesting project.
I wanted to use the same method by connecting a HyperBUS RAM and an LCD, the RAM acting as a fast frame buffer for the ESP32 to modify.
I might revisit this idea, after seeing this :)

Vader[BEN]

Code: Select all

task_t coffeeTask()
{
	while(atWork){
		if(!xStreamBufferIsEmpty(mug)){
			coffeeDrink(mug);
		} else {
			xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
			xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
		}
	}
	vTaskDelete(NULL);
}

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: Yet Another OV7670 Cam to LCD with some differences...

Postby Deouss » Thu Oct 04, 2018 11:57 am

I just notice that the capture is extremely slow. Camera is basically working independently from esp software control except reading buffer on snapshot. This gives no advantage of intercepting or recording a video.
I think idea of ram buffer on esp is much better and practical. Especially fast psram

Who is online

Users browsing this forum: No registered users and 8 guests