Arduino Forum

Forum 2005-2010 (read only) => Hardware => Development => Topic started by: Alexander_Kevin on Apr 20, 2010, 12:55 pm

Title: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 20, 2010, 12:55 pm
We make this Robot Camera Kits  With 2.8" 65K touch TFT Display (Arduino Compatible)

It includes camera, screen and control board. Control board is placed on the back of the screen. Camera sensor generates image data which is then processed real-timely by control board and displayed on the screen.
The Screen is 2.8 " and 65K color, supporting touch TFT function.
Camera is 30W Pixel OV7670 camera, which can supuly distinct image for normal use.

Control board is integrated with Atmega 32. So it is compatible with Arduino, which makes it possible to communicate with Arduino easily.
Many interfaces on the control board are still reliable, including 4-channel ADC, 1 channel USART, ISP port and 2 channel PWM, which makes function development much easier. :)

5V power is supplied to the control board via USB port, without any special requirement for power module.
OV7670 screen's power supply is 2.8 ~ 3.0V, which is TTL level for most of MCU.
TD/SD card can be connected to SPI port, which makes image storage possible.
Camera interface is plug-in mode. It is very easy to connect or disconnect with control board. Control board and camera can be used separately. :)


(http://www.emartee.com/Images/websites/emartee.com/New%20Products.jpg)


(http://www.emartee.com/Images/websites/emartee.com/T2ccBaXk0cXXXXXXXX_!!110546110111(2).jpg)


(http://www.emartee.com/Images/websites/emartee.com/T2hZBaXkdcXXXXXXXX_!!110546110(1).jpg)


(http://www.emartee.com/Images/websites/emartee.com/T2PctaXdpcXXXXXXXX_!!110546110111.jpg)


(http://www.emartee.com/Images/websites/emartee.com/T2scxaXcBdXXXXXXXX_!!110546110.jpg)


(http://www.emartee.com/Images/websites/emartee.com/T2UZBaXdtcXXXXXXXX_!!110546110(1).jpg)

Our module is more powerful, it can achieve:

- TFT take a photograph real time when you need
- show the picture at the same time
- storage the picture you take automaticly
- read data from SD card;
- read data from TF card;
- send data to LCD screen for display;
- read touchscreen input;
- control touchscreen input by a button
- get time from RTC.
- and some other more update

We will release new version soon ,which is more powerful than this version......


More information will update soon............... ;) ;) ;) ;)

Title: Re: Robot Camera  With  2.8" TFT
Post by: amacmullen14 on Apr 20, 2010, 01:15 pm
Any chance of doing image analyzing, like blob tracking or color tracking, with this thing and an arduino?  
Title: Re: Robot Camera  With  2.8" TFT
Post by: leesen0218 on Apr 20, 2010, 01:27 pm
I am new guy to this forum.

Wow.......cool :D

But I just wonder that how can it use with Arduino and how it work ?
I am requesting more information.thanks.

Regards
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 20, 2010, 02:01 pm
To sciguy

   It can do some image analyzing like blob tracking or color tracking when you use with Arduino[ch12289]Arduino sensor brick[ch12289]Robot special sensor . :)

   Regards
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 20, 2010, 02:05 pm
To Jackson :

  Thanks for care.
  You can use it with Arduino by USB interface through Mini USB or Sonsor shield shield.
  You can also connect it to your computer directly by USB cable.

Regards
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Apr 20, 2010, 02:55 pm
Looks like the same LCD as this:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1256896315
It also looks like it has the touch screen part on it so can all of the pins be accessed through the pin headers?

You did say ATMega 32... Isn't that a bit lacking on space? :p

Any updates? Ideas of price?

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 20, 2010, 04:07 pm

To mowcius :

Our module is more powerful, it can achieve:

- TFT take a photograph real time when you need
- show the picture at the same time
- storage the picture you take automaticly
- read data from SD card;
- read data from TF card;
- send data to LCD screen for display;
- read touchscreen input;
- control touchscreen input by a button
- get time from RTC.
- and some other more update

We will release new version soon ,which is more powerful than this version......information update.......
Title: Re: Robot Camera  With  2.8" TFT
Post by: leesen0218 on Apr 20, 2010, 04:20 pm
I'm looking forward to the new version of this module
and I'm looking for the same kind of module to use with my
robot, which compatible with my arduino.
How to achieve that put the picture into the storage
of arduino small space?

expect your reply.Thanks

-JACKSON
Title: Re: Robot Camera  With  2.8" TFT
Post by: pluggy on Apr 20, 2010, 06:56 pm
I'm wondering how you are going to make any headway into a VGA camera's image which is about 1MB native and about 20-30k as a jpeg with an 8 bit processor with 2kB of ram.  The arduino will probably take 10 minutes to establish if a frame has any blue in it......

It's pretty obvious that many people here have a very limited perception of how seriously low powered an Atmega microcontroller actually is.  

Hint : your computer has a million times more memory and storage than a Duemilanove. (literally)
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Apr 20, 2010, 09:01 pm
I think this display and touch screen have a lot of potential but I would have thought that you want a mega-type chip at least (1280?). Yes, the ATMega chips are not very powerful but a lot has been done with them. I do however doubt how fast this camera, screen module thingy will be.

If it is cheap then I might pick one up though.

I would be interested to know more about the display as it is obviously cheap and relatively simple to interface with. Is there any more information available about the screen itself and how it is interfaced with?

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: pluggy on Apr 20, 2010, 09:17 pm
I could think of a good few uses for it, but it would need to be hooked up to something with a bit more go than an Atmega.  Something like this could do it justice :

http://www.newit.co.uk/shop/proddetail.php?prod=GuruPlug-Server

32 bit ARM processor and half a gig of RAM ;)
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 22, 2010, 05:02 pm
It already has the function of storing image data to SD/TF card which is connected to it. :)
Quote
I'm looking forward to the new version of this module
and I'm looking for the same kind of module to use with my
robot, which compatible with my arduino.
How to achieve that put the picture into the storage
of arduino small space?

expect your reply.Thanks

-JACKSON
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 22, 2010, 05:07 pm
Well, soon i will upload a piece of video demo in Youtube. It will tell that it is true.
Make impossibility possible. That's the art of technology. ;)
Quote
I'm wondering how you are going to make any headway into a VGA camera's image which is about 1MB native and about 20-30k as a jpeg with an 8 bit processor with 2kB of ram.  The arduino will probably take 10 minutes to establish if a frame has any blue in it......

It's pretty obvious that many people here have a very limited perception of how seriously low powered an Atmega microcontroller actually is.  

