mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
Merge branch 'master' of github.com:m5stack/m5-docs
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.6 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
@@ -105,7 +105,7 @@
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
[click here to get Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/4-RELAY)
|
||||
|
||||
|
||||
@@ -53,8 +53,8 @@ By measuring the amount of static acceleration, due to gravity, you can find out
|
||||
<td> ± 16g </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> I2C Address </td>
|
||||
<td> 0x53 </td>
|
||||
<td>Communication protocol</td>
|
||||
<td>I2C:0x53</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Resolution </td>
|
||||
@@ -120,13 +120,13 @@ By measuring the amount of static acceleration, due to gravity, you can find out
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
[Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ACCEL_ADXL345)(Download library ADXL345 before compile)
|
||||
- [Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ACCEL_ADXL345)(Download library ADXL345 before compile)
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ACCEL/UIFLOW)
|
||||
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ACCEL/UIFLOW)
|
||||
|
||||
<img src="assets/img/product_pics/unit/accel/ACCEL_05.webp">
|
||||
|
||||
|
||||
+7
-3
@@ -77,6 +77,10 @@ The default I2C address is 0x48 unless changed manually.
|
||||
<td> Noise </td>
|
||||
<td> 4μVp-p </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Communication protocol</td>
|
||||
<td>I2C:0x48</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Net weight</td>
|
||||
<td>4g</td>
|
||||
@@ -128,13 +132,13 @@ The default I2C address is 0x48 unless changed manually.
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
[Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ADC_ADS1100)
|
||||
- [Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ADC_ADS1100)
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ADC/UIFlow)
|
||||
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ADC/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/ADC/example_unit_adc_01.webp">
|
||||
|
||||
|
||||
@@ -55,8 +55,8 @@ The unit has a maximum measurement current of ±4A, and an internal integrated 4
|
||||
<td>±4A</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Protocol</td>
|
||||
<td>I2C</td>
|
||||
<td>Communication protocol</td>
|
||||
<td>I2C:0x48</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Net Weight</td>
|
||||
@@ -158,13 +158,13 @@ bool Ameter::saveCalibration2EEPROM(ameterGain_t gain, int16_t hope, int16_t act
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
[Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit)
|
||||
- [Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit)
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit/UIFlow)
|
||||
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/unit/a_meter/a_meter.webp">
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ The Unit's Grove interface is black, specify it is an analog interface that shou
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ANGLE)
|
||||
|
||||
@@ -116,7 +116,7 @@ The code below is incomplete. To get the complete code, please click [here](http
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ANGLE/UIFlow)
|
||||
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ANGLE/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/ANGLE/example_unit_angle_03.webp">
|
||||
|
||||
|
||||
+13
-2
@@ -76,6 +76,10 @@
|
||||
<td>Voltage</td>
|
||||
<td>1.71V - 3.6V</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Communication protocol</td>
|
||||
<td>I2C:0x76</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Net Weight</td>
|
||||
<td>8g</td>
|
||||
@@ -137,9 +141,16 @@
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
- [Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BPS_Unit)
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BPS_Unit/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/unit/bps/BPS_Example.webp">
|
||||
|
||||
[Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BPS_Unit)
|
||||
|
||||
<el-divider content-position="right">Last updated: 2020-12-11</el-divider>
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ The mechanism of series communication: the devices are connected in series, to
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
Please click,[here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Application/butterfly) to download code
|
||||
|
||||
|
||||
@@ -100,13 +100,13 @@ This unit communicates with M5Core through GROVE B port.
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
The code below is incomplete (just for reference). To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/BUTTON)
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTON/UIFlow)
|
||||
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTON/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/BUTTON/example_unit_button_03.webp">
|
||||
|
||||
|
||||
+1
-1
@@ -139,7 +139,7 @@ It has some obvious advantages in the following aspects: High speed low failure
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
[Click here to download Example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/CAN)
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ CardKB also can achieve button combination (Sym+Key, Shift+Key, Fn+Key) and outp
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
To get the code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/CardKB)
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ Alternative Ports that can be used: A, B, and C ports.
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
To get the code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/CATEAR_SK6812)
|
||||
|
||||
|
||||
@@ -63,8 +63,8 @@ This Unit communicates with the M5Core via the GROVE A interface(I2C). Address i
|
||||
<td>-40°C~85°C</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Communicationmethod</td>
|
||||
<td>I2C</td>
|
||||
<td>Communication protocol</td>
|
||||
<td>I2C:0x29</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Net weight</td>
|
||||
@@ -130,7 +130,7 @@ This Unit communicates with the M5Core via the GROVE A interface(I2C). Address i
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/COLOR_TCS3472)
|
||||
|
||||
@@ -140,7 +140,7 @@ After burning this example firmware, PC serial terminal will print original valu
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/COLOR/UIFlow)
|
||||
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/COLOR/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/unit/color/color.webp">
|
||||
|
||||
|
||||
+2
-2
@@ -96,13 +96,13 @@ The device I2C address is 0x60 by default unless changed manually.
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
The code below is incomplete (just for reference). To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/DAC_MCP4725)
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/DAC/UIFlow)
|
||||
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/DAC/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/unit/dac.webp">
|
||||
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ It supports deep sleep mode, which can reduce the power consumption in the idle
|
||||
|
||||
## Example
|
||||
|
||||
### Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
- [Arduino example program](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/DDS_AD9833)
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ This unit communicates with M5Core through GROVE B port.
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
The code below is incomplete (for reference only). To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/DUAL_BUTTON)
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ You can read the moisture in soil by using the ADC. Inside this Unit we've added
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
### 1. Arduino
|
||||
|
||||
The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/EARTH)
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user