diff --git a/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_01.webp b/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_01.webp new file mode 100644 index 00000000..f7a9bb45 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_01.webp differ diff --git a/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_02.webp b/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_02.webp new file mode 100644 index 00000000..5e2f2bf7 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_02.webp differ diff --git a/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_03.webp b/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_03.webp new file mode 100644 index 00000000..5e4dd2d3 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_03.webp differ diff --git a/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_04.webp b/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_04.webp new file mode 100644 index 00000000..c700b8cf Binary files /dev/null and b/docs/assets/img/product_pics/module/com_zigbee/com.zigbee_04.webp differ diff --git a/docs/assets/img/product_pics/module/com_zigbee/com_zigbee_sch_01.webp b/docs/assets/img/product_pics/module/com_zigbee/com_zigbee_sch_01.webp new file mode 100644 index 00000000..c9903bd7 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_zigbee/com_zigbee_sch_01.webp differ diff --git a/docs/assets/img/product_pics/module/com_zigbee/com_zigbee_sch_02.webp b/docs/assets/img/product_pics/module/com_zigbee/com_zigbee_sch_02.webp new file mode 100644 index 00000000..ad4b8a47 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_zigbee/com_zigbee_sch_02.webp differ diff --git a/docs/assets/img/product_pics/unit/zigbee/zigbee_01.webp b/docs/assets/img/product_pics/unit/zigbee/zigbee_01.webp new file mode 100644 index 00000000..21bf1a54 Binary files /dev/null and b/docs/assets/img/product_pics/unit/zigbee/zigbee_01.webp differ diff --git a/docs/assets/img/product_pics/unit/zigbee/zigbee_02.webp b/docs/assets/img/product_pics/unit/zigbee/zigbee_02.webp new file mode 100644 index 00000000..03d44f13 Binary files /dev/null and b/docs/assets/img/product_pics/unit/zigbee/zigbee_02.webp differ diff --git a/docs/assets/img/product_pics/unit/zigbee/zigbee_03.webp b/docs/assets/img/product_pics/unit/zigbee/zigbee_03.webp new file mode 100644 index 00000000..d57c8f66 Binary files /dev/null and b/docs/assets/img/product_pics/unit/zigbee/zigbee_03.webp differ diff --git a/docs/assets/img/product_pics/unit/zigbee/zigbee_sch_01.jpg b/docs/assets/img/product_pics/unit/zigbee/zigbee_sch_01.jpg new file mode 100644 index 00000000..06e4a04d Binary files /dev/null and b/docs/assets/img/product_pics/unit/zigbee/zigbee_sch_01.jpg differ diff --git a/docs/assets/img/product_pics/unit/zigbee/zigbee_sch_01.webp b/docs/assets/img/product_pics/unit/zigbee/zigbee_sch_01.webp new file mode 100644 index 00000000..93460b0f Binary files /dev/null and b/docs/assets/img/product_pics/unit/zigbee/zigbee_sch_01.webp differ diff --git a/docs/en/accessory/watch.md b/docs/en/accessory/watch.md index c2c24ccc..d947d42f 100644 --- a/docs/en/accessory/watch.md +++ b/docs/en/accessory/watch.md @@ -8,6 +8,8 @@ **Watch** is an M5Core watch set. In addition to being a powerful development hardware, the M5Core has a sophisticated look that gives it the possibility to wear smart. The kit is designed for the M5Core series,Compared with the old 3D printing base, the new model uses a mold, which has a qualitative improvement in appearance and quality. in addition to the cool strap. Also equipped with a 650mAh lithium battery, allowing users to have sufficient reliable endurance while using the device. +?>Incompatible with M5Stack Core2 + ## Product Features - 650mAh lithium battery diff --git a/docs/en/module/comx_zigbee.md b/docs/en/module/comx_zigbee.md new file mode 100644 index 00000000..6d02710d --- /dev/null +++ b/docs/en/module/comx_zigbee.md @@ -0,0 +1,223 @@ +# COM.Zigbee + +SKU:M031-Z + +
+ +## Description + +**COM.Zigbee** is a Zigbee self-organizing network communication module launched by M5Stack. The module adopts the CC2630F128 solution, internally integrates the Zigbee protocol stack, and opens the serial communication interface. Integrated external antenna, single node stable communication distance up to 1km, 200-level router depth, through the MESH networking mode, you can extend your IoT application in a wide range, with both ultra-low power consumption and high sensitivity. The Zigbee network can support hundreds of nodes and has enhanced security features. It can provide complete and interoperable IoT solutions for home and building automation. + +## Product Features + +- CC2630F128 +- Quick access to the network without setting + * initialize the coordinator and configure the router preset, which can realize the automatic access to the network by pressing the button three times +- Serial communication +- Low power consumption (module working current: 25mA, sleep 5uA) +- Dynamic routing maintenance, supporting 200-level routing depth +- Transmission speed 250Kbps +- Node communication distance 1km +- UART transparent transmission/broadcasting/P2P + +## Include + +- 1x Zigbee Unit +- 1x SMA antenna + +## Applications + +- Smart Home +- IoT collection node +- Building Automation + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResourcesParameter
CC2630F128ARM Cortex-M3 32bit
communicationUART 38400bps 8N1(default)
Communication distance1km (Open area)
working frequency2.4GHZ (2405MHz-2480MHz, step:5MHz)
Net weight37g
Gross weight70g
Product Size54*54*13.2mm
Package Size165*60*36mm
+ + + + +## PinMap + + + + +
CoreTX(GPIO 0/13/17)RX(GPIO 5/15/16)5VGND
COM.ZigbeeRXTXVINGND
+ +## Schematic + + + + +## Example + + +
+ Arduino + +
+
+ Zigbee P2P CHAT ROOM +
+
+ Zigbee RSSI TEST +
+
+ +## EasyLoader + +- [Zigbee P2P CHAT ROOM](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_P2P_CHATROOM.exe) +- Zigbee RSSI TEST + * [Coordinator](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_RSSI_Coordinator.exe) + * [End Device](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_RSSI_EndDevice.exe) + +## Related Link + +- [CC2630 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/cc2630_datasheet.pdf) +- [Module User Manual](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee_Module_Guide.pdf) +- [Instructions for use of the host computer](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee_PCTool_Guide.pdf) +- [PC debugging tool](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee%20PCTool.msi) + + +## Video + + + +```clike +DRFZigbee.h - API + +//Initialize the serial port of the module +void begin(HardwareSerial & uart){ _uartp = &uart;} + +//Connect the module. After execution, the module will disconnect the wireless link and enter the configuration mode. +int linkMoudle(); + +//Read and write module configuration parameters +int readModuleparm(zigbee_arg_t *parm); + +int setModuleparm(zigbee_arg_t &parm); + +//Get network topology +int getNetworksTopology(); + +//After completing the configuration, you need to execute the program to restart the module and restore the wireless connection +int rebootModule(); + +//Get module signal quality +int8_t getModuleRSSI(nodeRSSI_t *nodeRSSIPtr = nullptr); + +//Receive data +int reviceData(reviceData_t *revice,uint8_t type = kP2PCustomIDMode,size_t timeout = 1000); + +//send data +void sendData(uint8_t cmd, const std::initializer_list args); + +int sendCMDAndWaitRevice(uint8_t cmd, byteArray &array, byteArray *reviceArray = nullptr, size_t timeout = 1000); + +int sendCMDAndWaitRevice(uint8_t cmd, const std::initializer_list args, byteArray *reviceArray = nullptr, size_t timeout = 1000); + +int sendDataP2P(uint8_t mode,uint16_t addr,uint8_t *dataptr,size_t length); + +int sendDataP2P(uint8_t mode,uint16_t addr,byteArray &array); + +int sendDataP2P(uint8_t mode,uint16_t addr,const std::initializer_list args); + + +-------------------------------------------------------------- + +//Module configuration parameter item + +DRFZigbee::zigbee_arg_t *arg = new DRFZigbee::zigbee_arg_t; + +uint8_t main_pointType; +uint16_t main_PANID; +uint8_t main_channel; +uint8_t main_transmissionMode; +uint16_t main_customID; +uint16_t main_res0; +uint8_t main_uartBaud; +uint8_t main_uartBit; +uint8_t main_uatrtStop; +uint8_t main_uartCheck; +uint16_t main_res1; +uint8_t main_ATN; +uint8_t main_mac[8]; + + +//Configure preset parameters-complete configuration preset parameters can be used to quickly access the network from the node without settings +uint8_t preset_pointType; +uint16_t preset_PANID; +uint8_t preset_channel; +uint8_t preset_transmissionMode; +uint16_t preset_customID; + +//reserved +uint16_t preset_res0; + + +uint8_t preset_uartBaud; +uint8_t preset_uartBit; +uint8_t preset_uatrtStop; +uint8_t preset_uartCheck; + +//reserved +uint16_t preset_res1; + + +uint8_t preset_ATN; +uint16_t shortAddr; +uint8_t res3; +uint8_t encryption; +uint8_t password[4]; + +``` + + + + diff --git a/docs/en/module/lora.md b/docs/en/module/lora.md index 0236c40d..c4955631 100644 --- a/docs/en/module/lora.md +++ b/docs/en/module/lora.md @@ -6,11 +6,7 @@ ## Description -**LoRa (433MHz)** is an integrated LoRa (433MHz) Module Ra-02, designed and produced by Ai-Thinker. On the board has some extra space left over, so we give you a prototyping area, it's great for adding on your customized circuit working with the LoRa (433MHz) Module. - -LoRa (433MHz) enables long-range transmissions (more than 10 km in rural areas) with low power consumption,The technology is presented in two parts: LoRa (433MHz), the physical layer and LoRaWAN (Long Range Wide Area Network), the upper layers. - -LoRa (433MHz) and LoRaWAN permit long-range connectivity for Internet of Things (IoT) devices in different types of industries. +**LoRa (433MHz)** is a LoRa communication module in the M5Stack stack module series (working frequency is 433MHz). A certain expansion space is reserved on the module, which defeats you for more functional design. For wireless communication or projects with more customized elements, the LoRa (433MHz) module will be a suitable choice. ## Product Features diff --git a/docs/en/module/lora868.md b/docs/en/module/lora868.md index a2bd5025..78ecebe4 100644 --- a/docs/en/module/lora868.md +++ b/docs/en/module/lora868.md @@ -6,17 +6,11 @@ ## Description -**LoRa868** is integrated with the LoRa Module Ra-01H which is designed and produced by Ai-Thinker.The board has some extra space left over, so we give you a prototyping area great for adding on your own customized circuit working with the LoRa868 Module. - -LoRa enables long-range transmissions (more than 10 km in some areas) with low power consumption. - -The technology is presented in two parts: LoRa, the physical layer and LoRaWAN (Long Range Wide Area Network), the communication layers similar to the OSI model. - -LoRa and LoRaWAN permit long-range connectivity for Internet of Things (IoT) devices in various industrial applications. +**LoRa868** is a LoRa communication module in the M5Stack stack module series (working frequency is 868MHz). A certain expansion space is reserved on the module, which defeats you for more functional design. For wireless communication or projects with more customized elements, the LoRa868 module will be a suitable choice. ## Product Features -- LoRa Module: Ra-01H (by Ai-Thinker) +- LoRa Module: Ra-01H - Communication Protocol: SPI - Universal Perfboard - Working Frequency: 803~930 MHz diff --git a/docs/en/product_list.json b/docs/en/product_list.json index 17a796d3..f6cd184e 100644 --- a/docs/en/product_list.json +++ b/docs/en/product_list.json @@ -90,7 +90,8 @@ ], "Transceivers": [ {"id":"transceivers"}, - {"a":"/#/en/unit/ir", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_ir_01.webp", "p":"IR", "sku":"U002" ,"kw":"IR", "category":"Transivers"}, + {"a":"/#/en/unit/zigbee", "img":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/zigbee_01.webp", "p":"Zigbee", "sku":"U110" ,"kw":"CC2630 Zigbee", "category":"Transivers"}, + {"a":"/#/en/unit/ir", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_ir_01.webp", "p":"IR", "sku":"U002" ,"kw":"IR"}, {"a":"/#/en/unit/gps", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_gps_01.webp", "p":"GPS", "sku":"U032" ,"kw":"AT6558"}, {"a":"/#/en/unit/rs485", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_rs485_01.webp", "p":"RS485", "sku":"U034" ,"kw":"SP485EEN"}, {"a":"/#/en/unit/rfid", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_rfid_01.webp", "p":"RFID", "sku":"U031" ,"kw":"RC522"}, @@ -162,7 +163,8 @@ "Modules": { "Wireless":[ {"id":"wireless"}, - {"a":"/#/en/module/comx_gps", "img":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/comx_gps.webp", "p":"COM.GPS", "sku":"M031-G" ,"kw":"GPS M8N", "category":"Communication Modules"}, + {"a":"/#/en/module/comx_zigbee", "img":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/com.zigbee_01.webp", "p":"COM.Zigbee", "sku":"M031-Z" ,"kw":"CC2630 Zigbee", "category":"Communication Modules"}, + {"a":"/#/en/module/comx_gps", "img":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/comx_gps.webp", "p":"COM.GPS", "sku":"M031-G" ,"kw":"GPS M8N"}, {"a":"/#/en/module/comx_gsm", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/module/comx_gsm.webp", "p":"COM.GSM", "sku":"M031-D" ,"kw":"SIM800C"}, {"a":"/#/en/module/comx_lorawan", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/module/comx_lorawan.webp", "p":"COM.LoRaWAN", "sku":"M031-C" ,"kw":"LoRaWAN"}, {"a":"/#/en/module/comx_lorawan470", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/module/com.lorawan470_01.webp", "p":"COM.LoRaWAN 470", "sku":"M031-C2" ,"kw":"LoRaWAN 470 Ra-07"}, diff --git a/docs/en/unit/unitv2.md b/docs/en/unit/unitv2.md new file mode 100644 index 00000000..13938572 --- /dev/null +++ b/docs/en/unit/unitv2.md @@ -0,0 +1,113 @@ +# UnitV2 + +## Description + +UnitV2 is a high-efficiency AI recognition module launched by M5Stack, using Sigmstar SSD202D (integrated dual-core Cortex-A7 1.2Ghz processor) control core, integrated 256MB-DDR3 memory, 512MB NAND Flash, and 1080P camera. With embedded Linux operating system and rich software and hardware resources and development tools integrated, UnitV2 is committed to bringing users a simple and efficient AI development experience out of the box. + +## Out Of The Box AI Recognition Function + +- UnitV2 integrates not only the basic AI recognition service developed by M5Stack, but also has built-in multiple recognition functions (such as face recognition, object tracking and other common functions), which can quickly help users build AI recognition applications. +- All features! Plug and play! UnitV2 has a built-in wired network card. When you connect to a PC through the TypeC interface, it will automatically establish a network connection with UnitV2. With highly free connectable style, it can also be connected and debugged via WiFi. +- UART serial port output, all identification content is automatically output in `JSON` format through the serial port, which is convenient to call. + +## Development Efficiency Improvement + +- UnitV2's factory Linux image integrates a variety of basic peripherals and development tools (such as Jupter Notebook etc.) +- Through SSH access, you can fully control the hardware resources of this camera +- Easily build a custom recognition model through M5Stack's V-Training (AI model training service). + +## Software Support + +- The M5Stack team will update more identification function services through the release of firmware in the future, and users can directly update the software through TFCard. + +## Product Features + +- Sigmstar SSD202D +- Dual Cortex-A7 1.2Ghz Processor +- 256MB DDR3 +- 512MB NAND Flash +- GC2145 1080P Colored Sensor +- Microphone +- WiFi 2.4GHz + +## Include + +- 1x UnitV2 + +## Applications + +- AI recognition function development +- Industrial visual identification sorting +- Machine vision learning + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResourcesParameter
Sigmstar SSD202DDual Cortex-A7 1.2Ghz Processor
Flash512MB NAND
RAM256MB-DDR3
CameraGC2145 1080P Colored Sensor
LensFOV 68° , DOF= 60cm- ∞
Power Input5V @ 500mA
PeripheralsTypeC x1, UART x1, TFCard x1, Button x1, Microphone x1, Fan x1
Indicator lightRed, While
WiFi150Mbps 2.4GHz 802.11 b/g/n
Operating Temperature32°F to 104°F ( 0°C to 40°C )
Net weight18g
Gross weight62g
Product Size48*18.5*24mm
Package Size157*38*38mm
Case MaterialPlastic ( PC )
+ + diff --git a/docs/en/unit/zigbee.md b/docs/en/unit/zigbee.md new file mode 100644 index 00000000..2a7451c1 --- /dev/null +++ b/docs/en/unit/zigbee.md @@ -0,0 +1,216 @@ +# Zigbee + +SKU:U110 + +
+ +## Description + +**Zigbee** is a Zigbee ad hoc network communication module launched by M5Stack. The module adopts the CC2630F128 solution, internally integrates the Zigbee protocol stack, and opens the serial communication interface. Integrated external antenna, single node stable communication distance up to 1km, 200-level router depth, through the MESH networking mode, you can extend your IoT application in a wide range, with both ultra-low power consumption and high sensitivity. The Zigbee network can support hundreds of nodes and has enhanced security features. Can provide complete and interoperable IoT solutions for home and building automation. + +## Product Features + +- CC2630F128 (dual ARM core-32 bit) +- Serial communication +- Low power consumption (module working current: 25mA, sleep 5uA) +- Dynamic routing maintenance, supporting 200-level routing depth +- Transmission speed 250Kbps +- Node communication distance 1km +- UART transparent transmission/broadcasting/P2P + +## Include + +- 1x Zigbee Unit +- 1x SMA antenna + +## Applications + +- Smart Home +- IoT collection node +- Building Automation + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResourcesParameter
CC2630F128ARM Cortex-M3 32bit
communicationUART 38400bps 8N1(default)
Communication distance1km (Open area)
working frequency2.4GHZ (2405MHz-2480MHz, step:5MHz)
Net weight24g
Gross weight50g
Product Size71.5*24*8mm
Package Size95*65*25mm
+ +## PinMap + + + + +
CoreTX(GPIO 17)RX(GPIO 16)5VGND
Zigbee UnitRXTXVINGND
+ +## Schematic + + + +## Example + + +
+ Arduino + +
+ + +
+ +## EasyLoader + +- [Zigbee P2P CHAT ROOM](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_P2P_CHATROOM.exe) +- Zigbee RSSI TEST + * [Coordinator](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_RSSI_Coordinator.exe) + * [End Device](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_RSSI_EndDevice.exe) + +## Related Link + +- [CC2630 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/cc2630_datasheet.pdf) +- [Module User Manual](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee_Module_Guide.pdf) +- [Instructions for use of the host computer](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee_PCTool_Guide.pdf) +- [PC debugging tool](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee%20PCTool.msi) + +## Video + + + +```clike +DRFZigbee.h - API + +//Initialize the serial port of the module +void begin(HardwareSerial & uart){ _uartp = &uart;} + +//Connect the module. After execution, the module will disconnect the wireless link and enter the configuration mode. +int linkMoudle(); + +//Read and write module configuration parameters +int readModuleparm(zigbee_arg_t *parm); + +int setModuleparm(zigbee_arg_t &parm); + +//Get network topology +int getNetworksTopology(); + +//After completing the configuration, you need to execute the program to restart the module and restore the wireless connection +int rebootModule(); + +//Get module signal quality +int8_t getModuleRSSI(nodeRSSI_t *nodeRSSIPtr = nullptr); + +//Receive data +int reviceData(reviceData_t *revice,uint8_t type = kP2PCustomIDMode,size_t timeout = 1000); + +//send data +void sendData(uint8_t cmd, const std::initializer_list args); + +int sendCMDAndWaitRevice(uint8_t cmd, byteArray &array, byteArray *reviceArray = nullptr, size_t timeout = 1000); + +int sendCMDAndWaitRevice(uint8_t cmd, const std::initializer_list args, byteArray *reviceArray = nullptr, size_t timeout = 1000); + +int sendDataP2P(uint8_t mode,uint16_t addr,uint8_t *dataptr,size_t length); + +int sendDataP2P(uint8_t mode,uint16_t addr,byteArray &array); + +int sendDataP2P(uint8_t mode,uint16_t addr,const std::initializer_list args); + + +-------------------------------------------------------------- + +//Module configuration parameter item + +DRFZigbee::zigbee_arg_t *arg = new DRFZigbee::zigbee_arg_t; + +uint8_t main_pointType; +uint16_t main_PANID; +uint8_t main_channel; +uint8_t main_transmissionMode; +uint16_t main_customID; +uint16_t main_res0; +uint8_t main_uartBaud; +uint8_t main_uartBit; +uint8_t main_uatrtStop; +uint8_t main_uartCheck; +uint16_t main_res1; +uint8_t main_ATN; +uint8_t main_mac[8]; + + +//Configure preset parameters-complete configuration preset parameters can be used to quickly access the network from the node without settings +uint8_t preset_pointType; +uint16_t preset_PANID; +uint8_t preset_channel; +uint8_t preset_transmissionMode; +uint16_t preset_customID; + +//reserved +uint16_t preset_res0; + + +uint8_t preset_uartBaud; +uint8_t preset_uartBit; +uint8_t preset_uatrtStop; +uint8_t preset_uartCheck; + +//reserved +uint16_t preset_res1; + + +uint8_t preset_ATN; +uint16_t shortAddr; +uint8_t res3; +uint8_t encryption; +uint8_t password[4]; + +``` + + + + diff --git a/docs/zh_CN/accessory/watch.md b/docs/zh_CN/accessory/watch.md index b8332628..fec40ff7 100644 --- a/docs/zh_CN/accessory/watch.md +++ b/docs/zh_CN/accessory/watch.md @@ -8,6 +8,8 @@ **Watch** 是一款M5Core手表套装,M5Core除了是一款功能强大的开发硬件以外,精致的外观赋予了它智能穿戴的可能,该套件专为M5Core系列设计,相比旧款的3D打印底座,新款使用了模具,在外观与质量上都有了质的提升,除了酷炫的表带以外还配备650mAh锂电池,让用户能够在使用设备的同时,有着足够可靠的续航能力. +?>注意: 该产品不兼容M5Core2. + ## 产品特性 - 650mAh锂电池 diff --git a/docs/zh_CN/atom/atom_can.md b/docs/zh_CN/atom/atom_can.md index e885dc3b..05772827 100644 --- a/docs/zh_CN/atom/atom_can.md +++ b/docs/zh_CN/atom/atom_can.md @@ -113,7 +113,7 @@ - **Datasheet** - [CA-IS3050G](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/CA-IS3050G.pdf) -### 管脚映射 +## 管脚映射 diff --git a/docs/zh_CN/module/comx_zigbee.md b/docs/zh_CN/module/comx_zigbee.md new file mode 100644 index 00000000..c5de1816 --- /dev/null +++ b/docs/zh_CN/module/comx_zigbee.md @@ -0,0 +1,220 @@ +# COM.Zigbee + +SKU:M031-Z + +
+ +## 描述 + +**COM.Zigbee** 是M5Stack推出的一款Zigbee自组网通讯模块。模块采用CC2630F128方案,内部集成Zigbee协议栈,开放串口通信接口。集成外部天线,单节点稳定通信距离可达1km,200级router深度,通过MESH组网方式能够将你的物联网应用进行广范围的延展,兼具超低功耗与高灵敏度特性。Zigbee网络可以支持数以百计的节点,并具有增强的安全特性。可为家庭和楼宇自动化提供完整且可互操作的物联网解决方案。 + +## 产品特性 + +- CC2630F128 +- 免设置快速入网 + * 初始化coordinator并配置router预设, 可实现连按三次按键自动入网 +- 串口通信 +- 低功耗(模组工作电流:25mA,休眠5uA) +- 动态路由维护,支持200级路由深度 +- 传输速度250Kbps +- 节点通信距离1km +- UART透明传输/广播/P2P + +## 包含 + +- 1x COM.Zigbee +- 1x SMA天线 + +# 应用 + +- 智能家居 +- 物联网采集节点 +- 楼宇自动化 + +## 规格参数 + +
ATOMGPIO22GPIO195VGND
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
CC2630F128ARM Cortex-M3 32bit
通讯方式UART 38400bps 8N1(default)
通信距离1km (空旷地区)
工作频率2.4GHZ (2405MHz-2480MHz, 步长为5MHz)
净重37g
毛重70g
产品尺寸54*54*13.2mm
包装尺寸165*60*36mm
+ + + + +## 管脚映射 + + + + +
CoreTX(GPIO 0/13/17)RX(GPIO 5/15/16)5VGND
COM.ZigbeeRXTXVINGND
+ +## 原理图 + + + + +## 案例程序 + + +
+ Arduino + +
+ + +
+ +## EasyLoader + +- [Zigbee P2P CHAT ROOM](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_P2P_CHATROOM.exe) +- Zigbee RSSI TEST + * [Coordinator](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_RSSI_Coordinator.exe) + * [End Device](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_RSSI_EndDevice.exe) + +## 相关链接 + +- [CC2630 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/cc2630_datasheet.pdf) +- [模块使用手册](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee_Module_Guide.pdf) +- [上位机使用说明](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee_PCTool_Guide.pdf) +- [上位机调试工具](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee%20PCTool.msi) + +## 相关视频 + + + + +```clike +DRFZigbee.h - API + +//初始化模块 +void begin(HardwareSerial & uart){ _uartp = &uart;} + +//发送数据 +void sendData(uint8_t cmd, const std::initializer_list args); + +int sendCMDAndWaitRevice(uint8_t cmd, byteArray &array, byteArray *reviceArray = nullptr, size_t timeout = 1000); + +int sendCMDAndWaitRevice(uint8_t cmd, const std::initializer_list args, byteArray *reviceArray = nullptr, size_t timeout = 1000); + +int sendDataP2P(uint8_t mode,uint16_t addr,uint8_t *dataptr,size_t length); + +int sendDataP2P(uint8_t mode,uint16_t addr,byteArray &array); + +int sendDataP2P(uint8_t mode,uint16_t addr,const std::initializer_list args); + +//获取网络拓扑结构 +int getNetworksTopology(); + +//连接模块,执行后模块将断开无线链接,进入配置模式。 +int linkMoudle(); + +//读写模块配置参数 +int readModuleparm(zigbee_arg_t *parm); + +int setModuleparm(zigbee_arg_t &parm); + +//完成配置后,需要执行该程序,使模块重启并恢复无线连接 +int rebootModule(); + +//获取模块信号质量 +int8_t getModuleRSSI(nodeRSSI_t *nodeRSSIPtr = nullptr); + +//接收数据 +int reviceData(reviceData_t *revice,uint8_t type = kP2PCustomIDMode,size_t timeout = 1000); + +-------------------------------------------------------------- + +//模块配置参数项 + +DRFZigbee::zigbee_arg_t *arg = new DRFZigbee::zigbee_arg_t; + +uint8_t main_pointType; +uint16_t main_PANID; +uint8_t main_channel; +uint8_t main_transmissionMode; +uint16_t main_customID; +uint16_t main_res0; +uint8_t main_uartBaud; +uint8_t main_uartBit; +uint8_t main_uatrtStop; +uint8_t main_uartCheck; +uint16_t main_res1; +uint8_t main_ATN; +uint8_t main_mac[8]; + + +//配置预设参数 - 完整配置预设参数可用于从节点的免设置快速入网 +uint8_t preset_pointType; +uint16_t preset_PANID; +uint8_t preset_channel; +uint8_t preset_transmissionMode; +uint16_t preset_customID; + +//保留字段 +uint16_t preset_res0; + +uint8_t preset_uartBaud; +uint8_t preset_uartBit; +uint8_t preset_uatrtStop; +uint8_t preset_uartCheck; + +//保留字段 +uint16_t preset_res1; + +uint8_t preset_ATN; + +uint16_t shortAddr; +uint8_t res3; +uint8_t encryption; +uint8_t password[4]; + +``` + + + diff --git a/docs/zh_CN/module/lora.md b/docs/zh_CN/module/lora.md index 0e908991..ee3d49fa 100644 --- a/docs/zh_CN/module/lora.md +++ b/docs/zh_CN/module/lora.md @@ -6,15 +6,11 @@ ## 描述 -**LoRa (433MHz)** 是M5Stack堆叠模块系列中的一款,节点通信模块.该模块集成了由Ai-Thinker设计和生产的Ra-02模组,模块上保留了一定的拓展空间,以便你进行更多的功能设计.无论是进行基本的远距离通信或是有着更多定制化元素的项目,LoRa (433MHz模块都会是合适的选择. - -LoRa (433MHz能够实现低功耗的远距离通信(在乡村地区等较为空旷的地区,通信距离甚至能够超过10公里).该技术由两部分组成:LoRa物理层和LoRaWAN(长距离广域网)上层. - -LoRa和LoRaWAN允许与不同类型的物联网(IoT)设备,进行远程连接. +**LoRa (433MHz)** 是M5Stack堆叠模块系列中的一款LoRa通信模块(工作频率为433MHz)。模块上保留了一定的拓展空间,以便你进行更多的功能设计.无论是进行基本的无线通信或是有着更多定制化元素的项目,LoRa(433MHz)模块都会是合适的选择。 ## 产品特性 -- LoRa (433MHz) 模块: Ra-02 (by Ai-Thinker) +- LoRa (433MHz) 模块: Ra-02 - 串行通信协议: SPI - 万能板 - 工作频率: 433 MHz diff --git a/docs/zh_CN/module/lora868.md b/docs/zh_CN/module/lora868.md index 01e9aef7..6bf12fcc 100644 --- a/docs/zh_CN/module/lora868.md +++ b/docs/zh_CN/module/lora868.md @@ -6,15 +6,11 @@ ## 描述 -**LoRa868** 是M5Stack堆叠模块系列中的一款,节点通信模块,工作频率806~930MHz.该模块集成了由Ai-Thinker设计和生产的Ra-01H模组,模块上保留了一定的拓展空间,以便你进行更多的功能设计.无论是进行基本的远距离通信或是有着更多定制化元素的项目,LoRa868模块都会是合适的选择. - -LoRa能够实现低功耗的远距离通信(在乡村地区等较为空旷的地区,通信距离甚至能够超过10公里).该技术由两部分组成:LoRa物理层和LoRaWAN(长距离广域网)上层. - -LoRa和LoRaWAN允许与不同类型的物联网(IoT)设备,进行远程连接. +**LoRa868** 是M5Stack堆叠模块系列中的一款LoRa通信模块(工作频率为868MHz)。模块上保留了一定的拓展空间,以便你进行更多的功能设计.无论是进行基本的无线通信或是有着更多定制化元素的项目,LoRa(868MHz)模块都会是合适的选择。 ## 产品特性 -- LoRa 模块: Ra-01H (by Ai-Thinker) +- LoRa 模块: Ra-01H - 串行通信协议: SPI - 万能板 - 工作频率: 806~930 MHz diff --git a/docs/zh_CN/product_list.json b/docs/zh_CN/product_list.json index 57aa4bc9..737439ed 100644 --- a/docs/zh_CN/product_list.json +++ b/docs/zh_CN/product_list.json @@ -90,7 +90,8 @@ ], "通信单元": [ {"id":"transceivers"}, - {"a":"/#/zh_CN/unit/ir", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_ir_01.webp", "p":"IR", "sku":"U002" ,"kw":"IR", "category":"Transivers"}, + {"a":"/#/zh_CN/unit/zigbee", "img":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/zigbee_01.webp", "p":"Zigbee", "sku":"U110" ,"kw":"CC2630 Zigbee", "category":"Transivers"}, + {"a":"/#/zh_CN/unit/ir", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_ir_01.webp", "p":"IR", "sku":"U002" ,"kw":"IR"}, {"a":"/#/zh_CN/unit/gps", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_gps_01.webp", "p":"GPS", "sku":"U032" ,"kw":"AT6558"}, {"a":"/#/zh_CN/unit/rs485", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_rs485_01.webp", "p":"RS485", "sku":"U034" ,"kw":"SP485EEN"}, {"a":"/#/zh_CN/unit/rfid", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/unit/unit_rfid_01.webp", "p":"RFID", "sku":"U031" ,"kw":"RC522 13.56Mhz"}, @@ -162,7 +163,8 @@ "功能模块": { "通讯模块":[ {"id":"wireless"}, - {"a":"/#/zh_CN/module/comx_gps", "img":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/comx_gps.webp", "p":"COM.GPS", "sku":"M031-G" ,"kw":"GPS M8N", "category":"Communication Modules"}, + {"a":"/#/zh_CN/module/comx_zigbee", "img":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/com.zigbee_01.webp", "p":"COM.Zigbee", "sku":"M031-Z" ,"kw":"CC2630 Zigbee", "category":"Communication Modules"}, + {"a":"/#/zh_CN/module/comx_gps", "img":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/comx_gps.webp", "p":"COM.GPS", "sku":"M031-G" ,"kw":"GPS M8N"}, {"a":"/#/zh_CN/module/comx_gsm", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/module/comx_gsm.webp", "p":"COM.GSM", "sku":"M031-D" ,"kw":"SIM800C"}, {"a":"/#/zh_CN/module/comx_lorawan", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/module/comx_lorawan.webp", "p":"COM.LoRaWAN", "sku":"M031-C" ,"kw":"LoRaWAN"}, {"a":"/#/zh_CN/module/comx_lorawan470", "img":"https://static-cdn.m5stack.com/image/m5-docs_homepage/module/com.lorawan470_01.webp", "p":"COM.LoRaWAN 470", "sku":"M031-C2" ,"kw":"LoRaWAN 470 Ra-07"}, diff --git a/docs/zh_CN/unit/unitv2.md b/docs/zh_CN/unit/unitv2.md new file mode 100644 index 00000000..9a7a9d9a --- /dev/null +++ b/docs/zh_CN/unit/unitv2.md @@ -0,0 +1,118 @@ +# UnitV2 + +## 描述 + +UnitV2是M5Stack推出的一款高效率的AI识别模块, 采用Sigmstar SSD202D(集成双核Cortex-A7 1.2Ghz处理器)控制核心,集成256MB-DDR3内存,512MB NAND Flash, 1080P摄像头。内嵌Linux操作系统,集成丰富的软硬件资源与开发工具,致力带给用户开箱即用,简洁高效的Ai开发体验。 + +## 开箱即用的Ai识别功能 + +- UnitV2 内部集成由M5Stack开发的基础Ai识别服务,内置多种识别功能(如人脸识别,对象跟踪等常用功能),能够快速帮助用户构建Ai识别应用。 +- 所有功能!即插即用!UnitV2内置了一张有线网卡, 当你通过TypeC接口连接PC时,将自动与UnitV2建立起网络连接。还可以通过WiFi形式连接与调试,具备高自由度。 +- UART串口输出,所有识别内容自动通过串口输出`JSON`格式,方便调用。 + +## 开发效率提升 + +- UnitV2的出厂Linux镜像中集成了多种基础外设与开发工具(如Jupter Notebook) +- 通过SSH访问你能够完全掌控这台摄像头的硬件资源 +- 通过M5Stack的V-Training(Ai模型训练服务),轻松构建自定义识别模型。 + +## 软件支持 + +- M5Stack团队在后续将会通过发布固件的形式更新更多的识别功能服务,用户通过TFCard可直接更新软件。 + + +## Product Features + +- Sigmstar SSD202D +- Dual Cortex-A7 1.2Ghz Processor +- 256MB DDR3 +- 512MB NAND Flash +- GC2145 1080P Colored Sensor +- Microphone +- WiFi 2.4GHz + +## Include + +- 1x UnitV2 + +## Applications + +- Ai recognition function development +- Industrial visual identification sorting +- Machine vision learning + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResourcesParameter
Sigmstar SSD202DDual Cortex-A7 1.2Ghz Processor
Flash512MB NAND
RAM256MB-DDR3
CameraGC2145 1080P Colored Sensor
LensFOV 68° , DOF= 60cm- ∞
Power Input5V @ 500mA
PeripheralsTypeC x1, UART x1, TFCard x1, Button x1, Microphone x1, Fan x1
Indicator lightRed, While
WiFi150Mbps 2.4GHz 802.11 b/g/n
Operating Temperature32°F to 104°F ( 0°C to 40°C )
Net weight68g
Gross weight62g
Product Size54 x 54 x 24mm
Package Size157*38*38mm
Case MaterialPlastic ( PC )
+ + + +UnitV2 - 高效率的 + + diff --git a/docs/zh_CN/unit/zigbee.md b/docs/zh_CN/unit/zigbee.md new file mode 100644 index 00000000..2a332b3a --- /dev/null +++ b/docs/zh_CN/unit/zigbee.md @@ -0,0 +1,214 @@ +# Zigbee + +SKU:U110 + +
+ +## 描述 + +**Zigbee** 是M5Stack推出的一款Zigbee自组网通讯模块。模块采用CC2630F128方案,内部集成Zigbee协议栈,开放串口通信接口。集成外部天线,单节点稳定通信距离可达1km,200级router深度,通过MESH组网方式能够将你的物联网应用进行广范围的延展,兼具超低功耗与高灵敏度特性。Zigbee网络可以支持数以百计的节点,并具有增强的安全特性。可为家庭和楼宇自动化提供完整且可互操作的物联网解决方案 + +## 产品特性 + +- CC2630F128(双ARM核-32位) +- 串口通信 +- 低功耗(模组工作电流:25mA,休眠5uA) +- 动态路由维护,支持200级路由深度 +- 传输速度250Kbps +- 节点通信距离1km +- UART透明传输/广播/P2P + +## 包含 + +- 1x Zigbee Unit +- 1x SMA天线 + +# 应用 + +- 智能家居 +- 物联网采集节点 +- 楼宇自动化 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
CC2630F128ARM Cortex-M3 32bit
通讯方式UART 38400bps 8N1(default)
通信距离1km (空旷地区)
工作频率2.4GHZ (2405MHz-2480MHz, 步长为5MHz)
净重24g
毛重50g
产品尺寸71.5*24*8mm
包装尺寸95*65*25mm
+ +## 管脚映射 + + + + +
CoreTX(GPIO 17)RX(GPIO 16)5VGND
Zigbee UnitRXTXVINGND
+ +## 原理图 + + + +## 案例程序 + + +
+ Arduino + +
+ + +
+ +## EasyLoader + +- [Zigbee P2P CHAT ROOM](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_P2P_CHATROOM.exe) +- Zigbee RSSI TEST + * [Coordinator](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_RSSI_Coordinator.exe) + * [End Device](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/MODULE/EasyLoader_Zigbee_RSSI_EndDevice.exe) + +## 相关链接 + +- [CC2630 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/cc2630_datasheet.pdf) +- [模块使用手册](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee_Module_Guide.pdf) +- [上位机使用说明](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee_PCTool_Guide.pdf) +- [上位机调试工具](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/Zigbee_CC2630/Zigbee%20PCTool.msi) + +## 相关视频 + + + + +```clike +DRFZigbee.h - API + +//初始化模块 +void begin(HardwareSerial & uart){ _uartp = &uart;} + +//发送数据 +void sendData(uint8_t cmd, const std::initializer_list args); + +int sendCMDAndWaitRevice(uint8_t cmd, byteArray &array, byteArray *reviceArray = nullptr, size_t timeout = 1000); + +int sendCMDAndWaitRevice(uint8_t cmd, const std::initializer_list args, byteArray *reviceArray = nullptr, size_t timeout = 1000); + +int sendDataP2P(uint8_t mode,uint16_t addr,uint8_t *dataptr,size_t length); + +int sendDataP2P(uint8_t mode,uint16_t addr,byteArray &array); + +int sendDataP2P(uint8_t mode,uint16_t addr,const std::initializer_list args); + +//获取网络拓扑结构 +int getNetworksTopology(); + +//连接模块,执行后模块将断开无线链接,进入配置模式。 +int linkMoudle(); + +//读写模块配置参数 +int readModuleparm(zigbee_arg_t *parm); + +int setModuleparm(zigbee_arg_t &parm); + +//完成配置后,需要执行该程序,使模块重启并恢复无线连接 +int rebootModule(); + +//获取模块信号质量 +int8_t getModuleRSSI(nodeRSSI_t *nodeRSSIPtr = nullptr); + +//接收数据 +int reviceData(reviceData_t *revice,uint8_t type = kP2PCustomIDMode,size_t timeout = 1000); + +-------------------------------------------------------------- + +//模块配置参数项 + +DRFZigbee::zigbee_arg_t *arg = new DRFZigbee::zigbee_arg_t; + +uint8_t main_pointType; +uint16_t main_PANID; +uint8_t main_channel; +uint8_t main_transmissionMode; +uint16_t main_customID; +uint16_t main_res0; +uint8_t main_uartBaud; +uint8_t main_uartBit; +uint8_t main_uatrtStop; +uint8_t main_uartCheck; +uint16_t main_res1; +uint8_t main_ATN; +uint8_t main_mac[8]; + + +//配置预设参数 - 完整配置预设参数可用于从节点的免设置快速入网 +uint8_t preset_pointType; +uint16_t preset_PANID; +uint8_t preset_channel; +uint8_t preset_transmissionMode; +uint16_t preset_customID; + +//保留字段 +uint16_t preset_res0; + +uint8_t preset_uartBaud; +uint8_t preset_uartBit; +uint8_t preset_uatrtStop; +uint8_t preset_uartCheck; + +//保留字段 +uint16_t preset_res1; + +uint8_t preset_ATN; + +uint16_t shortAddr; +uint8_t res3; +uint8_t encryption; +uint8_t password[4]; + +``` + + +