Hint : your computer has a million times more memory and storage than a Duemilanove. (literally)
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 24, 2010, 06:04 pm
[size=14][size=16]Here you can see the video demo: http://www.youtube.com/watch?v=kcQdJMSPJIU[/size][/size] :)
Title: Re: Robot Camera  With  2.8" TFT
Post by: pluggy on Apr 24, 2010, 11:37 pm
Quote

Here you can see the video demo: http://www.youtube.com/watch?v=kcQdJMSPJIU  


I never had any doubts that it could display the camera picture on the screen, but how exactly does this involve an Arduino ?

Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Apr 25, 2010, 12:35 pm
Quote
I never had any doubts that it could display the camera picture on the screen, but how exactly does this involve an Arduino ?

Well I was querying the fact that it would do all that while being controlled by an ATMega32 (yes 32).
Quote
I do however doubt how fast this camera, screen module thingy will be.

I think that is pretty impressive.

The arduino would just control the taking of a picture and whatever else you want it to do as far as I understand it. The onboard ATMega32 controls the camera and screen (and storing of pictures etc)

Could the camera be connected to an arduino, data sent via XBee and then the data sent to the screen for the screen to display it/take pictures etc?
Any news on availability or pricing yet?

Quote
I would be interested to know more about the display as it is obviously cheap and relatively simple to interface with. Is there any more information available about the screen itself and how it is interfaced with?

Can I get any info on the display?

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 26, 2010, 10:52 am
Quote
I never had any doubts that it could display the camera picture on the screen, but how exactly does this involve an Arduino ?

Well, you can see there are still many vacant pins on the control board. You can expand the function to work with Arduino. :)
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 26, 2010, 11:21 am
Quote
Quote:
I never had any doubts that it could display the camera picture on the screen, but how exactly does this involve an Arduino ?
Well I was querying the fact that it would do all that while being controlled by an ATMega32 (yes 32).
Quote:
I do however doubt how fast this camera, screen module thingy will be.
I think that is pretty impressive.

The arduino would just control the taking of a picture and whatever else you want it to do as far as I understand it. The onboard ATMega32 controls the camera and screen (and storing of pictures etc)

Could the camera be connected to an arduino, data sent via XBee and then the data sent to the screen for the screen to display it/take pictures etc?
Any news on availability or pricing yet?

Quote:
I would be interested to know more about the display as it is obviously cheap and relatively simple to interface with. Is there any more information available about the screen itself and how it is interfaced with?
Can I get any info on the display?

Mowcius

Yes, you are right. You can use Arduino to take pictures. However, you can also use the ATMega32 to take pictures.
Quote
Could the camera be connected to an arduino, data sent via XBee and then the data sent to the screen for the screen to display it/take pictures etc?

Yes, camera can be directly connected to Arduino. And then data is send to the display wirelessly and display it.
Quote
Any news on availability or pricing yet?

now we are still testing it. Once testing is finished, price information will be updated here :)
And the display can also be directly drived by Arduino. :)
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Apr 26, 2010, 11:36 am
Quote
Yes, camera can be directly connected to Arduino. And then data is send to the display wirelessly and display it.

Cool, seems like these things just turn up at the right time.

Regarding pricing, I am hoping it will be about $50-60 but I will have to wait and see I suppose.

Quote
Can I get any info on the display?
Title: Re: Robot Camera  With  2.8" TFT
Post by: takshil on Apr 26, 2010, 03:42 pm
It's all that I want for my project!

I just have to wait more info.
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 26, 2010, 07:55 pm
Quote
Can I get any info on the display?

Would you please tell me more about what you want to learn?
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Apr 26, 2010, 10:40 pm
Quote
Would you please tell me more about what you want to learn?

How is the display is controlled on the board (with the arduino)?
Also is there a datasheet on the display somewhere (just the display).

Thanks,
Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on Apr 27, 2010, 08:35 pm
Quote
How is the display is controlled on the board (with the arduino)?
Also is there a datasheet on the display somewhere (just the display).

Thanks,
Mowcius


Dear Mowcius
  You can use Arduino to control the camera to take photo[ch12289]to export and import the picture from SD and TF card[ch12289]to read and display pictures from the SD and TF card. You can also use Arduino to control the camera to be your robot's eyes..... ;) and you can extend other function of this camera. :)
This camera can also be compatible with some equipment.
 We will release new version soon ,which is more powerful than this version......
More information will update continuously...............  

Regards
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Apr 27, 2010, 08:42 pm
Quote
You can use Arduino to control the camera to take photo[ch12289]to export and import the picture from SD and TF card[ch12289]to read and display pictures from the SD and TF card. You can also use Arduino to control the camera to be your robot's eyes..... and you can extend other function of this camera.

Yes, I was aware of this. How does the arduino control the display? What is the code like?
Is there a datasheet for the display itself?

Maybe I should just wait for the update :p

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: pluggy on Apr 27, 2010, 09:00 pm
Quote
You can also use Arduino to control the camera to be your robot's eyes..... Wink


When you get the arduino to act on what the camera is seeing, wake me up.

Wink is right.......
Title: Re: Robot Camera  With  2.8" TFT
Post by: Imahilus on Apr 28, 2010, 09:53 pm
How long would a regular arduino (with a atmega328) take to download a default resolution picture from the camera?
It sounds nearly too good to be true.

I have to say I'm curious in the same way as mowcius, you've allready told us what we can make the atmega/camera combination do, but in what manner does the atmega interface with the actual camera? for instance: are you directly controlling the electrical circuit of the camera with the atmega? serial line?
We want to know what makes it 'tick', so to speak  :P
We love those gruesome details on its inner workings!
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Apr 29, 2010, 09:46 am
Quote
How long would a regular arduino (with a atmega328) take to download a default resolution picture from the camera?
It sounds nearly too good to be true.

Well actually it's the onboard ATMega32 which can do that. He states that you can save images to an SD card via an SPI interface.
I presume the camera is 640x480 max so I would have thought a second or two would be possible on an ATMega32. Not too slow to be a problem for me. I want to set it up to send video over a wireless link and automatically take a picture every 2 minutes (or maybe every 5). That should then be able to store a load on a 2GB microSD and I will have a complete log of what my robot has been doing. If it can do phsical recognition then I would be interested in some stuf involving green lasers :p

Despite the lack of info and the possibility of it being a bit slow, it still sounds good.

Quote
in what manner does the atmega interface with the actual camera?

As I understand it, the arduino can be set up to just send commands to take an image etc (presumably over serial), or you could use the 40-pin header to have much more control over the display (presumably the display driver circuit) and camera.

Quote
We love those gruesome details on its inner workings!

I will make a few enquiries on the other board that seems to use this LCD to try and find out what it use/what the display actually is...

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: pluggy on Apr 29, 2010, 09:50 am
Quote
How long would a regular arduino (with a atmega328) take to download a default resolution picture from the camera?


