diff --git a/docs/assets/img/product_pics/module/module_example/ENCODER/encoder.png b/docs/assets/img/product_pics/module/module_example/ENCODER/encoder.png new file mode 100644 index 00000000..ca04b5b6 Binary files /dev/null and b/docs/assets/img/product_pics/module/module_example/ENCODER/encoder.png differ diff --git a/docs/en/module/encoder.md b/docs/en/module/encoder.md index 0ff042f4..dde8c7ce 100644 --- a/docs/en/module/encoder.md +++ b/docs/en/module/encoder.md @@ -140,6 +140,6 @@ Wire.endTransmission(); - + diff --git a/docs/en/module/lego_plus.md b/docs/en/module/lego_plus.md index a31890d4..ab4a0798 100644 --- a/docs/en/module/lego_plus.md +++ b/docs/en/module/lego_plus.md @@ -69,6 +69,10 @@ LEGO motor is one of the Technic pieces form LEGO. The purpose of LEGO Technic i +### Arduino 328p frimware + +*To get the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LEGO_PLUS/firmware_328p)* + ## NOTE If you want to change the firmware inside **MEGA328 chip** which has implemented the motor driver code by default, you can overwrite through **ISP** port. Below shows the location of ISP port. diff --git a/docs/en/unit/gps.md b/docs/en/unit/gps.md index 594d05f6..d4dea3a3 100644 --- a/docs/en/unit/gps.md +++ b/docs/en/unit/gps.md @@ -87,7 +87,7 @@ UART settings : ### 1. Arduino IDE -*To get the complete code `GPSRaw.ino`, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/GPS/Arduino).* +*To get the complete code `GPSRaw.ino`, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/GPS).* ```arduino #include diff --git a/docs/en/unit/ir.md b/docs/en/unit/ir.md index 4d9ae5b3..f5ee40a8 100644 --- a/docs/en/unit/ir.md +++ b/docs/en/unit/ir.md @@ -10,7 +10,7 @@ **IR** is an pair of infrared photoelectric. Also from M5Go Kit, Contains 1x infrared emitter and 1x receiver. -IR remote control is widely used in consumer electronics,it can be used to operate devices such as a television set, DVD player, or other home appliance, from a short distance. Since this unit comes with emitter and receiver, you can practice not only onIR encode but also on IR decode. +IR remote control is widely used in consumer electronics,it can be used to operate devices such as a television set, DVD player, or other home appliance, from a short distance. Since this unit comes with emitter and receiver, you can practice not only on IR encode but also on IR decode. ## Product Features diff --git a/docs/en/unit/laser-rx.md b/docs/en/unit/laser-rx.md index 9f6e2478..0e5e9c2c 100644 --- a/docs/en/unit/laser-rx.md +++ b/docs/en/unit/laser-rx.md @@ -10,13 +10,9 @@ ## Description This is one of the communication devices among M5Units, a 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. +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 diff --git a/docs/en/unit/laser-tx.md b/docs/en/unit/laser-tx.md index 0b791421..ae8b0dac 100644 --- a/docs/en/unit/laser-tx.md +++ b/docs/en/unit/laser-tx.md @@ -10,12 +10,9 @@ ## Description This is one of the communication devices among M5Units, a Laser emitter with adjustable focal length. It is mainly built 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. -

