Skip to content

nxp-appcodehub/dm-lpc55s69-camera-interface-by-ezh

Repository files navigation

NXP Application Code Hub

Using EZH to implement camera interface in lpc55 series mcu

This demo introduces a parallel interface for the camera solution for LPC55(S)xx.

The camera interface can be used as important part of camera usage as below:

• Object detection

• Gesture recognition

• Color recognition

• QR code scanning, and so on.

Supported formats (8-bit): RGB565

• Maximum image transfer rate: 30 fps for QVGA(320 × 240). For small RAM parts, reduce the size of image and frame rate.

• Camera module tested: OV7673

• Other camera modules can be supported as long as they provide the same signal timing.

Boards: LPCXpresso55S69

Categories: Graphics, HMI

Peripherals: I2C, GPIO, SPI, VIDEO

Toolchains: MCUXpresso IDE

Table of Contents

  1. Software
  2. Hardware
  3. Setup
  4. Results
  5. Support
  6. Release Notes

1. Software

  • MCUXpresso IDE V11.9.0 or later.
  • SDK_2_15_000_LPCXpresso55S69
  • MCUXpresso for Visual Studio Code: This example supports MCUXpresso for Visual Studio Code, for more information about how to use Visual Studio Code please refer here.

2. Hardware

  • Micro USB cable
  • LPCXpresso55S69
  • Personal Computer
  • OV7670 camera module
  • Wareshare 2.8inch TFT Touch Shield

3. Setup

3.1 Step 1

Connect the Wareshare 2.8inch TFT Touch Shield with LPCXpresso55S69, connect OV7670 camera module with LPCXpresso55S69, as shown below:

hardware

The signals connection as below:

hardware

3.2 Step 2

  • Import the project to MCUXpresso IDE.
  1. Open MCUXpresso IDE, in the Quick Start Panel, choose Import from Application Code Hub.

  2. Enter the demo name in the search bar.

  3. Click Copy GitHub link, MCUXpresso IDE will automatically retrieve project attributes, then click Next>.

  4. Select main branch and then click Next>, Select the MCUXpresso project, click Finish button to complete import.

  • Connect the micro USB cable between the PC host and the USB port (J1) on the board.
  • Open a serial terminal on PC for the serial device with these settings:
    • 512000 baud rate
    • 8 data bits
    • No parity
    • One stop bit
    • No flow control
  • Compile and download to the board.
  • Reset and run.

4. Results

The demo result as below:

5. Support

Project Metadata

Board badge

Category badge Category badge

Peripheral badge Peripheral badge

Toolchain badge Toolchain badge

Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.

Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected funcionality, enter your questions on the NXP Community Forum

Follow us on Youtube Follow us on LinkedIn Follow us on Facebook Follow us on Twitter

6. Release Notes

Version Description / Update Date
1.0 Initial release on Application Code Hub July 16th 2024

About

This demo introduces a parallel interface for the camera solution for LPC55(S)xx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published