If the arduino is instructing the camera to download to the storage on the interface board, not long, if its downloading to itself, it wouldn't.  

Quote
It sounds nearly too good to be true.


I'll be kind and say its marketing hype.


Title: Re: Robot Camera  With  2.8" TFT
Post by: borref on Apr 29, 2010, 10:42 am
Quote
I'll be kind and say its marketing hype.

It certainly is marketing, but I would not label it as hype.

The gut that makes this tick is a dual interface display controller.

On one side it can interface to a microcontroller (choice of SPI, 8-bit or 16-bit). The controller supports 18-bit RGB (262k colors) with the QVGA resolution of 320x240. For every pixel on the screen there is 18-bits of RAM to control its color. This RAM makes up the display controller frame buffer.

The other side can interface to a live video feed (camera). This is the traditional horizontal/vertical sync video that is taken from the camera and redirected to the LCD panel by the display controller. Because of its dual interface it also has the option to overlay the video on whatever is in the framebuffer and even rescale the overlay.

When you "take a picture" you simply freeze the current video feed and capture the image in the display controller frame buffer. Once it's there you can stream it (via SPI or 8/16 bit interface) to an SD card. Even a full resolution (320x240) image can be read from the controller in less than a second (e.g. SPI at 8MHz) by the onboard AtMega. Writing to an SD card (in 512 byte chunks) will however add to the time.

Really there is no magic about this if you understand how it works and even image analysis (object detection etc.) would be possible on an AtMega with appropriate software.

As for marketing - the AtMega32 is not on the list of supported Arduino AVR's - nor is the board itself. As such I think labeling it as Arduino compatible is a stretch.  Also when you add software for LCD support, a couple fonts, touch controller software and an SD card library there is not much left on an AtMega for other tasks.

As for what Mowicus wants I still think this is within reach.
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Apr 29, 2010, 02:11 pm
Quote
As for what Mowcius wants I still think this is within reach.

Quote
We will release new version soon ,which is more powerful than this version......

Well maybe the reason it is not currently on a 328 is that they might have been caught up in that chip shortage we had not so long ago. Hopefully the new version will be a 328.

Quote
and even image analysis

Well unfortunately I'm not that good on stuff like that so I will wait for some more inclined people to make that work :P

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: Imahilus on Apr 29, 2010, 10:41 pm
Interesting way to handle the pictures.
I suppose a horrible oversight on my part aswell, obviously you don't need an entire image to start processing it.. small chunks will do fine aswell...
Again, interesting  :)
Title: Re: Robot Camera  With  2.8" TFT
Post by: DeadEye on May 02, 2010, 07:06 pm
Cool. I've been thinking about this a long time. I'll definitely buy it once it's released.
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on May 06, 2010, 03:26 pm

Hey ,guys we release new version finally..... ;) ;)

The new version feature :
1) OV7670 standard module

2) With TF card socket,digital photo frame function

3) ATMEGA328 and Atmega32 - MCU AVR (one kind is with Atmega328 and the other kind is with Atmega32) ;) ;)

4) on-board special touch screen control IC XPT2046 (compatible ADS7843),so it support touch screen. :)

5) on-board 2.8 inches 65K, touch screen color TFT

6) with an independent button

7) with independent standard ISP firmware programming port

8) with independent USB power supply

(http://www.emartee.com/Images/websites/emartee.com/T2FilfXo4cXXXXXXXX_!!110546110.jpg)

(http://www.emartee.com/Images/websites/emartee.com/T2OyFfXdFaXXXXXXXX_!!110546110.jpg) :) :)
Title: Re: Robot Camera  With  2.8" TFT
Post by: leesen0218 on May 06, 2010, 04:08 pm
wow[ch65292]it's cool ;)
Title: Re: Robot Camera  With  2.8" TFT
Post by: elecpost on May 06, 2010, 04:25 pm
oh, :-*I've been looking forward to for a long time, and now ATMEGA328 match the camera  finally! Hope that this is the product shall be able to surprise! ;D
Title: Re: Robot Camera  With  2.8" TFT
Post by: pluggy on May 06, 2010, 05:55 pm
A couple of marketing clones here by the looks of things, would a mod care to check out a few IP addresses ? Like the last 3 posts in this thread ?
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on May 06, 2010, 09:26 pm
Hmm. Maybe.

I still would like this board though. If it is comparitive in price to the QVGA shield (with the same LCD), then I will be snapping one up. I want to have the camera send data wirelessly via an xbee to a controller and the have the screen display that. Possibly with an overlay of info if possible.
I would then have it save an image every 5 minutes or so (I could get quite a few hours on to a 2GB memory card then!)
Not sure if I have a use for the touch screen yet.

If this is a nice price then I will buy one. If it is more than about $60 then I will probably wait a bit for it.

With the ATmega328 now (thankfully), it is more enticing than before.
I think you need to release it soon though (even if you have limited stock) as people want to know how much it is and what code is available.

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: Alexander_Kevin on May 09, 2010, 08:17 pm
@Mowcius

I just want to show it to the guys who is interested in , I have no plan to manufacture about this ..... ;) ;)

I am tiding all the information about  Robot Camera  With  2.8" TFT , and I will open all the information including schematic diagram[ch12289]eagle file[ch12289]datasheet etc to you guys.... :)
you can make  it yourself
or if there are many guys need , I will entrust one company or one shop to manufacture and sell at a best price. :P :P
Thanks for you care indeed. ;)
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on May 09, 2010, 09:56 pm
Quote

I just want to show it to the guys who is interested in , I have no plan to manufacture about this .....

I am tiding all the information about  Robot Camera  With  2.8" TFT , and I will open all the information including schematic diagram[ch12289]eagle file[ch12289]datasheet etc to you guys....
you can make  it yourself
or if there are many guys need , I will entrust one company or one shop to manufacture and sell at a best price.
Thanks for you care indeed.

Well that is the nicest thing I have heard you say on this forum.
Please stop spamming everything with your products though...

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: cowjam on May 13, 2010, 04:32 pm
I'm a little confused, is this a real product?

I'd really like to be able to have a camera linked to one arduino send pictures via xbee to another, where it'd show them on a small screen.  this'd probably be cheaper than screen and camera separately.

The grand plan is to float a camera under a balloon (a tethered one), have it shift round both axes.  It'd be arduino controlled rotation and shooting, with an arduino - attached camera to show roughly what the camera can see.
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on May 13, 2010, 05:04 pm
Quote
I'm a little confused, is this a real product?