*warning!!! laser is dangerous for human being, Don’t aim a laser pointer towards a person’s head. This is to prevent the beam from getting in their eyes, possibly causing eye damage. Remember that people can move unexpectedly, so keeping away from their heads is a good idea* ## Product Features @@ -29,7 +26,6 @@ Port type of this unit is PORTB. - Product Size:32.2mm x 24.2mm x 8.1mm - Product weight:4.9g - ## Include - 1x LASER.TX unit @@ -39,8 +35,6 @@ Port type of this unit is PORTB. - Laser communication system on space. - - ## Schematic diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index a945652e..f7e6c05f 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -182,7 +182,7 @@ {a:"/#/zh_CN/unit/m5-bit", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_m5bit_01.jpg", p:"M5:bit"}, {a:"/#/zh_CN/unit/proto", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_proto_01.png", p:"PROTO"}, {a:"/#/zh_CN/unit/mini-proto", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/mini_proto_01.jpg", p:"MINI-PROTO"}, - {a:"/#/zh_CN/unit/fan", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_fan_01.jpg", p:"FAN"}, + {a:"/#/zh_CN/unit/unit_fan", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_fan_01.jpg", p:"FAN"}, {a:"/#/zh_CN/unit/vibrator", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_vibrator_motor_01.jpg", p:"Vibrator-Motor"}, {a:"/#/zh_CN/unit/angle", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_angle_01.png", p:"ANGLE"}, {a:"/#/zh_CN/unit/button", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_button_01.png", p:"BUTTON"}, diff --git a/docs/zh_CN/module/encoder.md b/docs/zh_CN/module/encoder.md index a56ebbae..292f5e67 100644 --- a/docs/zh_CN/module/encoder.md +++ b/docs/zh_CN/module/encoder.md @@ -140,6 +140,6 @@ Wire.write(b); Wire.endTransmission(); ``` - +### UIFlow - \ No newline at end of file + diff --git a/docs/zh_CN/module/lego_plus.md b/docs/zh_CN/module/lego_plus.md index d819544d..20a8bdf2 100644 --- a/docs/zh_CN/module/lego_plus.md +++ b/docs/zh_CN/module/lego_plus.md @@ -67,6 +67,9 @@ +### Arduino 328p frimware + +*To get the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LEGO_PLUS/firmware_328p)* ## 原理图 diff --git a/docs/zh_CN/unit/gps.md b/docs/zh_CN/unit/gps.md index 046e17a3..76144a92 100644 --- a/docs/zh_CN/unit/gps.md +++ b/docs/zh_CN/unit/gps.md @@ -131,7 +131,7 @@ $GPTXT,01,01,01,ANTENNA OPEN*25 ### 2. UIFlow -*完整代码下载 [点击这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/GPS/UIFlow).* +*完整代码下载 [点击这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/GPS).* diff --git a/docs/zh_CN/unit/laser-rx.md b/docs/zh_CN/unit/laser-rx.md index 21ce55b4..d2ac323d 100644 --- a/docs/zh_CN/unit/laser-rx.md +++ b/docs/zh_CN/unit/laser-rx.md @@ -10,13 +10,8 @@ ## 描述 **LASER.RX** 是一款激光接收器Unit,内部主要由激光晶体管构成. +激光通信设备通过大气的无线连接。 除了光束通过自由空间传输外,它们的工作方式类似于光纤链路。 虽然发射器和接收器必须要求视距条件,但它们的好处是不需要广播权和埋地电缆。 因其小巧,低功率并且不需要任何无线电干扰研究的特点,激光通信系统可以很容易地部署到各个位置.该Unit使用的端口类型为 PORTB. -

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

-该Unit使用的端口类型为 PORTB. - -
## 产品特性 - 激光接收 @@ -26,7 +21,6 @@ - 2x LEGO 兼容孔 - 开发平台: Arduino, UIFlow(Blockly, Python) - ## 包含 - 1x LASER.RX unit @@ -36,7 +30,6 @@ - 空间激光通信系统. - ## 原理图 @@ -115,7 +108,6 @@ M5.update(); LASER_RXRX/5VGND - ## 相关视频 **Demo** diff --git a/docs/zh_CN/unit/laser-tx.md b/docs/zh_CN/unit/laser-tx.md index 20347163..865f70fe 100644 --- a/docs/zh_CN/unit/laser-tx.md +++ b/docs/zh_CN/unit/laser-tx.md @@ -10,11 +10,8 @@ ## 描述 **LASER.TX** 是一款焦距可调的激光发射器Unit,内部主要由激光二极管构成. -

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

!>警告: 激光会对人体造成伤害,因此在使用该产品时,请勿将其对准人体,防止激光光束进入眼睛,造成伤害. @@ -27,7 +24,6 @@ - 2x LEGO 兼容孔 - 开发平台: Arduino, UIFlow(Blockly, Python) - ## 包含 - 1x LASER.TX unit @@ -37,7 +33,6 @@ - 空间激光通信系统. - ## 原理图 @@ -54,7 +49,6 @@ ?>3.目前EasyLoader仅适用于Windows操作系统、兼容M5体系采用ESP32作为控制核心的主机.在为M5Core烧录前需要安装CP210X驱动程序(使用M5StickC作为控制器的则无需安装)[点击此处查看驱动安装教程](zh_CN/related_documents/M5Burner#安装串口驱动) - ## Code - **UIFlow** diff --git a/docs/zh_CN/unit/fan.md b/docs/zh_CN/unit/unit_fan.md similarity index 99% rename from docs/zh_CN/unit/fan.md rename to docs/zh_CN/unit/unit_fan.md index 76d89c6d..3d2441c9 100644 --- a/docs/zh_CN/unit/fan.md +++ b/docs/zh_CN/unit/unit_fan.md @@ -8,14 +8,10 @@ ## 描述 - **FAN** 是一款直流电机的Unit, 采用N20直流电机制作, 输出轴的转速为8800 RPM(无负载). 利用其单向旋转的特性,可以将其运用在一些需要进行运动控制的结构中充当动力源. 例如,控制车轮转动. - - - ## 产品特性 - 单向旋转 @@ -26,12 +22,10 @@ - 1x FAN unit - 1x 螺旋桨 - ## 应用 - 运动控制 - ## 原理图