This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Best controller to interface camera over RS232

Hi all,
I have a project that is capturing image using a camera and string the images in micro SD card using a microcontroller.

Camera link is below.
http://www.tigal.com/1787

Interface: RS232
Min size of SD card support required is 1GB.

Since the camera sends the image data in
Snapshot Picture
Preview (RAW) Picture
JPEG Picture
these formats, I would like my controller to receive them as it is and store them in SD card either using file system or without file system (No complex processing).
Controlling the camera will be done by my controller.

My questions are:
1. Does a windows computer can read an image file without file system (Raw image)?
2. Which controller will be cheep and best for this project (Cheep evaluation board is better; I can’t invest more than 200USD).
3. To interface SD card, LPC is having dedicated pins for them. So selecting LPCxxxx series would be better option.

Parents
  • Hi Andrew,
    I think i didnt explain you clearly, Final product cant be connected with any PC because that there will not be any PC available. But only to become familiar with camera functionality, i can use very well use your idea.

    As i mentioned in my old post
    >>Whenever i want to see the images stored in the SD card, just remove the SD card from controller SD slot and view it on any PC by connecting to it.

    I store the images in SD card and use a PC to view the captured photos.

    As per said i will consider implementing free file system or use the second option.

    For the first option, in a FAT formatted SD card if we write any raw data ex: Spiwrite("Nice to discuss my issues here", 30);, wont it destroy the file system?

Reply
  • Hi Andrew,
    I think i didnt explain you clearly, Final product cant be connected with any PC because that there will not be any PC available. But only to become familiar with camera functionality, i can use very well use your idea.

    As i mentioned in my old post
    >>Whenever i want to see the images stored in the SD card, just remove the SD card from controller SD slot and view it on any PC by connecting to it.

    I store the images in SD card and use a PC to view the captured photos.

    As per said i will consider implementing free file system or use the second option.

    For the first option, in a FAT formatted SD card if we write any raw data ex: Spiwrite("Nice to discuss my issues here", 30);, wont it destroy the file system?

Children
  • I think you are still confused about the different meanings of "raw" data.

    In the context of this discussion, it is used with 2 distinct meanings:

    1. "raw" data from the camera; ie, unprocessed data direct from the image sensor.

    2. "raw" access to the SD-Card; ie, directly accessing the sectors of the card without regard to any file system.

    Clearly, writing directly to the sectors of the card without regard to any file system will corrupt any file system that happens to be on the Card!

  • "Final product cant be connected with any PC because that there will not be any PC available."

    You didn't even mention that!

  • "Clearly, writing directly to the sectors of the card without regard to any file system will corrupt any file system that happens to be on the Card!"

    But there's nothing to stop you using the files system to write a file that contains "raw" image data from the camera!

  • Hi Andrew,

    >>>>"Final product cant be connected with any PC because that there will not be any PC available."

    >>You didn't even mention that!

    Ok. sorry for that. cool down :)

    The "RAW" data which i was talking about, wether the camera gives the Raw unprocessed data or a compressed .jpeg format data, if we write the received data from camera into a SDcard(FAT filesystem formatted) by not using filesystem, that is Raw data to SD card and that destroys the file system of SD card. Am i correct?