It has been made but is is not being sold as a product. If you read the thread then it tells you this fact.

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: mbmosher on Jun 06, 2010, 04:52 am
So wait.  I can't buy these?  ever?  That's crazy - I could use these tomorrow!  Especially if I could put a pair of xBees between the camera and display.

Send it over to Lady Ada, she'd produce it I imagine.
Title: Re: Robot Camera  With  2.8" TFT
Post by: swseansw on Jun 06, 2010, 08:33 pm
It can be found on Ebay.
Just search on Ebay: AVR Camera REV 4.0 with TF Screen
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Jun 06, 2010, 09:30 pm
Only one... Can't say I'll be bidding for such a high starting price.

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: delphi on Jun 14, 2010, 03:31 pm
Hi,

Is this http://cgi.ebay.com/2-8-TFT-LCD-Module-AVR-Resource-OV7670-CMOS-Camera-/190364668156?cmd=ViewItem&pt=LH_DefaultDomain_0&hash=item2c529e50fc item?

Alvaro
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Jun 14, 2010, 08:50 pm
Well that wasn't the one I found but it looks the same...

Looks like someone made more than one then :P

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: rj44319 on Jun 15, 2010, 08:30 pm
Dos any one know how much one costs?
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Jun 16, 2010, 10:36 am
Quote
Dos any one know how much one costs?

Umm, didn't you look at the ebay links?

Starting at $48.

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: rj44319 on Jun 16, 2010, 02:08 pm
Did anyone figured out how to use xbees to have the monitor wireless from the camera?
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Jun 16, 2010, 11:26 pm
Quote
Did anyone figured out how to use xbees to have the monitor wireless from the camera?

Xbees are too slow for this. You would get a frame every second or so...

If that's what you want to do then you need to look into other systems, maybe buy a redy made wireless camera setup, it would be cheaper!

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: rj44319 on Jun 17, 2010, 12:02 am
That is fine, that is all I need....
Any info?
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Jun 17, 2010, 11:40 am
Quote
That is fine, that is all I need....
Any info?

Umm, nope  :P

I do not know of a project that has done it and I would have not thought it would be easy so I think you're on your own for that. I just know that theoretically it wuld be possible but not very quickly. First off, you probably want to start with a better board than the arduino but I don't know how to go about it.

If you are needing to ask these questions then maybe it is a bit beyond your capabilities to code for it. I know it is beyond mine! As I said, a ready made wireless camera system will be faster and probably cheaper.

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: reha on Sep 05, 2010, 05:44 am
Friends,
I already buy one board that was explained at the beginning of the tread (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=190364668156&ssPageName=STRK:MEWNX:IT#ht_7600wt_912) , but it is slightly different (from the picture I can seen) from the one explained as new version ( http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=200475513524&ssPageName=STRK:MEWAX:IT#ht_7444wt_912 )

1) position of USB connector is on left handside
2) No SD socket on the board

But, sadly documantation is nothing.. Can anyone help me to interface to Arduino environment? many thanks in advance, reha
Title: Re: Robot Camera  With  2.8" TFT
Post by: rrak on Oct 23, 2010, 01:58 pm
Hi.
I am working on the same topic. Bought the camera some weeks ago. I am currently rewriting the camera to do some image processing. Gave me some sleepless nights already. unfortunately the board is, as already said, poorly documented and not well designed.

actually the board is only useful for one task : displaying the ov7670 camera data on the tft display. well that works well, but you would not need a microcontroller then, because the databus of the camera already fits well to the tft controller. the is no processing required in order to do that. the given examples are written in some really bad c manner. no useful comments or other stuff.

another misunderstanding is that you can't use the mmc card socket, the camera, the tft, and the touch controller simultaneously. thats not possible, since all of them are more less connected to the same data bus. either you do some touch screen stuff, or mmc card stuff, or camera stuff. that kind of lame.

what did i do so far :

in order to do image processing, you need the PCLK and HREF Pins. These are the Pixel Clock and the horizontal reference. The vertical clock VREF is already connected to PD2 (Int0) on the atmega. Since the pins PD4 and PD5 are not connected, i made a Pinout board for the camera an soldered a jumper wire from HREF to PD5 and PCLK to PD4. Voila, the first code is able to count the Pixels and the Lines of the Frame. By the way : In the original register settings of the Camera, the Pixel Clock Frequency was way too high. I needed to change them, in order to make image processing possible.

Next thing : There is no RS232 to USB converter on the Board. The TX and Rx Pins of the USB Connector are not assigned. I absolutly do not get why ! So you just supply power over usb. So i took a FTDI Breakout Board and wired the serial port of the Atmega to it. Voila, i am able to Communicate with the board. The next code was able to give the databus bayte via serial. you get something like 00001111
for the color red, in the RGB444 XR GB mode.

That the state so far. if there is anyone here, who is working on the same issue, answer here. it is a really time seeking task. i might need some help. if anyone needs the code, come and get it. its written in c, but well documented. but first if all, you need to modificate the board like described above.


Title: Re: Robot Camera  With  2.8" TFT
Post by: rrak on Oct 23, 2010, 02:12 pm
To Give an Example, you will find a function below, which counts the HREF Ticks of the camera. HREF is high, when a new line starts within a frame. Lets say you have VGA Resolution with 640 x 480 pixel. 480 would be number of lines. Look into the datasheet of the OV7670 ( Timing Specification ).

As already said : HREF on PD5 ( Use Jumper Wire ), RX and TX to FTDI232 Breakout Board. ( You can use the RX and TX pins of an arduino too. )

Code: [Select]

void _COUNT_HREF(void)
{
unsigned char HREF_s[7];
uint16_t ticks_HREF;
ticks_HREF = 0;

while(isVSYNdown);
while(isVSYNup);

     while(isVSYNdown)
     {
           if(isHREFup)
           {
                 ticks_HREF++;
                 while(isHREFup);
           }
                 
     }

     itoa(ticks_HREF,HREF_s,10);
     uart_puts("HREF Ticks :");
     uart_puts(HREF_s);
     uart_puts("\n");
}


This gives on Serial Port the string "HREF Ticks :480" every time a new frame starts.
Title: Re: Robot Camera  With  2.8" TFT
Post by: KFPanda on Oct 25, 2010, 06:14 pm
Hey,

It was mentioned a while back that schematic diagram/etc would be made avaliable. Are they available and I'm just unable to find them? I'd be tempted to buy a pre-made one, but building it from scratch would be more enjoyable! Cheers!

