TIDUEZ4 May   2021

 

  1.   Description
  2.   Resources
  3.   Features
  4.   Applications
  5.   5
  6. 1System Description
  7. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Highlighted Products
      1. 2.2.1 SimpleLink MCU
        1. 2.2.1.1 CC3235MODS
        2. 2.2.1.2 CC1352R LaunchPad
          1. 2.2.1.2.1 CC1352R
      2. 2.2.2 Power
        1. 2.2.2.1 TPS63802
        2. 2.2.2.2 TPS63900
        3. 2.2.2.3 TPS62825
        4. 2.2.2.4 TPS7A03
        5. 2.2.2.5 TPS7A20
        6. 2.2.2.6 TPS62840
        7. 2.2.2.7 TPS22919
        8. 2.2.2.8 LM66100
      3. 2.2.3 Peripherals
        1. 2.2.3.1 OPT3004
        2. 2.2.3.2 DRV8837C
        3. 2.2.3.3 TPA2011
        4. 2.2.3.4 TLV61048
      4. 2.2.4 OmniVision Video Encoder OA7000
      5. 2.2.5 OmniVision Image Sensor SP2329
      6. 2.2.6 YTOT Lens Module
    3. 2.3 Design Considerations
      1. 2.3.1  Input Power: Battery and USB
      2. 2.3.2  Power Requirements
      3. 2.3.3  Camera Wake-up and Day or Night Sensing
        1. 2.3.3.1 PIR and MSP430 Based Motion Detection Design for Low Cost and High Performance
      4. 2.3.4  Battery Gauging
      5. 2.3.5  IR LED Illumination
      6. 2.3.6  IR Cut Filter
      7. 2.3.7  Audio
      8. 2.3.8  System Operation
      9. 2.3.9  Wi-Fi and Host Subsystem
      10. 2.3.10 Firmware Control
        1. 2.3.10.1 Application Flow
  8. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware
    2. 3.2 Software
    3. 3.3 Setup
      1. 3.3.1 Configuration Steps for Video over Wi-Fi
      2. 3.3.2 (Optional) Flash OA7000 With Latest Firmware or Stream Video Over USB
      3. 3.3.3 Audio Streaming
      4. 3.3.4 LPSTK-CC1352R Configuration Steps for Camera Module
    4. 3.4 Test Results
      1. 3.4.1 Power Supply Rails and Current Consumption
      2. 3.4.2 Battery Life Calculations
      3. 3.4.3 Video Streaming
      4. 3.4.4 IR LED Drive
  9. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 Bill of Materials
    2. 4.2 Software
    3. 4.3 Support Resources
    4. 4.4 References
    5. 4.5 Trademarks
  10. 5About the Author

Configuration Steps for Video over Wi-Fi

  1. Flash OA7000 with Single.bin provided in the software package (optional, since the camera module is already flashed with the latest .bin file). In case there is a need to overwrite or update this file, see the Flash OA7000 with latest firmware section.
  2. Connect the necessary signals between the LaunchPad and the camera module (mentioned in the Setup section) and power the camera module using USB or battery.
  3. Build the Software:
    • Install the latest CCS, and SimpleLink SDK.
      Note: Open the <SimpleLink_SDK_Install_Dir>/docs/Documentation_Overview.html document in the CC32xx SDK and navigate to Quick Start Guide for instructions to setup CCS to correctly use the FreeRTOS installation.
    • Import and build the project in the workspace. Import both: OV7000 project and the FreeRTOS build. After successful compilation, this should create a .bin in Debug output folder.
    • Additional configuration:
      • In Provisioning.c Line 1500 – change the code to configure to a known AP.
      • Provision the device to an AP using the SimpleLink Starter App which can be installed on the iOS or Android Smartphone.
      • Optional: To see the MCU (CC3235MODS and CC1352R) log over UART available on CC1352R LaunchPad pins 3 and 4, note the following settings:
        • Bits per second: 115200
        • Data bits: 8
        • Parity: None
        • Stop bits: 1
        • Flow control: None
  4. Flashing the camera module:
    • Review SimpleLink academy for how the C32xx devices get programmed.
    • Use this as your guide to create a new project with Device Type: CC3235SF, Device Mode: Develop, Start Role: Station.
    • To add an MCU image to the project, press the Browse button and navigate to video_streaming_ov7000_CC3235SF_LAUNCHXL_freertos_ccs\video_streaming_ov7000_CC3235SF_LAUNCHXL_freertos_ccs\Debug\video_streaming_ov7000_CC3235SF_LAUNCHXL_freertos_ccs.bin.

      Select the BIN file.

    • To add a service pack to the project, click the Browse button and navigate to simplelink_cc32xx_sdk_x_xx_xx_xx/tools/cc32xx_tools/servicepack-cc3xxx/sp_xxxx_xxxx_xxxx.bin.

      Select the BIN file.

    • Click the Connect button followed by pressing the Burn button. This takes you to the Generate Image page where you can program your module by selecting Program Image.
    • Power-cycle the camera module. You can observe the success message and the IP address from the log on UART serial port.
  5. Demo
    • After provisioning or connection to the AP is successful, connect another device to the same local AP and launch the VLC player.
    • VLC for Windows:
      • Launch VLC, connect to the stream by choosing Open Network Stream from the Media menu, as shown in Figure 3-6.
        GUID-20210422-CA0I-KD5L-9FVX-32LNDFLLZH1H-low.png Figure 3-6 Connect to the Stream by Choosing Open Network Stream from the Media Menu
      • For the network URL, enter the following command rtsp://[IPADDRESS]:554 and press Play. An example is rtsp://192.168.2.24:554
      • Obtain the IP address of the camera module from the applications logs or from the provisioning app.
    • VLC for Android:
      • Launch VLC, choose Stream, as shown in Figure 3-7.
        GUID-20210422-CA0I-JKPP-WSNX-P4JVHJZJHHHJ-low.png Figure 3-7 Choose Stream for Android
      • For the network URL, enter the following command rtsp://[IPADDRESS]:554 and press the yellow arrow, as shown in Figure 3-8. An example is rtsp://192.168.2.24:554
        GUID-20210422-CA0I-LFTL-CLS4-CHHHXQQVBFMQ-low.png Figure 3-8 Enter Network Address Here
      • The IP address of the camera module can be obtained from the applications logs or from the provisioning app.
    • VLC for iOS:
      • Launch VLC, choose Open Network Stream, as shown in Figure 3-9.
        GUID-20210422-CA0I-KNFB-QGG5-M2DM9VR6WT5Z-low.png Figure 3-9 Choose Open Network Stream for iOS
      • For the network URL, enter the following command rtsp://[IPADDRESS]:554 and press Open Network Stream. An example is rtsp://192.168.2.24:554
      • The IP address of the camera module can be obtained from the applications logs or from the provisioning app.