diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index a5e167e7..bb4871d4 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -143,6 +143,16 @@ body[data-page="ja/README.md"] #m5stickc { margin: 0; } + +body[data-page="index.md"] #m5stickv, +body[data-page="zh_CN/README.md"] #m5stickv, +body[data-page="ja/README.md"] #m5stickv { + width: 0; + height: 0; + overflow: hidden; + margin: 0; +} + body[data-page="index.md"] #m5stick, body[data-page="zh_CN/README.md"] #m5stick, body[data-page="ja/README.md"] #m5stick { diff --git a/docs/assets/img/i2c_address/core_compare.jpg b/docs/assets/img/i2c_address/core_compare.jpg new file mode 100644 index 00000000..6850030d Binary files /dev/null and b/docs/assets/img/i2c_address/core_compare.jpg differ diff --git a/docs/assets/img/i2c_address/stick_compare.jpg b/docs/assets/img/i2c_address/stick_compare.jpg new file mode 100644 index 00000000..3e483079 Binary files /dev/null and b/docs/assets/img/i2c_address/stick_compare.jpg differ diff --git a/docs/assets/img/related_documents/Page_logo/blockly-custom-logo.png b/docs/assets/img/related_documents/Page_logo/blockly-custom-logo.png new file mode 100644 index 00000000..d1e71767 Binary files /dev/null and b/docs/assets/img/related_documents/Page_logo/blockly-custom-logo.png differ diff --git a/docs/assets/img/related_documents/blockly_custom/custom_01.jpg b/docs/assets/img/related_documents/blockly_custom/custom_01.jpg new file mode 100644 index 00000000..89a2851f Binary files /dev/null and b/docs/assets/img/related_documents/blockly_custom/custom_01.jpg differ diff --git a/docs/assets/img/related_documents/blockly_custom/custom_02.jpg b/docs/assets/img/related_documents/blockly_custom/custom_02.jpg new file mode 100644 index 00000000..83e96cc5 Binary files /dev/null and b/docs/assets/img/related_documents/blockly_custom/custom_02.jpg differ diff --git a/docs/assets/img/related_documents/blockly_custom/custom_03.jpg b/docs/assets/img/related_documents/blockly_custom/custom_03.jpg new file mode 100644 index 00000000..326c2e5e Binary files /dev/null and b/docs/assets/img/related_documents/blockly_custom/custom_03.jpg differ diff --git a/docs/assets/img/related_documents/blockly_custom/custom_04.jpg b/docs/assets/img/related_documents/blockly_custom/custom_04.jpg new file mode 100644 index 00000000..46163184 Binary files /dev/null and b/docs/assets/img/related_documents/blockly_custom/custom_04.jpg differ diff --git a/docs/assets/img/related_documents/blockly_custom/custom_05.jpg b/docs/assets/img/related_documents/blockly_custom/custom_05.jpg new file mode 100644 index 00000000..e9b6b52d Binary files /dev/null and b/docs/assets/img/related_documents/blockly_custom/custom_05.jpg differ diff --git a/docs/assets/img/related_documents/blockly_custom/custom_06.jpg b/docs/assets/img/related_documents/blockly_custom/custom_06.jpg new file mode 100644 index 00000000..16af89a9 Binary files /dev/null and b/docs/assets/img/related_documents/blockly_custom/custom_06.jpg differ diff --git a/docs/assets/img/related_documents/blockly_custom/custom_07.jpg b/docs/assets/img/related_documents/blockly_custom/custom_07.jpg new file mode 100644 index 00000000..419d9724 Binary files /dev/null and b/docs/assets/img/related_documents/blockly_custom/custom_07.jpg differ diff --git a/docs/en/accessory/cable/grove_cable.md b/docs/en/accessory/cable/grove_cable.md index 33f861c3..5aba0957 100644 --- a/docs/en/accessory/cable/grove_cable.md +++ b/docs/en/accessory/cable/grove_cable.md @@ -1,14 +1,14 @@ -# Accessory GROVE Cable {docsify-ignore-all} +# Accessory CONNEXT Cable {docsify-ignore-all} *** -:memo:**[Description](#Description)**       🛒**[Purchase](https://m5stack.com/collections/m5-accessory/products/4pin-buckled-grove-cable)** +:memo:**[Description](#Description)**       🛒**[Purchase](https://m5stack.com/collections/m5-accessory/products/4pin-buckled-CONNEXT-cable)** ## Description -**GROVE Cable** would be a necessary tool used on M5Stack development, since all PORTs on M5Core are GROVE stadard. This Grove cable, compatible with the GROVE port on M5Core,simply have 4 lines, two for data, one for power,and one for Ground. We've offered alternative length: 10cm, 20cm, 50cm, 1m, 2m. +**CONNEXT Cable** would be a necessary tool used on M5Stack development, since all PORTs on M5Core are CONNEXT stadard. This CONNEXT cable, compatible with the CONNEXT port on M5Core,simply have 4 lines, two for data, one for power,and one for Ground. We've offered alternative length: 10cm, 20cm, 50cm, 1m, 2m. diff --git a/docs/en/accessory/converter/grove_t.md b/docs/en/accessory/converter/grove_t.md index 2cc55584..b4e24ac4 100644 --- a/docs/en/accessory/converter/grove_t.md +++ b/docs/en/accessory/converter/grove_t.md @@ -1,4 +1,4 @@ -# Accessory Grove-T {docsify-ignore-all} +# Accessory CONNEXT-T {docsify-ignore-all} @@ -8,8 +8,8 @@ ## Description -**Grove-T** is a T-shaped hub. Is this remind you the HUB unit ? They are basically the same thing, just in different shape.This is also used for GROVE port expanding. +**CONNEXT-T** is a T-shaped hub. Is this remind you the HUB unit ? They are basically the same thing, just in different shape.This is also used for CONNEXT port expanding. -Notice: **Grove-T** is just a hardware expander, if you are looking for hardware and software(standard protocol) expander like I2C, Single-bus, please check **PaHUB** or **PbHUB**. If you connectted two I2C slave devices onto **HUB** that share the same adress, you will have problem getting I2C data from both. +Notice: **CONNEXT-T** is just a hardware expander, if you are looking for hardware and software(standard protocol) expander like I2C, Single-bus, please check **PaHUB** or **PbHUB**. If you connectted two I2C slave devices onto **HUB** that share the same adress, you will have problem getting I2C data from both. diff --git a/docs/en/app/bala.md b/docs/en/app/bala.md index 39c64e02..a3fbaf88 100644 --- a/docs/en/app/bala.md +++ b/docs/en/app/bala.md @@ -33,7 +33,7 @@ Model | M5Stack FIRE ESP32 | 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi, dual mode Bluetooth Flash | 16MB Flash + 4MB PSRAM Input | 5V @ 500mA -Interface | TypeC x 1, GROVE(I2C+I/0+UART), Pogo Pin x 1 +Interface | TypeC x 1, CONNEXT(I2C+I/0+UART), Pogo Pin x 1 LCD | 2 inch, 320x240 Colorful TFT LCD, ILI9341 Speaker | 1W-0928 Microphone | MEMS Analog BSE3729 Microphone diff --git a/docs/en/base/m5go_bottom.md b/docs/en/base/m5go_bottom.md index cce5379c..51da0aa0 100644 --- a/docs/en/base/m5go_bottom.md +++ b/docs/en/base/m5go_bottom.md @@ -8,7 +8,7 @@ ## Description -**M5GO BOTTOM** is apparently the bottom part of M5GO which is a upgrade of basic bottoms, with a larger battery, LOGO-compatilble holes, MICPHONE, LED Bar , two more GROVE PORT,and more. +**M5GO BOTTOM** is apparently the bottom part of M5GO which is a upgrade of basic bottoms, with a larger battery, LOGO-compatilble holes, MICPHONE, LED Bar , two more CONNEXT PORT,and more. **M5GO BOTTOM** is the same Bottom of [M5GO Lite](https://docs.m5stack.com/#/en/core/m5go_lite), [M5GO IoT Kit](https://docs.m5stack.com/#/en/core/m5go) and [M5Fire](https://docs.m5stack.com/#/en/core/fire). @@ -35,7 +35,7 @@ | :----------: |:------------: | | MIC Pin | GPIO34 | -**GROVE** +**CONNEXT** | PORT B(I/O) | ESP32 Chip | | :----------: |:------------: | diff --git a/docs/en/core/basic.md b/docs/en/core/basic.md index b910a3cf..8d593fb6 100644 --- a/docs/en/core/basic.md +++ b/docs/en/core/basic.md @@ -157,9 +157,9 @@ M5Stack Basic is consist with two separable parts. the upside part has all kinds - *Download chart click [here](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT EXPLAIN** *You can identify the port name and function by its color, red is PortA(21/22) mainly used for I2C, black is PortB(26/36) which can be used for AD/DA, Singel-bus communication, Blue is PortC(16/17) can be used for Uart. Correspondingly, most of the M5 Units have the Port with matched color for specify which port it should go in on the M5Core. diff --git a/docs/en/core/face_kit.md b/docs/en/core/face_kit.md index 22064706..a5d99317 100644 --- a/docs/en/core/face_kit.md +++ b/docs/en/core/face_kit.md @@ -75,8 +75,9 @@ Other than 3 functional panels, this development kit comes with more stuff like - *Download chart click[here](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)* - - + + + **Notice2:M5PORT EXPLAIN**
diff --git a/docs/en/core/fire.md b/docs/en/core/fire.md index 55688407..cfa180bb 100644 --- a/docs/en/core/fire.md +++ b/docs/en/core/fire.md @@ -180,9 +180,9 @@ Supported development platforms and program languages: Arduino, Blockly language - *Download chart click[here](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT EXPLAIN ** *You can identify the port name and function by its color, red is PortA(21/22) mainly used for I2C, black is PortB(26/36) which can be used for AD/DA, Singel-bus communication, Blue is PortC(16/17) can be used for Uart. Correspondingly, most of the M5 Units have the Port with matched color for specify which port it should go in on the M5Core. diff --git a/docs/en/core/gray.md b/docs/en/core/gray.md index d702b273..fefc2dc3 100644 --- a/docs/en/core/gray.md +++ b/docs/en/core/gray.md @@ -116,13 +116,23 @@ Supported development platforms and program languages: Arduino, Blockly language IP5306SCLSDA5VGND -**9-Axis Posture Sensor MPU9250** -*I2C address 0x68* +**6-Axis MotionTracking Sensor MPU6886** + +*MPU6886 I2C address 0x68* - + +
ESP32 ChipGPIO22GPIO215VGND
MPU9250SCLSDA5VGND
MPU6886SCLSDA5VGND
+ +**3-Axis Geomagnetic Sensor BMM150** + +*BMM150 I2C address 0x10* + + + +
ESP32 ChipGPIO22GPIO215VGND
BMM150SCLSDA5VGND
## PARAMETER @@ -182,9 +192,9 @@ Supported development platforms and program languages: Arduino, Blockly language - *Download chart click[here](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT EXPLAIN** *You can identify the port name and function by its color, red is PortA(21/22) mainly used for I2C, black is PortB(26/36) which can be used for AD/DA, Singel-bus communication, Blue is PortC(16/17) can be used for Uart. Correspondingly, most of the M5 Units have the Port with matched color for specify which port it should go in on the M5Core. @@ -210,7 +220,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to EPS ## Learn -- **datasheet** - [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) - [MPU9250](https://www.invensense.com/download-pdf/mpu-9250-datasheet/) +- **datasheet** - [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) - [MPU6886](https://github.com/m5stack/M5-Schematic/blob/master/datasheet/MPU-6886-000193%2Bv1.1_GHIC.PDF.pdf) - [BMM150](http://pdf1.alldatasheet.com/datasheet-pdf/view/608913/ETC2/BMM150.html) - **datasheet** - [IP5306](https://github.com/m5stack/M5-Schematic/blob/master/Core/IIC_IP5306_REG_V1.4.pdf) diff --git a/docs/en/core/m5go.md b/docs/en/core/m5go.md index 817cdc27..e73d7455 100644 --- a/docs/en/core/m5go.md +++ b/docs/en/core/m5go.md @@ -173,9 +173,9 @@ This M5GO kit is specifically designed for STEM education. The pack includes 1 M - *Download chart click[here](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT EXPLAIN** *You can identify the port name and function by its color, red is PortA(21/22) mainly used for I2C, black is PortB(26/36) which can be used for AD/DA, Singel-bus communication, Blue is PortC(16/17) can be used for Uart. Correspondingly, most of the M5 Units have the Port with matched color for specify which port it should go in on the M5Core. diff --git a/docs/en/core/m5go_lite.md b/docs/en/core/m5go_lite.md index d34c0885..3f2aab1c 100644 --- a/docs/en/core/m5go_lite.md +++ b/docs/en/core/m5go_lite.md @@ -174,9 +174,9 @@ All M5stack development board can be programmed through Arduino IDE, WebIDE UIFl - *Download chart click[here](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT EXPLAIN** *You can identify the port name and function by its color, red is PortA(21/22) mainly used for I2C, black is PortB(26/36) which can be used for AD/DA, Singel-bus communication, Blue is PortC(16/17) can be used for Uart. Correspondingly, most of the M5 Units have the Port with matched color for specify which port it should go in on the M5Core. diff --git a/docs/en/core/m5stick.md b/docs/en/core/m5stick.md index 9ec7586f..d4336305 100644 --- a/docs/en/core/m5stick.md +++ b/docs/en/core/m5stick.md @@ -115,9 +115,9 @@ M5stick is one of the core devices in M5Stack product series which is built in a - *Download chart click[here](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + ## Include diff --git a/docs/en/core/m5stickc.md b/docs/en/core/m5stickc.md index 1977220a..a72c9352 100644 --- a/docs/en/core/m5stickc.md +++ b/docs/en/core/m5stickc.md @@ -133,8 +133,8 @@ M5stickC is one of the core devices in M5Stack product series which is built in **AXP192** - - + +
INLEDTFTRTCESP32
LD02LD03LD01DIC DCI
MicrophoneRTCTFT backlightTFT ICESP32/3.3V MPU6886/SH200Q5V GROVE
LDOio0LDO1LDO2LDO3DC-DC1IPSOUT
**M5StickC extendable IO at top** @@ -165,9 +165,9 @@ M5stickC is one of the core devices in M5Stack product series which is built in - *Download chart click [here](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + * **Arduino** diff --git a/docs/en/core/m5stickv.md b/docs/en/core/m5stickv.md index 6a8b50cf..b670ec67 100644 --- a/docs/en/core/m5stickv.md +++ b/docs/en/core/m5stickv.md @@ -131,7 +131,7 @@ The chip contains a high-performance, low power RISC-V ISA-based dual core 64-bi - Extensive Click-and-Pop Reduction Circuitry #### 1.4 AXP192 -- Operation Voltage: 2.9V~6.3V (AMR:-0.3V~15V) +- Operation Voltage: 2.9V - 6.3V(AMR:-0.3V~15V) - Configurable Intelligent Power Select system - Current and voltage limit of adaptive USB or AC adapter input - The resistance of internal ideal diode lower than 100mΩ diff --git a/docs/en/module/joystick.md b/docs/en/module/joystick.md index 4580a146..faffccda 100644 --- a/docs/en/module/joystick.md +++ b/docs/en/module/joystick.md @@ -69,7 +69,7 @@ void get_joystick_offset(void){ - **[Forum](http://forum.m5stack.com/)** -- **[The Firmware of inside MEGA328](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/JOYSTICK/firmware_328p/FacesJoystick328)** +- **[The Firmware of inside MEGA328](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/JOYSTICK/firmware_328p/FaceJoystick328)** ## EasyLoader diff --git a/docs/en/related_documents.md b/docs/en/related_documents.md index 7d93ff6f..558981aa 100644 --- a/docs/en/related_documents.md +++ b/docs/en/related_documents.md @@ -60,4 +60,13 @@

VScode- M5Stack Plugin

+ + +
+
+ + +
\ No newline at end of file diff --git a/docs/en/related_documents/blockly_custom.md b/docs/en/related_documents/blockly_custom.md new file mode 100644 index 00000000..1c6914ff --- /dev/null +++ b/docs/en/related_documents/blockly_custom.md @@ -0,0 +1,66 @@ +# UIFlow Block Custom{docsify-ignore-all} + + +1. [Create block](#Create-block) + +2. [Code-Parameter](#Code-Parameter) + +3. [Save and Changes](#Save-and-Changes) + +4. [Using program block](#Using-program-block) + + +## Create block + + +Create a custom block by clicking on the `Custom` option > `Create` in the block list. + + + +To create a new block, we need to provide: + +`1: group name`: the name of the group in which the custom block is placed + +`2: Block color`: Appearance color of the block + +`3: Block label`: Only letters, numbers, underscores are allowed + +`4: Block type`: Define the type of the block as `Value` (value), or `Execute` (execute) + +`5: Number of blocks`: Ability to add multiple blocks at the same time and save them to a `.m5b` file at the same time + + + + + +## Code-Parameter + + +Click the `Add` option under `Parameter`, add a program property, enter the name displayed in the block, and select the property type. Enter the code contained in the custom block in the `Block Code` option box. + +[Click here to visit Github for more program API](https://github.com/m5stack/UIFlow-Code/wiki) + + + +When the attribute type of a custom block has constant or variable input, we can get these values in the code and perform further processing and operations. + +Example: Select the attribute type as `String` (string input). In this case, if we want to get the string input when using, just use `${Parameter name}` in the code. It is `${show_word}`. It should be noted that when there is a space in the block name, use ${} to get the space that needs to be replaced with the `_` underscore. + + + +## Save and Changes + +After editing the program, click `Download` to save. + +Click on `Open .m5b` to open the saved custom program for modification. + + + + +## Using program block + +Open a custom block by clicking on the`Custom`option > `Open` ,in the block list. + + +

+ \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 88c40782..51dcedc5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -15,7 +15,8 @@ M5Core QuickStart     IIC AddressTable     - Cores comparison » + + M5Core comparison » **M5Core** @@ -46,7 +47,8 @@ M5Stick QuickStart     M5StickC QuickStart     - M5StickV QuickStart + M5StickV QuickStart     + M5Stick comparison » **M5Stick** @@ -71,6 +73,7 @@

M5StickV

+ ## M5GO Lite ## M5GO Kit ## FACES Kit @@ -120,6 +123,7 @@ ## SIM800L ## COMMU + **Communication Modules**
@@ -1176,6 +1180,36 @@
+ + + + BATTERY PROTO PROTO-KIT @@ -176,8 +180,8 @@ IR RS485 RFID - + LASER-RX + LASER-TX @@ -191,11 +195,12 @@ PIR SPK PROTO + MINI-PROTO NCIR Thermal - + RS485 diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index ee13b129..63fe72da 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -2,22 +2,17 @@ *** -# Core -
Core
-## BASIC -## GRAY -## FIRE - M5Core上手指南     IIC地址表     - 款式硬件区别 » + M5Core硬件区别 » + **M5Core** @@ -26,6 +21,7 @@ +

BASIC

@@ -33,6 +29,7 @@ +

GRAY

@@ -40,26 +37,26 @@ +

FIRE

-## M5Stick -## M5StickC + M5Stick上手指南     M5StickC上手指南     - - + M5StickV上手指南     + M5Stick硬件区别 » **M5Stick** -
+

M5Stick

@@ -67,21 +64,19 @@ +

M5StickC

-

M5StickV

- --> + + -## M5GO Lite -## M5GO Kit -## FACES Kit - - M5GO上手指南     FACES-kit上手指南 » @@ -92,6 +87,7 @@ +

M5GO Lite

@@ -99,6 +95,7 @@ +

M5GO Kit

@@ -106,12 +103,12 @@ +

FACES Kit

*** -# Module
@@ -120,11 +117,6 @@ -## GPS -## LORA -## LoRaWAN -## SIM800L -## COMMU IIC地址表     @@ -165,13 +157,6 @@

COMMU

-## BATTERY -## PROTO -## PROTO-KIT -## PLUS -## USB -## BUS -## GoPlus **拓展模块** @@ -224,10 +209,6 @@

GoPlus

-## STEPMOTOR -## SERVO -## LEGO_PLUS -## FAN **驱动模块** @@ -260,10 +241,6 @@ -## ENCODER -## JOYSTICK -## FACES-FINGER -## FACES-RFID **FACES系列模块** @@ -303,14 +280,6 @@ -  - -## LAN -## NODE -## BTC -## PLC -## Core BOTTOM -## M5GO BOTTOM
@@ -355,11 +324,6 @@

M5GO BOTTOM

-## M5GO RFID -## M5GO CHARGER -## pm2_5 -## BASE15 -## BASE26
@@ -398,18 +362,12 @@ *** -# Unit
Unit
-## ESP32CAM -## M5Camera -## M5CameraF -## M5CameraX -
摄像头上手指南     IIC地址表     @@ -449,13 +407,6 @@ **传感器类** -## ENV -## EARTH -## LIGHT -## PIR -## NCIR -## THERMAL -## COLOR
@@ -507,13 +458,6 @@
-## TOF -## HEART -## ADC -## MAKEY -## GPS -## FINGER -## WEIGHT
@@ -565,10 +509,6 @@
-## TRACE -## ACCEL -## OP180 -## OP90
@@ -601,12 +541,6 @@ **交互类** -## ANGLE -## BUTTON -## Dual-BUTTON -## JOYSTICK -## CardKB - **C-HAT 类** -## HAT-ENV -## HAT-PIR -## HAT-SPK -## HAT-PROTO -## HAT-THERMAL -## HAT-NCIR -## HAT-RS485 - +
**视觉类** -## RGB_LED -## CatEar -## HEX -## NeoFlash -## BUTTERFLY -## RGB
@@ -917,7 +820,7 @@
*** -# Application +
@@ -928,11 +831,7 @@ -## BALA -## LidarBOT -## PIANO -## FLIR -## DEMO-BOARD + + + +
\ No newline at end of file diff --git a/docs/zh_CN/core/basic.md b/docs/zh_CN/core/basic.md index 08946de2..db20fe7b 100644 --- a/docs/zh_CN/core/basic.md +++ b/docs/zh_CN/core/basic.md @@ -152,9 +152,9 @@ M5Stack Basic 由两个可分离部分堆叠组成. 顶部放置了电路板, - *如果想**下载**详细的资源对比,请点击[这里](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT 说明 ** diff --git a/docs/zh_CN/core/face_kit.md b/docs/zh_CN/core/face_kit.md index aa498995..08d91e4f 100644 --- a/docs/zh_CN/core/face_kit.md +++ b/docs/zh_CN/core/face_kit.md @@ -83,9 +83,9 @@ - *如果想**下载**详细的资源对比,请点击[这里](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **注意2:M5PORT 说明 ** diff --git a/docs/zh_CN/core/fire.md b/docs/zh_CN/core/fire.md index 3b2b44fe..767b4271 100644 --- a/docs/zh_CN/core/fire.md +++ b/docs/zh_CN/core/fire.md @@ -191,9 +191,9 @@ M5Stack Fire 配有三个可分离部件. 顶部与其他的M5主机一样,放 - *如果想**下载**详细的资源对比,请点击[这里](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT 说明 ** diff --git a/docs/zh_CN/core/gray.md b/docs/zh_CN/core/gray.md index a829e932..f48dc21d 100644 --- a/docs/zh_CN/core/gray.md +++ b/docs/zh_CN/core/gray.md @@ -10,7 +10,7 @@ ## 描述 -**M5Stack GRAY Kit** 是M5Stack开发套件系列中的一款,进阶型的开发套件.它作为Basic套件的升级版,在硬件上提供了更大的 PSRAM 内存,并且集成了 IMU 传感器 MPU9250 .无论是作为入门或是进阶, Gray 套件都是一个非常不错的选择. +**M5Stack GRAY Kit** 是M5Stack开发套件系列中的一款,进阶型的开发套件.它作为Basic套件的升级版,在硬件上提供了更大的 PSRAM 内存,并且集成传感器 MPU6886+BMM150 .无论是作为入门或是进阶, Gray 套件都是一个非常不错的选择. 我们可以在很多的应用场景中使用IMU姿态传感器用作:检测加速度、角度、轨迹延伸等数据.根据这些去制作出相关的产品,如运动数据采集器,3D远程手势控制器等. @@ -29,7 +29,7 @@ - USB Type-C - 基于ESP32开发 - 16 MByte flash -- MPU9250 +- MPU6886+BMM150 - 扬声器,按键x3,LCD屏幕(320 * 240),电源/复位按键x1 - 2.4G天线:Proant 440 - TF卡插槽(最大可拓展16GB) @@ -100,13 +100,22 @@ IP5306SCLSDA5VGND -**九轴姿态传感器 MPU9250** +**6轴姿态传感器 MPU6886** -*I2C 地址为 0x68* +*MPU6886 I2C 地址为 0x68* - + +
ESP32 ChipGPIO22GPIO215VGND
MPU9250SCLSDA5VGND
MPU6886SCLSDA5VGND
+ +**3轴磁力计 BMM150** + +*BMM150 I2C 地址为 0x10* + + + +
ESP32 ChipGPIO22GPIO215VGND
BMM150SCLSDA5VGND
## 参数 @@ -166,9 +175,9 @@ - *如果想**下载**详细的资源对比,请点击[这里](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT 说明 ** @@ -193,7 +202,8 @@ ## 相关链接 -- **数据手册** - [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) - [MPU9250](https://www.invensense.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf) +- **数据手册** - [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) - [MPU6886](https://github.com/m5stack/M5-Schematic/blob/master/datasheet/MPU-6886-000193%2Bv1.1_GHIC.PDF.pdf) - [BMM150](http://pdf1.alldatasheet.com/datasheet-pdf/view/608913/ETC2/BMM150.html) + - **寄存器手册** - [IP5306](https://github.com/m5stack/M5-Schematic/blob/master/Core/IIC_IP5306_REG_V1.4.pdf) diff --git a/docs/zh_CN/core/m5go.md b/docs/zh_CN/core/m5go.md index c2adddd7..9baa239c 100644 --- a/docs/zh_CN/core/m5go.md +++ b/docs/zh_CN/core/m5go.md @@ -179,9 +179,9 @@ - *如果想**下载**详细的资源对比,请点击[这里](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT 说明 ** diff --git a/docs/zh_CN/core/m5go_lite.md b/docs/zh_CN/core/m5go_lite.md index 3c67ad6f..9bb39c9b 100644 --- a/docs/zh_CN/core/m5go_lite.md +++ b/docs/zh_CN/core/m5go_lite.md @@ -180,9 +180,9 @@ - *如果想**下载**详细的资源对比,请点击[这里](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + **Notice2:M5PORT 说明 ** *不同颜色的GROVE端口分别代表不同的功能.红色的PortA(21/22),为默认的I2C协议接口,黑色的PortB(26/36), 支持AD/DA转换与信号总线通信.蓝色的PortC(16/17), 支持Uart串口通信.在使用Unit进行功能拓展的时候,只需要匹配二者的端口的颜色,相应的进行连接即可正常使用.不仅提供简洁的硬件连接方式,还支持引脚的重映射.PortA(红色)被作为信号总线连接至是ESP32的GPIO21/22 ,没有AD通道转换方案,因此不能用作模拟输入使用. diff --git a/docs/zh_CN/core/m5stick.md b/docs/zh_CN/core/m5stick.md index 76f27a4a..6e92756f 100644 --- a/docs/zh_CN/core/m5stick.md +++ b/docs/zh_CN/core/m5stick.md @@ -114,9 +114,9 @@ M5stick 是 M5Stack 产品系列中的核心设备之一,该产品系列建立 - *如果想**下载**详细的资源对比,请点击[这里](https://github.com/m5stack/M5-Schematic/blob/master/Core/M5%20Core%20Detailed%20Comparison.xlsx)。* - + - + ## 包含 diff --git a/docs/zh_CN/core/m5stickc.md b/docs/zh_CN/core/m5stickc.md index 6c863c46..b71a43e4 100644 --- a/docs/zh_CN/core/m5stickc.md +++ b/docs/zh_CN/core/m5stickc.md @@ -122,10 +122,13 @@ M5stick C 是 M5Stack 产品系列中的核心设备之一,该产品系列建 **AXP192** - - + +
INLEDTFTRTCESP32
LD02LD03LD01DIC DCI
MicrophoneRTCTFT backlightTFT ICESP32/3.3V MPU6886/SH200Q5V GROVE
LDOio0LDO1LDO2LDO3DC-DC1IPSOUT
+ + + **M5StickC 顶部拓展的 IO 口** gray_02 diff --git a/docs/zh_CN/core/m5stickv.md b/docs/zh_CN/core/m5stickv.md index 37410f63..a72a1d8f 100644 --- a/docs/zh_CN/core/m5stickv.md +++ b/docs/zh_CN/core/m5stickv.md @@ -1,2 +1,174 @@ -PASSSSSSSSSSSSSSSSSSS +# Core M5StickV {docsify-ignore-all} + + + + +*** + +:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-core/products/stickv)** + +## 描述 + +**M5Stick-V RISC-V AI 摄像头** + +**M5Stick-V**是一款搭载Kendryte K210的AIOT(AI + IOT)摄像头,集成双核64位RISC-V CPU和最先进的神经网络处理器的边缘计算片上系统(SoC) + +

+M5stickV AI 摄像头具备机器视觉能力,支持多种视觉识别能力的它( 如实时获取被检测目标的大小与坐标 • 实时获取被检测目标的种类),并且能够在低功耗情况下进行卷积神经网络计算,因此M5StickV会是一个很好的零门槛机器视觉嵌入式解决方案 +

+支持MicroPython开发环境,这使得你在使用M5stick-V上进行项目开发时,程序代码将会更加精简. + +

+ +配备OmniVision OV7740图像传感器,采用OmniPixel®3-HS技术,提供相比同类最佳的低光灵敏度,是机器视觉项目的理想选择. + +M5StickV不仅具备视觉识别能力,其内置的嵌入式APU - 音频处理器. 能够进行一系列机器听觉工作,同时配备I2S D类DAC的扬声器,MEMS麦克风,IPS屏幕,6轴IMU,200mAh锂电池等硬件,能够为你的项目提供极好的硬件条件. + +


+    +    +
+ +### 产品特性: +- 双核 64-bit RISC-V RV64IMAFDC (RV64GC) CPU / 400Mhz(Normal) +- 双精度 FPU +- 8MiB 64bit 片上 SRAM +- 神经网络处理器(KPU) / 0.8Tops +- 可编程 IO 阵列 (FPIOA) +- 双硬件512点16位复数FFT +- SPI, I2C, UART, I2S, RTC, PWM, 定时器支持 +- AES, SHA256 加速器 +- 直接内存存取控制器 (DMAC) +- 支持 Micropython +- 固件加密支持 +- 板载硬件资源: + - Flash: 16M. + - TFT: ST7789. 135*240 IPS 1.14 SPI + - 摄像头 :OV7740 + - PCM: MAX98357 + - 电源管理IC: AXP192 + - 按键: Front and side. + - 锂电池: 200mAh. + - 指示灯: RGBW . + - 外部存储: TF card/Micro SD + - 麦克风: MSM261S4030HOR. + - 运动传感器: MPU6886. + - 接口: CONNEXT. + +### 包含 +- M5Stick-V +- Tpye-C USB + + +### 功能描述 +#### 1.1 KENDRYTE K210 +Kendryte K210 是集成机器视觉与机器听觉能力的系统级芯片 (SoC)。使用台积电 (TSMC) 超低功耗的 28 纳米先进制程,具有双核 64 位处理器,拥有较好的功耗性能,稳定性与可靠性。该方案力求零门槛开发,可在最短时效部署于用户的产品中,赋予产品人工智能

+- 具备机器视觉能力 +- 具备机器听觉能力 +- 更好的低功耗视觉处理速度与准确率 +- 具备卷积人工神经网络硬件加速器 KPU,可高性能进行卷积人工神经网络运算 +- TSMC 28nm 先进制程,温度范围-40°C 到 125°C,稳定可靠 +- 支持固件加密,难以使用普通方法破解 +- 独特的可编程 IO 阵列,使产品设计更加灵活 +- 低电压,与相同处理能力的系统相比具有更低功耗 +- 3.3V/1.8V 双电压支持,无需电平转换,节约成本 + +##### 1.1.1 CPU +本芯片搭载基于 RISC-V ISA 的双核心 64 位的高性能低功耗 CPU,具备以下特性: + +- 核心数量: 双核处理器 +- 处理器位宽: 64-bit CPU 400MHz +- 标称频率: 400MHz +- 指令集扩展: IMAFDC +- 浮点处理单元(FPU): 双精度 +- 平台中断管理: PLIC +- 本地中断管理: CLINT +- 指令缓存: 32KiB x 2 +- 数据缓存: 32KiB x 2 +- 片上 SRAM: 8MiB + + +#### 1.2 OV7740 +- 支持输出格式:RAW RGB和YUV +- 支持图像尺寸:VGA,QVGA,CIF或其他更小尺寸 +- 支持太阳黑子消除 +- 支持内部和外部帧同步 +- 标准SCCB串行接口 +- 数字视频端口(DVP)并行输出接口 +- 嵌入式一次性可编程(OTP)存储器 +- 片上锁相环(PLL) +- 用于内核的嵌入式1.5 V稳压器 + +##### 1.2.1 规格 +- 阵列尺寸:656 x 488 +- 电源: - 内核:1.5VDC±5% - 模拟:3.3V±5% - I / O:1.7~3.47V +- 温度范围: - 工作:-30°C至70°C - 稳定图像:0°C至50°C +- 输出格式: - 8/10位原始RGB数据 - 8位YUV +- 镜头尺寸:1/5" +- 输入时钟频率:6~27 MHz +- 最大图像传输速率:VGA(640x480):60 fps - QVGA(320 x 240):120 fp +- 灵敏度:6800 mV /(Lux-sec) +- 最大曝光间隔:502 x tROW +- 像素尺寸:4.2μm×4.2μm +- 图像面积:2755.2μm×2049.6μm +- 封装/管芯尺寸: - CSP3:4185μm×4345 μm-COB:4200μm×4360μm + + +#### 1.3 MAX98357 +- 单电源工作(2.5V至5.5V) +- 3.2W输出功率:4Ω,5V +- 2.4mA静态电流 +- 92% 效率(RL = 8Ω,POUT = 1W) +- 22.8µVRMS输出噪声(AV = 15dB) +- 1kHz时,0.015% THD+N +- 无需MCLK +- 8kHz至96kHz采样速率 +- 支持左声道、右声道以及(左声道/2 + 右声道/2)输出 +- 成熟的边沿速率控制可使D类放大器输出无需滤波 +- 1kHz下,具有77dB PSRR +- 低RF敏感度,可抑制GSM发射的TDMA噪声 +- 喀嗒声抑制电路 + +#### 1.4 AXP192 +- 工作电压: 2.9V - 6.3V(AMR:-0.3V~15V) +- 可配置的智能电源选择系统 +- 自适应USB或AC适配器输入的电流和电压限制 +- 内部理想二极管的电阻低于100mΩ + +#### 1.5 MPU6886 + +##### 1.5.1陀螺仪功能 +MPU-6886中的三轴MEMS陀螺仪具有多种功能: +- 数字输出X,Y和Z轴角速率传感器(陀螺仪),用户可编程满量程范围为±250 dps,±500 dps,±1000 dps和±2000 dps,集成16- 位ADC +- 数字可编程低通滤波器 +- 低功率陀螺仪操作 +- 工厂校准的灵敏度比例因子 +- 镜头尺寸:1/5“ +- 自我测试 + +##### 1.5.2 加速度计功能 +MPU-6886中的三轴MEMS加速度计包括多种功能: +- 数字输出X,Y和Z轴加速度计,可编程满量程范围为±2g,±4g,±8g和±16g,集成16位ADC +- 用户可编程中断 +- 唤醒动作中断,用于应用处理器的低功耗操作 +- 自我测试 + + +## 应用/ M5Stick-V可以做什么? +- 面部识别/检测 +- 物体检测/分类 +- 实时获取目标的大小和坐标 +- 实时获取检测到的目标类型 +- 形状识别 +- 视频/音频记录/显示 +- 游戏模拟器 + + +## 相关链接 + +- **Web page** - [sipeed](https://maixpy.sipeed.com/en/) +- **Quick Start Guide** - [M5StickV Guide](https://docs.m5stack.com/#/en/quick_start/m5stickv/m5stickv_quick_start) + +## 原理图 + \ No newline at end of file diff --git a/docs/zh_CN/hat/hat-adc.md b/docs/zh_CN/hat/hat-adc.md index 36c14a01..b04c35a6 100644 --- a/docs/zh_CN/hat/hat-adc.md +++ b/docs/zh_CN/hat/hat-adc.md @@ -1,16 +1,21 @@ # Hat ADC {docsify-ignore-all} - + *** -:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stickc-env-hat)**   **[EasyLoader](#EasyLoader)** +:memo:**[描述](#Description)**      :electric_plug:**[原理图](#原理图)**      :octocat:**[Code](#Code)**      **[EasyLoader](#EasyLoader)**       🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stickc-adc-hat)** ## 描述 **ADC Hat**是一款兼容M5SticKC的AD转换模块,内部集成ADC转换芯片ADS1100,具备全差分、16位、自校准、Δ-Σ模/ 数转换等特性,使得用户能够非常轻松的获得精确的测量结果. +
+ADS1100包含一个具有可调增益的Δ-Σ A / D转换器内核,一个时钟发生器和一个I2C接口. +
+ADS1100允许-5~ + 5V的差分输入,但我们通过增加该IC的外围电路设计将输入限制为0~12V +
## 产品特性 @@ -32,33 +37,88 @@ ## 包含 - 1x ADC HAT - +- 1x 2 Pin 3.96 端子 ## 应用 -- Analog Signal Capture +- 模拟信号捕获 -## Schematic +## 相关链接 - +- **Datasheet** - [ADS1100](http://www.ti.com/lit/ds/symlink/ads1100.pdf) +## 原理图 + + ## EasyLoader -
+ >1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序. >2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录 +## Code + +### 1. Arduino IDE + +*以下代码仅为片段,如需获取完整代码,[请点击此处.](https://github.com/m5stack/M5StickC/tree/master/examples/Hat/ADC).* + +```arduino +#include +#include +#include "ADS1100.h" + +ADS1100 ads; +#define REF_VOL 3.3 +#define ADC_BASE REF_VOL/32768 +void setup(void) +{ + M5.begin(true,true,false); + // The address can be changed making the option of connecting multiple devices + ads.getAddr_ADS1100(ADS1100_DEFAULT_ADDRESS); // 0x48, 1001 000 (ADDR = GND) + // The ADC gain (PGA), Device operating mode, Data rate + // can be changed via the following functions + ads.setGain(GAIN_ONE); // 1x gain(default) + ads.setMode(MODE_CONTIN); // Continuous conversion mode (default) + ads.setRate(RATE_8); // 8SPS (default) + ads.setOSMode(OSMODE_SINGLE); // Set to start a single-conversion + ads.begin(); +} +void loop() { +byte error; + int8_t address; + address = ads.ads_i2cAddress; + // The i2c_scanner uses the return value of + // the Write.endTransmisstion to see if + // a device did acknowledge to the address. + Wire.beginTransmission(address); + error = Wire.endTransmission(); + result = ads.Measure_Differential(); +} +``` + +### 管脚映射 + + + + +
M5StickCGPIO0GPIO265VGND
HAT ADCSDASCL5VGND
+ + +## 相关视频 +**Demo** + + -## 相关链接 -- **Datasheet** - [ADS1100](http://pdf1.alldatasheet.com/datasheet-pdf/view/619024/TI1/ADS1100.html) diff --git a/docs/zh_CN/hat/hat-dac.md b/docs/zh_CN/hat/hat-dac.md index ddd1dc31..6ad666f7 100644 --- a/docs/zh_CN/hat/hat-dac.md +++ b/docs/zh_CN/hat/hat-dac.md @@ -1,6 +1,6 @@ # Hat DAC {docsify-ignore-all} - + *** @@ -49,7 +49,7 @@ -## Schematic +## 原理图 @@ -69,4 +69,12 @@ ## 相关链接 -- **Datasheet** - [MCP4725](http://pdf1.alldatasheet.com/datasheet-pdf/view/233449/MICROCHIP/MCP4725.html) \ No newline at end of file +- **Datasheet** - [MCP4725](http://pdf1.alldatasheet.com/datasheet-pdf/view/233449/MICROCHIP/MCP4725.html) + + +## 相关视频 +**Demo** + + diff --git a/docs/zh_CN/hat/hat-ncir.md b/docs/zh_CN/hat/hat-ncir.md index a3005342..6719fe84 100644 --- a/docs/zh_CN/hat/hat-ncir.md +++ b/docs/zh_CN/hat/hat-ncir.md @@ -17,10 +17,13 @@ IIC(0x5A) ## 产品特性 - 兼容M5StickC +- MLX90614ESF-AAA - 工作电压: 4.5 to 5.5V -- 测温范围: -70°C ~ 382.2°C +- 物体测温范围: -70°C ~ 382.2°C +- 环境测温范围: -40°C ~ 125 ˚C - 室温下测量精度: ±0.5°C - 视场角: 90° +- 开发平台: Arduino, UIFlow(Blockly, Python) ## 包含 diff --git a/docs/zh_CN/hat/hat-rs485.md b/docs/zh_CN/hat/hat-rs485.md index 88d2eaff..34c21743 100644 --- a/docs/zh_CN/hat/hat-rs485.md +++ b/docs/zh_CN/hat/hat-rs485.md @@ -1,58 +1,105 @@ # Hat RS485 {docsify-ignore-all} - + + *** -:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stickc-env-hat)**   **[EasyLoader](#EasyLoader)** - +:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      :octocat:**[Code](#Code)**      **[EasyLoader](#EasyLoader)**       🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stickc-rs485-hat-aoz1282ci)** ## 描述 -**RS485 Hat**是一款兼容M5SticKC的TTL-RS485转换模块,内部集成 +**RS485-HAT** 是一款兼容M5SticKC的RS485转换器.内部集成SP485EEN,主要部分由一个485自动收发器电路和一个DC-DC降压电路组成(可以将输入电压降至5V) +

+RS485是一种标准,用于定义串行通信系统的驱动器和接收器的电气特性,广泛用于工业领域。 支持多点系统. +

+该产品用于将TTL标准转换为RS485标准。 如果外部串行设备是RS485标准,可以通过该模块实现TTL转换RS485协议的实现设备之间的通信. +
-## Product Features +## 产品特性 -- Built-in SP485EEN -- The built-in automatic transceiver circuit -- Built-in DC-DC buck circuit -- AOZ1282CI -- input DC 5~12 V -- Program Platform: Arduino, UIFlow(Blockly, Python) -- Program Platform: Arduino, UIFlow(Blockly, Python) +- 内置SP485EEN +- 内置自动收发电路 +- 内置DC-DC降压电路 +- AOZ1282CI +- 输入电压: DC 5~12 V +- 波特率:115200 +- 开发平台: Arduino, UIFlow(Blockly, Python) - -## Include +## 包含 - 1x RS485 HAT -- 1x 4 Pin 3.96 Pitch Terminal +- 1x 4 Pin 3.96 端子 -## Application -- RS485 multipoint systems -- Serial communication in industrial field. +## 应用 + +- RS485多点系统 +- 工业领域的串行通信. +## 相关链接 -## Schematic - - - +- **Datasheet** - [SP485EEN](https://pdf1.alldatasheet.com/datasheet-pdf/view/45954/SIPEX/SP485EEN.html) + +## 原理图 + ## EasyLoader - + >1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序. >2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录 +## Code + +### 1. Arduino IDE + +*以下代码仅为片段,如需获取完整代码,[请点击此处.](https://github.com/m5stack/M5StickC/tree/master/examples/Hat/RS485).* + +```arduino +#include + +/* This demo is for RS485 Hat uart write and read , +AutoSend Hello M5! AutoReceive and diaplay on screen */ + +void setup() { + + M5.begin(true,true,true); + Serial.begin(115200); + // Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert) + Serial2.begin(115200, SERIAL_8N1, 26, 0); + + Serial.println("RS485"); + +} +void loop() { + Serial2.print("Hello M5!"); + + if(Serial2.available()) { + char ch = Serial2.read(); + M5.Lcd.setTextSize(2); + } +} +``` + +### 管脚映射 + + + + +
M5StickCGPIO0GPIO265VGND
HAT ADCTXRX5VGND
-## 相关链接 +## 相关视频 +**Demo** -- **Datasheet** - [SP485EEN](https://pdf1.alldatasheet.com/datasheet-pdf/view/45954/SIPEX/SP485EEN.html) + diff --git a/docs/zh_CN/module/gsm.md b/docs/zh_CN/module/gsm.md new file mode 100644 index 00000000..6b8cbeb6 --- /dev/null +++ b/docs/zh_CN/module/gsm.md @@ -0,0 +1,47 @@ +# Module GSM {docsify-ignore-all} + + + +*** + +:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-module/products/gsm-sim800-module)**      :clapper:**[相关视频](#相关视频)**   **[EasyLoader](#EasyLoader)** + +## 描述 + +**GSM** 是M5Stack堆叠模块系列中的一款,GSM通信模块.内部集成**M6315** GSM/GPRS 工业级通信模组. 支持 GPRS class12 和 GPRS CS-1,CS-2,CS-3,CS-4 编码,兼备性价比与出色的抗干扰性,可向电力、石油、水务、燃气、 交通、金融等行业客户提供稳定的 M2M 通信功能. + +## 产品特性 + +- SIM卡类型: Nano +- 状态信号:两路LED指示灯 +- 板载麦克风 +- 板载双路扬声器信号输出: + SPK1扬声器信号输出接口 + SPK2扬声器信号输出到主机 +- 工作温度范围:-40°C 至+ 85°C +- 频段(MHz): + 850/900/1800/1900 +- 数据传输: + 速率 (kbps) 85.6(UL)/85.6(DL) + GPRS 多时隙 Class12 + SMS 支持 PDU/TEXT 模式 + 网络协议 IPV4/IPV6*/TCP/UDP/PPP/HTTP/FTP/MQTT +- 接口: + USIM ×1(1.8V/3.0V) + 模拟音频 Inputs×1/Outputs×2 + UART ×3 + ADC ×1(10bits) +- 耗流: + <2mA@DRX=5 + + + + +## 应用 + +- 无线通信系统 + + +## 原理图 + + diff --git a/docs/zh_CN/module/joystick.md b/docs/zh_CN/module/joystick.md index 2376ebdb..d7930140 100644 --- a/docs/zh_CN/module/joystick.md +++ b/docs/zh_CN/module/joystick.md @@ -69,7 +69,7 @@ void get_joystick_offset(void){ - **[官方论坛](http://forum.m5stack.com/)** -- **[JOYSTICK 固件](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/JOYSTICK/firmware_328p/FacesJoystick328)** +- **[JOYSTICK 固件](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/JOYSTICK/firmware_328p/FaceJoystick328)** ## EasyLoader diff --git a/docs/zh_CN/module/lte.md b/docs/zh_CN/module/lte.md new file mode 100644 index 00000000..9319326a --- /dev/null +++ b/docs/zh_CN/module/lte.md @@ -0,0 +1,65 @@ +# Module LTE {docsify-ignore-all} + + + +*** + +:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-module/products/gsm-sim800-module)**      :clapper:**[相关视频](#相关视频)**   **[EasyLoader](#EasyLoader)** + +## 描述 + +**LTE** 是M5Stack堆叠模块系列中的一款,LTE通信模块.内部集成**M8321** LTE工业级通信模组. 提供 TD-LTE/FDD-LTE/WCDMA/TDSCDMA/GSM/GPRS/EDGE 的频段.丰富的 Internet 协议、行业标准接口和丰富的功能,支持多种操作系统的USB驱动程序,能够给用户带来快速且稳定的通信体验. + + +## 产品特性 + +- SIM卡类型: Nano +- 状态信号:三路LED指示灯 +- 板载麦克风 +- 板载扬声器信号输出接口 +- 单路开关机按钮 +- 工作温度范围:-40°C 至+ 85°C +- 频段: + LTE-TDD:B38/B39/B40/B41 + LTE-FDD:B1/B3/B8△ + TD-SCDMA:B34/B39△ + WCDMA:B1/B8△ + GSM(MHz):900/1800 +- 数据传输: + LTE 速率 (Mbps) LTE-FDD 50(UL)/150(DL)△ LTE-TDD 50(UL)/100(DL) + HSPA+ 速率 (Mbps) 5.76(UL)/21.6(DL)△ + TD-SCDMA 速率 (Mbps) 2.2(UL)/2.8(DL)△ + EDGE 速率 (Kbps) 384(UL)/384(DL) + GPRS 速率 (Kbps) 85.6(UL)/85.6(DL) + SMS 支持 PDU/TEXT 模式 + 网络协议 IPV4/IPV6/TCP/PPP/UDP/FTP/HTTP/NTP +- 接口: + USIM ×1(1.8V/3.0V) + 数字音频(PCM) 支持 + UART ×3 + USB: 2.0 Hi-Speed + I2C 支持 + ADC ×2(12bits) + GSM(MHz):900/1800 + 双天线系统:主天线&分集天线 + GPIO ×3(M8321) +- 耗流: + 17uA@Poweroff + 3mA@Sleep + 45mA@Idle + + + + +## 应用 + +- 安防路由 +- 车载后装 +- 视频监控 +- POC + + + +## 原理图 + + diff --git a/docs/zh_CN/module/nb-iot.md b/docs/zh_CN/module/nb-iot.md new file mode 100644 index 00000000..fdf4320f --- /dev/null +++ b/docs/zh_CN/module/nb-iot.md @@ -0,0 +1,67 @@ +# Module NB-IoT {docsify-ignore-all} + + + +*** + +:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-module/products/gsm-sim800-module)**      :clapper:**[相关视频](#相关视频)**   **[EasyLoader](#EasyLoader)** + +## 描述 + +**NB-IoT** 是M5Stack堆叠模块系列中的一款,NB-IoT通信模块.内部集成高性能 NB-IoT 无线通信模组**M5311**.低功耗设计可以帮助客户获得更长的终端使用寿命.M5311 提供丰富的外部接口和协议栈,支持外接传感器设备,为用户的产品开发提供了极大的便利.同时支持 OneNET 云平台协议,真正实现无缝对接,快速开发. + +该模块特别适用于以超低功耗、超小尺寸为核心需求的智能表计、智能穿戴、智能停车、市政管理等loT行业 + + +## 产品特性 + +- SIM卡类型: Nano +- 状态信号:两路LED指示灯 +- 单路开关机按钮 +- 板载天线可选:默认板载弹簧天线(或通过跳线切换至IPEX座) +- 工作温度范围:-40°C 至+ 85°C +- NB-IoT: 支持 LTE Cat NB2* +- 频段: + B3/B5/B8 +- 数据传输: + LTE Cat NB1 速率 (kbps): + Single Tone:15.625(UL)/21.25(DL) + Multi Tone:62.5(UL)/21.25(DL) + SMS: 支持 PDU/TEXT 模式 + SMS 支持 PDU/TEXT 模式 + 网络协议 IPv4/IPv6/UDP/TCP/CoAP/LwM2M/HTTP/MQTT/TLS +- 接口: + USIM ×1(1.8V/3.0V) + UART ×2 + I2C ×1 + SPI ×1 + RESET ×1 + GPIO ×2 + ADC ×1(10bits) + 天线: 主天线,分集天线 +- 电气特性: + - 耗流: + 3uA@PSM + 0.4mA@ldle mode(DRx=1.28S) + 167mA@Tx(23dBm/15kHzST) + 54mA@Rx + - 输出功率: 23dBm±2dB + - 灵敏度: + -114dBm( 无重传 ) + -130dBm( 开启重传 ) + + + + +## 应用 + +- 智能表计 +- 智能停车 +- 市政管理 + + + + +## 原理图 + + diff --git a/docs/zh_CN/related_documents.md b/docs/zh_CN/related_documents.md index a8fe0d2d..56c156cf 100644 --- a/docs/zh_CN/related_documents.md +++ b/docs/zh_CN/related_documents.md @@ -56,4 +56,13 @@

VScode-M5Stack插件

+ + +
+
+ + +
\ No newline at end of file diff --git a/docs/zh_CN/related_documents/blockly_custom.md b/docs/zh_CN/related_documents/blockly_custom.md new file mode 100644 index 00000000..eaa12a44 --- /dev/null +++ b/docs/zh_CN/related_documents/blockly_custom.md @@ -0,0 +1,67 @@ +# UIFlow 程序块定制{docsify-ignore-all} + + +1. [创建程序块](#创建程序块) + +2. [程序块代码-传参](#程序块代码-传参) + +3. [程序块保存-修改](#程序块保存-修改) + +4. [使用程序块](#使用程序块) + + +## 创建程序块 + + +点击程序块列表中的`Custom`选项 > `Create` ,创建一个自定义程序块 + + + +创建一个新的程序块,我们需要提供 : + +`1:分组名称`: 自定义程序块所放置在的分组名称 + +`2:程序块颜色`: 程序块的外观颜色 + +`3:程序块标签`: 只允许包含字母、数字、下划线 + +`4:程序块类型`: 定义程序块的类型为`Value`(数值),或是`Execute`(执行) + +`5:程序块数量`: 能够同时添加多个程序块,并同时保存到一个`.m5b`文件中 + + + + + +## 程序块代码-传参 + + +点击`Parameter`下方的`Add`选项,添加一条程序属性,输入程序块所显示的名称,以及选择属性类型,在`Block Code`选项框中输入自定义程序块所包含的代码. + +[点击此处,访问Github获取更多程序API](https://github.com/m5stack/UIFlow-Code/wiki) + + + +当自定义程序块的属性类型带有常量或变量输入时,我们可以在代码中获取这些值,并进行进一步的处理和运算. + +例: 将属性类型选择为`String`(字符串输入),此时在程序中,如果我们想要获得使用时所输入的字符串,只需要在代码中使用`${Parameter name}`,也就是`${show_word}`,需要注意的是,当程序块名称中带有空格时,在使用${}去获取需要使用`_`下划线对空格进行替代 + + + +## 程序块保存-修改 + +完成程序编辑后,点击`Download`进行保存 + +点击`Open .m5b`,能够打开已保存的自定义程序进行修改 + + + + +## 使用程序块 + +点击程序块列表中的`Custom`选项 > `Open` ,打开一个自定义程序块 + + +

+ + diff --git a/docs/zh_CN/related_documents/establish_serial_connection.md b/docs/zh_CN/related_documents/establish_serial_connection.md deleted file mode 100644 index 60e06bf5..00000000 --- a/docs/zh_CN/related_documents/establish_serial_connection.md +++ /dev/null @@ -1,99 +0,0 @@ -# 如何安装USB驱动并建立与PC的串口通讯 {docsify-ignore-all} - -**[MacOS](#for-macOS)**      **[Windows](#for-windows)** - -**这个文档会介绍如何安装USB驱动,并与PC建立串口通信.** - -## For MacOS - -### 1. 安装USB驱动 - -**[下载SiLabs CP2104驱动](http://res.m5stack.com/Driver/CP210x_VCP_MacOS.zip)** - -**如果镜像文件SiLabsUSBDriverDisk.dmg已经下载了, 挂载它, 根据以下图片显示的步骤来安装.** - -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -### 2. 在MacOS上检查确认COM串口号 - -**打开终端terminal并执行以下命令两次, 第一次在板子或者dongle还未插入PC的时候, 然后把板子或者dongle插入执行第二次. 这时候,在执行第二次命令之后,出现的串口号就是此时板子与PC相连的串口号** - -**MacOS** - - ls /dev/cu.* - - - -## For Windows - -### 1. 安装USB驱动 - -**下载[SiLabs CP2104驱动](https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)** - -**根据您windows版本来下载对应版本的USB驱动(Windows7/8/10).** - -
- -
- -**选择正确的版本来安装,如果电脑系统是32位,则下载符合Windows版本的X86版本USB驱动,如果电脑系统是64位,则下载符合Windows版本的X64版本USB驱动, 然后安装驱动.** - -
- -
- -
- -
- -
- -
- -### 2. 在Windows上检查确认COM串口号 - -**在Windows的设备管理器上查看COM串口号. 插上板子或者dongle之后,查看显示的COM口,再拔掉,此时消失的COM口就是该板子或dongle对应的COM口.** - -**下图显示了M5Core板子与PC通信的COM串口号** - -
- -
diff --git a/docs/zh_CN/related_documents/how_to_connect_wifi_using_core_with_m5cloud.md b/docs/zh_CN/related_documents/how_to_connect_wifi_using_core_with_m5cloud.md deleted file mode 100644 index ffe6978b..00000000 --- a/docs/zh_CN/related_documents/how_to_connect_wifi_using_core_with_m5cloud.md +++ /dev/null @@ -1,53 +0,0 @@ -# 如何连接WIFI (For M5Cloud) {docsify-ignore-all} - -?> *如果您的M5Cloud还没预先烧录名为`M5Cloud`固件的话,请阅读这篇文章[如何烧录使用M5Burner烧录固件](zh_CN/related_documents/how_to_burn_firmware)* - -**重启M5Core之后,您会看到M5Core出现下图界面。现在我们就开始连接WIFI吧** - -
- -
- -## 目录 - -1. [连接M5Core的热点](#connect-to-m5Core-AP) - -2. [选择可联网的WIFI热点](#select-networkable-ap) - -3. [重启M5Core](#reset-your-device) - -## 1. 连接M5Core的热点 - -**使用手机或者PC连接M5Core发出的热点AP(看,现在我的M5Core发出的热点名是`M5Stack-a67c`)** - -## 2. 选择可联网的WIFI热点 - -**打开浏览器并输入网址`192.168.4.1`,然后选择可联网的WIFI,并输入其密码(如下图,我的WIFI名字是`MasterHax_2.4G`)** - -
- -
- -
- -
- -?> 如果您的M5Core没成功连接WIFI,请重试一次. - -## 3. 重启M5Core - -**在M5Core成功连接WIFI之后,重启您的Core** - -
- -
- -!> **Note** 可是如果您的Core之前绑定过M5Cloud账号(也就是之前有过将check code输入到[M5Cloud](http://cloud.m5stack.com)),这时M5Core屏幕会如下图所示。 - -
- -
- -## 最后 - -现在,您可以阅读这篇文章开始使用M5Cloud编程啦![M5Cloud上手指南](zh_CN/quick_start/m5core/m5stack_core_get_started_MicroPython_m5cloud) diff --git a/docs/zh_CN/sidebar.md b/docs/zh_CN/sidebar.md index 1108cda0..75fe7715 100644 --- a/docs/zh_CN/sidebar.md +++ b/docs/zh_CN/sidebar.md @@ -20,6 +20,7 @@ GRAY FIRE M5StickC + M5StickV M5Stick M5GO Lite M5GO Kit @@ -38,6 +39,9 @@ LoRaWAN SIM800L COMMU + BATTERY PROTO PROTO-KIT @@ -166,8 +170,8 @@ IR RS485 RFID - + LASER-RX + LASER-TX @@ -183,9 +187,9 @@ PROTO NCIR Thermal - + RS485 diff --git a/docs/zh_CN/unit/laser-rx.md b/docs/zh_CN/unit/laser-rx.md index d267ea1d..869afdea 100644 --- a/docs/zh_CN/unit/laser-rx.md +++ b/docs/zh_CN/unit/laser-rx.md @@ -1,41 +1,123 @@ -# Unit LASER RX {docsify-ignore-all} +# Unit LASER.RX {docsify-ignore-all} - + + *** -:memo:**[描述](#描述)**      :octocat:**[例程](#例程)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/light-sensor-unit)**      :clapper:**[相关视频](#相关视频)**   **[EasyLoader](#EasyLoader)** +:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      :octocat:**[Code](#Code)**      **[EasyLoader](#EasyLoader)**       🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/laser-rx-unit)** + +## 描述 + +**LASER.RX** 是一款激光接收器Unit,内部主要由激光晶体管构成. + +

+激光通信设备通过大气的无线连接。 除了光束通过自由空间传输外,它们的工作方式类似于光纤链路。 虽然发射器和接收器必须要求视距条件,但它们的好处是不需要广播权和埋地电缆。 因其小巧,低功率并且不需要任何无线电干扰研究的特点,激光通信系统可以很容易地部署到各个位置. +

+该Unit使用的端口类型为 PORTB. + +
+## 产品特性 + +- 激光接收 +- 工作电压: 5V +- 配对 LASER.TX +- 相应频率: 140KHz ~205KHz +- 2x LEGO 兼容孔 +- 开发平台: Arduino, UIFlow(Blockly, Python) +## 包含 -30, LASER.RX -This is one of the communication devices among M5Units, a non-modulation Laser receiver. It is mainly built with a laser transistor. - -Laser communications devices are wireless connections through the atmosphere. They work similarly to fiber-optic links, except the beam is transmitted through free space. While the transmitter and receiver must require line-of-sight conditions, they have the benefit of eliminating the need for broadcast rights and buried cables. Laser communications systems can be easily deployed since they are inexpensive, small, low power and do not require any radio interference studies. -Two parallel beams are needed, one for transmission and one for reception. Therefore we have a LASER.TX parallelly. - -Port type of this unit is PORTB. - -## Product Features - -- Laser receiver -- non-modulation -- Work voltage: 5V -- Pair with LASER.TX -- Response Frequency: 140KHz ~205KHz -- Two Lego-compatible holes -- Program Platform: Arduino, UIFlow(Blockly, Python) - -## Include - 1x LASER.RX unit -- 1x GROVE cable +- 1x CONNEXT cable -## Application -- Laser communication system on space. +## 应用 + +- 空间激光通信系统. +## 相关链接 -## Schematic + +## 原理图 +## EasyLoader + + + + + +>1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序. + +>2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录 + +!>3.EasyLoader烧录前需要安装有CP210X(USB驱动程序),[点击此处查看驱动安装教程](zh_CN/related_documents/M5Burner#安装串口驱动) + + +## Code + +### 1. Arduino IDE + +*以下代码仅为片段,如需获取完整代码,[请点击此处.](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/LASER).* + +```arduino +/* This demo is for LASER.TX and LASER.RX, utilized UART for transmittion and reception of + laser signals. In order to get the result of this demo, you will need to connect LASER.TX + and LASER.RX with PORTC(blue) respectively onto two different M5Cores with M5GO bases on + bottom. Then flash the demo into both M5Core device. + When testing the demo, you need to point the TX unit to RX, and press the button TX connected + device. RX connected device will reponse with a display,and will show what is received . + See this link for more detals: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/LASER/EasyLoader_LASER_RX.exe + */ + +#include + +char ch; +// serial 2 write and read +//#define RX +void setup() { + M5.begin(); + Serial.begin(115200); + // Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert) + Serial2.begin(9600, SERIAL_8N1, 16, 17); + +} + +void loop() { +M5.update(); + + if (M5.BtnA.wasReleased()) { + ch = 'A'; + Serial2.write(ch); + } else if (M5.BtnB.wasReleased()) { + ch = 'B'; + Serial2.write(ch); + } else if (M5.BtnC.wasReleased()) { + ch = 'C'; + Serial2.write(ch); + } + M5.update(); + if(Serial2.available()) { + char ch = Serial2.read(); + M5.Lcd.print(ch); + } +} +``` + +### 管脚映射 + + + + +
M5 PORTBGPIO36GPIO265VGND
LASER_RXRX/5VGND
+ + +## 相关视频 +**Demo** + + diff --git a/docs/zh_CN/unit/laser-tx.md b/docs/zh_CN/unit/laser-tx.md index 6964df43..ec271402 100644 --- a/docs/zh_CN/unit/laser-tx.md +++ b/docs/zh_CN/unit/laser-tx.md @@ -1,39 +1,144 @@ -# Unit LASER TX {docsify-ignore-all} +# Unit LASER.TX {docsify-ignore-all} - + + *** -:memo:**[描述](#描述)**      :octocat:**[例程](#例程)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/light-sensor-unit)**      :clapper:**[相关视频](#相关视频)**   **[EasyLoader](#EasyLoader)** +:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      :octocat:**[Code](#Code)**      **[EasyLoader](#EasyLoader)**       🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/laser-tx-unit)** + +## 描述 + +**LASER.TX** 是一款焦距可调的激光发射器Unit,内部主要由激光二极管构成. +

+激光通信设备通过大气的无线连接。 除了光束通过自由空间传输外,它们的工作方式类似于光纤链路。 虽然发射器和接收器必须要求视距条件,但它们的好处是不需要广播权和埋地电缆。 因其小巧,低功率并且不需要任何无线电干扰研究的特点,激光通信系统可以很容易地部署到各个位置. +
+该Unit使用的端口类型为 PORTB. +

+ +!>警告: 激光会对人体造成伤害,因此在使用该产品时,请勿将其对准人体,防止激光光束进入眼睛,造成伤害. + +## 产品特性 + +- 激光发射 +- 可调焦距 +- 工作电压: 5V +- 配对 LASER.RX +- 2x LEGO 兼容孔 +- 开发平台: Arduino, UIFlow(Blockly, Python) +## 包含 - -This is one of the communication devices among M5Units, a Laser emitter with adjustable focal length. It is mainly build with a laser diode - -Laser communications devices are wireless connections through the atmosphere. They work similarly to fiber-optic links, except the beam is transmitted through free space. While the transmitter and receiver must require line-of-sight conditions, they have the benefit of eliminating the need for broadcast rights and buried cables. Laser communications systems can be easily deployed since they are inexpensive, small, low power and do not require any radio interference studies. -Two parallel beams are needed, one for transmission and one for reception. Therefore we have a LASER.RX parallelly. - -Port type of this unit is PORTB. - -## Product Features - -- Laser transmitter -- adjustable focal length -- Work voltage: 5V -- Program Platform: Arduino, UIFlow(Blockly, Python) - -## Include - 1x LASER.TX unit -- 1x GROVE cable +- 1x CONNEXT cable -## Application -- Laser communication system on space. +## 应用 + +- 空间激光通信系统. +## 相关链接 -## Schematic +## 原理图 +## EasyLoader + + + + + +>1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序. + +>2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录 + +!>3.EasyLoader烧录前需要安装有CP210X(USB驱动程序),[点击此处查看驱动安装教程](zh_CN/related_documents/M5Burner#安装串口驱动) + + +## Code + +### 1. Arduino IDE + +*以下代码仅为片段,如需获取完整代码,[请点击此处.](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/LASER).* + +```arduino +/* This demo is for LASER.TX and LASER.RX, utilized UART for transmittion and reception of + laser signals. In order to get the result of this demo, you will need to connect LASER.TX + and LASER.RX with PORTC(blue) respectively onto two different M5Cores with M5GO bases on + bottom. Then flash the demo into both M5Core device. + When testing the demo, you need to point the TX unit to RX, and press the button TX connected + device. RX connected device will reponse with a display,and will show what is received . + See this link for more detals: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/LASER/EasyLoader_LASER_RX.exe + */ + +#include + +char ch; +// serial 2 write and read +//#define RX +void setup() { + M5.begin(); + Serial.begin(115200); + // Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert) + Serial2.begin(9600, SERIAL_8N1, 16, 17); + +} + +void loop() { +M5.update(); + + if (M5.BtnA.wasReleased()) { + ch = 'A'; + Serial2.write(ch); + } else if (M5.BtnB.wasReleased()) { + ch = 'B'; + Serial2.write(ch); + } else if (M5.BtnC.wasReleased()) { + ch = 'C'; + Serial2.write(ch); + } + M5.update(); + if(Serial2.available()) { + char ch = Serial2.read(); + M5.Lcd.print(ch); + } +} +``` + +### 管脚映射 + + + + +
M5 PORTBGPIO36GPIO265VGND
LASER_TX/TX5VGND
+ + +## 相关视频 +**Demo** + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/zh_CN/unit/mini-proto.md b/docs/zh_CN/unit/mini-proto.md index 97e6c6bc..1ce62ec5 100644 --- a/docs/zh_CN/unit/mini-proto.md +++ b/docs/zh_CN/unit/mini-proto.md @@ -1,11 +1,9 @@ -# Unit MINI PROTO {docsify-ignore-all} - - +# Unit MINI.PROTO {docsify-ignore-all} + *** -:memo:**[描述](#描述)**      :octocat:**[例程](#例程)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/light-sensor-unit)**      :clapper:**[相关视频](#相关视频)**   **[EasyLoader](#EasyLoader)** - +:memo:**[描述](#描述)**      :electric_plug:**[原理图](#原理图)**      🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stickc-adc-hat)** ## 描述 @@ -15,27 +13,44 @@ 对于不同的CONNEXT端口,您能够从ESP32引出不同的引脚进行电路连接。 - PORTA:GPIO 21,22 - PORTB:GPIO 36,26 - - PORTC:GPIO 16,17 + - PORTC:GPIO 16,17 +


+ -## Include +## 产品特性 + +- 孔尺寸: 0.039" 1mm (CNC Drilled) +- 孔间距: 0.1 in - (2.54 mm) +- 板孔数量: 40 Holes +- 2x LEGO 兼容孔 + +## 包含 - 1x MINI PROTO unit -- 1x GROVE cable +- 1x CONNEXT cable - -## Application +## 应用 - 原型设计 +## 相关链接 + +## 原理图 + + +### 管脚映射 -## Schematic - - \ No newline at end of file + + + + + +
M5 PORTAGPIO22GPIO215VGND
M5 PORTBGPIO36GPIO265VGND
M5 PORTCGPIO16GPIO175VGND
MINI.PROTOP1-1P1-25VGND
\ No newline at end of file diff --git a/docs/zh_CN/unit/ncir.md b/docs/zh_CN/unit/ncir.md index 0187c655..26371253 100644 --- a/docs/zh_CN/unit/ncir.md +++ b/docs/zh_CN/unit/ncir.md @@ -15,9 +15,10 @@ 该 Unit 通过GROVE A IIC(0x5A)与M5Core连接. ## 产品特性 - +- MLX90614ESF-AAA - 工作电压: 4.5 to 5.5V -- 测温范围: -70°C ~ 382.2°C +- 物体测温范围: -70°C ~ 382.2°C +- 环境测温范围: -40°C ~ 125 ˚C - 室温下测量精度: ±0.5°C - 视场角: 90° - 开发平台: Arduino, UIFlow(Blockly, Python)