Quote
I am tiding all the information about  Robot Camera  With  2.8" TFT , and I will open all the information including schematic diagram[ch12289]eagle file[ch12289]datasheet etc to you guys....
you can make  it yourself
Title: Re: Robot Camera  With  2.8" TFT
Post by: realtime on Nov 19, 2010, 01:20 pm
@rrak
I used the source of that package in my next post as a starting point for further development using AVR Plugin for eclipse. Everything seems to be fine, but I got problems with the cam after uploading to the board via ICSP. It seems that it does not initialize anymore. What I also did by accident is to plug the cam in the boards pinsheaders 1 row to high. Do you think this might have destroyed the cam? Not very likely or?
If I unplug the cam while running and replug, the program jumps over the init and a screwed image appears on the screen. Any suggestions?

THX
Title: Re: Robot Camera  With  2.8" TFT
Post by: realtime on Nov 19, 2010, 01:20 pm
The Schematics are available in the RAR file at http://www.fpga4u.com/bbs/attachment.php?aid=653&k=33f8ba8c9cb2e4f152a6efa4febdc0f3&t=1290168834

THX
Title: Re: Robot Camera  With  2.8" TFT
Post by: realtime on Nov 19, 2010, 09:50 pm
Image Processing could also be done reading the GRAM of the Displaydriver.  Or am I wrong?
Title: Initialisation of OV7670
Post by: realtime on Nov 20, 2010, 11:11 pm
const prog_char change_reg[CHANGE_REG_NUM][2]=
{
     {0x3a, 0x0c},
     {0x3d, 0xc0},
     {0x12, 0x00},
     {0x15, 0x40},
     {0x17, 0x13},
     {0x18, 0x01},
     {0x32, 0xbf},
     {0x19, 0x02},
     {0x1a, 0x7a},//0x7a,
     {0x03, 0x0a},//0x0a,
     {0x0c, 0x00},
     {0x3e, 0x00},//
     {0x70, 0x3a},
     {0x71, 0x35},
     {0x72, 0x11},
     {0x73, 0xf0},//
     {0xa2, 0x02},
     //{0x11, 0x81},
     {0x7a, 0x20},
     {0x7b, 0x03},
     {0x7c, 0x0a},
     {0x7d, 0x1a},
     {0x7e, 0x3f},
     {0x7f, 0x4e},
     {0x80, 0x5b},
     {0x81, 0x68},
     {0x82, 0x75},
     {0x83, 0x7f},
     {0x84, 0x89},
     {0x85, 0x9a},
     {0x86, 0xa6},
     {0x87, 0xbd},
     {0x88, 0xd3},
     {0x89, 0xe8},
     {0x13, 0xe0},
     {0x00, 0x00},//AGC
     {0x10, 0x00},
     {0x0d, 0x40},
     {0x14, 0x28},//0x38, limit the max gain
     {0xa5, 0x02},
     {0xab, 0x02},
     {0x24, 0x68},
     {0x25, 0x58},
     {0x26, 0xc2},
     {0x9f, 0x78},
     {0xa0, 0x68},
     {0xa1, 0x03},//0x0b,
     {0xa6, 0xd8},//0xd8,
     {0xa7, 0xd8},//0xd8,
     {0xa8, 0xf0},
     {0xa9, 0x90},
     {0xaa, 0x14},
     {0x13, 0xe5},
     {0x0e, 0x61},
     {0x0f, 0x4b},
     {0x16, 0x02},
     {0x1e, 0x07},//0x07,
     {0x21, 0x02},
     {0x22, 0x91},
     {0x29, 0x07},
     {0x33, 0x0b},
     {0x35, 0x0b},
     {0x37, 0x1d},
     {0x38, 0x71},
     {0x39, 0x2a},
     {0x3c, 0x78},
     {0x4d, 0x40},
     {0x4e, 0x20},
     {0x69, 0x00},
     {0x6b, 0x0a},//PLL
     {0x74, 0x10},
     {0x8d, 0x4f},
     {0x8e, 0x00},
     {0x8f, 0x00},
     {0x90, 0x00},
     {0x91, 0x00},
     {0x92, 0x00},//0x19,//0x66
     {0x96, 0x00},
     {0x9a, 0x80},
     {0xb0, 0x84},
     {0xb1, 0x0c},
     {0xb2, 0x0e},
     {0xb3, 0x82},
     {0xb8, 0x0a},
     {0x43, 0x0a},
     {0x44, 0xf2},
     {0x45, 0x39},
     {0x46, 0x62},
     {0x47, 0x3d},
     {0x48, 0x55},
     {0x59, 0x83},
     {0x5a, 0x0d},
     {0x5b, 0xcd},
     {0x5c, 0x8c},
     {0x5d, 0x77},
     {0x5e, 0x16},
     //Lense
     {0x62, 0x00},
     {0x63, 0x00},
     {0x64, 0x04},
     {0x65, 0x20},
     {0x66, 0x05},
     {0x94, 0x04},
     {0x95, 0x08},

     {0x6c, 0x0a},
     {0x6d, 0x65},
     {0x6e, 0x11},
     {0x6f, 0x9e},//0x9e for advance AWB
     {0x6a, 0x40},
     {0x01, 0x56},
     {0x02, 0x44},
     {0x13, 0xe7},
     {0x4f, 0x88},
     {0x50, 0x8B},
     {0x51, 0x04},
     {0x52, 0x11},
     {0x53, 0x8c},
     {0x54, 0x9d},
     {0x55, 0x00},
     {0x56, 0x40},
     {0x57, 0x80},
     {0x58, 0x9a},
     {0x41, 0x08},
     {0x3f, 0x00},
     {0x75, 0x04},
     {0x76, 0x60},
     {0x4c, 0x00},
     {0x77, 0x01},
     {0x3d, 0xc2},      //0xc0,
     {0x4b, 0x09},
     {0xc9, 0x30},
     {0x41, 0x38},
     {0x56, 0x40},//0x40
     {0x34, 0x11},
     {0x3b, 0x12},//0x00,//0x02,
     {0xa4, 0x88},//0x88,
     {0x96, 0x00},
     {0x97, 0x30},
     {0x98, 0x20},
     {0x99, 0x30},
     {0x9a, 0x84},
     {0x9b, 0x29},
     {0x9c, 0x03},
     {0x9d, 0x99},
     {0x9e, 0x7f},
     {0x78, 0x04},      
     {0x79, 0x01},
     {0xc8, 0xf0},
     {0x79, 0x0f},
     {0xc8, 0x00},
     {0x79, 0x10},
     {0xc8, 0x7e},
     {0x79, 0x0a},
     {0xc8, 0x80},
     {0x79, 0x0b},
     {0xc8, 0x01},
     {0x79, 0x0c},
     {0xc8, 0x0f},
     {0x79, 0x0d},
     {0xc8, 0x20},
     {0x79, 0x09},
     {0xc8, 0x80},
     {0x79, 0x02},
     {0xc8, 0xc0},
     {0x79, 0x03},
     {0xc8, 0x40},
     {0x79, 0x05},
     {0xc8, 0x30},
     {0x79, 0x26},

     {0x09, 0x03},
     {0x3b, 0x42},//0x82,//0xc0,//0xc2,      //night mode

     
     
};
Title: Re: Robot Camera  With  2.8" TFT
Post by: rrak on Nov 23, 2010, 10:42 am
First of all, i'd like to share with you a copy of my register settings. The settings are all well commented according to the camera's datasheet. Thats the way it should be. The really important settings are to find at the top of the list ( 1 - 6 ).

