Merge branch 'master' of github.com:m5stack/m5-docs

This commit is contained in:
ali-admin
2020-11-20 18:41:30 +08:00
9 changed files with 435 additions and 5 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

+1 -1
View File
@@ -400,7 +400,7 @@ No argument.
**Function return value**
Battery remaining percentage. (0-100 %)
Battery remaining percentage. 0/25/50/75/100
Returns -1 if it can not communicate with the controller.
+216
View File
@@ -0,0 +1,216 @@
# Timer Camera F {docsify-ignore-all}
<el-tag effect="plain">SKU:U082-F</el-tag>
<div class="product_pic"><img src="assets/img/product_pics/unit/timercamera_f/timercamera_f_01.webp"></div>
## Tutorial&Quick-Start
Choose the development platform you want to use, view the corresponding tutorial&quick-Start.
<a href="/#/en/quick_start/timer_cam/quick_start_cameratool"><el-tag effect="plain">Camera-Tool</el-tag></a>
<a href="/#/en/quick_start/timer_cam/quick_start_uiflow"><el-tag effect="plain">UIFlow</el-tag></a>
<a href="/#/en/quick_start/timer_cam/quick_start_arduino"><el-tag effect="plain">Arduino</el-tag></a>
## Description
The **Timer Camera F** is a fisheye camera module based on ESP32-D0WDQ6-V3 with 8M PSRAM and 4M Flash on board. 3.0 megapixel camera (OV3660) with a 120° viewing angle and a maximum resolution of 1600 x 1200 photos can be captured. The camera features an ultra-low-power design, and the internal integrated RTC (BM8563) draws out the IRQ signal, which can be used for sleep and timer wake-up (sleep current down to 2μA). The built-in 270mAh battery provides more than one month of battery life with timed pictures (one per hour) enabled. The module supports WiFi image transfer and USB port debugging, and the HY2.0-4P output on the bottom can be used to expand other peripherals. The on-board LED status indicator and reset button facilitate program development and debugging. In terms of application, M5Stack provides a number of simple and efficient application development methods and interfaces for the TimerCAM series, making it easy for users to use and develop their applications. (including PC/Mobile photo shooting APP, cloud image HTTP interface for timer shooting, cloud AI recognition interface (not online yet), etc.)
## Product Features
- Design based on esp32
- WiFi image transmission
- Timed sleep wake up
- Status indicator
- Ultra low power design
- Built-in 270mAh battery
- Programming platformESP-IDF/Arduino/UIFlow
## Includes
- 1x Timer Camera F
- 1x LEGO Adapter
- 1x Wall-1515
- 1x Type-C USB(20cm)
## Applications
- Take pictures regularly
- Remote video monitoring
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>PSRAM</td>
<td>8MB</td>
</tr>
<tr>
<td>Flash</td>
<td>4M</td>
</tr>
<tr>
<td>Battery</td>
<td>270mAh</td>
</tr>
<tr>
<td>Image Sensor</td>
<td>OV3660</td>
</tr>
<tr>
<td>Maximum resolution</td>
<td>300w pixels</td>
</tr>
<tr>
<td>Output format</td>
<td>8-/10-Bit RAW, RGB and YCbCr output, compression.</td>
</tr>
<tr>
<td>Maximum image transmission rate</td>
<td>
2040x1536: 15fps /
1080p: 20fps /
720p: 45fps /
XGA(1024x768) : 45fps /
VGA(640x480) : 60fps /
QVGA(320x240) : 120fps
</td>
</tr>
<tr>
<td>FOV</td>
<td>120°</td>
</tr>
<tr>
<td>Net weight</td>
<td>21g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>44g</td>
</tr>
<tr>
<td>Product Size</td>
<td>48*24*22.6mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>75*45*30mm</td>
</tr>
</table>
## 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. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)
<div class="easyloader-box">
<div style="background-color:white;">
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
<div class="easyloader-btn">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/TIMECAM/EasyLoader_TimerCamera_AP.exe">Windows</a>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/TIMECAM/EasyLoader_TimerCamera_AP.dmg">MacOS</a>
<!-- <a>Linux</a>
<a>MacOS</a> -->
</div>
</div>
<div>
<video id="example_video" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Unit/timercam_f_video.mp4" type="video/mp4">
</video>
<div class="easyloader-mask">
<a>
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
<p>Description:</p>
<p>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</p>
</div>
</div>
</div>
## 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 |
**GROVE Interface**
| *Grove* | *TimerCamera* |
| :-----------: | :------: |
| SCL | IO13 |
| SDA | IO4 |
| 5V | 5V |
| GND | GND |
**LED Interface**
| *LED* | *TimerCamera* |
| :-----------:| :------: |
| LED_Pin | IO2 |
**BAT Interface**
| *BAT* | *TimerCamera* |
| :-----------:| :------: |
| BAT_ADC_Pin | IO33 |
## Related Link
- **datasheet**
- [ESP32](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/esp32_datasheet_en.pdf)
- [OV3660](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/OV3660_CSP3_DS_1.3_sida.pdf)
## Example
### Arduino
- **[TimerCamera X-Arduino](https://github.com/m5stack/TimerCam-arduino)**
### Source code
- **[TimerCamera X](https://github.com/m5stack/TimerCam-idf)**
### Firmware
**You can download and burn firmware with [M5Burner](https://m5stack.com/pages/download)**
### Tutorial
**[Use Camera-Tool](en/quick_start/timer_cam/quick_start_cameratool) to take pictures**
**[Use HTTP Cloud Image Interface Service-UIFlow](en/quick_start/timer_cam/quick_start_uiflow) to get pictures**
**[Use Arduino IDE](en/quick_start/timer_cam/quick_start_arduino) development**
<script>
var purchase_link = 'https://m5stack.com/products/esp32-psram-timer-camera-fisheye-ov3660';
var quickstart_link = 'https://docs.m5stack.com/#/en/quick_start/timer_cam/quick_start_list';
anchor_search(purchase_link,quickstart_link);
scrollFunc();
</script>
+1
View File
@@ -36,6 +36,7 @@
const camera_list = [
//Camera class
{a:"/#/en/unit/timercam_x", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/timercamera_x.webp", p:"Timer Camera X", sku:"U082-X", qs:"#en/quick_start/timer_cam/quick_start_list" ,kw:"ESP32 TIMER CAMERA X", category:"Camera"},
{a:"/#/en/unit/timercam_f", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/timercamera_f_01.webp", p:"Timer Camera F", sku:"U082", qs:"#en/quick_start/timer_cam/quick_start_list" ,kw:"ESP32 TIMER CAMERA FISH"},
{a:"/#/en/unit/timercam", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/timercamera.webp", p:"Timer Camera", sku:"U082", qs:"#en/quick_start/timer_cam/quick_start_list" ,kw:"ESP32 TIMER CAMERA"},
{a:"/#/en/unit/esp32cam", img:"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_esp32cam_01.webp", p:"ESP32CAM", sku:"U007", qs:"#en/quick_start/m5camera/m5camera_quick_start" ,kw:"ESP32 CAMERA"},
{a:"/#/en/unit/m5camera", img:"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_m5camera_01.webp", p:"M5Camera", sku:"U017", qs:"#en/quick_start/m5camera/m5camera_quick_start" ,kw:"ESP32 CAMERA"},
+1
View File
@@ -37,6 +37,7 @@
const camera_list = [
//Camera class
{a:"/#/zh_CN/unit/timercam_x", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/timercamera_x.webp", p:"Timer Camera X", sku:"U082-X", qs:"#zh_CN/quick_start/timer_cam/quick_start_list" ,kw:"ESP32 TIMER CAMERA X", category:"Camera"},
{a:"/#/zh_CN/unit/timercam_f", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/timercamera_f_01.webp", p:"Timer Camera F", sku:"U082-F", qs:"#zh_CN/quick_start/timer_cam/quick_start_list" },
{a:"/#/zh_CN/unit/timercam", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/timercamera.webp", p:"Timer Camera", sku:"U082", qs:"#zh_CN/quick_start/timer_cam/quick_start_list" },
{a:"/#/zh_CN/unit/esp32cam", img:"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_esp32cam_01.webp", p:"ESP32CAM", sku:"U007", qs:"#zh_CN/quick_start/m5camera/m5camera_quick_start" ,kw:"ESP32 CAMERA"},
{a:"/#/zh_CN/unit/m5camera", img:"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_m5camera_01.webp", p:"M5Camera", sku:"U017", qs:"#zh_CN/quick_start/m5camera/m5camera_quick_start" ,kw:"ESP32 CAMERA"},
+2 -2
View File
@@ -392,8 +392,8 @@ M5GO的IP5306没有接线,无法通过此功能进行控制。
**返回值**
返回0到100范围内的电池电量.(单位:%)
如果无法检查剩余金额,则返回-1
返回0/25/50/75/100的电池电量.
如果无法检查剩余电量,则返回-1
## setWakeupButton()
+1 -1
View File
@@ -14,7 +14,7 @@
## 描述
**Timer Camera** 是一款基于ESP32-D0WDQ6-V3的摄像头模块,板载8M PSRAM,采用300万像素的摄像头(OV3660)可视角66.5°,最高可实现拍摄1600 x 1200分辨率的照片,带有状态指示灯与RESET按键,主打超低功耗设计,通过RTC(BM8563)可实现定时休眠与唤醒,休眠电流2μA,板上预留电池接口,用户可自行接入电池供电。模块支持WiFi图像传输和USB端口调试,底部HY2.0-4P端口输出,可连接其他外设。通过M5Burner烧录固件,可直接使用Camera-Tool对Timer Camera进行设置,也可在UIFlow中对Timer Camera数据进行处理。
**Timer Camera** 是一款基于ESP32-D0WDQ6-V3的摄像头模块,板载8M PSRAM,采用300万像素的摄像头(OV3660)可视角66.5°,最高可实现拍摄1600 x 1200分辨率的照片,带有状态指示灯与RESET按键,主打超低功耗设计,通过RTC(BM8563)可实现定时休眠与唤醒,休眠电流可低至2μA,板上预留电池接口,用户可自行接入电池供电。模块支持WiFi图像传输和USB端口调试,底部HY2.0-4P端口输出,可连接其他外设。通过M5Burner烧录固件,可直接使用Camera-Tool对Timer Camera进行设置,也可在UIFlow中对Timer Camera数据进行处理。
## 产品特性
+212
View File
@@ -0,0 +1,212 @@
# Timer Camera F
<el-tag effect="plain">SKU:U082-F</el-tag>
<div class="product_pic"><img src="assets/img/product_pics/unit/timercamera_f/timercamera_f_01.webp"></div>
## 教程&快速上手
选择你想使用的开发平台,查看对应的教程&快速上手。
<a href="/#/zh_CN/quick_start/timer_cam/quick_start_cameratool"><el-tag effect="plain">Camera-Tool</el-tag></a>
<a href="/#/zh_CN/quick_start/timer_cam/quick_start_uiflow"><el-tag effect="plain">UIFlow</el-tag></a>
<a href="/#/zh_CN/quick_start/timer_cam/quick_start_arduino"><el-tag effect="plain">Arduino</el-tag></a>
## 描述
**Timer Camera F** 是一款基于ESP32-D0WDQ6-V3的鱼眼摄像头模块,板载8M PSRAM与4M Flash。搭载300万像素的摄像头(OV3660),可视角120°,最高可实现拍摄1600 x 1200分辨率的照片。该摄像头主打超低功耗设计,内部集成的RTC(BM8563)对IRQ信号进行了引出,可用于设备的休眠与定时唤醒(休眠电流可低至2μA)。在开启定时拍照(每小时一张)的情况下,内置的270mAh电池可为其提供一个月以上的续航能力。模块支持WiFi图像传输和USB端口调试,底部HY2.0-4P端口输出,能够用于拓展其他外设。板载的LED状态指示灯与复位按键,方便程序开发调试。应用上,M5Stack为TimerCAM系列提供了一些简洁高效的应用开发方式与接口,能够为用户使用与开发提供便捷。(包括PC/Mobile端的照片拍摄APP, 定时拍摄的云端图像HTTP接口, 云端AI识别接口(未上线)等)
## 产品特性
- 基于ESP32设计
- WIFI图像传输
- 定时休眠唤醒
- 状态指示灯
- 超低功耗设计
- 内置270mAh电池
- 编程平台:ESP-IDF/Arduino/UIFlow
## 包含
- 1x Timer Camera F
- 1x LEGO Adapter
- 1x Wall-1515
- 1x Type-C USB(20cm)
## 应用
- 定时拍照
- 远程监控
## 规格参数
<table>
<tr style="font-weight:bold">
<td>规格</td>
<td>参数</td>
</tr>
<tr>
<td>PSRAM</td>
<td>8MB</td>
</tr>
<tr>
<td>Flash</td>
<td>4M</td>
</tr>
<tr>
<td>锂电池</td>
<td>270mAh</td>
</tr>
<tr>
<td>图像传感器</td>
<td>OV3660</td>
</tr>
<tr>
<td>最大分辨率</td>
<td>3百万像素</td>
</tr>
<tr>
<td>输出格式</td>
<td>8-/10-Bit RAW, RGB and YCbCr output, compression.</td>
</tr>
<tr>
<td>最大图像传输速率</td>
<td>
2040x1536: 15fps /
1080p: 20fps /
720p: 45fps /
XGA(1024x768) : 45fps /
VGA(640x480) : 60fps /
QVGA(320x240) : 120fps
</td>
</tr>
<tr>
<td>视角</td>
<td>120°</td>
</tr>
<tr>
<td>净重</td>
<td>21g</td>
</tr>
<tr>
<td>毛重</td>
<td>44g</td>
</tr>
<tr>
<td>产品尺寸</td>
<td>48*24*22.6mm</td>
</tr>
<tr>
<td>包装尺寸</td>
<td>75*45*30mm</td>
</tr>
</table>
## EasyLoader
>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动)M5StickC/V/T/ATOM系列可免驱动使用)**
<div class="easyloader-box">
<div style="background-color:white;">
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
<div class="easyloader-btn">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/TIMECAM/EasyLoader_TimerCamera_AP.exe">Windows</a>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/TIMECAM/EasyLoader_TimerCamera_AP.dmg">MacOS</a>
</div>
</div>
<div>
<video id="example_video" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Unit/timercam_f_video.mp4" type="video/mp4">
</video>
<div class="easyloader-mask">
<a>
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
<p>案例描述:</p>
<p>连接TimerCAM热点,密码12345678,在浏览器中打开192.168.4.1即可查看图像,如需使用定时拍照功能,请参考快速上手指南</p>
</div>
</div>
</div>
**摄像头驱动芯片 OV3660 接口**
| *接口* | *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 |
**GROVE 接口**
| *Grove* | *TimerCamera* |
| :-----------: | :------: |
| SCL | IO13 |
| SDA | IO4 |
| 5V | 5V |
| GND | GND |
**LED 接口**
| *LED* | *TimerCamera* |
| :-----------:| :------: |
| LED_Pin | IO2 |
**BAT 接口**
| *BAT* | *TimerCamera* |
| :-----------:| :------: |
| BAT_ADC_Pin | IO33 |
## 相关链接
- **数据手册**
- [ESP32-D0WDQ6-V3](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/esp32_datasheet_cn.pdf)
- [OV3660](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/OV3660_CSP3_DS_1.3_sida.pdf)
## 案例程序
### Arduino
- **[TimerCamera-Arduino](https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Camera/CameraWebServer)**
### 源码
- **[TimerCamera F](https://github.com/m5stack/TimerCam-idf)**
### 固件
**通过[M5Burner](https://m5stack.com/pages/download)可下载TimerCamera最新固件**
### 教程
**[使用Camera-Tool](zh_CN/quick_start/timer_cam/quick_start_cameratool)拍摄图片**
**[使用HTTP云端图片接口服务-UIFlow](zh_CN/quick_start/timer_cam/quick_start_uiflow)获取图片**
**[使用Arduino IDE](zh_CN/quick_start/timer_cam/quick_start_arduino)开发**
<script>
var purchase_link = 'https://m5stack.com/products/esp32-psram-timer-camera-fisheye-ov3660';
var quickstart_link = 'https://docs.m5stack.com/#/en/quick_start/timer_cam/quick_start_list';
anchor_search(purchase_link,quickstart_link);
scrollFunc();
</script>
+1 -1
View File
@@ -14,7 +14,7 @@
## 描述
**Timer Camera X** 是一款基于ESP32-D0WDQ6-V3的摄像头模块,板载8M PSRAM,采用300万像素的摄像头(OV3660)可视角66.5°,最高可实现拍摄1600 x 1200分辨率的照片,内置140mAh电池与LED状态指示灯,在指示灯下方有一颗的复位按键,方便开发调试。该摄像头主打超低功耗设计,通过RTC(BM8563)可实现定时休眠与唤醒,休眠电流2μA,开启定时拍照(每小时一张)后,电池可支持连续工作一个月以上。模块支持WiFi图像传输和USB端口调试,底部HY2.0-4P端口输出,可连接其他外设。通过M5Burner烧录固件,可直接使用Camera-Tool对Timer Camera X进行设置,也可在UIFlow中对Timer Camera X数据进行处理。
**Timer Camera X** 是一款基于ESP32-D0WDQ6-V3的摄像头模块,板载8M PSRAM,采用300万像素的摄像头(OV3660)可视角66.5°,最高可实现拍摄1600 x 1200分辨率的照片,内置140mAh电池与LED状态指示灯,在指示灯下方有一颗的复位按键,方便开发调试。该摄像头主打超低功耗设计,通过RTC(BM8563)可实现定时休眠与唤醒,休眠电流可低至2μA,开启定时拍照(每小时一张)后,电池可支持连续工作一个月以上。模块支持WiFi图像传输和USB端口调试,底部HY2.0-4P端口输出,可连接其他外设。通过M5Burner烧录固件,可直接使用Camera-Tool对Timer Camera X进行设置,也可在UIFlow中对Timer Camera X数据进行处理。
## 产品特性