From ef7dbc6cdef1bd075d8184f2e938922c4ae9d54d Mon Sep 17 00:00:00 2001 From: BenjaminDannegard Date: Thu, 5 Oct 2023 14:13:56 +0200 Subject: [PATCH 1/2] Fixed camera compatability --- .../tutorials/08.camera-tutorial/content.md | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md b/content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md index 3c87955ba6..8510bf5267 100644 --- a/content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md +++ b/content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md @@ -14,7 +14,7 @@ The GIGA Display Shield comes with an ArducamĀ® camera connector. In this tutori - [Arduino GIGA R1 WiFi](https://store.arduino.cc/products/giga-r1-wifi) - [Arduino GIGA Display Shield](https://store.arduino.cc/products/giga-display-shield) - [Arduino IDE](https://www.arduino.cc/en/software) -- HM01B0, HM0360 or GC2145 camera +- HM01B0, HM0360, GC2145 or OV7675 camera ## Downloading the Library and Core @@ -29,6 +29,7 @@ The GIGA Display Shield is compatible with the following cameras: - [HM01B0](https://www.arducam.com/product/hm01b0-qvga-monochrome-dvp-camera-module-for-arduino-giga-r1-wifi-board/) - [HM0360](https://www.arducam.com/product/hm0360-vga-monochrome-dvp-camera-module-for-arduino-giga-r1-wifi-board/) - [GC2145](https://www.arducam.com/product/2mp-gc2145-color-dvp-camera-module-for-arduino-giga-r1-wifi-board/) +- [OV7675](https://store.arduino.cc/products/arducam-camera-module) Connect the camera to the connector on the front of the display shield as shown in the image below. @@ -42,7 +43,22 @@ Open the example sketch by going to **File > Examples > Camera > GigaCameraDispl ![Opening the example sketch in the Arduino IDE](assets/ide-example.svg) -Whichever of the compatible cameras you are using the sketch will include libraries and definitions for them all, meaning no modification to the sketch is necessary to get it working. The sketch will capture frames into the framebuffer and then print a live camera feed to the display. +Whichever of the compatible cameras you are using the sketch will include libraries and definitions for them all, meaning only one line needs to be changed depending on what camera you will be using. The line that needs to be changed is this one: + +```arduino +#define ARDUCAM_CAMERA_HM01B0 +``` + +Depending on what camera you are using it should be changed accordingly: + +- HM01B0: `#define ARDUCAM_CAMERA_HM01B0` +- HM0360: `#define ARDUCAM_CAMERA_HM0360` +- GC2145: `#define ARDUCAM_CAMERA_GC2145` +- OV7675: `#define ARDUCAM_CAMERA_OV7675` + +The sketch will then capture frames into the framebuffer and print a live camera feed to the display. + +***NOTE: Please disconnect your camera from the GIGA Display Shield before uploading the example.*** ```arduino #include "arducam_dvp.h" From 791c8f10d69495dca1b628004d54f0d0784bc0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20S=C3=B6derby?= <35461661+karlsoderby@users.noreply.github.com> Date: Thu, 5 Oct 2023 16:27:53 +0200 Subject: [PATCH 2/2] Update content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md --- .../giga-display-shield/tutorials/08.camera-tutorial/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md b/content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md index 8510bf5267..67b90a7c5c 100644 --- a/content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md +++ b/content/hardware/10.mega/shields/giga-display-shield/tutorials/08.camera-tutorial/content.md @@ -58,7 +58,7 @@ Depending on what camera you are using it should be changed accordingly: The sketch will then capture frames into the framebuffer and print a live camera feed to the display. -***NOTE: Please disconnect your camera from the GIGA Display Shield before uploading the example.*** +***Note: make sure to connect/disconnect the camera when the board is powered off.*** ```arduino #include "arducam_dvp.h"