Code: [Select]

const prog_char change_reg[_registerset][2]=
{
     //
     // The really important stuff.
     //
     {0x12, 0x00},//1 / COM7  : YUV mode, 0b [7] Register Reset [6] Reserved [5] CIF [4] QVGA [3] QCIF [2] RGB [1] Color Bar [0] Raw RGB - 000;YUV - 100;RGB
     {0x8c, 0x00},//2 / RGB444: 0b [7-2] Reserved, [1] RGB444 [0] XR GB(0) , RG BX(1)
     {0x04, 0x00},//3 / COM1  : CCIR656 Format Disable
     {0x40, 0xc0},//4 / COM15 : 0b [7-6] Output Range [5-4] RGB 565,555 [3-0] Reserved
     {0x14, 0x18},//5 / COM9  : 4x gain ceiling
     {0x11, 0x3f},//6 / CLKRC : Internal Clock, [000000] to [111111] , 16000000 / ( [111111]+ 1 ) =  250000
     //
     // Hardware Window Settings
     //
     {0x32, 0xb6},//7 / HREF  :
     {0x17, 0x13},//8 / HSTART: HREF Column start high 8-bit
     {0x18, 0x01},//9 / HSTOP : HREF Column end high 8-bit
     {0x19, 0x02},//10/ VSTRT : VSYNC Start high 8-bit
     {0x1a, 0x7a},//11/ VSTOP : VSYNC End high 8-bit,
     {0x03, 0x0a},//12/ VREF  : Vertical Frame Control,
     {0x0c, 0x00},//13/ COM3  :
     {0x3e, 0x00},//14/ COM14 : Pixel Clock Devider
     //
     // Mystery Scaling Numbers
     //
     {0x70, 0x3a},//15/ SCALING XSC : Horizontal Scale Factor
     {0x71, 0x35},//16/ SCALING YSC : Vertical Scale Factor
     {0x72, 0x11},//17/ SCALING DCW : DCW Control
     {0x73, 0xf0},//18/ SCALING PCLK: Scaling Pixel Clock Devider
     {0xa2, 0x02},//19/ SCALING PCLK: Scaling Pixel Delay
     {0x15, 0x00},//20/ COM10       : VSYNC , HREF , PCLK Settings
     //
     // Gamma Curve Values
     //
     {0x7a, 0x20},//21/ SLOP : Gamma Curve Highest Segment Slope
     {0x7b, 0x10},//22/ GAM1 : Gamme Curve 1st Segment
     {0x7c, 0x1e},//23/ GAM2 : Gamme Curve 2st Segment
     {0x7d, 0x35},//24/ GAM3 : Gamme Curve 3st Segment
     {0x7e, 0x5a},//25/ GAM4 : Gamme Curve 4st Segment
     {0x7f, 0x69},//26/ GAM5 : Gamme Curve 5st Segment
     {0x80, 0x76},//27/ GAM6 : Gamme Curve 6st Segment
     {0x81, 0x80},//28/ GAM7 : Gamme Curve 7st Segment
     {0x82, 0x88},//29/ GAM8 : Gamme Curve 8st Segment
     {0x83, 0x8f},//30/ GAM9 : Gamme Curve 9st Segment
     {0x84, 0x96},//31/ GAM10: Gamme Curve 10st Segment
     {0x85, 0xa3},//32/ GAM11: Gamme Curve 11st Segment
     {0x86, 0xaf},//33/ GAM12: Gamme Curve 12st Segment
     {0x87, 0xc4},//34/ GAM13: Gamme Curve 13st Segment
     {0x88, 0xd7},//35/ GAM14: Gamme Curve 14st Segment
     {0x89, 0xe8},//36/ GAM15: Gamme Curve 15st Segment
     //
     // Automatic Gain Control and AEC Parameters
     //
     {0x13, 0x00},//37/ COM8 : Fast AGC/AEC Algorithm
     {0x00, 0x00},//38/ GAIN
     {0x10, 0x00},//39/ AECH
     {0x0d, 0x00},//40/ COM4 :  
     {0x14, 0x18},//41/ COM9 : Automatic Gain Ceiling : 8x
     {0xa5, 0x05},//42/ BD50MAX: 50 Hz Banding Step Limit
     {0xab, 0x07},//43/ BD60MAX: 60 Hz Banding Step Limit
     {0x24, 0x95},//44/ AGC - Stable Operating Region Upper Limit
     {0x25, 0x33},//45/ AGC - Stable Operating Region Lower Limit
     {0x26, 0xe3},//46/ AGC - Fast Mode Operating Region
     {0x9f, 0x78},//47/ HAECC1 : Histogram based AEC Control 1
     {0xa0, 0x68},//48/ HAECC2 : Histogram based AEC Control 2
     {0xa1, 0x03},//49/ Reserved
     {0xa6, 0xd8},//50/ HAECC3 : Histogram based AEC Control 3
     {0xa7, 0xd8},//51/ HAECC4 : Histogram based AEC Control 4
     {0xa8, 0xf0},//52/ HAECC5 : Histogram based AEC Control 5
     {0xa9, 0x90},//53/ HAECC6 : Histogram based AEC Control 6
     {0xaa, 0x94},//54/ HAECC7 : AEC Algorithm Selection
     {0x13, 0xe5},//55/ COM8   : Fast AGC Algorithm, Unlimited Step Size , Banding Filter ON, AGC and AEC enable.
     //
     // Reserved Values without function specification
     //
     {0x0e, 0x61},//56/ COM5 : Reserved
     {0x0f, 0x4b},//57/ COM6 : Reserved
     {0x16, 0x02},//58/ Reserved
     {0x1e, 0x07},//59/ MVFP : Mirror/Vflip disabled ( 0x37 enabled )
     {0x21, 0x02},//60/ Reserved
     {0x22, 0x91},//61/ Reserved
     {0x29, 0x07},//62/ Reserved
     {0x33, 0x0b},//63/ Reserved
     {0x35, 0x0b},//64/ Reserved
     {0x37, 0x1d},//65/ Reserved
     {0x38, 0x71},//66/ Reserved
     {0x39, 0x2a},//67/ Reserved
     {0x3c, 0x78},//68/ COM12 : Reserved
     {0x4d, 0x40},//69/ Reserved
     {0x4e, 0x20},//70/ Reserved
     {0x69, 0x00},//71/ GFIX : Fix Gain for RGB Values
     {0x6b, 0x4a},//72/ DBLV : PPL Control
     {0x74, 0x10},//73/ Reserved
     {0x8d, 0x4f},//74/ Reserved
     {0x8e, 0x00},//75/ Reserved
     {0x8f, 0x00},//76/ Reserved
     {0x90, 0x00},//77/ Reserved
     {0x91, 0x00},//78/ Reserved
     {0x92, 0x00},//79/ Reserved
     {0x96, 0x00},//80/ Reserved
     {0x9a, 0x00},//81/ Reserved
     {0xb0, 0x84},//82/ Reserved
     {0xb1, 0x0c},//83/ Reserved
     {0xb2, 0x0e},//84/ Reserved
     {0xb3, 0x82},//85/ Reserved
     {0xb8, 0x0a},//86/ Reserved
     //
     // Reserved Values without function specification
     //
     {0x43, 0x0a},//87/ Reserved
     {0x44, 0xf0},//88/ Reserved
     {0x45, 0x34},//89/ Reserved
     {0x46, 0x58},//90/ Reserved
     {0x47, 0x28},//91/ Reserved
     {0x48, 0x3a},//92/ Reserved
     {0x59, 0x88},//93/ Reserved
     {0x5a, 0x88},//94/ Reserved
     {0x5b, 0x44},//95/ Reserved
     {0x5c, 0x67},//96/ Reserved
     {0x5d, 0x49},//97/ Reserved
     {0x5e, 0x0e},//98/ Reserved
     {0x64, 0x04},//99/ Reserved
     {0x65, 0x20},//100/ Reserved
     {0x66, 0x05},//101/ Reserved
     {0x94, 0x04},//102/ Reserved
     {0x95, 0x08},//103/ Reserved
     {0x6c, 0x0a},//104/ Reserved
     {0x6d, 0x55},//105/ Reserved
     {0x6e, 0x11},//106/ Reserved
     {0x6f, 0x9f},//107/ Reserved
     {0x6a, 0x40},//108/ Reserved
     {0x01, 0x40},//109/ REG BLUE : Reserved
     {0x02, 0x40},//110/ REG RED  : Reserved
     {0x13, 0xe7},//111/ COM8     : FAST AEC, AEC unlimited STEP, Band Filter, AGC , ARC , AWB enable.
     //
     // Matrix Coefficients
     //
     {0x4f, 0x80},//112/ MTX 1 : Matrix Coefficient 1
     {0x50, 0x80},//113/ MTX 2 : Matrix Coefficient 2
     {0x51, 0x00},//114/ MTX 3 : Matrix Coefficient 3
     {0x52, 0x22},//115/ MTX 4 : Matrix Coefficient 4
     {0x53, 0x5e},//116/ MTX 5 : Matrix Coefficient 5
     {0x54, 0x80},//117/ MTX 6 : Matrix Coefficient 6
     {0x58, 0x9e},//118/ MTXS  : Matrix Coefficient Sign for Coefficient 5 to 0
     {0x41, 0x08},//119/ COM16 : AWB Gain enable
     {0x3f, 0x00},//120/ EDGE  : Edge Enhancement Adjustment
     {0x75, 0x05},//121/ Reserved
     {0x76, 0xe1},//122/ Reserved
     {0x4c, 0x00},//123/ Reserved
     {0x77, 0x01},//124/ Reserved
     {0x3d, 0xc0},//125/ COM13
     {0x4b, 0x09},//126/ Reserved
     {0xc9, 0x60},//127/ Reserved
     {0x41, 0x38},//128/ COM16
     {0x56, 0x40},//129/ Reserved
     {0x34, 0x11},//130/ Reserved
     {0x3b, 0x12},//131/ COM11 : Exposure and Hz Auto detect enabled.
     {0xa4, 0x88},//132/ Reserved
     {0x96, 0x00},//133/ Reserved
     {0x97, 0x30},//134/ Reserved
     {0x98, 0x20},//135/ Reserved
     {0x99, 0x30},//136/ Reserved
     {0x9a, 0x84},//137/ Reserved
     {0x9b, 0x29},//138/ Reserved
     {0x9c, 0x03},//139/ Reserved
     {0x9d, 0x4c},//140/ Reserved
     {0x9e, 0x3f},//141/ Reserved
     {0x78, 0x04},//142/ Reserved
     //
     // Mutliplexing Registers
     //
     {0x79, 0x01},//143/ Reserved
     {0xc8, 0xf0},//144/ Reserved
     {0x79, 0x0f},//145/ Reserved
     {0xc8, 0x00},//146/ Reserved
     {0x79, 0x10},//147/ Reserved
     {0xc8, 0x7e},//148/ Reserved
     {0x79, 0x0a},//149/ Reserved
     {0xc8, 0x80},//150/ Reserved
     {0x79, 0x0b},//151/ Reserved
     {0xc8, 0x01},//152/ Reserved
     {0x79, 0x0c},//153/ Reserved
     {0xc8, 0x0f},//154/ Reserved
     {0x79, 0x0d},//155/ Reserved
     {0xc8, 0x20},//156/ Reserved
     {0x79, 0x09},//157/ Reserved
     {0xc8, 0x80},//158/ Reserved
     {0x79, 0x02},//159/ Reserved
     {0xc8, 0xc0},//160/ Reserved
     {0x79, 0x03},//161/ Reserved
     {0xc8, 0x40},//162/ Reserved
     {0x79, 0x05},//163/ Reserved
     {0xc8, 0x30},//164/ Reserved
     {0x79, 0x26},//165/ Reserved
     //
     // Additional Settings
     //
     {0x09, 0x00},//166/ COM2  : Output Drive Capability
     {0x55, 0x00},//167/ Brightness Control
     //
     // End Of Constant
     //
     {0xff, 0xff},//174/ End Marker
};


