Skip to content

Commit a1ff756

Browse files
authored
Merge pull request #1565 from arduino/karlsoderby/open-mv-camera
[GIGA Display Shield] OpenMV + Display Shield + Camera Guide
2 parents 0d3258d + b29d886 commit a1ff756

File tree

5 files changed

+51
-0
lines changed

5 files changed

+51
-0
lines changed
809 KB
Loading
Loading
423 KB
Loading
Loading
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Display Camera Feed on GIGA Display Shield with OpenMV
3+
description: Learn how to connect a OV7675 camera module and send the frames directly to the display, using the OpenMV platform.
4+
author: Karl Söderby
5+
tags: [OV7675, OpenMV, Camera, Display]
6+
---
7+
8+
The [GIGA Display Shield](https://store.arduino.cc/products/giga-display-shield) has a camera connector which is extended from the [GIGA R1 WiFi](https://store.arduino.cc/products/giga-r1-wifi) board. The inexpensive 20 pin [OV7675](https://store.arduino.cc/products/arducam-camera-module) camera module can be directly mounted without any other circuitry, and using the OpenMV platform, we can directly display the camera feed on the display, at a framerate of about 15~ FPS.
9+
10+
In this guide, you will learn how to set up your [OV7675](https://store.arduino.cc/products/arducam-camera-module) camera module with the GIGA R1 WiFi / GIGA Display Shield, using the OpenMV platform.
11+
12+
***Note that the OpenMV IDE includes the firmware and the script for this guide. There is no need for any other external tools.***
13+
14+
## Hardware & Software Needed
15+
16+
- [Arduino GIGA R1 WiFi](https://store.arduino.cc/products/giga-r1-wifi)
17+
- [Arduino GIGA Display Shield](https://store.arduino.cc/products/giga-display-shield)
18+
- [OV7675 camera module](https://store.arduino.cc/products/arducam-camera-module)
19+
- [OpenMV](https://openmv.io/pages/download) (`v4.1.1` and above).
20+
21+
## Hardware Setup
22+
23+
1. Mount the GIGA Display Shield on the back side of the GIGA R1 WiFi.
24+
2. Mount the OV7675 camera module to the camera connector just above long side of the display.
25+
26+
## OpenMV Setup
27+
28+
The **OpenMV IDE** includes all tools necessary for flashing your board with the right firmware, as well as the script needed to run the application.
29+
30+
1. Download and install the [OpenMV IDE](https://openmv.io/pages/download).
31+
2. Launch the editor, and connect your board to your computer. In the bottom left corner of the editor, click the "Connect" button. The editor should detect your board, and prompt you to install the latest firmware available.
32+
![Install the firmware](assets/connect-firmware.png)
33+
3. Run the installation, but be aware that this will erase any existing sketch on your board. Wait until it is finished (do not disconnect the board). This can take up to a minute.
34+
***Note that when installing the OpenMV firmware, your GIGA R1 WiFi board will no longer be detected in the Arduino IDE. To go back to "Arduino mode", simply double tap the reset button on the board, and it will be recognized.***
35+
4. Once complete, you will need to run a script to see the camera feed. In the OpenMV IDE, navigate to **File > Examples > Display > display.py**.
36+
![Choose the display.py example.](assets/select-example.png)
37+
5. Click the "Play" button to launch the script. You should now see the camera feed on the GIGA Display Shield.
38+
![Click "Play" button to launch script.](assets/launch-script.png)
39+
40+
Congratulations, you have now set up GIGA R1 WiFi board to stream camera sensor data to the GIGA Display Shield!
41+
42+
The image below demonstrates how the setup should look like when complete.
43+
44+
![Final setup.](assets/camera-feed.png)
45+
46+
47+
## Code Example
48+
49+
The full script for this guide can be copied from below:
50+
51+
<CodeBlock url="https://github.com/openmv/openmv/blob/master/scripts/examples/50-Arduino-Boards/Giga-H7/51-Display/display.py" className="arduino"/>

0 commit comments

Comments
 (0)