docs FAQ update

This commit is contained in:
vany5921
2019-09-10 16:15:21 +08:00
parent 4a093ee36c
commit 23a4e1eaf7
2 changed files with 427 additions and 14 deletions
+220 -3
View File
@@ -105,8 +105,7 @@
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#Q8">answer</button>
<div id="Q8" class="collapse">
<img src="assets/img/faq/faq_08_01.png" width="100%" height="100%">
This is normal, because there is no main.py file in the program, so this warning is available.
</div>
</div>
@@ -139,6 +138,214 @@
</div>
</div>
- **Q11: M5StickC Burning UIFlow Complete but screen has no display**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q11">answer</button>
<div id="U-Q11" class="collapse">
M5StickC does not automatically reset after the firmware is refreshed by default. You need to manually press the left power button.
</div>
</div>
- **Q12: UIFlow display has been uploaded or downloaded successfully, the program changed**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q12">answer</button>
<div id="U-Q12" class="collapse">
The connection between the network and the server may be unstable. It is recommended to restart the M5Stack, refresh the hardware connection status and do it again.
</div>
</div>
- **Q13: What is the difference between M5StickC and M5StickC+**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q13">answer</button>
<div id="U-Q13" class="collapse">
M5StickC and M5StickC+ are identical in hardware configuration, but M5StickC+ adds several HATs, which is more cost-effective than purchasing separately.
</div>
</div>
- **Q14: M5StickV can not mount TF card**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q14">answer</button>
<div id="U-Q14" class="collapse">
First, make sure that the format of the TF card is FAT32 and no partition. Some large-capacity SD cards are usually formatted as NTFS, you need to confirm. The following tests are performed on the compatibility of the TF card.
<a href="https://docs.m5stack.com/#/zh_CN/core/m5stickv">TF card list</a>
</div>
</div>
- **Q15: Send a zip to V-Training but the received e-mail does not contain a model file**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q15">answer</button>
<div id="U-Q15" class="collapse">
Carefully check the contents of the email. The training error will be indicated in the email. Only the specified two folders are allowed in the zip. The minimum number of photos and the classification are given. If there is a hidden file, the training will fail.
<a href="https://docs.m5stack.com/#/en/related_documents/v-training">V-Training tutorial</a>
</div>
</div>
- **Q16: The serial port is used in the Arduino program, but when running, it is found that the screen is not lit or constantly restarted**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q16">answer</button>
<div id="U-Q16" class="collapse">
M5.begin()At the time of initialization, the serial port baud rate is 115200 by default. Repeated definition will cause the program to be abnormal. If there is external serial port hardware, connect the hardware and then run.
</div>
</div>
- **Q17: MD5 file error occurred while burning program**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q17">answer</button>
<div id="U-Q17" class="collapse">
First check your program carefully, confirm that there is no problem, then use M5Burner to erase, check whether it can be successfully cleared, and then burn FactoryTest.ino use arduino to check whether it can be burned. If it can be successfully operated, there is no problem. if MD5 file error occurs repeatedly, the probability that FLASH has been damaged.
</div>
</div>
- **Q18: How to improve the battery of M5Stack and M5StickC**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q18">answer</button>
<div id="U-Q18" class="collapse">
First, optimize the program to reduce the number of unnecessary detections; secondly, by calling the sleep function, it is reasonable to sleep and wake up; in addition, the official battery base can be added.
</div>
</div>
- **Q19: Is M5Stack Can connect 5G frequency band Wi-Fi**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q19">answer</button>
<div id="U-Q19" class="collapse">
ESP32 chip does not support WiFi in 5G band, only 2.4G can be connected.
</div>
</div>
- **Q20: What is the difference between UIFlow's Micropython and the official Micropython**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q20">answer</button>
<div id="U-Q20" class="collapse">
UIFlow is based on the secondary package of the official Micropython, integrates a large number of M5 libraries, UIFlow is easier to understand and easy to use, and most of them are compatible with the official Micropython API.
</div>
</div>
- **Q21: Some examples of Arduino are inconsistent with GitHub**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q21">answer</button>
<div id="U-Q21" class="collapse">
The examples in Arduino are used for the factory basic function test, the upgrade is slower, GitHub upgrade is faster, the code is more perfect, it is recommended to download directly from GitHub.
</div>
</div>
- **Q22: Wether BASIC can use UIFlow and M5GO accessorie**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q22">answer</button>
<div id="U-Q22" class="collapse">
UIFlow is available, but some features are not available in the hardware part of UIFlow. M5GO accessories are compatible.
</div>
</div>
- **Q23: Does it can display Chinese**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q23">answer</button>
<div id="U-Q23" class="collapse">
Support GB2312 code in Arduino , refer to hzk16 example . Micropython environment not supported yet, due to limited by execution speed and UTF-8 file size.
</div>
</div>
- **Q24: M5Stack BASIC has been in normal use and suddenly cannot be turned on even if USB is connected**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q24">answer</button>
<div id="U-Q24" class="collapse">
Remove the BASIC base and try again. It is most likely caused by poor contact between the base and the M-BUS.
</div>
</div>
- **Q25: About M5StickV tutorials**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q25">answer</button>
<div id="U-Q25" class="collapse">
M5StickV uses K210 chip compatible with Maixpy development environment, you can refer to Maixpy's official documentation.
</div>
</div>
- **Q26: Some APIs are not found in the docs**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q26">answer</button>
<div id="U-Q26" class="collapse">
The reference API provided is the functions of the M5 hardware package. The application libraries such as WIFI, HTTP, etc.There are not included in the scope of provision. For reference, other ESP32 and Arduino libraries are used.
</div>
</div>
- **Q27: The button is used in the Arduino program, but it will not work after pressing it once**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q27">answer</button>
<div id="U-Q27" class="collapse">
Using buttons and speakers requires adding M5.update() after execution to respond.
</div>
</div>
- **Q28: I want to use the official sensor accessories, but also want to connect my own sensor, how to stack**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q28">answer</button>
<div id="U-Q28" class="collapse">
It is recommended to use the base of PLUS module + CORE.
</div>
</div>
- **Q29: After M5Camera writing the program, it was found that the screen was reversed**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q29">answer</button>
<div id="U-Q29" class="collapse">
Try this code.
sensor_t *s = esp_camera_sensor_get();
s->set_vflip(s, 1);
s->set_hmirror(s, 1);
</div>
</div>
- **Q30: How to mount multiple sensors with the same I2C address**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q30">answer</button>
<div id="U-Q30" class="collapse">
Use Pa.HUB can connect 6 I2C devices.
</div>
</div>
## UNIT Question
@@ -161,4 +368,14 @@
<div id="U-Q2" class="collapse">
After testing, using M5Camera indoors can transmit about 20 meters.
</div>
</div>
</div>
- **Q3: BettleC connected to the phone remote will sometimes fail to respond**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q3">answer</button>
<div id="U-Q3" class="collapse">
Most of them are caused by low battery power. If the battery is low, the signal quality will be seriously attenuated.
</div>
</div>
+207 -11
View File
@@ -99,40 +99,227 @@
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#Q8">查看解答</button>
<div id="Q8" class="collapse">
<img src="assets/img/faq/faq_08_01.png" width="100%" height="100%">
这是正常现象,因为程序里面有没main.py文件,所以才有这个警告。
这是正常现象,因为程序里面有没main.py文件,所以才有这个警告。
</div>
</div>
- **Q9: M5stickC 无法开机.**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#Q9">answer</button>
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#Q9">查看解答</button>
<div id="Q9" class="collapse">
<img src="assets/img/faq/m5stickc_05.jpg" width="50%" height="50%">
M5StickC存在一个问题,即电池处于低电量情况下,容易发生无法开机的现象.
M5StickC存在一个问题,即电池处于低电量情况下,容易发生无法开机的现象
以下操作能够使设备恢复正常:1,将G0短接到3V3。 2.插入USB线。 3,屏幕亮起后停止短接,USB继续为设备充电.
以下操作能够使设备恢复正常:1,将G0短接到3V3。 2.插入USB线。 3,屏幕亮起后停止短接,USB继续为设备充电
</div>
</div>
- **Q10: M5stickC 无法识别端口COM.**
- **Q10: M5stickC 无法识别端口(COM)**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#Q10">answer</button>
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#Q10">查看解答</button>
<div id="Q10" class="collapse">
M5StickC仅支持WIN10&Linux&MAC免驱,其余操作系统则需要用户自行安装驱动程序.
M5StickC仅支持WIN10&Linux&MAC免驱,其余操作系统则需要用户自行安装驱动程序
安装步骤:1,点击下方链接,下载驱动安装包. 2.连接设备,并打开电脑设备管理器端口选项。 3,右键点击未能识别的设备,进行手动更新.
安装步骤:1,点击下方链接,下载驱动安装包. 2.连接设备,并打开电脑设备管理器端口选项。 3,右键点击未能识别的设备,进行手动更新
<a href="https://www.ftdichip.com/Drivers/VCP.htm">驱动下载连接</a>
</div>
</div>
- **Q11: M5StickC 烧录UIFlow完成 没有显示**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q11">查看解答</button>
<div id="U-Q11" class="collapse">
M5StickC默认刷新完固件后不会自动复位,需要手动按左侧开机键。
</div>
</div>
- **Q12: UIFlow显示已经上传或者下载成功,但是并没有看到程序有所改变**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q12">查看解答</button>
<div id="U-Q12" class="collapse">
可能是网络与服务器连接不稳定导致的,建议重启M5Stack,多刷新几次硬件连接状态再执行上传下载操作。
</div>
</div>
- **Q13: M5StickC 和 M5StickC+ 有什么区别**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q13">查看解答</button>
<div id="U-Q13" class="collapse">
M5StickC与M5StickC+在硬件配置上完全一致,只是M5StickC+增加了几个HAT,比单独购买合算一些。
</div>
</div>
- **Q14: M5StickV 加载不了SD卡**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q14">查看解答</button>
<div id="U-Q14" class="collapse">
首先要确认SD卡的格式是否为FAT32,不可以存在分区,一些大容量SD卡通常被格式化为NTFS类型,对SD卡的兼容度做了以下测试。
<a href="https://docs.m5stack.com/#/zh_CN/core/m5stickv">SD卡兼容性列表</a>
</div>
</div>
- **Q15: 向V-Training发送照片但是接收的邮件并未包含模型文件**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q15">查看解答</button>
<div id="U-Q15" class="collapse">
仔细检查邮件中的内容,训练错误将在邮件中指出,发送的照片中只允许包含指定的两个文件夹,照片的最低数量和分类有要求,如果存在隐藏文件会导致训练失败。
<a href="https://docs.m5stack.com/#/zh_CN/related_documents/v-training"> V-Training详细使用教程 </a>
</div>
</div>
- **Q16: Arduino程序中开启了串口,但是下载运行后发现屏幕不亮或者不断重启**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q16">查看解答</button>
<div id="U-Q16" class="collapse">
M5.begin()在初始化时已经默认开启串口波特率为115200,重复定义会导致程序不正常,如果有外接串口硬件,接好硬件后再开机。
</div>
</div>
- **Q17: 烧录程序时出现MD5文件错误**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q17">查看解答</button>
<div id="U-Q17" class="collapse">
首先仔细检查你的程序,确认没有任何问题,其次使用M5Burner进行擦除,检查是否可以清除成功,再次烧录FactoryTest检查是否可以烧录,如果能成功操作,说明没有问题,如果重复出现MD5文件错误则很大概率FLASH已经损坏。
</div>
</div>
- **Q18: 如何提高M5Stack和M5StickC续航时间**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q18">查看解答</button>
<div id="U-Q18" class="collapse">
首先在程序上进行优化,减少不必要的检测次数;其次通过调用休眠功能,合理的进行休眠和唤醒;此外官方有配套的电池底座可以添加。
</div>
</div>
- **Q19: 能否连接5G频段的Wi-Fi**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q19">查看解答</button>
<div id="U-Q19" class="collapse">
ESP32芯片不支持5G频段的WiFi,只可以连接2.4G。
</div>
</div>
- **Q20: UIFlow的Micropython与官方主线Micropython有什么区别**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q20">查看解答</button>
<div id="U-Q20" class="collapse">
UIFlow是基于主线Micropython的二次封装,集成了大量M5Stack官方库,在使用上UIFlow更加简单容易理解,同时也大部分兼容主线的API写法。
</div>
</div>
- **Q21: Arduino的部分实例与GitHub不一致**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q21">查看解答</button>
<div id="U-Q21" class="collapse">
Arduino中的实例用于出厂基础功能测试,更新速度较慢,GitHub更新较快,代码比较完善,建议直接从GitHub下载。
</div>
</div>
- **Q22: BASIC可以使用UIFlow和M5GO的配件吗**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q22">查看解答</button>
<div id="U-Q22" class="collapse">
UIFlow是可以使用的,只是UIFlow中硬件部分有部分功能不可用,M5GO的配件是兼容的。
</div>
</div>
- **Q23: 支持中文显示吗**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q23">查看解答</button>
<div id="U-Q23" class="collapse">
在Arduino环境中支持GB2312编码显示,参考Display中的hzk16示例,在Micropython环境下受限于执行速度和UTF-8文件大小,暂不支持。
</div>
</div>
- **Q24: M5Stack BASIC一直正常使用,突然无法开机了,即使连接了USB**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q24">查看解答</button>
<div id="U-Q24" class="collapse">
将BASIC底座去掉,尝试开机可以启动,很大可能是底座与M-BUS接触不良导致的。
</div>
</div>
- **Q25: M5StickV有没有相关的教程可以参考**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q25">查看解答</button>
<div id="U-Q25" class="collapse">
M5StickV采用K210芯片兼容Maixpy的开发环境,可以参考Maixpy的官方文档进行学习。
</div>
</div>
- **Q26: 有些API为什么在资料里查不到**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q26">查看解答</button>
<div id="U-Q26" class="collapse">
提供的参考API仅限于M5硬件封装的功能,软件应用的库比如WIFI,HTTP等不属于提供的范畴,可参考其他ESP32和Arduino库,使用上是通用的。
</div>
</div>
- **Q27: 编写的程序里用到了按键,但是按过一次之后就再也不起作用**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q27">查看解答</button>
<div id="U-Q27" class="collapse">
使用按键和喇叭需要在执行后添加M5.update()来重新响应。
</div>
</div>
- **Q28: 想用官方的传感器配件,又想外接自己的传感器,该如何堆叠**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q28">查看解答</button>
<div id="U-Q28" class="collapse">
建议使用PLUS模块+CORE的底座实现。
</div>
</div>
- **Q29: M5Camera写完程序以后运行发现画面是反的**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q29">查看解答</button>
<div id="U-Q29" class="collapse">
尝试添加以下代码来解决。
sensor_t *s = esp_camera_sensor_get();
s->set_vflip(s, 1);
s->set_hmirror(s, 1);
</div>
</div>
- **Q30: 如何挂载多个相同I2C地址的传感器**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q30">查看解答</button>
<div id="U-Q30" class="collapse">
可以使用Pa.HUB配件外接6个I2C设备。
</div>
</div>
## UNIT 相关问题
@@ -155,4 +342,13 @@
<div id="U-Q2" class="collapse">
经过测试,在室内使用 M5Camera 能传输 20 米左右。
</div>
</div>
</div>
- **Q3: BettleC连接手机遥控有时会无法响应**
<div class="container">
<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#U-Q3">查看解答</button>
<div id="U-Q3" class="collapse">
大部分是由于电池电量过低引起的,如果电池电量不足会导致信号质量严重衰减。
</div>
</div>