This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Connectivity to tm4c123 launchpad with a camera



I would like to interface a JPEG Colour Camera TTL with infrared with a TM4C123 Tiva Launchpad. How do i proceed?

 

  • Hello Patrick,

    Interfacing is not a problem. However the information is not sufficient without the following

    1. What is the Camera Specification?

    2. What is the interface for Camera that would be compatible with TM4C123?

    3. What is the bandwidth required on the interface and what is the processing to be handled by TM4C123 and whether the computation power required would be adequate?

    Regards

    Amit

  • Hello Amit,

    Thank you so much. The camera has the following specifications or rather details.

    Dimensions: 45.6x30x28mm

    Features:

    • VGA/QVGA/160*120 resolution
    • Support capture JPEG from serial port
    • Default baud rate of serial port is 38400
    • DC 3.3V or 5V power supply
    • Current consumption: 80-100mA
    • The pin near C03 is AV output pin, which is an analog output pin

    Though anyone can recommend another type of camera that can be supported by TM4C123 launchpad without necessarily requiring a boaster pack. Essentially i would like to mount the camera on an autonomous robot for the use of visual inspection. i would prefer that the two functions of implementing a robot and a visual inspection unit be handled either by on launchpad or by two for each function.

    Regards Patrick.

  • Hi,

    The link to the camera am speaking about can be found in the link below.

    http://store.nerokas.co.ke/index.php?route=product/product&keyword=ttl%20c&product_id=822

    Thanks

  • Hello Patrick,

    The interface seems to be (based on description) to be UART which should be fairly possible. TM4C123 has 5V tolerant IO's so voltage may not be a problem (prefer to use 3.3V).

    The booster packs are needed to mate the LaunchPad to a pre-defined board. It may not be neccessary in your case as you can jumper wire the Camera to the TM4C123 LaunchPad.

    Only thing I am worried about is the computation for the JPEG Image (I would defer to the experience of the community on this) but should be possible.

    Also I will need to study the camera to see if there is a hidden item somewhere... That may affect the application from HW perspective.

    Regards

    Amit

  • Hello Amit,


    Thank you so much. And as you say that what am suggesting is possible though your not sure, would u recommend another type of camera that might be tailored for TM4C123 and if so ways on interfacing it.

    Regards

    Patrick.

  • Hello Patrick,

    I have not done a Camera design with TM4C123 so, would not make a commitment. Just like you I am waiting for cb1, Petrei and other members to pitch in.

    Regards

    Amit

  • Hi, 

    I found this:

    https://theperfectmixture.wordpress.com/2013/12/15/tcm82x0-md-and-tiva-cm4-microcontrollers/

    Petrei

  • Hello Petrei,

    I knew you would come to the help. Thanks.

    Regards

    Amit

  • Amit Ashara said:
    I am waiting for cb1, Petrei and other members to pitch in.

    Arrives 2nd community member...  (minus "land-legs" after neat stay on/in Pacific)

    Omni-Vision has long been a successful producer of "serious" such cameras.  One model - "OV2640" has been used successfully by several of our clients.  Iirc - MCUs less capable than TM4C have successfully connected - but the performance achieved remains vague.  (Google should further reveal)

    As Amit earlier noted - camera's normal/customary JPG format proves a challenge for MCUs not equipped with much of that function implemented via HW/SW division.  Certain, similar Cortex M4s include some level of that camera feature. 

    Most reasonable cameras enable the selection of resolution, possibly number of colors etc.  Anything you do to reduce the, "camera specific" processing demands upon the TM4C will work to your advantage.  (i.e. reduce the camera's resolution & number of colors - stunning image quality often not that necessary (nor recognized/appreciated) by humble, home-grown robot...)