mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
add some paper api
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
@@ -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
|
||||
|
||||
@@ -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:**
|
||||
|
||||
+3
-2
@@ -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:**
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
|
||||
<div id='arduino_home_page' v-cloak>
|
||||
<el-card class="box-card" v-for="(item,index) in list" :key="index" style="margin-bottom:20px">
|
||||
<el-card class="box-card" v-for="(item,index) in list" :key="index" style="margin-bottom:20px" :id="item.id">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>{{item.title}}</span>
|
||||
<i class="el-icon-s-management" style="float: right;"></i>
|
||||
@@ -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"
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -154,7 +154,7 @@ M5Stack Basic is consist with two separable parts. The upside part has all kinds
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>Description:</p>
|
||||
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, SD card, screen, etc.</p>
|
||||
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>Description:</p>
|
||||
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, SD card, screen, etc.</p>
|
||||
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 @@
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>Description:</p>
|
||||
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, SD card, screen, etc.</p>
|
||||
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ If you ever played with ESP8266, you would realize that ESP32 is a perfect upgra
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>Description:</p>
|
||||
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, SD card, screen, etc.</p>
|
||||
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ports</td>
|
||||
<td>TypeC*1, HY2.0-4P*3 , SD/TF card slot</td>
|
||||
<td>TypeC*1, HY2.0-4P*3 , TF-card(microSD) slot</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-Ink Display</td>
|
||||
@@ -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
|
||||
|
||||
<table>
|
||||
<tr><td>ESP32 Chip</td><td>GPIO13</td><td>GPIO12</td><td>GPIO14</td><td>GPIO15</td><td>GPIO4</td></tr>
|
||||
<tr><td>IT8951</td><td>MISO</td><td>MOSI</td><td>SCK</td><td>CS</td><td>/</td></tr>
|
||||
<tr><td>SD Card</td><td>MISO</td><td>MOSI</td><td>SCK</td><td>/</td><td>CS</td></tr>
|
||||
<tr><td>TF-card(microSD)</td><td>MISO</td><td>MOSI</td><td>SCK</td><td>/</td><td>CS</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -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编程指南](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/m5paper/GT91XX_Programming%20Guide_2012102301.pdf) -->
|
||||
- [GT911-datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/m5paper/gt911_datasheet.pdf)
|
||||
|
||||
- **API**
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -121,7 +121,7 @@ It is able to perform convolutional neural network calculations at low power con
|
||||
</tr>
|
||||
<tr>
|
||||
<td>External storage</td>
|
||||
<td>TF Card/Micro SD</td>
|
||||
<td>TF-card(microSD)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MEMS</td>
|
||||
@@ -150,9 +150,9 @@ It is able to perform convolutional neural network calculations at low power con
|
||||
</table>
|
||||
|
||||
|
||||
### 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.
|
||||
|
||||
<img src="assets\img\product_pics\core\minicore\m5stickv/m5stickv_08.webp" width="30%" height="30%">
|
||||
|
||||
|
||||
@@ -70,13 +70,13 @@ The PRO version provides a gripping mechanism controlled by a servo for gripping
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Servo Gripper</td>
|
||||
<td>●</td>
|
||||
<td>-</td>
|
||||
<td>x1</td>
|
||||
<td>-//td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2 Servo Pin</td>
|
||||
<td>●</td>
|
||||
<td>-</td>
|
||||
<td>Servo Ext Port</td>
|
||||
<td>x2</td>
|
||||
<td>/</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Battery</td>
|
||||
@@ -124,8 +124,8 @@ MotorControl:
|
||||
|
||||
<table>
|
||||
<tr><td>Servo number</td><td>Angle(Register address)</td><td>Parameter value</td><td>Pulse(Register address)</td><td>Parameter value</td></tr>
|
||||
<tr><td>01</td><td>0x10</td><td>0~180°</td><td>0x20</td><td>500~2500ms</td></tr>
|
||||
<tr><td>02</td><td>0x11</td><td>0~180°</td><td>0x21</td><td>500~2500ms</td></tr>
|
||||
<tr><td>01</td><td>0x10</td><td>0~180°</td><td>0x20</td><td>500~2500us</td></tr>
|
||||
<tr><td>02</td><td>0x11</td><td>0~180°</td><td>0x21</td><td>500~2500us</td></tr>
|
||||
</table>
|
||||
|
||||
## 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
|
||||
|
||||
<img src="assets\img\product_pics\hat\roverc_hat\roverC.webp" width="40%" height="30%">
|
||||
|
||||
@@ -55,6 +55,71 @@ See the below picture for timing sequence of HX711:
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
## 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).
|
||||
|
||||
<img src="assets/img/product_pics/unit/pbhub/pbhub_i2c_addr.webp" width="300px">
|
||||
|
||||
<table>
|
||||
<tr style="font-weight:bold">
|
||||
<td>A0</td>
|
||||
<td>A1</td>
|
||||
<td>A2</td>
|
||||
<td>I2C Address</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>/</td>
|
||||
<td>/</td>
|
||||
<td>/</td>
|
||||
<td>0x40</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Resistors</td>
|
||||
<td>/</td>
|
||||
<td>/</td>
|
||||
<td>0x41</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>/</td>
|
||||
<td>Resistors</td>
|
||||
<td>/</td>
|
||||
<td>0x42</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Resistors</td>
|
||||
<td>Resistors</td>
|
||||
<td>/</td>
|
||||
<td>0x43</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>/</td>
|
||||
<td>/</td>
|
||||
<td>Resistors</td>
|
||||
<td>0x44</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Resistors</td>
|
||||
<td>/</td>
|
||||
<td>Resistors</td>
|
||||
<td>0x45</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>/</td>
|
||||
<td>Resistors</td>
|
||||
<td>Resistors</td>
|
||||
<td>0x46</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Resistors</td>
|
||||
<td>Resistors</td>
|
||||
<td>Resistors</td>
|
||||
<td>0x47</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
## EasyLoader
|
||||
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user