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.

  • "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?

  • Yes, the OP did post a protocol showing support for both RAW and jpeg.

    But the KISS principle would suggest the use of jpeg data if that is the required end result, unless there is a need for maximum quality, i.e. no lossy compression and possibly a higher dynamic range than what fits into 8-bit color values.

    More specifically, the OP did write "Flow is that using my controller trigger the CAM, get an Image, name it as Image1.jpeg and store it in SD card using same name, get an other image next time, name it as Image2.jpeg and store it in SD card using same name, and it goes on." so was talking about jpeg data.

    Hence, I did write that there were no raw image data needing any special program for conversion. But still potential for raw memory card data accesses requiring special code to locate the image data.

  • "Best controller to interface camera over RS232"

    the best controller to interface camera over RS232 is the one that you can make it work.