Timer Camera

SKU:U082

Tutorial

Camera-Tool is suitable for TimerCAM and UnitCAM series products. The GROVE interface needs to be connected to the PC through the TTL-TO-USB adapter board before UnitCAM is used.
Use TimerCAM to achieve low-power wake-up shooting function, which requires Wi-Fi connection. The captured pictures will be automatically uploaded to the M5 cloud, and a fixed HTTP interface will be generated through a unique token, and other devices can access through this interface to obtain the latest frame of pictures and the current battery voltage status of the device
Use M5CORE type equipment to connect TimerCAM/Unit CAM through GROVE interface to realize command to control the camera UART to transmit images and preview them on the M5CORE screen, or configure the timer shooting upload cloud function (return to fixed HTTP API).
This tutorial will show you how to periodically transfer images to a computer shared folder via TimerCAM (based on the SMB file sharing transfer protocol)
Arduino IDE environment setup-TimerCAM/UnitCAM
This tutorial will show you how to periodically transfer images to Amazon S3 file storage service via TimerCAM

Description

Timer Camera is a camera module based on the ESP32 with 8MB of integrated with PSRAM. The 3 million (3MP) pixel camera (ov3660) ,DFOV 66.5 ° and can shoot a maximum of 2048x1536 resolution photos. There is a LED status indicator and reset button on the board. Timer Camera is designed to have ultra-low power consumption. Through the use of the RTC (BM8563), timing, sleep and wake-up functions can be utilized.

In sleep mode, the current consumption of the whole machine is only 2μA. After the scheduled photo taking function(one photo per hour) is turned on, the battery can work continuously for more than one month. The module supports Wi-Fi image transmission and USB port debugging. The bottom HY2.0-4P port output can be connected to other peripherals. In order to facilitate DIY, the battery interface is reserved on the board. Using the M5Burner firmware burning tool, time-cam can be set directly with the Camera-Tool, and TimerCamera data can be processed in UIFlow.

The low-power power management solution adopted by the Timer Camera series is different from the CORE and StickC devices. When in use, the PWR button is used as a power-on button(long press 2s). If you need to shut down the device, you need to use the software API or press the Reset button on the PCB.When using external power supply, the device will remain powered on.

Product Features

  • Design based on ESP32
  • Wi-Fi image/video transmission
  • Timed sleep wake up
  • Status indicator
  • Ultra low power design
  • Programming platform:ESP-IDF/Arduino/UIFlow

Includes

  • 1x Timer Camera

Applications

  • Take pictures regularly
  • Remote video monitoring

Specification

Resources Parameter
PSRAM 8MB
Flash 4M
Image Sensor OV3660
Maximum resolution 3M pixels
Output format 8-/10-Bit RAW, RGB and YCbCr output, compression.
DFOV 66.5°
Battery Interface Specifications SH1.0-2P
Net Weight 6g
Gross Weight 17g
Product Size 45*20*12mm
Package Size 60*60*15mm

Driver Installation

TimerCAM may not work without drive in some systems. Users can manually install FTDI Driver to fix this problem. Take the win10 environment as an example, download the driver file that matches the operating system, unzip it, and install it through the device manager. (Note: In some system environments, the driver needs to be installed twice for the driver to take effect. The unrecognized device name is usually M5Stack or USB Serial. Windows recommends using the driver file to install directly in the device manager (custom Update), the executable file installation method may not work properly).

EasyLoader

EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification.

Download Windows Version Easyloader

Description:
(This video was shot for timercamera X)Connect the TimerCAM hotspot(AP),input password 12345678 and open 192.168.4.1 in the browser to view the image. If you need to use the timing photo function, please refer to the quick start guide

PinMap

Camera Interface PinMap

Interface Camera Pin TimerCamera
SCCB Clock SIOC IO23
SCCB Data SIOD IO25
System Clock XCLK IO27
Vertical Sync VSYNC IO22
Horizontal Reference HREF IO26
Pixel Clock PCLK IO21
Pixel Data Bit 0 D0 IO32
Pixel Data Bit 1 D1 IO35
Pixel Data Bit 2 D2 IO34
Pixel Data Bit 3 D3 IO5
Pixel Data Bit 4 D4 IO39
Pixel Data Bit 5 D5 IO18
Pixel Data Bit 6 D6 IO36
Pixel Data Bit 7 D7 IO19
Camera Reset RESET IO15
Camera Power Down PWDN -1
Power Supply 3.3V 3V3 3V3
Ground GND GND

HY2.0-4P

HY2.0-4P TimerCamera
SCL G13
SDA G4
5V 5V
GND GND

LED

LED TimerCamera
LED_Pin G2

BUTTON

BUTTON TimerCamera
BUTTON G37

BM8563

BM8563 TimerCamera
SCL G14
SDA G12

BAT

BAT TimerCamera
BAT_ADC_Pin G38
BAT_HOLD_Pin G33

Schematic

TimerCAM

Example

Arduino

ESP-IDF

Firmware

You can download and burn firmware with M5Burner

Tutorial

Video

Focus adjustment

Brown out protection

When the voltage is low, the camera may trigger the Brown out protection and cause reset. You can configure it when compiling the project to disable it.

Arduino

#include "soc/soc.h"
#include "soc/rtc_cntl_reg.h"

void setup() {
  WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable   detector
}

ESP-IDF

idf.py menuconfig

Component config->ESP32-specific->Hardware brownout detect & reset(disable)