Camera Module Recommendation

mynet43mynet43 Posts: 626
edited February 2012 in Propeller 1 Vote Up0Vote Down
I need a color camera module for a project I'm working on.

A resolution of 320x240 (or a little less) is OK.

It needs to have RGB 565 output.

It will be used to take single frame pictures and transmit them to a display device.

It needs to focus from about 2" to 4"+ and probably needs autofocus within this range.

I'll be using it on an electron microscope, to locate the target before extreme magnification.

Does anyone have a recommendation for a camera module that would work here?

Also, is there software available that would support this type of application?

Thank you for your help and support.

Jim
Tagged:

Comments

  • 16 Comments sorted by Date Added Votes
  • shimniokshimniok Posts: 177
    edited February 2012 Vote Up0Vote Down
    This Toshiba camera from Sparkfun can be configured down to lower resolution. Not sure about 565 or focal range; you'll have to check the datasheet.

    There's some info out on the web about how to use this camera if you dig around a little. If you have trouble finding stuff let me know. Despite one thread where a lot complain about not getting it to work, there are a few people who have and have the images to prove it. I have one of these and designed a breakout board based on sigalrm.blogspot.com's work, but using a dual-supply regulator to save board space. I have yet to actually try using the camera, though.
    Check out my eeZee Propeller Breakout Board

    Michael Shimniok | www.bot-thoughts.com | "It should work..."
  • LeonLeon Posts: 7,475
    edited February 2012 Vote Up0Vote Down
    I've got a couple of those cameras, and keep meaning to do something with them. There is an Eagle PCB part for them, I've created one for the Pulsonix software I use which was based on it.
    Leon Heller<br>G1HSM
  • ericballericball Posts: 753
    edited February 2012 Vote Up0Vote Down
    I was looking at the TCM8240MD, which is the 1300x1040 big brother to the 640x480 TCM8230MD and one item of note is both cameras provide continuous output. So you don't trigger a virtual shutter then poll the device to read the pixels. Instead the device generates a clock for the pixel data and your app has to accept it at that rate. (With the TCM8240MD I couldn't see any way to control the data rate, maybe there's more detail in the TCM8230MD datasheet.)

    I don't know if a camera module with an onboard buffer exists. It would be much easier for my project idea (a variation on the panorama ball) if a microcontroller could trigger multiple cameras synchronously, then pull the image data asynchronously.
    Pay for your free software - let the developers know how much you appreciate their work!

    Links to Propeller stuff I've done (mostly composite video)
  • LeonLeon Posts: 7,475
    edited February 2012 Vote Up0Vote Down
    I don't think that the Propeller is fast enough for them. They are usually used with something like an ARM.
    Leon Heller<br>G1HSM
  • pedwardpedward Posts: 1,430
    edited February 2012 Vote Up0Vote Down
    You feed the camera a clock, which determines the output rate, combined with the frame rate selector. Set it for a low frame rate and feed it the minimum clock value based on the datasheet's calculations. We discussed these a few weeks ago and I pointed to both of these cameras as possible solutions for Prop vision. The 1.3MP unit is more flexible than the .3MP unit.
  • KyeKye Posts: 2,200
    edited February 2012 Vote Up0Vote Down
    Please wait for the CMUcam4 to come out in a couple of months. It will be able to do just what what.

    Thanks,
    Nyamekye,
  • mynet43mynet43 Posts: 626
    edited February 2012 Vote Up0Vote Down
    @pedward,

    Do you have code to make these cameras work?

    The people on SparkFun didn't seem to be able to make them work, because of bad documentation and lack of support.

    If you have them working, I'd sure like to see the code. It would be a big help right now.


    @Kye,

    Thanks for the tickler.

    Will the CMUcam4 be able to focus down to 2" and will it have autofocus from 2" to 4"?

    I need both of these for this project. I have a moveable target within this range.

    I may not be able to wait two months. I have a customer now :)


    Thanks everyone for the great responses.

    Jim
  • KyeKye Posts: 2,200
    edited February 2012 Vote Up0Vote Down
    No, I don't think it can focus on an object that close. Sorry,

    It can take the picture though.

    Good luck with other options.

    The CMUcam4 looks like this. If you could mount something to it,,,
    645 x 600 - 286K
    Nyamekye,
  • mynet43mynet43 Posts: 626
    edited February 2012 Vote Up0Vote Down
    Thanks Kye,

    That's a cool looking board. I may play with it for other projects.

    Jim
  • mynet43mynet43 Posts: 626
    edited February 2012 Vote Up0Vote Down
    @Michael Shimniok,

    Do you have the code available from the person that got this camera working?

    I would be very interested to see how they set the registers and use the commands.

    Thanks,

    Jim
  • LeonLeon Posts: 7,475
    edited February 2012 Vote Up0Vote Down
    Leon Heller<br>G1HSM
  • mynet43mynet43 Posts: 626
    edited February 2012 Vote Up0Vote Down
    Hi Leon,

    Thank you for the link to the paper.

    A couple of notes after reading it:
    1. They mentioned that there were around 95 registers affecting the picture that they were unable to use because of insufficient documentation.
    2. The code seems to be somewhat incomplete, such as a number of 'include' files that are not shown.
    3. The description makes it clear that the picture output is started by a single command. Once this is sent, simply monitoring the clock and H and V signals allow scan lines to be transferred smoothly.

    This looks like it should be fairly easy to implement on the Propeller.

    Since their goal was to capture gray scale images, it's hard to determine what the picture quality would be in full RGB color.

    I really appreciate your sending this. It gives me a good idea how to interface with the camera. Since it doesn't have autofocus, I'll have to keep looking.

    Thanks again,

    Jim
  • shimniokshimniok Posts: 177
    edited February 2012 Vote Up0Vote Down
    I ran across some more detailed Application Note kind of documentation on the camera not long ago. Click this: TCM8230MD_AplNote_E_040127.pdf

    I don't have code but email the person at sigalrm.blogspots.com -- or search around for other implementations (I think one other person has recently posted a working board & software and such, can't remember where I saw it, though)

    Michael
    Check out my eeZee Propeller Breakout Board

    Michael Shimniok | www.bot-thoughts.com | "It should work..."
  • mynet43mynet43 Posts: 626
    edited February 2012 Vote Up0Vote Down
    Michael,

    Thank you for the link to that document.

    It seems to have detailed descriptions of many of the registers, commands and timing.

    Looks really good.

    Thanks again,

    Jim
  • mynet43mynet43 Posts: 626
    edited February 2012 Vote Up0Vote Down
    Here's a link to a camera that might work.

    http://www.sony.net/Products/SC-HP/cx_news/vol41/pdf/mcb770.pdf

    It has autofocus down to 10 cm and seems to be able to output uncompressed data.

    Let me know what you think. I plan to try to find out more about it.

    Jim
Sign In or Register to comment.