For more infos on that, see

http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/media/video/ov7670.c
Title: Re: Robot Camera  With  2.8" TFT
Post by: rrak on Nov 23, 2010, 10:53 am
@realtime:

I use avrdude and a lpt-programmer for programming purpose. Actually it works quite well. Sometimes the checksums were not quite correct. But that's not an issue. Never had to complain about problems, you are faced to.

Concerning the incidence when you plugged the cam into the wrong header, i don't think this should be a problem. At least it should have no effect when you try to flash the microcontroller.

What do you mean by GRAM ? Thats new to me.

Unfortunately there is no FIFO Buffer for the frames, like there is one on the CmuCam3. Means, that you have to process the data lines at the same time, the data is sent. The Memory of the Atmega is too small to implement a FIFO Buffer, for example an interrupt driven. This makes image processing, if i am not mistaken, difficult. Can some confirm that ?

@all:

How many people are working on it at all ?
Title: Re: Robot Camera  With  2.8" TFT
Post by: rrak on Nov 23, 2010, 11:11 am
Another remark to the comments Alexander Kevin made at the very beginning of this thread :

Quote
Thanks for care.
 You can use it with Arduino by USB interface through Mini USB or Sonsor shield shield.
 You can also connect it to your computer directly by USB cable.


That's a total lie. The USB Port just supplies the 5 V Voltage. Nothing else. The data lines D+ and D- aren't even wired ! So ... no interface. And forget about your arduino. That was just talking for selling purpose.

