diff --git a/docs/assets/img/product_pics/unit/pbhub/pbhub_i2c_addr.webp b/docs/assets/img/product_pics/unit/pbhub/pbhub_i2c_addr.webp
new file mode 100644
index 00000000..124f3ff3
Binary files /dev/null and b/docs/assets/img/product_pics/unit/pbhub/pbhub_i2c_addr.webp differ
diff --git a/docs/en/api/coreink/eink_api.md b/docs/en/api/coreink/eink_api.md
index 084201a4..28c6f825 100644
--- a/docs/en/api/coreink/eink_api.md
+++ b/docs/en/api/coreink/eink_api.md
@@ -20,6 +20,8 @@ Ink_Sprite InkPageSprite(&M5.M5Ink);
**Description: create image area, configure whether to get image data buff from screen driver (default is to save true)**.
+?>The `x` coordinate of the >create image area must be an integer multiple of 8. (eg: 0 , 8 , 16...) Otherwise, the display will not work properly.
+
**Example:**
```arduino
diff --git a/docs/en/api/coreink/system_api.md b/docs/en/api/coreink/system_api.md
index 522dc03d..69b3a8a3 100644
--- a/docs/en/api/coreink/system_api.md
+++ b/docs/en/api/coreink/system_api.md
@@ -82,8 +82,31 @@ M5.update();
M5.Speaker.tone(2700);
```
+## RTC
+
?> Please use `M5.begin();` to initialize RTC related functions before using
+```
+typedef struct RTC_Time
+{
+ int8_t Hours;
+ int8_t Minutes;
+ int8_t Seconds;
+ RTC_Time() : Hours(),Minutes(),Seconds(){}
+ RTC_Time(int8_t h,int8_t m,int8_t s) : Hours(h),Minutes(m),Seconds(s){}
+} RTC_TimeTypeDef;
+
+typedef struct RTC_Date
+{
+ int8_t WeekDay;
+ int8_t Month;
+ int8_t Date;
+ int16_t Year;
+ RTC_Date() : WeekDay(),Month(),Date(),Year(){}
+ RTC_Date(int8_t w,int8_t m,int8_t d, int16_t y) : WeekDay(w),Month(m),Date(d),Year(y){}
+} RTC_DateTypeDef;
+```
+
## SetTime()
**Syntax:**
diff --git a/docs/en/api/lcd.md b/docs/en/api/lcd.md
index acce5eb4..3e3058c3 100644
--- a/docs/en/api/lcd.md
+++ b/docs/en/api/lcd.md
@@ -309,6 +309,7 @@ None
M5.Lcd.drawBmpFile(SD, "/p2.bmp",0,0);
```
+?>We provide a script that can be used to convert `jpg` images -> `.c` files, you can use it to convert some personal images and draw them on the screen using the following API.[bin2code.py](https://github.com/m5stack/M5Stack/tree/master/tools)
## drawJpg()
@@ -1583,7 +1584,7 @@ M5.begin();
M5.Lcd.drawCentreString("hello", 160, 0, 2);
```
-##drawRightString()
+## drawRightString()
**Description:**
@@ -1612,7 +1613,7 @@ M5.begin();
M5.Lcd.drawRightString("hello", 160, 0, 2);
```
-##int16_t fontHeight()
+## int16_t fontHeight()
**Description:**
diff --git a/docs/en/arduino/arduino_home_page.md b/docs/en/arduino/arduino_home_page.md
index fa8d8406..6d602919 100644
--- a/docs/en/arduino/arduino_home_page.md
+++ b/docs/en/arduino/arduino_home_page.md
@@ -14,7 +14,7 @@
-
+
{{item.title}}
@@ -37,7 +37,8 @@ const quickstart = {
'M5Stick':'#/en/arduino/arduino_development',
'ATOM Lite / Matrix':'#/en/arduino/arduino_development',
'M5Core2':'#/en/arduino/arduino_core2_development',
- }
+ },
+ "id":"quickstart"
};
const m5core_api = {
@@ -55,7 +56,18 @@ const m5core_api = {
'I2C':'#/en/api/commutil',
'WIFI':'#/en/api/wifi',
'Timer':'#/en/api/ticker',
- }
+ },
+ "id":"m5core_api"
+};
+
+const m5core2_api = {
+ 'title':"M5Core2 API",
+ 'item':{
+ 'AXP192':'#/en/api/axp192_core2',
+ 'TFT-SCREEN':'#/en/api/lcd',
+ 'TOUCH':'#/en/api/touch',
+ },
+ "id":"m5core2_api"
};
const m5stickc_api = {
@@ -67,16 +79,8 @@ const m5stickc_api = {
'IMU':'#/en/api/imu',
'RTC':'#/en/api/rtc',
'PWM':'#/en/api/pwm',
- }
-};
-
-const m5core2_api = {
- 'title':"M5Core2 API",
- 'item':{
- 'AXP192':'#/en/api/axp192_core2',
- 'TFT-SCREEN':'#/en/api/lcd',
- 'TOUCH':'#/en/api/touch',
- }
+ },
+ "id":"m5stickc_api"
};
const coreink_api = {
@@ -84,7 +88,8 @@ const coreink_api = {
'item':{
'System & Button & RTC & Speaker':'#/en/api/coreink/system_api',
'E-Ink':'#/en/api/coreink/eink_api'
- }
+ },
+ "id":"coreink_api"
};
diff --git a/docs/en/base/node_base.md b/docs/en/base/node_base.md
index 38908dd4..bded12ff 100644
--- a/docs/en/base/node_base.md
+++ b/docs/en/base/node_base.md
@@ -12,7 +12,7 @@ ESP32 provides an Audio Develope Platform called ESP-ADF.
ESP-ADF supports development of audio applications for the Espressif Systems ESP32 chip in the most comprehensive way. With ESP-ADF, you can easily add features, develop audio applications from simple to complex:
- Music player or recorder supports audio formats such as MP3, AAC, FLAC, WAV, OGG, AMR, TS, EQ, Downmixer, Sonic, G.711, SPEEX ...
-- Play music from sources: HTTP, HLS(HTTP Live Streaming), SPIFFS, SDCARD, A2DP-Source, A2DP-Sink, HFP ...
+- Play music from sources: HTTP, HLS(HTTP Live Streaming), SPIFFS, TF-card(microSD), A2DP-Source, A2DP-Sink, HFP ...
- Integrate Media services such as: DLNA, WeChat ...
Internet Radio
- Voice recognition and integration with online services such as Alexa, DuerOS, and more.
diff --git a/docs/en/core/basic.md b/docs/en/core/basic.md
index 9de10b2b..52ddc487 100644
--- a/docs/en/core/basic.md
+++ b/docs/en/core/basic.md
@@ -154,7 +154,7 @@ M5Stack Basic is consist with two separable parts. The upside part has all kinds
Description:
-
This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, SD card, screen, etc.
+
This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.
@@ -358,7 +358,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to [ES
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5core_api)
## Schematic
diff --git a/docs/en/core/core2.md b/docs/en/core/core2.md
index bbfbcf4b..04cc1291 100644
--- a/docs/en/core/core2.md
+++ b/docs/en/core/core2.md
@@ -18,7 +18,7 @@ The MCU is an ESP32 model D0WDQ6-V3 and has dual core Xtensa® 32-bit 240Mhz LX6
M5Core2 also features a built-in RTC module which can provide accurate timing. The power supply is managed by an AXP192 power management chip, which can effectively control the power consumption of the base and a built-in green LED power indicator helps to notify the user of battery level. The battery capacity has been upgraded to 390mAh, which can power the core for much longer than the previous model.
-The M5Core2 retains the SD card slot and speakers. However, in order to ensure higher quality sound output, the I2S digital audio interface power amplifier chip is used to effectively prevent signal distortion. There are independent power and reset buttons on the left side and bottom of the base.
+The M5Core2 retains the TF-card(microSD) slot and speakers. However, in order to ensure higher quality sound output, the I2S digital audio interface power amplifier chip is used to effectively prevent signal distortion. There are independent power and reset buttons on the left side and bottom of the base.
The 3 icons on the front of the screen are capacitive buttons which are programmable. There is a small expansion board on the back of the base with a 6-axis IMU sensor and microphone.
The development platform and programming language supported by M5Stack Core2: Arduino, [UIFlow](http://flow.m5stack.com) (using Blockly, MicroPython language) No matter what level of your development and programming skills, M5Stack will help You gradually turn your ideas into reality.
@@ -196,7 +196,7 @@ Restart: Click the RST button at the bottom
Description:
-
This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, SD card, screen, etc.
+
This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.
@@ -350,7 +350,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to [ES
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5core2_api)
## Schematic
diff --git a/docs/en/core/core2_aws.md b/docs/en/core/core2_aws.md
index cb9b1d21..c8a91137 100644
--- a/docs/en/core/core2_aws.md
+++ b/docs/en/core/core2_aws.md
@@ -10,7 +10,7 @@
### Core2
-**Core2** is the second generation device in the M5Stack development kit series. based on the original first generation device, with enhanced and improved hardware functionalities. The main controller which is based on the ESP32 D0WDQ6-V3 model cmomes with two Xtensa® 32-bit LX6 processors that can be controlled separately, the main frequency supports up to 240Mhz additionally to WiFi and Bluetooth and onboard 16MB Flash and 8MB PSRAM functionalities. The TYPE-C interface can be used to Download and upload programs to the microcontroller, The front side of the Core2 is equipped with a 2.0-inch integrated capacitive touch screen, which brings users a smoother human-computer interaction experience. The case has a built-in vibration motor, which can provide feedback and vibration reminder functionalities. The built-in RTC module can provide accurate timing, The power supply is equipped with AXP192 power management chip which can effectively control the power consumption of the Core2, At the same time, the Core2 is equipped with an SD card slot and speakers. In order to ensure higher quality sound effects, the I2S digital audio interface power amplifier chip can effectively prevent signal distortion. There are independent power buttons and reset (RST) buttons on the left and bottom of the Core2. The 3 dots on the front of the screen are part of the touch screen, and the hot zone (touch screen) can be mapped to 3 virtual buttons by programming.
+**Core2** is the second generation device in the M5Stack development kit series. based on the original first generation device, with enhanced and improved hardware functionalities. The main controller which is based on the ESP32 D0WDQ6-V3 model cmomes with two Xtensa® 32-bit LX6 processors that can be controlled separately, the main frequency supports up to 240Mhz additionally to WiFi and Bluetooth and onboard 16MB Flash and 8MB PSRAM functionalities. The TYPE-C interface can be used to Download and upload programs to the microcontroller, The front side of the Core2 is equipped with a 2.0-inch integrated capacitive touch screen, which brings users a smoother human-computer interaction experience. The case has a built-in vibration motor, which can provide feedback and vibration reminder functionalities. The built-in RTC module can provide accurate timing, The power supply is equipped with AXP192 power management chip which can effectively control the power consumption of the Core2, At the same time, the Core2 is equipped with an TF-card(microSD) slot and speakers. In order to ensure higher quality sound effects, the I2S digital audio interface power amplifier chip can effectively prevent signal distortion. There are independent power buttons and reset (RST) buttons on the left and bottom of the Core2. The 3 dots on the front of the screen are part of the touch screen, and the hot zone (touch screen) can be mapped to 3 virtual buttons by programming.
### M5GO-Bottom For AWS
@@ -194,7 +194,7 @@
Description:
-
This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, SD card, screen, etc.
+
This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.
@@ -364,7 +364,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to [ES
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5core2_api)
## Schematic
diff --git a/docs/en/core/face_kit.md b/docs/en/core/face_kit.md
index 9b89e369..6440c19e 100644
--- a/docs/en/core/face_kit.md
+++ b/docs/en/core/face_kit.md
@@ -359,7 +359,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to [ES
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5core_api)
## Schematic
diff --git a/docs/en/core/fire.md b/docs/en/core/fire.md
index f9690534..5fab1ff5 100644
--- a/docs/en/core/fire.md
+++ b/docs/en/core/fire.md
@@ -355,7 +355,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to [ES
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5core_api)
## Version Change
diff --git a/docs/en/core/gray.md b/docs/en/core/gray.md
index 1e54e35c..d23ce406 100644
--- a/docs/en/core/gray.md
+++ b/docs/en/core/gray.md
@@ -155,7 +155,7 @@ If you ever played with ESP8266, you would realize that ESP32 is a perfect upgra
Description:
-
This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, SD card, screen, etc.
+
This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.
@@ -335,7 +335,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to [ES
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5core_api)
## Example
diff --git a/docs/en/core/m5go.md b/docs/en/core/m5go.md
index 66023217..8bfad44d 100644
--- a/docs/en/core/m5go.md
+++ b/docs/en/core/m5go.md
@@ -339,7 +339,7 @@ To complete schematic, click [here](https://github.com/m5stack/M5-Schematic/tree
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5core_api)
## Schematic
diff --git a/docs/en/core/m5go_lite.md b/docs/en/core/m5go_lite.md
index d8baa64e..6a6a4f22 100644
--- a/docs/en/core/m5go_lite.md
+++ b/docs/en/core/m5go_lite.md
@@ -332,7 +332,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to [ES
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5core_api)
## Schematic
diff --git a/docs/en/core/m5paper.md b/docs/en/core/m5paper.md
index 8f9c3c85..a35cc4fe 100644
--- a/docs/en/core/m5paper.md
+++ b/docs/en/core/m5paper.md
@@ -4,7 +4,7 @@
## Description
-**M5Paper** is M5Stacks latest core device with a touch enabled E-ink display. Powered by the ESP32-D0WDQ6-V3 this is our first device to integrate a super sized 540*960 @4.7" E-ink display,which supports 16 grayscale levels. The display is a GT911 capacitive touch screen,which supports two point touch and a variety of gesture controls . Compared to a regular LCD,E-ink displays are easier on the eyes, which makes them a great choice for reading or viewing for longer periods. Other benefits are the low power consumption and the ability to retain the image even if power to the display is terminated. Integrated in the CoreInk are an multi-function button for operation, SHT30 temperature and moisture sensor, physical buttons and an SD card port for data storage.
+**M5Paper** is M5Stacks latest core device with a touch enabled E-ink display. Powered by the ESP32-D0WDQ6-V3 this is our first device to integrate a super sized 540*960 @4.7" E-ink display,which supports 16 grayscale levels. The display is a GT911 capacitive touch screen,which supports two point touch and a variety of gesture controls . Compared to a regular LCD,E-ink displays are easier on the eyes, which makes them a great choice for reading or viewing for longer periods. Other benefits are the low power consumption and the ability to retain the image even if power to the display is terminated. Integrated in the CoreInk are an multi-function button for operation, SHT30 temperature and moisture sensor, physical buttons and an TF-card(microSD) port for data storage.
Additionally the FM24C02 internal eeprom chip(256KB-EEPROM)can be used to store vital data even when the device is off. A 1150mAh lipo battery keeps the device going for long periods and battery life can be further preserved by using the RTC(BM8563)to set the device into deep sleep and wake it up again when needed。Three HY2.0-4P expansion ports are included which allow for building complex projects using the existing sensors in the M5Stack ecosystem.
@@ -55,7 +55,7 @@ Additionally the FM24C02 internal eeprom chip(256KB-EEPROM)can be used to store
Ports
-
TypeC*1, HY2.0-4P*3 , SD/TF card slot
+
TypeC*1, HY2.0-4P*3 , TF-card(microSD) slot
E-Ink Display
@@ -109,14 +109,14 @@ Additionally the FM24C02 internal eeprom chip(256KB-EEPROM)can be used to store
## PinMap
-**E-INK & SD Card**
+**E-INK & TF-card(microSD)**
Resolution:540*960
ESP32 Chip
GPIO13
GPIO12
GPIO14
GPIO15
GPIO4
IT8951
MISO
MOSI
SCK
CS
/
-
SD Card
MISO
MOSI
SCK
/
CS
+
TF-card(microSD)
MISO
MOSI
SCK
/
CS
@@ -206,7 +206,6 @@ For more info on specific pin functions refer to the official ESP32 Docs[ESP32 d
- [SHT30 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/SHT3x_Datasheet_digital.pdf)
- [BM8563](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/BM8563_V1.1_cn.pdf)
- [SY7088](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/SY7088-Silergy.pdf)
-
- [GT911-datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/m5paper/gt911_datasheet.pdf)
- **API**
diff --git a/docs/en/core/m5stickc.md b/docs/en/core/m5stickc.md
index be71b236..b798cf52 100644
--- a/docs/en/core/m5stickc.md
+++ b/docs/en/core/m5stickc.md
@@ -263,7 +263,7 @@ Resolution:80 * 160
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5stickc_api)
## structural-design-file
diff --git a/docs/en/core/m5stickc_plus.md b/docs/en/core/m5stickc_plus.md
index 35fb3047..7443dd89 100644
--- a/docs/en/core/m5stickc_plus.md
+++ b/docs/en/core/m5stickc_plus.md
@@ -269,7 +269,7 @@ Resolution:135 * 240
- **API**
- - [Arduino API](en/arduino/arduino_home_page)
+ - [Arduino API](en/arduino/arduino_home_page?id=m5stickc_api)
- **Arduino Library**
- [M5StickC_PLUS Library](https://github.com/m5stack/M5StickC-Plus)
diff --git a/docs/en/core/m5stickv.md b/docs/en/core/m5stickv.md
index b82f757c..8b5318f2 100644
--- a/docs/en/core/m5stickv.md
+++ b/docs/en/core/m5stickv.md
@@ -121,7 +121,7 @@ It is able to perform convolutional neural network calculations at low power con
External storage
-
TF Card/Micro SD
+
TF-card(microSD)
MEMS
@@ -150,9 +150,9 @@ It is able to perform convolutional neural network calculations at low power con
-### SD card test
+### TF-card(microSD) test
-M5StickV does not currently recognize all types of SD cards. We have tested some common SD cards. The test results are as follows.
+M5StickV does not currently recognize all types of TF-card(microSD). We have tested some common TF-card(microSD). The test results are as follows.
diff --git a/docs/en/hat/hat_roverc_pro.md b/docs/en/hat/hat_roverc_pro.md
index 7ca234dc..bf23b41f 100644
--- a/docs/en/hat/hat_roverc_pro.md
+++ b/docs/en/hat/hat_roverc_pro.md
@@ -70,13 +70,13 @@ The PRO version provides a gripping mechanism controlled by a servo for gripping
Servo Gripper
-
●
-
-
+
x1
+
-//td>
-
2 Servo Pin
-
●
-
-
+
Servo Ext Port
+
x2
+
/
Battery
@@ -124,8 +124,8 @@ MotorControl:
Servo number
Angle(Register address)
Parameter value
Pulse(Register address)
Parameter value
-
01
0x10
0~180°
0x20
500~2500ms
-
02
0x11
0~180°
0x21
500~2500ms
+
01
0x10
0~180°
0x20
500~2500us
+
02
0x11
0~180°
0x21
500~2500us
## Example
@@ -136,7 +136,7 @@ Use with JoyC HAT(without servo gripper), please click [here](https://github.com
Before use, please make sure that the RoverC is fully charged. Charging method: insert M5StickC/M5StickC Plus into the RoverC, and connect the USB cable for charging.Burn the easyloader firmware of JoyC and RoverC with two M5StickC respectively. Insert JoyC and RoverC respectively after burning. After power on, RoverC will display the MAC address name and battery level. At the same time, JoyC will scan for the MAC address of RoverC. Long press the A key of M5StickC on Joyc, and the two will be paired. Left thumbstick controlls forward and back motion, left and right control translation, right thumbstick controls left and right steering.
Independent(with servo gripper) usage [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Application/RoverC_PRO_Arduino_Alone)
-0ppp
+
### 2. UIFlow
diff --git a/docs/en/unit/pbhub.md b/docs/en/unit/pbhub.md
index 6a1d5ac6..03f6bbba 100644
--- a/docs/en/unit/pbhub.md
+++ b/docs/en/unit/pbhub.md
@@ -55,6 +55,71 @@ See the below picture for timing sequence of HX711:
+
+## Change I2C Address
+
+The I2C address of the unit is 0x40 (which can be changed by using solder resistors A0 ~ A2, the address range is 0x40~0x47).
+
+
+
+