diff --git a/docs/assets/img/product_pics/hat/18650C_hat/18650C_01.webp b/docs/assets/img/product_pics/hat/18650C_hat/18650C_01.webp new file mode 100755 index 00000000..fb8eceb9 Binary files /dev/null and b/docs/assets/img/product_pics/hat/18650C_hat/18650C_01.webp differ diff --git a/docs/assets/img/product_pics/hat/18650C_hat/18650C_02.webp b/docs/assets/img/product_pics/hat/18650C_hat/18650C_02.webp new file mode 100755 index 00000000..aeef0e38 Binary files /dev/null and b/docs/assets/img/product_pics/hat/18650C_hat/18650C_02.webp differ diff --git a/docs/assets/img/product_pics/hat/18650C_hat/18650C_03.webp b/docs/assets/img/product_pics/hat/18650C_hat/18650C_03.webp new file mode 100755 index 00000000..0a47fe59 Binary files /dev/null and b/docs/assets/img/product_pics/hat/18650C_hat/18650C_03.webp differ diff --git a/docs/assets/img/product_pics/hat/18650C_hat/18650C_04.webp b/docs/assets/img/product_pics/hat/18650C_hat/18650C_04.webp new file mode 100755 index 00000000..a917771d Binary files /dev/null and b/docs/assets/img/product_pics/hat/18650C_hat/18650C_04.webp differ diff --git a/docs/en/hat/hat-18650.md b/docs/en/hat/hat-18650.md index cf9e76d1..ef92a0fc 100644 --- a/docs/en/hat/hat-18650.md +++ b/docs/en/hat/hat-18650.md @@ -1,85 +1,35 @@ # 18650 HAT {docsify-ignore-all} - + *** -:memo:**[Description](#Description)**      :electric_plug:**[Schematic](#Schematic)**      🛒**[Purchase](https://m5stack.com/products/m5stickc-tof-hatvl53l0x)**   **[EasyLoader](#EasyLoader)** +:memo:**[Description](#Description)**      🛒**[Purchase](https://m5stack.com/products/m5stickc-hat-18650Chat)**   :clapper:**[Related Video](#Related-Video)** ## Description -**ToF HAT** is a high precision laser-ranging sensor specifically designed for M5StickC. Integrated with **VL53L0X** and **940nm VCSEL** emitter. It can provide high precision and low latency performance on object distance detection. -The VL53L0X is a new generation Time-of-Flight (ToF) laser-ranging module housed in the smallest package on the market today, providing accurate distance measurement whatever the target reflectances, unlike conventional technologies. It can measure absolute distances up to 2m, setting a new benchmark in ranging performance levels, opening the door to various new applications. The VL53L0X integrates a leading-edge SPAD array (Single Photon Avalanche Diodes) and embeds ST’s second generation FlightSenseTM patented technology. The VL53L0X’s 940 nm VCSEL emitter (Vertical-Cavity Surface-Emitting Laser), is invisible to the human eye, coupled with internal physical infrared filters, it enables longer ranging distances, higher immunity to ambient light, and better robustness to cover glass optical crosstalk. +**18650C HAT** is a rechargeable battery base designed for M5SticKC with built-in 18650 large capacity rechargeable lithium battery.It can provide long-term endurance for the equipment. The base is designed with the plug-in structure of the HAT series, which can be used to maintain reliable connection with the M5StickC. The bottom is equipped with a USB interface charging interface, which is convenient and quick for the battery. The USB port of the battery base is only used as a charging interface, and does not have UART function.There are many types of mounting holes on the back of the base,which can be easily installed by the user into all types of planes. -Communication Info: I2C, **0x29**, GPIO0/26. - - + ## Product Features -- High precision -- Maximum measuring distance 2m -- 940nm laser VCSEL -- Development platform: Arduino, UIFlow(Blockly, Python) -- Security: -     - Class 1 laser equipment meeting the latest standards -     - Standard IEC 60825-1: 2014 - 3rd edition +- Chargable +- Battery replaceable ## Weight & Dimension -- Dimension:24mm x 20.3mm x 13.8mm -- Weight:3g +- Dimension:150mm x 25mm x 25mm +- Weight:277g ## Include -- 1x ToF HAT +- 1x 18650 HAT - - -## Application - -- Obstacle recognition -- Gesture Recognition -- Laser Ranging -- 3D structured light imaging (3D sensing) -- Camera assist (super fast auto focus and depth of field map) - - -## Links - -- **[VL53L0X Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/VL53L0X_en.pdf)** - - -## Schematic - - - -## EasyLoader - - - - - ->1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.(**Currently EasyLoader is only available for Windows OS**) - ->2. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click **"Burn"** to start burning. (**For M5StickC burning, please Set the baud rate to 750000 or 115200**) - -## Example - -- **[Arduino](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Hat/tof-hat/Arduino/ToF_Count)** - -### Pin Map - - - - -
M5StickCGPIO0GPIO263.3VGND
ToF HATSDASCL3.3VGND
- - -## Video +## Related Video \ No newline at end of file diff --git a/docs/en/uiflow/hardware.md b/docs/en/uiflow/hardware.md index 1746e8ab..615dec51 100644 --- a/docs/en/uiflow/hardware.md +++ b/docs/en/uiflow/hardware.md @@ -98,7 +98,7 @@ Get the Angular velocity z position > -# POWER +# POWER (M5Stack) __________________________ #### Feature introduction @@ -106,7 +106,7 @@ __________________________ >Set power management charge or get power. -> +> * __isCharging__ Return whether it is charging @@ -125,4 +125,54 @@ Return battery level >If the charge RGB is RED else BLACK -> \ No newline at end of file +> + + +# POWER (M5StickC) +__________________________ + +#### Feature introduction + +>Set axp192 related parameters. + +> + +* __Get charge state__ +Return to charging state + +* __Get battery voltage__ +Return battery voltage + +* __Get battery current__ +Return battery voltage + +* __Get Vin voltage__ +Return VIN input voltage + +* __Get Vin current__ +Return VIN input current + +* __Get VBus voltage__ +Return VBUS voltage + +* __Get VBus current__ +Return VBUS current + +* __Get AXP192 temperature__ +Return AXP temperature + +* __Power off__ +Shutdown + +* __Set battery charge current to__ +Set charging current + +* __Set LCD voltage to__ +Set screen voltage + +#### USAGE + +>Display the battery voltage and charging current, and shut down after full charge + + +> \ No newline at end of file diff --git a/docs/image/Hardwares/POWER.png b/docs/image/Hardwares/Power5306.png similarity index 100% rename from docs/image/Hardwares/POWER.png rename to docs/image/Hardwares/Power5306.png diff --git a/docs/image/Hardwares/PowerAXP.png b/docs/image/Hardwares/PowerAXP.png new file mode 100644 index 00000000..2958a3a5 Binary files /dev/null and b/docs/image/Hardwares/PowerAXP.png differ diff --git a/docs/image/Hardwares/PowerAXP_user.gif b/docs/image/Hardwares/PowerAXP_user.gif new file mode 100644 index 00000000..c2d39867 Binary files /dev/null and b/docs/image/Hardwares/PowerAXP_user.gif differ diff --git a/docs/index.md b/docs/index.md index 16b02e90..e0f935ce 100644 --- a/docs/index.md +++ b/docs/index.md @@ -214,7 +214,8 @@ {a:"/#/en/hat/hat-bugc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/bugc_hat_01.jpg", p:"BugC"}, {a:"/#/en/hat/hat-cardkb", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/cardkb_hat_01.jpg", p:"CardKB"}, {a:"/#/en/hat/hat-roverc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/roverc_hat_01.jpg", p:"RoverC"}, - {a:"/#/en/hat/hat-joyc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/JoyC_01.jpg", p:"JoyC"} + {a:"/#/en/hat/hat-joyc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/JoyC_01.jpg", p:"JoyC"}, + {a:"/#/en/hat/hat-18650", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/18650C_01.webp", p:"18650C"} ]; diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index 1ebb76a7..030f0fa0 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -215,6 +215,8 @@ {a:"/#/zh_CN/hat/hat-cardkb", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/cardkb_hat_01.jpg", p:"CardKB"}, {a:"/#/zh_CN/hat/hat-roverc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/roverc_hat_01.jpg", p:"RoverC"}, {a:"/#/zh_CN/hat/hat-joyc", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/JoyC_01.jpg", p:"JoyC"}, + {a:"/#/zh_CN/hat/hat-18650", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/18650C_01.webp", p:"18650C"}, + ]; diff --git a/docs/zh_CN/hat/hat-18650.md b/docs/zh_CN/hat/hat-18650.md index 0e7582b2..270f3de0 100644 --- a/docs/zh_CN/hat/hat-18650.md +++ b/docs/zh_CN/hat/hat-18650.md @@ -1,90 +1,36 @@ # 18650 HAT {docsify-ignore-all} - + *** -:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/products/m5stickc-tof-hatvl53l0x)**   **[EasyLoader](#EasyLoader)** +:memo:**[描述](#描述)**      🛒**[购买链接](https://m5stack.com/products/m5stickc-hat-18650hat)**   :clapper:**[相关视频](#相关视频)** ## 描述 - -**ToF HAT**是一款专为M5SticKC设计的高精度激光测距传感器,内部集成ST激光测距芯片**VL53L0X**、**940nm VCSEL**发射器,通过测量激光信号到被测物体的往返时间,能够在不到30ms的时间内测量2m范围内的绝对距离.与传统测距不同的地方在于,无论检测目标的的反射率如何,它都能提供精确的距离测量数据.在一些对数据精度有一定要求的距离测量、障碍物识别项目中,**ToF HAT**能够有不错的表现. +**18650 HAT**是一款专为M5SticKC设计的可充电电池底座,内置18650大容量可充电锂电池,能够为设备提供较长时间的续航能力,底座沿用HAT系列的插接式结构设计,使用时能够与M5StickC保持可靠连接.底部配有USB接口充电接口,能够方便快捷的为电池充电。底座的USB接口仅作为充电接口使用,不具备串口通信功能。底座背面提供了多种类型的安装孔,用户可以非常轻易的将其安装到各类平面。 -通信协议:I2C、地址为**0x29**.(GOIO 0/26) - - - + ## 产品特性 -- 高精度 -- 最大测量距离 2m -- 940nm 激光 VCSEL -- 开发平台: Arduino, UIFlow(Blockly, Python) -- 安全方面: - - 符合最新标准的1级激光设备 - - 标准IEC 60825-1:2014-第3版 +- 充电式设计 +- 电池可更换 ## 重量尺寸 -- 单品尺寸:24mm x 20.3mm x 13.8mm -- 单品重量:3g +- 单品尺寸:150mm x 25mm x 25mm +- 单品重量:277g ## 包含 -- 1x ToF HAT - - - - -## 应用 - -- 障碍物识别 -- 手势识别 -- 激光测距 -- 3D结构光成像(3D感应) -- 摄像机辅助(超快速自动对焦和景深图) - -## 相关链接 - -- **[VL53L0X Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/VL53L0X_en.pdf)** - - -## 原理图 - - - - -## EasyLoader - - - - - ->1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序,通过简单步骤将其烧录至主控,能够进行一系列的功能验证.**(目前EasyLoader仅适用于Windows操作系统)** - ->2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录.(**为M5StickC烧录时,请将波特率设置在750000或115200**) - - -## 例程 - -- **[Arduino](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Hat/tof-hat/Arduino/ToF_Count)** - - -### 管脚映射 - - - - -
M5StickCGPIO0GPIO263.3VGND
ToF HATSDASCL3.3VGND
- +- 1x 18650 HAT ## 相关视频 \ No newline at end of file diff --git a/docs/zh_CN/uiflow/hardware.md b/docs/zh_CN/uiflow/hardware.md index 246e4051..0bcee34c 100644 --- a/docs/zh_CN/uiflow/hardware.md +++ b/docs/zh_CN/uiflow/hardware.md @@ -96,7 +96,7 @@ __________________________ > -# 电源管理 +# 电源管理(M5Stack) __________________________ #### 功能说明 @@ -104,7 +104,7 @@ __________________________ >设置充电或者获取电量. -> +> * __isCharging__ 返回充电状态 @@ -123,4 +123,54 @@ __________________________ >如果在充电RGB亮红灯 -> \ No newline at end of file +> + + +# 电源管理(M5StickC) +__________________________ + +#### 功能说明 + +>设置AXP192相关参数. + + +> + +* __Get charge state__ +返回充电状态 + +* __Get battery voltage__ +返回电池电压 + +* __Get battery current__ +返回电池电压 + +* __Get Vin voltage__ +返回Vin输入电压 + +* __Get Vin current__ +返回Vin输入电流 + +* __Get VBus voltage__ +返回VBus电压 + +* __Get VBus current__ +返回VBus电流 + +* __Get AXP192 temperature__ +返回AXP温度 + +* __Power off__ +关机 + +* __Set battery charge current to__ +设置充电电流 + +* __Set LCD voltage to__ +设置屏幕电压 + +#### 使用方法 + +>显示电池电压和充电电流,充满电后关机 + +> \ No newline at end of file