• 07
    Dec - 2016

    PCB/Board designs
    2 min | 1466

    #TI: Connecting the tm4c1294xl to a ov7670

    PCB/Board designs | 2 min | 1466


    launchpad
    photos
    streaming video
    texas instruments
    TM4C1294XL
    web server

    Hi everybody!

    I have just uploaded two repositories related to the EK-TM4C1294XL!

    You can:

    C Take photos over serial interface: https://goo.gl/8PlS7y
    Stream (slow) video via webserver: https://goo.gl/gQDFTO

    Connect the OmniVision ov7670 -old but everywhere- (version with FIFO AL422B) to the LaunchPad Tiva™ C Series EK-TM4C1294XL and take photos over serial interface, or use the http webserver to get a (slow) video streaming.

    Things used in this project

    Hardware components

    EK-TM4C1294XEK-TM4C1294X x 1
    ov7670 with AL422Bov7670 with AL422B x 1
    CP2102 USB to TTL CP2102 USB to TTL x 1
    CP2102 USB TTL EK-TM4C1294XL Ov7670 AL422B
    CP2102 USB to TTL LaunchPad Tiva™ C Series EK-TM4C1294XL ov7670 with AL422B

    Wiring

    ov7670 - Tiva C EK-TM4C1294XL

    ov7670 EK-TM4C1294XL
    VCC (PIN1) +3v3
    GND (PIN2) GND
    VSYNC (PIN5) PP4
    RRST (PIN9) PA0 (1)
    RCLK (PIN11) PP5
    SCL_SCCB (PIN3) PN5 (2)
    SDA_SCCB (PIN4) PN4 (2)
    WEN (PIN7) PM7
    D0-D7 (PIN13-20) PK0-PK7

    CP2102 - Tiva C EK-TM4C1294XL

    CP2102      EK-TM4C1294XL
    TXD   PP0
    RXD   PP1
    GND   GND
    • (1) Check JP4 -> Select CAN
    • (2) I2C pins need pull-up resistors (e.g. 10kOhm connected to +3.3V)

    Usage

    Serial Interface

    Camera capture
    pyGame window showing taken photo

    To take/get a picture you need to install Python 2.7, pyGame and pySerial:

    1. install python: https://www.python.org/download/releases/2.7/
    2. install pip: https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip
    3. install pyGame and pySerial:
      python -m pip install pygame
      python -m pip install pyserial
      
      python camview_tiva.py COMxx

      xx - UART port.

    Webserver:


    To access the camera video stream, use a browser and enter the webserver address (e.g. http://<< camera-ip >>). Using the buttons Start Camera or Capture Image the video streaming starts. The Toggle LED button toggle a LED on the board. This can be used to switch on some infrared LEDs.

    The website is contained on the file io_fsdata.h, the folder fs is converted into this file using makefsfile. The file website.bat can be used for that purpose:

    c:\ti\TivaWare_C_Series-2.1.3.156\tools\bin\makefsfile -i fs -o io_fsdata.h -r -h -q 

    Note: change the TivaWare path!

    makefsfile

    BoosterPack Eagle files

    • Coming Soon!

    More info & Help

    Changelog

    • 1.0 - First release.

    Credit

    (adsensekit){"id":"4"}


    Comments

    Empty