TCM8240MD connector and example

No way!

I have 5 of these! I’ll make em usefull even if it kills me!

Right now I am writing a font for my 84x48 LCD display so I can use it in a logger I am making. Once that’s done I’ll get back to the cam.

KreAture,

I was thinking that this camera might be a good application for the new AVR XMega processors. They have a separate peripheral bus that works independent of the processor including DMA. Also run at 32MHz which should help. Just a thought, haven’t looked that closely yet.

Tom

Yes westhoff

I’ve been pondering that myself.

I am still waiting for samples at work though…

KreAture,

Do you have any idea of the file sizes for jpeg mode? (How much ram needed to buffer a photo)

Did you want to send streaming video, or snapshots?

Tom

KreAture:
Yes westhoff

I’ve been pondering that myself.

I am still waiting for samples at work though…

Both stills and low fps video.

No streaming really. Just storage to flash.

As for filesize, it is really up to us as it is possible to set the quantizer/compression.

I got the TCM8230MD working, here is an image I captured from it…

http://js.cx/~justin/images/camera_test_image.png

NICE!

That’s in RGB or YUV mode right ?

What was the names of the registers you had to set to get the contrast stuff ok ?

This is RGB565 @ 128x96 (12288 bytes of RAM). Didn’t touch the contrast registers… I’m thinking I should be able to process 5-8 fps once I clean up my FIQ ASM routine. I’m still dorking around with resolutions and colors and stuff, not quite ready to reveal all my cards just yet.

Here is an image to demonstrate I’ve got color working now… As of this posting I can capture and process 4.5 (128x96) frames per second on the AT91SAM7S64… I could do 4.5 (160x120) frames if I had the AT91SAM7S256, but for my application it’s not necessary just yet. My assembly routine is 11 instructions, but I’m focused on trimming that down so I can perhaps achieve 5 or even 6 frames per second. Once my ARM9 9261 kit arrives I should have no problem doing 30 fps at 160x120.

http://js.cx/~justin/images/test_image3_color.png

Nice!

The TCM8230MD seem a bit simpler than the TCM8240MD.

The cropping is all wrong on the TCM8240MD and that has been wasting a lot of my time. Also, it appears to shoot only green color in RGB mode.

Keep in mind the fastest I can drive the camera right now is 3.5328 MHz to allow for approx 500ns to handle the FIQ interrupt, buffer the byte, and increment a counter (among other things).

I completely rewrote the assembly handler, removed the interrupt on dclk, and now I’m getting 10.4 frames per second at 128x96. I can bump it up 17 frames per second if I only focus on the red or blue channels. Right now I am generating a 7-bit grayscale image from the RGB565 image data. I think I won’t be doing much more development work since I can basically get the camera to do what I want now…

Just bought it and looking forward to joining the hackfest! :twisted:

Anyone tried to drive these with a CPLD + SRAM, an serialize the output at a lower frequency to the MCU ?

I don’t think so, but that would certainly be valuable for those that wish to use the camera on an 8-bit PIC or AVR.

This looks interesting:

http://www.qpixeltech.com/docs/QL305%20 … 0Brief.pdf

Hello,

I also want to work with the camera TCM8240MD.

Is there a socket provided for that camera? And how do the pins look like? Are there actually pins lead out to the sides of the package or are the pins on the lower side of the package? Does anybody have a more detailed documentation about the dimensions?

It would be also nice to see a detailed picture of the pins of the camera.

Thank you very much!

Here is link to camera, datasheet link has all the info.

http://www.sparkfun.com/commerce/produc … ts_id=8668

The thread has been silent for a while… KreAture, Twingy, any progress you might want to share…?

Ste

I for one have been looking into the avr32 in case it could be used.