• Stars
    star
    472
  • Rank 92,455 (Top 2 %)
  • Language
    C++
  • License
    MIT License
  • Created over 9 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is ArduCAM library for Arduino boards

ArduCAM Library Introduction

This is a opensource library for taking high resolution still images and short video clip on Arduino based platforms using ArduCAM's camera moduels.
The camera breakout boards should work with ArduCAM shield before connecting to the Arduino boards.
ArduCAM mini series camera modules like Mini-2MP, Mini-5MP(Plus) can be connected to Arduino boards directly.
In addition to Arduino, the library can be ported to any hardware platforms as long as they have I2C and SPI interface based on this ArduCAM library.

Now Supported Cameras

  • OV7660 0.3MP
  • OV7670 0.3MP
  • OV7675 0.3MP
  • OV7725 0.3MP
  • MT9V111 0.3MP
  • MT9M112 1.3MP
  • MT9M001 1.3MP
  • MT9D111 2MP
  • OV2640 2MP JPEG
  • MT9T112 3MP
  • OV3640 3MP
  • OV5642 5MP JPEG
  • OV5640 5MP JPEG

Supported MCU Platform

  • Feather M0 (Tested with OV5642)

Note: ArduCAM library for ESP8266 is maintained in another repository ESP8266 using a json board manager script.

Libraries Structure

The basic libraries are composed by two sub-libraries one is ArduCAM and the other is UTFT4ArduCAM_SPI. These two libraries should be copied right under the libraries of Arduino directory in order to be recognized by the Arduino IDE.
The ArduCAM library is the core library for ArduCAM shields. It contains supported image sensor drivers and user land API functions which issue capture or image data read commands .There is also an example directory inside the ArduCAM library which illustrates most function of the ArduCAM shields. The existing examples are plug and play without need to write a single line of code.
The UTFT4ArduCAM_SPI library is modified version of UTFT which is written by Henning Karlsen. We ported it to support ArduCAM shield with LCD screen. So the UTFT4ArduCAM_SPI library is only needed when using the ArduCAM-LF model.

How to use

The libraries should be configured before running any examples, or else you will get a compilation error message.

1. Edit memorysaver.h file

Open the memorysaver.h file in the ArduCAM folder and enable the hardware platform and camera module which matches to your hardware by comment or uncomment the macro definition in the file. For example, if you got a ArduCAM-Mini-2MP you should uncomment the line #define OV2640_MINI_2MP and comment all the other lines. And if you got a ArduCAM-Shield-V2 and a OV5642 camera module, you should uncomment the line #define ARDUCAM_SHIELD_V2 and the line #define OV5642_CAM then comment other lines.

2. Choose correct CS pin for your camera

Open one of the examples, wiring SPI and I2C interface especially CS pins to ArduCAM shield according to the examples. Hardware and software shuld be consistent to run the examples correctly.

3. Upload the examples

In the example folder there are seven sub directories for different ArduCAM models and the host application. The Mini folder is for ArduCAM-Mini-2MP and ArduCAM-Mini-5MP modules.
The Mini_5MP_Plus folder is for ArduCAM-Mini-5MP-Plus (OV5640/OV5642) modules.
The RevC folder is for ArduCAM-Shield-RevC or ArduCAM-Shield-RevC+ shields.
The Shield_V2 folder is for ArduCAM-Shield-V2 shield.
The host_app folder is host capture and display application for all of ArduCAM modules.
The RaspberryPi folder is examples used for Raspberry Pi platform, see more instruction.
The ESP8266 folder is for ArduCAM-ESP8266-UNO board examples for library compatibility. Please try repository ESP8266 using josn board manager script instead.
Selecting correct COM port and Arduino boards then upload the sketches.

Arducam MINI Camera Demo Tutorial for Arduino

IMAGE ALT TEXT

Arducam Camera Shield V2 Demo Tutorial for Arduino

IMAGE ALT TEXT

4. How To Connect Bluetooth Module

  • Using this demo
https://github.com/ArduCAM/Arduino/blob/master/ArduCAM/examples/mini/ArduCAM_Mini_Video_Streaming_Bluetooth/ArduCAM_Mini_Video_Streaming_Bluetooth.ino

Alt text

5. How to download the Host V2 ?

  • For ArduCAM_Host_V2.0_Mac.app, please refer to this link:
