This commit is contained in:
LiHuashen
2019-05-08 09:51:30 +08:00
parent 1e2f98c1a7
commit e198290d96
9 changed files with 22 additions and 22 deletions
+3 -3
View File
@@ -14,7 +14,7 @@
<img src="assets/img/product_pics/unit/unit_neopixel_02.png">
### 产品特性
## 产品特性
- 可选长度: 10cm/20cm/0.5m/1m/2m
- 开发平台: Arduino, UIFlow(Blockly, Python)
@@ -40,7 +40,7 @@
### 1. Arduino IDE
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/NEOPIXEL/Arduino)。*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/NEOPIXEL/Arduino)。*
```arduino
/*
@@ -101,7 +101,7 @@ void FastLEDshowTask(void *pvParameters){
### 2. UIFlow
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/NEOPIXEL/UIFlow).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/NEOPIXEL/UIFlow).*
<img src="assets/img/product_pics/unit/unit_example/NEOPIXEL/example_unit_neopixel_01.png">
+3 -3
View File
@@ -14,7 +14,7 @@
*注意: 检测触发后存在2秒延时.*
### 产品特性
## 产品特性
- 检测距离: 150cm
- 延时时间: 2s
@@ -45,7 +45,7 @@
### 1. Arduino IDE
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/PIR/Arduino).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/PIR/Arduino).*
```arduino
#include <M5Stack.h>
@@ -61,7 +61,7 @@ M5.update();
### 2. UIFlow
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/PIR/UIFlow).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/PIR/UIFlow).*
<img src="assets/img/product_pics/unit/unit_example/PIR/example_unit_pir_03.png">
+1 -1
View File
@@ -10,7 +10,7 @@
**PROTO** 是一款万能板 Unit.你可以自由的在板上进行电路设计.并通过GROVE端口与M5Core进行连接.如果你打算为你的设计添加简单的电路并为其添加可靠的保护外壳.PROTO Unit 是一个不错的选择.
### 产品特性
## 产品特性
- 孔尺寸: 0.039" 1mm (CNC Drilled)
- 孔间距: 0.1 in - (2.54 mm)
+3 -3
View File
@@ -10,7 +10,7 @@
**RELAY**, 是一款继电器 Unit.能够控制DC/3A-30V或AC/3A-220V级别线路的通断.它实际上是用小电流去控制大电流运作的一种自动开关.故在电路中起着自动调节、安全保护、转换电路等作用.Unit提供3个引脚: ON、OFF、COM.通过编程GPIO输出高、低电平控制,公共端COM与ON、OFF其中之一连接.
### 产品特性
## 产品特性
- 单总线控制
- 最高支持DC/3A-30V或AC/3A-220V
@@ -38,7 +38,7 @@
### 1. Arduino IDE
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RELAY/Arduino).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RELAY/Arduino).*
```arduino
#include <M5Stack.h>
@@ -63,7 +63,7 @@ void loop(void) {
### 2. UIFlow
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RELAY/UIFlow).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RELAY/UIFlow).*
<img src="assets/img/product_pics/unit/unit_example/RELAY/example_unit_relay_01.png">
+3 -3
View File
@@ -12,7 +12,7 @@
该 Unit 通过GROVE A IIC0x28)与M5Core连接.
### 产品特性
## 产品特性
- 工作频率: 13.56 MHz
- I2C 数据速率: 快速模式: 最高400 Kbit/s; 高速模式: 最高3400 Kbit/s
@@ -48,7 +48,7 @@
### 1. Arduino IDE
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RFID/Arduino).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RFID/Arduino).*
烧录例程 RFID.ino 后,当设备运行. 使用IC卡或手机NFC放置在 RFID Unit 上.M5Core屏幕上将打印出其ID信息.
@@ -93,7 +93,7 @@ void ShowReaderDetails() {
### 2. UIFlow
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RFID/UIFlow).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RFID/UIFlow).*
使用[UIFlow](flow.m5stack.com)下载该案例程序到M5Core中后将感应卡放置在 RFID Unit 上.M5Core屏幕将显示打印其对应的ID信息.
+3 -3
View File
@@ -10,7 +10,7 @@
**RGB** 是一款 LED 灯 Unit.集成了3颗可编程的LED灯,通过程序能够自定义其发出的颜色与亮度.支持串接多个RGB Unit 进行拓展,你可以将其运用在STEM课堂制作一些有趣的应用,如交通信号灯.或是将其运用在其他的应用项目中充当状态指示灯使用.
### 产品特性
## 产品特性
- 开发平台: Arduino, UIFlow(Blockly, Python)
- 2x LEGO 兼容孔
@@ -30,7 +30,7 @@
### 1. Arduino IDE
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RGB/Arduino).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RGB/Arduino).*
```arduino
/*
@@ -58,7 +58,7 @@ pixels.show(); // This sends the updated pixel color to the hardware.
### 2. UIFlow
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RGB/UIFlow).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RGB/UIFlow).*
<img src="assets/img/product_pics/unit/unit_example/RGB/example_unit_rgb_01.png">
+1 -1
View File
@@ -10,7 +10,7 @@
**RS485** 是一款TTL-RS485转换器.用于将TTL电平转换为RS485电平,RS485是一种通信协议标准,用于定义用于串行通信系统的驱动器和接收器的电气特性,支持多点系统,广泛应用于工业领域.当项目设备需要通过RS485进行通信控制时,使用 RS485 Unit 进行接口类型转接会是一个不错的选择.
### 产品特性
## 产品特性
- 内置 MAX485/SP485EEN
- 直流电压输入范围 12~24 V
+2 -2
View File
@@ -16,7 +16,7 @@
<img src="assets/img/product_pics/unit/thermal/unit_thermal_05.png">
### 产品特性
## 产品特性
- 工作电压: 3V ~ 3.6V
- 工作电流: 23mA
@@ -50,7 +50,7 @@
### 1. Arduino IDE
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/THERMAL/Arduino)。*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/THERMAL/Arduino)。*
```arduino
/*
+3 -3
View File
@@ -12,7 +12,7 @@
该 Unit 与 M5Core 通过 Grove A 接口通信,I2C 地址为**0x29**.
### 产品特性
## 产品特性
- 高精度
- 最大测量距离 2m
@@ -44,7 +44,7 @@
### 1. Arduino IDE
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/TOF/Arduino).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/TOF/Arduino).*
```arduino
#include <M5Stack.h>
@@ -72,7 +72,7 @@ dist = makeuint16(gbuf[11], gbuf[10]);//split distance data to variable "dist"
### 2. UIFlow
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/TOF/UIFlow).*
*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/TOF/UIFlow).*
<img src="assets/img/product_pics/unit/unit_example/TOF/example_unit_tof_01.png">