diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 2a1685b6..c7036622 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -6,12 +6,15 @@ a { text-decoration: none !important; } +/* .content { + background-color: #ececec;; +} */ .markdown-section { max-width: 80%; - margin-top: 25px; - padding-left:80px; - padding-right:0px; + margin-top: 50px; + /* padding-left:80px; + padding-right:0px; */ } .markdown-section a { @@ -80,6 +83,7 @@ body[data-page="en/arduino/arduino_home_page.md"] article.markdown-section { cursor: pointer; transition: box-shadow 0.3s; text-decoration: none; + background-color: white; } @@ -166,38 +170,6 @@ body[data-page="en/arduino/arduino_home_page.md"] article.markdown-section { } } - -.cases{ - width: 100%; - height: 200px; - background-color: #f5f5f5; - margin-bottom: 12px; - padding-bottom: 26px; - padding: 32px; - display: inline-flex; -} - - -.cases .cases_description{ - margin-left:10px; - width: 40%; -} - - -.cases .cases_pic{ - width: 200px; - -} - -/* .cases .cases_pic img{ - width: auto; -} */ - -.cases div img{ - overflow: hidden; -} - - .item-title { text-align: center; margin-top: 10px; @@ -229,10 +201,11 @@ body[data-page="en/arduino/arduino_home_page.md"] article.markdown-section { /* border: 1px solid rgba(0,0,0,.15); border-radius: .25rem; */ transition:all .25s ease; - left: -44px; + left: -50%; text-align: center; top: 40px; z-index: 1001; + min-width: 10rem; } @@ -243,7 +216,6 @@ body[data-page="en/arduino/arduino_home_page.md"] article.markdown-section { .dropdown:hover div{ - min-width: 10rem; padding: .5rem 0; margin: .125rem 0 0; font-size: 1rem; @@ -373,7 +345,7 @@ div.card-img-overlay:hover { position: fixed; z-index: 1001; top: 20px; - left: 18%; + left: 20%; height: 56px; line-height: 0px; padding: 0 20px; @@ -405,13 +377,36 @@ div.card-img-overlay:hover { body[data-page="index.md"] .search { display: inline-block; +} +body[data-page="en/faq.md"] .search { + display: inline-block; +} + +/* body[data-page="en/case.md"] .search { + display: inline-block; +} */ + +body[data-page="index.md"] .markdown-section { + margin-top: 25px; } body[data-page="zh_CN/README.md"] .search { display: inline-block; } +body[data-page="zh_CN/faq.md"] .search { + display: inline-block; +} + +/* body[data-page="zh_CN/case.md"] .search { + display: inline-block; +} */ + +body[data-page="zh_CN/README.md"] .markdown-section { + margin-top: 25px; +} + @media screen and (max-width: 768px) { .d-flex { @@ -781,4 +776,159 @@ body[data-page="zh_CN/README.md"] .search { mark { background-color: #888888; color:white; -} \ No newline at end of file +} + + + + +.faq-class { + border: 1px solid #d9d9d9; + margin-bottom: 1.5%; + background-color: #d9d9d9; + padding: 20px; + border-radius: 10px; + height: auto; +} + +.faq-class h5 { + color: #666 !important; + font-size: 16px !important; + position: relative; + margin: 0px !important; +} + +.search-tips { + border: 1px solid #d9d9d9; + margin-bottom: 1.5%; + background-color: #d9d9d9; + padding: 20px; + border-radius: 10px; + height: auto; +} + +.search-tips h5 { + color: #666 !important; + font-size: 16px !important; + position: relative; + margin: 0px !important; +} + +.faq-item { + border: 1px solid #d9d9d9; + margin-bottom: 1.5%; + background-color: #ffffff; + padding: 20px; + border-radius: 10px; + height: auto; +} + + +.faq-title { + color: #666 !important; + font-size: 16px !important; + position: relative; + margin: 0px !important; + padding-right: 30px !important; + /* width: 500px; */ + /* overflow-x: auto; */ +} + + +.faq-title::before { + background-color: #00b8ee; + content: ""; + width: 20px; + height: 20px; + border-radius: 20px; + position: absolute; + right: 0; + top: 0; + bottom: 0; + margin: auto; +} + + +.faq-button { + height: 0px; + margin: 0px !important; +} + + +.faq-button::after { + background-color: white; + content: ""; + width: 12px; + height: 2px; + position: absolute; + top: 0px; + right: 4px; + bottom: 0px; + margin: auto; + z-index: 10; +} + +.faq-button::before { + background-color: white; + content: ""; + width: 12px; + height: 2px; + position: absolute; + top: 0px; + right: 4px; + bottom: 0px; + margin: auto; + transform: rotate(90deg); + z-index: 10; +} + +.faq-answer { + border: 0; + outline: 0; + font-weight: 400; + max-height: 0px; + overflow: auto; + transition: max-height .35s ease; +} + +.faq-answer div { + padding-top: 30px; + color: #666 !important; +} + +.faq-answer div span { + display: block; +} + + +.faq-item.open .faq-answer{ + max-height: 600px; +} + +.faq-img { + margin-top: 20px; + margin-bottom: 20px; + width: 40%; + display: inline-block; +} + + + +.cases-item { + border: 1px solid #d9d9d9; + margin-bottom: 1.5%; + background-color: #ffffff; + padding: 20px; + border-radius: 10px; + height: auto; +} + +.cases-title { + color: #666 !important; + font-size: 16px !important; + position: relative; + margin: 0px !important; + padding-right: 30px !important; + /* width: 500px; */ + /* overflow-x: auto; */ +} + diff --git a/docs/assets/img/faq/hat_thermal/01.webp b/docs/assets/img/faq/hat_thermal/01.webp new file mode 100644 index 00000000..d6c90a7b Binary files /dev/null and b/docs/assets/img/faq/hat_thermal/01.webp differ diff --git a/docs/assets/img/faq/hat_thermal/02.webp b/docs/assets/img/faq/hat_thermal/02.webp new file mode 100644 index 00000000..4a0697d8 Binary files /dev/null and b/docs/assets/img/faq/hat_thermal/02.webp differ diff --git a/docs/en/case.md b/docs/en/case.md index 8963631f..f2dd2e42 100644 --- a/docs/en/case.md +++ b/docs/en/case.md @@ -1,7 +1,5 @@ # M5Stack Cases {docsify-ignore-all} -## M5Stack User Cases - * [M5Stack-SD-Updater](https://github.com/tobozo/M5Stack-SD-Updater) - Customizable menu system for M5Stack - loads apps from the Micro SD card * [TFT_eSPI](https://github.com/Bodmer/TFT_eSPI) - TFT library for the ESP8266 and ESP32 that supports different driver chips @@ -174,4 +172,14 @@ * [niconico m-hage](https://www.nicovideo.jp/mylist/20341298) * [niconico M5Stack tag](https://www.nicovideo.jp/tag/M5Stack) * [9 DoF sensor fusion](https://github.com/kriswiner/MPU6050/wiki/Affordable-9-DoF-Sensor-Fusion) -* [robo8080 applications](https://www.youtube.com/user/robo8080z/) \ No newline at end of file +* [robo8080 applications](https://www.youtube.com/user/robo8080z/) + + + \ No newline at end of file diff --git a/docs/en/core/basic.md b/docs/en/core/basic.md index 590b1333..030e893a 100644 --- a/docs/en/core/basic.md +++ b/docs/en/core/basic.md @@ -82,7 +82,7 @@ The newly-produced M5Core replaces the screen with better display performance an - +
ESP32 ChipGPIO23GPIO19GPIO18GPIO14GPIO27GPIO33GPIO32GPIO4
ILI9341MOSI/CLKCSDCRSTBL
ILI9342CMOSI/CLKCSDCRSTBL
TF CardMOSIMISOCLK CS
@@ -208,11 +208,12 @@ For more information about Pin assignment and Pin Remapping, Please refer to EPS ### Kit includes -- 1x M5Stack BASIC Controller -- 1x Basic Base +- 1x BASIC - 10x Dupont -- User Manual -- Sticker +- 1x Type-C USB(20cm) +- 1x User Manual +- 1x Sticker + basic_04 diff --git a/docs/en/core/face_kit.md b/docs/en/core/face_kit.md index dfb42319..25f95fc4 100644 --- a/docs/en/core/face_kit.md +++ b/docs/en/core/face_kit.md @@ -85,7 +85,7 @@ The newly-produced M5Core replaces the screen with better display performance an ## Include -- 1x GRAY M5Stack Controller(M5Core) +- 1x GRAY - 1x FACES Charger table - 1x FACES sling - 1x panel sticker @@ -93,7 +93,7 @@ The newly-produced M5Core replaces the screen with better display performance an - 10x Femal-male dupont - 6x M3x10 screw - 1x hexagon screw key -- 1x Type-C USB +- 1x Type-C USB(100cm) diff --git a/docs/en/core/fire.md b/docs/en/core/fire.md index 99671963..bc78cdeb 100644 --- a/docs/en/core/fire.md +++ b/docs/en/core/fire.md @@ -203,7 +203,7 @@ The GPIO 16 / 17 in Fire is connected to the PSRAM by default, so when you conne Power Input - 5V @ 600mA + 5V @ 500mA Port @@ -257,12 +257,13 @@ For more information about Pin assignment and Pin Remapping, Please refer to EPS ## Include -- 1x M5Stack Fire Controller -- 1x M5GO Base( LEGO compatible) +- 1x Fire - 1x M5GO CHG Base -- 10x Femal-male Dupont -- Type-C USB cable -- User Manual +- 2x LEGO block +- 5x LEGO connector +- 1x M3 hex wrench +- 1x Type-C USB(100cm) +- 1x User Manual ## Related Link diff --git a/docs/en/core/gray.md b/docs/en/core/gray.md index b9c23980..6bbe6b2a 100644 --- a/docs/en/core/gray.md +++ b/docs/en/core/gray.md @@ -85,7 +85,7 @@ The newly-produced M5Core replaces the screen with better display performance an - +
ESP32 ChipGPIO23GPIO19GPIO18GPIO14GPIO27GPIO33GPIO32GPIO4
ILI9341MOSI/CLKCSDCRSTBL
ILI9342CMOSI/CLKCSDCRSTBL
TF CardMOSIMISOCLK CS
@@ -103,7 +103,7 @@ The newly-produced M5Core replaces the screen with better display performance an - +
ESP32 ChipGPIO23GPIO19GPIO18GPIO14GPIO27GPIO33GPIO32GPIO4
ILI9341MOSI/CLKCSDCRSTBL
ILI9342CMOSI/CLKCSDCRSTBL
TF CardMOSIMISOCLK CS
@@ -197,7 +197,7 @@ The newly-produced M5Core replaces the screen with better display performance an Power Input - 5V @ 150mA + 5V @ 500mA Port @@ -248,11 +248,11 @@ For more information about Pin assignment and Pin Remapping, Please refer to EPS ## Include -- 1x M5Stack Gray Controller -- 1x Basic Base +- 1x Gray - 10x Femal-male Dupont -- Type-C USB cable -- User Manual +- 1x Type-C USB(20cm) +- 1x User Manual +- 1x Sticker gray_04 diff --git a/docs/en/core/m5go.md b/docs/en/core/m5go.md index 14c769d7..9ef854f5 100644 --- a/docs/en/core/m5go.md +++ b/docs/en/core/m5go.md @@ -72,7 +72,7 @@ The newly-produced M5Core replaces the screen with better display performance an - +
ESP32 ChipGPIO23GPIO19GPIO18GPIO14GPIO27GPIO33GPIO32GPIO4
ILI9341MOSI/CLKCSDCRSTBL
ILI9342CMOSI/CLKCSDCRSTBL
TF CardMOSIMISOCLK CS
@@ -192,7 +192,7 @@ The newly-produced M5Core replaces the screen with better display performance an Power Input - 5V @ 150mA + 5V @ 500mA Port @@ -245,13 +245,13 @@ For more information about Pin assignment and Pin Remapping, Please refer to EPS ## Include -- 1x white M5Core controller -- 1x M5GO Base( LEGO compatible) +- 1x M5GO - 6x Units(ENV, IR, RGB, PIR, ANGLE, HUB) -- 4x LEGO connectors and bricks -- 3x GROVE cable -- Type-C USB cable -- User Manual +- 4x LEGO block +- 12x LEGO Connector +- 4x GROVE cable +- 1x Type-C USB cable(20cm) +- 1x User Manual ## Related Link diff --git a/docs/en/core/m5go_lite.md b/docs/en/core/m5go_lite.md index 99b1b8a7..aeb08298 100644 --- a/docs/en/core/m5go_lite.md +++ b/docs/en/core/m5go_lite.md @@ -71,7 +71,7 @@ The newly-produced M5Core replaces the screen with better display performance an - +
ESP32 ChipGPIO23GPIO19GPIO18GPIO14GPIO27GPIO33GPIO32GPIO4
ILI9341MOSI/CLKCSDCRSTBL
ILI9342CMOSI/CLKCSDCRSTBL
TF CardMOSIMISOCLK CS
@@ -189,7 +189,7 @@ The newly-produced M5Core replaces the screen with better display performance an Power Input - 5V @ 150mA + 5V @ 500mA Port @@ -243,12 +243,11 @@ For more information about Pin assignment and Pin Remapping, Please refer to EPS ## Package Includes: -- 1x white M5GO Controller -- 1x M5GO Base +- 1x M5GO - 1x ENV Unit - 1x GROVE Cable -- Type-C USB Cable -- User Manual +- 1x Type-C USB(20cm) +- 1x User Manual gray_02gray_04 diff --git a/docs/en/core/m5stick.md b/docs/en/core/m5stick.md index 6b333a2b..04a4274d 100644 --- a/docs/en/core/m5stick.md +++ b/docs/en/core/m5stick.md @@ -144,7 +144,7 @@ M5stick is one of the core devices in M5Stack product series which is built in a ## Include - 1x M5Stick -- 1x USB Type-C cable +- 1x USB Type-C(20cm) **Gray type:** - Accessories: `WATCH BELT`, `WALL/1515` and `BRICK` diff --git a/docs/en/core/m5stickc.md b/docs/en/core/m5stickc.md index 3f2ae57e..1eb42178 100644 --- a/docs/en/core/m5stickc.md +++ b/docs/en/core/m5stickc.md @@ -146,7 +146,7 @@ Power structure block diagram ## Include - 1x M5StickC -- 1x USB Type-C cable +- 1x USB Type-C(20cm) ## Related Link diff --git a/docs/en/core/m5stickv.md b/docs/en/core/m5stickv.md index 78553167..8111be1a 100644 --- a/docs/en/core/m5stickv.md +++ b/docs/en/core/m5stickv.md @@ -56,8 +56,9 @@ The module comes with the OmniVision OV7740 sensor, using the OmniPixel®3-HS te ### Package Includes -- M5StickV -- USB cable + +- 1x M5StickV +- 1x USB Type-C(100cm) ### SD card test diff --git a/docs/en/faq.md b/docs/en/faq.md index 6be11d54..28fd9e0c 100644 --- a/docs/en/faq.md +++ b/docs/en/faq.md @@ -1,387 +1,289 @@ -# FAQ {docsify-ignore-all} +
-**[M5CORE](#M5CORE-Question)**      **[UNIT](#UNIT-Question)** + +
+
Common product purchase issues
+
-## M5CORE Question - -- **Q1: What's the difference between those Cores?** - -
- answer +
+
Q1:What is the difference between different M5 hosts and camera units?

+
-- **Q2: How to turn off the speaker function of M5Core?** - -
- -
- Add the following statement to function Setup( ){ } - - ```arduino - dacWrite(M5STACKFIRE_SPEAKER_PIN, 0); - ``` -
+
+
Q2: What is the difference between LoRa and LoRaWAN modules?

+
+
+ + LoRa module: Ra-02 module, serial communication protocol: SPI, support frequency range 410-525Hz. +
+ LoRaWAN module: RHF76-052 module, built-in LoRaWAN protocol stack, serial communication, sending AT command control module, support communication with full-duplex LoRaWAN gateway, support dual-band 433-470MHz and 868-915MHz. +
+
+
-- **Q3: Some modules cannot be downloaded after stacking with M5Core, such as USB module and M5Core stacking.** - -
- -
- Probably after the stack, the pins GPIO0 and M5Core on the M5-Bus bus are not very well connected. - - In this case, when downloading the program, GPIO0 should always remain low, but because the contact is not good, GPIO0 can not remain low all the time, so the download fails. - - Solution: Manually let GPIO0 connect to GND during the download process to ensure that it is pulled low enough。 -
-
- - -- **Q4: After the [M5GO bottom](en/base/m5go_bottom) is stacked with the M5Core, the M5Core cannot be turned on, but the base battery in this M5GO bottom is fully charged.** - -
- -
- It may be that after the stacking, the BATTERY of the lower left corner of the M5-Bus bus on the base is not well connected to the M5Core. This is - caused by the deviation of the welding position during production. After **the bus pin welding position is slightly biased**, it is easy to see that the BATTERY pin is not in good contact with the M5Core. - - Solution: Re-soldering the M5-Bus bus header, the pin header must be strictly aligned with the pad position. -
-
- - -- **Q5: Some computers are connected to the main control, but still can't use Arduino IDE、 ESPFlashDownloadTool or M5Burner to burn the program. For example, the following figure using Arduino IDE.** - -
- -
- - - - Solution: you need to connect the capacitor between RST pin and GND pin in your Core (Capacitance value is more than 0.1 uF) or connect GPIO 0 with GND when downloading your firmware so that GPIO 0 keeps low level for an enough time as the third following picture shows. - - - - - - -
-
- - -- **Q6: What special GPIO pins do you need to pay attention to in ESP32?** - -
- -
- The ESP32 has 34 GPIO pins, of which GPIO 34-39 is only used as an input and cannot be used as an output. Others can be used as both an input and an output pin. -
-
- - -- **Q7: Why does the Stick with MPU9250 burn the factory firmware and press button A, the result shows "No", which means "No 9250"?** - -
- -
- Restart this Stick and then it can display correctly. Because the code to read the MPU9250 is placed in the setup() function which only was executed once when booting. So reboot and let the Stick detect MPU9250 again. -
-
- - -- **Q8: After getting the FACES Kit or downloading the factory program of the FACES Kit, the following error is displayed on the screen. What happened?** - -
- -
- - -
-
- -- **Q9: I can't power on my M5stickC** - -
- -
- - -The following operations can restore the device to normal: 1. Short the BAT to GND. 2. Insert the USB cable. 3. After the screen is lit, stop shorting and USB continues to charge the device. - -
-
- - -- **Q10: M5stickC does not recognize the port (COM)** - -
- -
- M5StickC only supports WIN10 & Linux & MAC free drive, the rest of the operating system requires users to install the driver. - - Installation steps: 1. Click the link below to download the driver installation package. 2. Connect the device and open the Computer Device Manager port option. 3. Right click on the unrecognized device and perform a manual update. - - Driver download Link -
-
- -- **Q11: M5StickC Burning UIFlow Complete but screen has no display** - -
- -
- M5StickC does not automatically reset after the firmware is refreshed by default. You need to manually press the left power button. - -
-
- -- **Q12: UIFlow display has been uploaded or downloaded successfully, the program changed** - -
- -
- 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. - -
-
- -- **Q13: What is the difference between M5StickC and M5StickC+** - -
- -
- M5StickC and M5StickC+ are identical in hardware configuration, but M5StickC+ adds several HATs, which is more cost-effective than purchasing separately. -
-
- -- **Q14: M5StickV can not mount TF card** - -
- -
- 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. - - TF card list - -
-
- -- **Q15: Send a zip to V-Training but the received e-mail does not contain a model file** - -
- -
- 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. - - V-Training tutorial - -
-
- -- **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** - -
- -
- 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. - -
-
- -- **Q17: MD5 file error occurred while burning program** - -
- -
- 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. - -
-
- -- **Q18: How to improve the battery of M5Stack and M5StickC** - -
- -
- 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. - -
-
- -- **Q19: Is M5Stack Can connect 5G frequency band Wi-Fi** - -
- -
- ESP32 chip does not support WiFi in 5G band, only 2.4G can be connected. - -
-
- -- **Q20: What is the difference between UIFlow's Micropython and the official Micropython** - -
- -
- 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. - -
-
- -- **Q21: Some examples of Arduino are inconsistent with GitHub** - -
- -
- 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. - -
-
- -- **Q22: Wether BASIC can use UIFlow and M5GO accessorie** - -
- -
- UIFlow is available, but some features are not available in the hardware part of UIFlow. M5GO accessories are compatible. - -
-
- -- **Q23: Does it can display Chinese** - -
- -
- 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. - -
-
- -- **Q24: M5Stack BASIC has been in normal use and suddenly cannot be turned on even if USB is connected** - -
- -
- Remove the BASIC base and try again. It is most likely caused by poor contact between the base and the M-BUS. - -
-
- -- **Q25: About M5StickV tutorials** - -
- -
- M5StickV uses K210 chip compatible with Maixpy development environment, you can refer to Maixpy's official documentation. - -
-
- -- **Q26: Some APIs are not found in the docs** - -
- -
- 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. - -
-
- - -- **Q27: The button is used in the Arduino program, but it will not work after pressing it once** - -
- -
- Using buttons and speakers requires adding M5.update() after execution to respond. - -
-
- -- **Q28: I want to use the official sensor accessories, but also want to connect my own sensor, how to stack** - -
- -
- It is recommended to use the base of PLUS module + CORE. - -
-
- -- **Q29: After M5Camera writing the program, it was found that the screen was reversed** - -
- -
- Try this code. - sensor_t *s = esp_camera_sensor_get(); - s->set_vflip(s, 1); - s->set_hmirror(s, 1); - -
-
- -- **Q30: How to mount multiple sensors with the same I2C address** - -
- -
- Use Pa.HUB can connect 6 I2C devices. - -
-
- - -- **Q31: What is the difference between LoRa and LoRaWAN modules?** - -
- -
- -``` -LoRa module: Ra-02 module, serial communication protocol: SPI, support frequency range 410-525Hz. - -LoRaWAN module: RHF76-052 module, built-in LoRaWAN protocol stack, serial communication, sending AT command control module, support communication with full-duplex LoRaWAN gateway, support dual-band 433-470MHz and 868-915MHz. - -``` -
+
+
Q3: The M5 camera transmits images to the mobile phone via WIFI. How far can the transmission be?

+
+
+ + After testing, the M5Camera can be used indoors for about 20 meters. + +
+
-## UNIT Question - -- **Q1: What is the difference between the various cameras of M5Stack?** - -
- -
- The main difference between these cameras is that some pins (OV2640-SIOD, OV2640-VSYNC, GROVE interface), lens type, and whether or not there is PSRAM. For specific differences, please visithere - - -
+
+
Q4: Can I connect Wi-Fi in the 5G band?

+
+
+ + The ESP32 chip does not support WiFi in the 5G band and can only connect to 2.4G. + +
+
-- **Q2: The camera transmits images to the mobile phone via WIFI, how far can it be transmitted?** -
- -
- After testing, using M5Camera indoors can transmit about 20 meters. -
+
+
Common product programming issues
-- **Q3: BettleC connected to the phone remote will sometimes fail to respond** - -
- -
- Most of them are caused by low battery power. If the battery is low, the signal quality will be seriously attenuated. -
+
+
Q1: How to eliminate the speaker noise of M5Core?

+
+
+ Execute the following statement in the Setup() of the Arduino program +
+            
+              dacWrite(M5STACKFIRE_SPEAKER_PIN, 0);
+            
+         
+
+
+ + +
+
Q2: The button is used in the programmed program, but it will not work after pressing it once.

+
+
+ Using buttons and speakers requires M5.update() to be re-responsive after execution. +
+            
+              M5.update();
+            
+         
+
+
+
+ +
+
Q3: What is the difference between UIFlow's Micropython and the official mainline Micropython?

+
+
+ UIFlow is based on the secondary package of the mainline Micropython, integrating a large number of M5Stack official libraries, UIFlow is easier to understand and easy to use, and most of them are compatible with the mainline API. +
+
+
+ +
+
Q4: Does the M5Stack device support Chinese display?

+
+
+ Support for GB2312 code display in Arduino environment, refer to the hzk16 example in Display, which is limited by the execution speed and UTF-8 file size in Micropython environment. +
+
+
+ + +
+
Q5: How to get more APIs

+
+
+ The reference API provided by M5 official is limited to the function of M5 hardware package. Software application libraries such as WIFI, HTTP, etc. are not included in the scope of supply. Please refer to other ESP32 and Arduino libraries, which are common in use. +
+
+
+ + +
+
Common product after-sales problems
+
+ +
+
Q1: M5stickC does not recognize the port (COM)

+
+
+ + M5StickC only supports WIN10&Linux&MAC drive-free, and other operating systems require users to install drivers themselves.。 +
+ Installation steps: 1. Click the link below to download the driver installation package. 2. Connect the device and open the Computer Device Manager port option. 3. Right click on the unrecognized device and perform a manual update. +
+
+ Driver download connection +
+
+
+ + + +
+
Q2: Some modules cannot be downloaded after stacking with M5Core, such as USB module and M5Core stacking

+
+
+ It may be that after stacking, the pins GPIO0 on the M5-Bus bus are not well connected to the M5Core. In this case, when downloading the program, GPIO0 should always remain low, but because the contact is not good, GPIO0 can not remain low all the time, so the download fails. +         Solution: Manually connect GPIO0 to GND during the download process to ensure that it is pulled low enough. +
+
+
+ + + + +
+
Q2: After the M5GO base is stacked with the M5Core, the M5Core cannot be turned on, and the base battery is fully charged.

+
+
+ It may be that after stacking, the BATTERY pin on the lower left corner of the M5-Bus bus on the base is not well contacted with the M5Core, which is caused by the misalignment of the soldering position during production. After the bus pin welding position is slightly biased, it is prone to poor contact between the BATTERY pin and the M5Core. Solution: Re-solder the M5-Bus bus header, the pin header must be strictly aligned with the pad position. +
+
+
+ + +
+
Q3: Some computers are connected to the main control, but still can't use Arduino IDE, ESPFlashDownloadTool or M5Burner to burn the program.

+
+
Causes and solutions: It may be because the supply current of these serial ports is not large enough. It is necessary to connect the capacitor between the RST pin and the GND pin in the main control (the capacitance value is larger than 0.1uF), or download When programming, connect GPIO 0 to GND so that GPIO 0 can continue low enough. + + + + +
+
+
+ +
+
Q4: What special GPIO pins do you need to pay attention to in ESP32?

+
+
+ The ESP32 has 34 GPIO pins, of which GPIO 34-39 is only used as an input and cannot be used as an output. Others can be used as both an input and an output pin. +
+
+
+ + +
+
Q5: Why does the Stick with MPU9250 burn the factory firmware and press button A, the result shows "No", which means "No 9250"

+
+
+ Restart this Stick and it will be displayed. Because the code to read the MPU9250 is placed in the setup() function of the factory program, the boot is only executed once, so restart and let the Stick detect the MPU9250 again. +
+
+
+ + +
+
Q6: M5stickC can't boot

+
+
+ The following operations can restore the device to normal: 1. Short the BAT to GND. 2. Insert the USB cable. 3. After the screen is lit, stop shorting and USB continues to charge the device. +
+
+
+ +
+
Q7: M5StickV can't load SD card

+
+
+ First, make sure that the format of the SD card is FAT32. There is no partition. Some large-capacity SD cards are usually formatted as NTFS. The following tests are performed on the compatibility of the SD card. +
+ SD card compatibility list +
+
+
+
+ +
+
Q8: Send a photo to V-Training but the received message does not contain a model file

+
+
+ 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 sent photos. The minimum number of photos and the classification are required. If there is a hidden file, the training will fail. +
+ V-Training detailed tutorial +
+
+
+
+ +
+
Q9: MD5 file error occurred while burning program

+
+
+ 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 to check whether it can be burned. If it can be successfully operated, there is no problem, if MD5 file error occurs repeatedly. Then the probability of FLASH has been damaged. + +
+
+
+ + +
+
Q10: M5Stack BASIC has been in normal use and suddenly cannot be turned on even if USB is connected.

+
+
+ Remove the BASIC base and try to start it up. It is most likely caused by poor contact between the base and the M-BUS. + +
+
+
+ + +
+
Q11: BeetleC connected to the phone remote control sometimes fails to respond

+
+
+ Most of them are caused by low battery power. If the battery is low, the signal quality will be seriously degraded. + +
+
+
+ + +
+
Q12: Screen display with image ripple interference when using HAT-Thermal

+
+
+ + The old 100nF capacitor can't give enough decoupling for MLX90640, add a 10uF(106) capacitor to resolve it +
+ Solution: Parallel capacitor in the position shown (10uF 10V 0603) +
+ + +
+
+
+ +
+ + + \ No newline at end of file diff --git a/docs/en/hat/hat-18650.md b/docs/en/hat/hat-18650.md index cf66dcd5..ef92a0fc 100644 --- a/docs/en/hat/hat-18650.md +++ b/docs/en/hat/hat-18650.md @@ -4,7 +4,7 @@ *** -:memo:**[Description](#Description)**      🛒**[Purchase](https://m5stack.com/products/m5stickc-hat-18650Chat)**   **[EasyLoader](#EasyLoader)** +:memo:**[Description](#Description)**      🛒**[Purchase](https://m5stack.com/products/m5stickc-hat-18650Chat)**   :clapper:**[Related Video](#Related-Video)** ## Description @@ -28,7 +28,7 @@ - 1x 18650 HAT -## Video +## Related Video
+ + +
+
+

Custom

+

The creation and use of UIFlow custom program blocks.

+

View details »

+
+
+ +




\ No newline at end of file diff --git a/docs/en/unit/esp32cam.md b/docs/en/unit/esp32cam.md index 37af4b5a..40667248 100644 --- a/docs/en/unit/esp32cam.md +++ b/docs/en/unit/esp32cam.md @@ -68,7 +68,7 @@ The hardware also comes with some reserved weld pad, just in case you want put t ## Include -- 1x ESP32CAM Unit +- 1x ESP32CAM ## EasyLoader diff --git a/docs/en/unit/m5camera.md b/docs/en/unit/m5camera.md index 58595d50..e4d0877e 100644 --- a/docs/en/unit/m5camera.md +++ b/docs/en/unit/m5camera.md @@ -67,7 +67,8 @@ The hardware also comes with some reserved weld pad, just in case you want put t ## Include - 1x M5Camera -- 1x Type-C USB Cable +- 4x LEGO block +- 1x Type-C USB(20cm) ## EasyLoader diff --git a/docs/en/unit/m5camera_f.md b/docs/en/unit/m5camera_f.md index 0d9cdc57..4cea81d8 100644 --- a/docs/en/unit/m5camera_f.md +++ b/docs/en/unit/m5camera_f.md @@ -74,7 +74,7 @@ The hardware also comes with some reserved weld pad, just in case you want put t - 1x M5CameraF - 1x LEGO Adapter - 1x Wall/1515 -- 1x Type-C USB Cable +- 1x Type-C USB(20cm) diff --git a/docs/en/unit/m5camera_x.md b/docs/en/unit/m5camera_x.md index 09959d21..60d73e0d 100644 --- a/docs/en/unit/m5camera_x.md +++ b/docs/en/unit/m5camera_x.md @@ -71,8 +71,9 @@ The hardware also comes with some reserved weld pad, just in case you want put t ## Include - 1x M5CameraX +- 1x LEGO Adapter - 1x Wall-1515 -- 1x Type-C USB Cable +- 1x Type-C USB(20cm) ## EasyLoader diff --git a/docs/index.html b/docs/index.html index 0af3764d..d125b72f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -59,7 +59,7 @@
- M5Stack Docs
+ M5Stack Docs