www.arducam.com/downloads/app/ArduCAM_Host_V2.0_Mac.app.zip
  • For ArduCAM_Mini_V2.0_Linux_x86_64bit, Please refer to this link:
www.arducam.com/downloads/app/ArduCAM_Mini_V2.0_Linux_x86_64bit.zip

More Repositories

1

MIPI_Camera

C
230
star
2

RaspberryPi

This is Arducam camera demos used on Raspberry Pi paltform
C
163
star
3

RPI-Pico-Cam

C++
125
star
4

ArduCAM_USB_Camera_Shield

This is the repository for ArduCAM USB Camera Shield
C++
125
star
5

ArduCAM_ESP8266_UNO

This Arduino IDE for ArduCAM ESP8266 UNO Board with Integrated ArduCAM Library and Examples
C
82
star
6

ArduCAM_ESP32S_UNO

ArduCAM ESP32 Series Development Boards
C
50
star
7

Arducam_tof_camera

C++
49
star
8

Arducam-Pivariety-V4L2-Driver

This driver is used for Arducam mipi camera with Pivariety board
C
37
star
9

PICO_SPI_CAM

C++
36
star
10

PTZ-Camera-Controller

Python
26
star
11

RPI_Motorized_IRCut_Control

It is a repository for controlling the motorized IRcut filter of Raspberry pi camera
C++
26
star
12

ArduCAM_ESP32S_UNO_PSRAM

C
23
star
13

picamera2_examples

Python
20
star
14

PCA9685

This library is used for Arducam Pan Tilt Camera for Raspberry Pi
C
18
star
15

Nvidia_Jetson

This is Arducam repository for Nvidia Jetson cameras
Python
16
star
16

WIFI_Camera

ArduCAM WIFI Camera
C
15
star
17

STM32

C
15
star
18

IMX519_AK7375

C
15
star
19

Arducam_Mega

C
14
star
20

BeagleboneBlack

This a ArduCAM library ported for BeagleboneBlack board
C
13
star
21

Arducam_OBISP_MIPI_Camera_Module

C
12
star
22

ArducamUVCPythonDemo

Python
8
star
23

Pico4ML_AdapterBoard

C++
8
star
24

ArducamCameraControl

Python
8
star
25

Jetson_IMX519_Focus_Example

Python
7
star
26

Pico4ML-Magic-Wand

C
6
star
27

OAK_Nvidia_Jetson_ROS_SLAM_VINS

running vins_slam algorithm with OAK camera on jetson platform.
C++
6
star
28

Energia

Energia IDE for ArduCAM CC3200 UNO board
C
5
star
29

Sensor-Regsiter-Decoder

Decode the binary form of sensor register settings into human readable format
Jupyter Notebook
5
star
30

ov9281_driver

This direr is used for Arducam UC-788 Rev.B ov9281 camera module
C
5
star
31

Camarray_HAT

Python
4
star
32

ArduCAM_USB_Camera_Shield_Python_Demo

Python
4
star
33

Jetson_IMX708_Focus_Example

Python
3
star
34

LCD_st7735

C
3
star
35

ArduCAM_USB_Camera_Shield_Config

2
star
36

ArduCAM_USB_Camera_Shield_Cpp_Demo

C++
2
star
37

Arducam_mini

C
2
star
38

Nvidia_Jetson_ROS_SLAM_VINS

C++
2
star
39

arducam_ppa

Shell
1
star
40

Nvidia_Jetson_ROS_SGM

C++
1
star
41

Arducam_RK_Driver

Python
1
star
42

PX_IMC01_RPI

C++
1
star
43

Edison

This is ported version of ArduCAM library for Intel Edison
C
1
star
44

NativePiCamera

C
1
star
45

Arducam_uvc_camera

Used to release samples for arducam_uvc_camera
Python
1
star
46

Arducam_OBISP_MIPI_Camera_Module_temporary

1
star
47

ArduCam_EVK_Demo

C
1
star
48

Arducam_dvp

SDK for Arducam dvp interface camera
C++
1
star
49

raspberrypi_utils

Python
1
star
50

ICM20948

C++
1
star
51

OctoPrint_Arducam_Plugin

Python
1
star
52

NeuroShield

C++
1
star
53

arducam_hm01b0

C
1
star