Quote

  It can do some image analyzing like blob tracking or color tracking when you use with Arduino[ch12289]Arduino sensor brick[ch12289]Robot special sensor . Smiley


Well.. i spent weeks on this issue. My conclusion : The Atmega is just not capable of doing it. Perhaps Mr.Kevin can tell us, what to do. You'll actually need a totally different concept for doing this. Some people might wonder, how the TFT works on displaying images, if the Atmega is not capable of processing it. Well the OV7670 already delivers data, which is compatible to the TFT. So the Atmega does nothing there. The microcontroller is just some kind of traffic guard, who tells every component (i.e. 3-State-Switch, some Gatters ) what to do. Biggest issue is the fact, that the clock lines ( HREF, PCLK , VREF ) are not wired to the microcontroller. Quite funny, because there where some pins left. I had to jumper wire it myself.
Title: Re: Robot Camera  With  2.8" TFT
Post by: realtime on Dec 04, 2010, 06:58 pm
@rrak The OV7670 "pushes" its picture data straight to the ILI9325 that controls the LCD Display. I thought the data mus be somewhere in the GRAM registers so that you can read them back from the atmega32.

What do you think?????
Title: Re: Robot Camera  With  2.8" TFT
Post by: redruff on Dec 15, 2010, 05:39 pm
Was reading through this thread. Did this project just die? Was anyone successful with this camera module?

Thanks
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Dec 15, 2010, 09:43 pm
Not sure if anyone ever bought one. In the end I decided I was not too impressed by it so decided not to buy one.

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: realtime on Dec 18, 2010, 12:06 pm
I bought one, and I think the board is ok to buy. I have the atmel32 version. I had some troubles with the cam first, but this was due to some timing problems. Now it is working fine. I also got the Touchdisplay working. All in all the price is quite good: Touchdisplay, Display, Cam, mmc all on one board.
Currently I am still wondering, if one can use the Graphical Ram (GRAM) of the ILI chip to do some Computer vision. But waiting here for some opinions....
Title: Re: Robot Camera  With  2.8" TFT
Post by: mowcius on Dec 18, 2010, 09:00 pm
Want to do a writeup somewhere?
I'd be interested in hearing more about it from someone who's not affiliated with the company and has good english language skills ;)

Mowcius
Title: Re: Robot Camera  With  2.8" TFT
Post by: Cooluser23 on Dec 27, 2010, 08:03 am
This is cool. ttt
Title: Re: Robot Camera  With  2.8" TFT
Post by: redruff on Dec 31, 2010, 09:38 pm
Any more good info on this camera? I just purchased one and don't have the slightest idea what to do with it!  :-/

Title: Re: Robot Camera  With  2.8" TFT
Post by: pluggy on Jan 01, 2011, 09:23 am
The camera is still being sold on ebay http://cgi.ebay.com/AVR-Atmega32-OV7670-262K-TFT-LCD-Module-Board-/200540198562?pt=LH_DefaultDomain_0&hash=item2eb12096a2

The seller makes no wild claims about doing anything with an arduino with it and even admits the touchscreen doesn't have a controller so the one thing an arduino could realistically do can't be done.  The onbaord Atmega is apparently accessible as a Atmega development tool, with an ICSP port but thats about it.

If you read the posts by rrak who from his posts does have a clue and has bought one of these and worked for weeks to get it to do something with an arduino failed and gave the same conclusion I came to from the outset. An Atmega doesn't stand a chance of doing anything with the camera output, even if some of the more useful outputs were wired which they don't appear to be.  

I can't honestly think of anything useful it could be used for in its present form.  A camera, graphics chip and an LCD wired together on a board with an Atmega microcontroller that appears to do very little.

Title: Re: Robot Camera  With  2.8" TFT
Post by: redruff on Jan 01, 2011, 07:06 pm
Quickly realizing that.
But I guess at a minimum, an Arduino could be used with a PIR to at least turn the thing into a motion activated recorded. Then let the camera/board control everything else. With the only option of storing on the SD card.
Title: Re: Robot Camera  With  2.8" TFT
Post by: redruff on Jan 01, 2011, 07:13 pm
How do you get the touch screen controls to show up on these units?
Title: Re: Robot Camera  With  2.8" TFT
Post by: pluggy on Jan 01, 2011, 07:46 pm
The Ebay vendor says they don't have them any more, probably because they haven't put a touch screen controller on the newer ones.

Having the arduino take a picture and store it on the SD card is probably its limit, you could probably dispense with the arduino and use the boards own Atmega if you could figure out how to program it.  Time lapse photography could be an option  as well as an external PIR/sensor come to think of it.  
Title: Re: Robot Camera  With  2.8" TFT
Post by: Michael_Victor on Jan 03, 2011, 02:37 pm
Hi pluggy,
I found that another Ebay seller still sell the new version 2.8 TFT camera kit. They have touch screen controller and a SD/TF card socket on the board, maybe we can store image into the SD card.
http://cgi.ebay.com/NEW-REV-2-8-TFT-LCD-Board-Camera-Module-Source-Code-/280558226914?pt=BI_Electrical_Equipment_Tools&hash=item415292cde2 ;D
Title: Re: Robot Camera  With  2.8" TFT
Post by: redruff on Jan 03, 2011, 04:41 pm
hmmmm feeling a little ripped off on that deal since the touch screen was a major feature! AND the description shows it!
Title: Re: Robot Camera  With  2.8" TFT
Post by: LeandroAmir on Jan 16, 2011, 06:15 pm
Hi,

i am new here and i have one question.
So i want to replace the cmos camera with analog camera(FBAS camera) and try to transfert the video data (with 50m's cable). To digitalize  the video signal for your board, i think the video processor TVP5150 can do it.

What do you think?

Best regards