Add,Modify : New layout support(for ja)

・Make Japanese selectable
・Supports new layouts
・Add some untranslated files
This commit is contained in:
Mori Naoyuki
2019-08-03 23:29:33 +09:00
parent df31b2a1b6
commit cb0f20bc39
40 changed files with 4533 additions and 328 deletions
+35 -27
View File
@@ -140,8 +140,8 @@
// };
function change_title(language) {
if (language == "en") {
$("#language").text("中文");
if (language == "en" || language=="" ) {
$("#language").text("中文");
$("#product").text("Product");
$("#product").attr("href", "#");
$("#arduino").text("Arduino API");
@@ -152,8 +152,8 @@
$("#related").attr("href", "#/en/related_documents");
$("#faq").text("FAQ");
$("#faq").attr("href", "#/en/faq");
} else {
$("#language").text("EN");
}else if (language == "zh_CN") {
$("#language").text("→日本語");
$("#product").text("产品列表");
$("#product").attr("href", "#/zh_CN/");
$("#arduino").text("Arduino API");
@@ -164,40 +164,48 @@
$("#related").attr("href", "#/zh_CN/related_documents");
$("#faq").text("常见问题");
$("#faq").attr("href", "#/zh_CN/faq");
}else if (language == "ja") {
$("#language").text("→EN");
$("#product").text("製品");
$("#product").attr("href", "#/ja/");
$("#arduino").text("Arduino API");
$("#arduino").attr("href", "#/ja/api");
$("#cases").text("M5Stackアプリ");
$("#cases").attr("href", "#/ja/case");
$("#related").text("ドキュメント");
$("#related").attr("href", "#/ja/related_documents");
$("#faq").text("よくある質問");
$("#faq").attr("href", "#/ja/faq");
}
}
function language() {
var test = window.location.href;
if ((test.indexOf(/en/) == -1) && (test.indexOf(/zh_CN/) == -1)) {
var test2 = test.concat("", "zh_CN/");
window.location.href = test2;
change_title('zh_CN');
} else if (test.indexOf(/en/) == -1) {
var test2 = test.replace(/zh_CN/, "en");
window.location.href = test2;
change_title('en');
} else {
var test2 = test.replace(/en/, "zh_CN");
window.location.href = test2;
change_title('zh_CN');
}
page_loading(true);
}
function page_loading() {
function page_loading(requireMove) {
var test = window.location.href;
if ((test.indexOf(/en/) == -1) && (test.indexOf(/zh_CN/) == -1)) {
if ( (test.indexOf(/en/) == -1) &&
(test.indexOf(/zh_CN/) == -1) &&
(test.indexOf(/ja/) == -1)
) {
var test2 = test.concat("", "en/");
if(requireMove){window.location.href = test2;}
change_title('en');
} else if (test.indexOf(/en/) == -1) {
var test2 = test.replace(/zh_CN/, "en");
} else if (test.indexOf(/en/)>=0) {
var test2 = test.replace(/en/, "zh_CN");
if(requireMove){window.location.href = test2;}
change_title('zh_CN');
} else if (test.indexOf(/zh_CN/)>=0) {
var test2 = test.replace(/zh_CN/, "ja");
if(requireMove){window.location.href = test2;}
change_title('ja');
} else {
var test2 = test.replace(/en/, "zh_CN");
var test2 = test.replace(/ja/, "en");
if(requireMove){window.location.href = test2;}
change_title('en');
}
@@ -209,7 +217,7 @@
scrollTop: (t - 50)
}, 500);
}
page_loading();
page_loading(false);
</script>
<!-- <script src="https://unpkg.com/docsify/lib/docsify.min.js"></script> -->
<script src="./assets/js/docify.min.js"></script>
+105
View File
@@ -0,0 +1,105 @@
# Module 6060-PUSH {docsify-ignore-all}
<img src="assets/img/product_pics/1515/6060-push/6060_push_01.jpg" width="30%" height="30%"> &nbsp;&nbsp;&nbsp;<img src="assets/img/product_pics/1515/6060-push/6060_push_02.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-application/products/m5stack-6060-push)**
<!--
:octocat:**[Code](#Code)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-->
## Description
This an application-level module, which implements a motion & robotic control and it is totally customizable with different length. Packed with Stepper motor, Mega328 microprocessor, RS485 serial bus, 1515 framework. It realized a linear motion control, you can program the stepper motor to move a certain length with high precision. This type of module can be applied to 3D print, linear push and etc.
<br><br><br>
<img src="assets/img/product_pics/1515/6060-push/6060_push_03.jpg" width="50%" height="50%">&nbsp;&nbsp;&nbsp;<img src="assets/img/product_pics/1515/6060-push/6060_push_02.jpg" width="50%" height="50%">
## Product Features
Product Feature:
- Mega328 inside: GRBL
- Customizable: length & distance
- RS485
- 1515 Aluminium Profile frame
- 48 stepper motor: 2 phase 4 lines
## Include
- 1x 6060 module
## Application
- 3D printer
- Linear motion
## Links
- **Datasheet** - [Mega328P](http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf)
<!--## Schematic
<img src="assets/img/product_pics/hat/dac_hat/dac_hat_04.jpg" width="80%" height="80%">
-->
<!--
## EasyLoader
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.png" width="100px" style="margin-top:20px">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/HAT/DAC/EasyLoader_DAC_HAT.exe"><button type="button" class="btn btn-primary">click to download EasyLoader</button></a>
>1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.
>2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click **"Burn"** to start burning.
## Code
### 1. Arduino IDE
*To get complete code, please click [here](https://github.com/m5stack/M5StickC/blob/master/examples/Hat/DAC).*
```arduino
#include <M5StickC.h>
#include <Wire.h>
#include "Adafruit_MCP4725.h"
#define DAC_ADDR
Adafruit_MCP4725 dac;
void setup(void) {
M5.begin(true,true,false);
dac.begin(0x60);
dac.setVoltage(2048, false);
}
void loop(void) {
// 12bit value , false mean not write EEPROM
dac.setVoltage(1024, false);
dac.setVoltage(2048, false);
}
```
-->
<!--
### Pin Map
<table>
<tr><td>M5StickC</td><td>GPIO0</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
<tr><td>HAT ADC</td><td>SDA</td><td>SCL</td><td>5V</td><td>GND</td></tr>
</table>
-->
<!--## Video
**Demo**
<video width="500" height="500" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/HAT/ADC-DAC-HAT.mp4" type="video/mp4" >
</video>
-->
+31
View File
@@ -0,0 +1,31 @@
# Aluminium_Profile1515 {docsify-ignore-all}
<img src="assets/img/product_pics/1515/ap/ap_ap_01.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-accessory/products/1515-cutting-aluminum-profile-100-200-500-1000mm-used-in-assembling-device)**
## Description
1515 stands for 15mm * 15mm on the cross-section. Not like most other companies, M5Stack not just provide the highly productized learning board and programming platform, we also include the structural grade components to make a complete ecosystem for not only IoT development but IIoT (Industrial IoT) as well.
Aluminum profiles are most commonly used across industrial automation applications such as automated motion applications on process lines and industries throughout manufacturing. They are strong and yet light enough that they yet can be easily man-handled and built into various configurations as necessitated by the automation structure. Outside of the traditional automation applications, structural grade aluminum extrusions are even being specified as part of weight reduction efforts. extrusion aluminum sections are versatile and ideal for use in building automation applications, and aluminum is an excellent structural material which lends itself perfectly for use in profile extrusions. More likely than not, there is an aluminum profile thats perfectly tailored to the specific automation application.
As more advanced, together with the Aluminium-Profile accessories (connectors, slide-drops ...) and the Aluminium-Profile drilling machine which allows Pick-Cut-Drill, you can even DIY your own framework. Furthermore, the add-on features of M5Stack system will bring your work into another level, you will benefit every step of the way in your IIoT project, all the way from structure prototyping, programming, network establishing, debugging, to the final productization.
<img src="assets/img/product_pics/1515/corner/1515_corner_03.jpg" width="30%" height="30%">
<!--*Notice: We don't offer tapping Aluminium-Profile by default, in order to make the M4 screw fixed in the Aluminium-Profile, you need to tap the Aluminium-Profile with tapping machine,please refer to the picture below*-->
<img src="assets/img/product_pics/1515/ap/ap_ap_02.jpg" width="30%" height="30%">
<img src="assets/img/product_pics/1515/ap/ap_ap_03.jpg" width="30%" height="30%">
## Product Features
- 15mm * 15mm
- Length
- 1000mm
- 500mm
- 200mm
- 100mm
- 50mm
+77
View File
@@ -0,0 +1,77 @@
# アルミフレーム {docsify-ignore-all}
:memo:**[概要](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
Purchase
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/4-sides-plastic-corner-connector-for-1515-aluminum-profile
">4 SIDES</a>
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/5-sides-plastic-corner-connector-for-1515-aluminum-profile
">5 SIDES</a>
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/6-sides-plastic-corner-connector-for-1515-aluminum-profile
">6 SIDES</a>
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/30-plastic-corner-connector-for-1515-aluminum-profile
">30°</a>
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/45-plastic-corner-connector-for-1515-aluminum-profile
">45°</a>
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/any-angle-plastic-corner-connector-for-1515-aluminum-profile
">ANY</a>
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/plane-i-plastic-corner-connector-for-1515-aluminum-profile
">PLANE I</a>
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/plane-t-plastic-corner-connector-for-1515-aluminum-profile
">PLANE T</a>
<a class="dropdown-item" href="https://m5stack.com/collections/m5-accessory/products/plane-l-plastic-corner-connector-for-1515-aluminum-profile
">PLANE L</a>
</div>
## 概要
さまざまなタイプの** 15mm x 15mm アルミフレーム **アクセサリーで、側面と角度によってカタログ化されています。これらのコネクタは、さまざまな形状のアルミフレームの構築に役立ちます。
<img src="assets/img/product_pics/1515/connector/ap_4_sides_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_4_sides_02.jpg" width="30%" height="30%">
<br>
<img src="assets/img/product_pics/1515/connector/ap_5_sides_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_5_sides_02.jpg" width="30%" height="30%">
<br>
<img src="assets/img/product_pics/1515/connector/ap_6_sides_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_6_sides_02.jpg" width="30%" height="30%">
<br>
<img src="assets/img/product_pics/1515/connector/ap_30d_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_30d_02.jpg" width="30%" height="30%">
<br>
<img src="assets/img/product_pics/1515/connector/ap_45d_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_45d_02.jpg" width="30%" height="30%">
<br>
<img src="assets/img/product_pics/1515/connector/ap_anyd_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_anyd_02.jpg" width="30%" height="30%">
<br>
<img src="assets/img/product_pics/1515/connector/ap_plane_i_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_plane_i_02.jpg" width="30%" height="30%">
<br>
<img src="assets/img/product_pics/1515/connector/ap_plane_t_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_plane_t_02.jpg" width="30%" height="30%">
<br>
<img src="assets/img/product_pics/1515/connector/ap_plane_l_01.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/1515/connector/ap_plane_l_02.jpg" width="30%" height="30%">
***
*注意:M4ネジをアルミフレームに固定するには、加工が必要です。タッピングマシンでアルミフレームにねじを切りなおす必要があります。*
## 製品仕様
- 1515 アルミフレーム互換
## 内包品
- 10x set
- 下記のものが含まれますt:
- 1x コネクターr
- M4 ネジ
+30
View File
@@ -0,0 +1,30 @@
# コーナー部品 {docsify-ignore-all}
<img src="assets/img/product_pics/1515/corner/1515_corner_01.jpg" width="30%" height="30%">
***
:memo:**[概要](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[購入](https://m5stack.com/collections/m5-accessory/products/plastic-corner-connector-for-1515-aluminum-profile)**
## 概要
15mm x 15mm アルミフレーム用のコーナー部品です。パッケージには90度角のコネクタとネジが付属しています。3方向から差し込んで止めることができます。
<img src="assets/img/product_pics/1515/corner/1515_corner_02.jpg" width="30%" height="30%"><img src="assets/img/product_pics/1515/corner/1515_corner_03.jpg" width="30%" height="30%">
*注意:M4ネジをアルミフレームに固定するには、加工が必要です。タッピングマシンでアルミフレームにねじを切りなおす必要があります。下の写真を参照してください。*
<img src="assets/img/product_pics/1515/ap/ap_ap_01.jpg" width="30%" height="30%">
<img src="assets/img/product_pics/1515/ap/ap_ap_01.jpg" width="30%" height="30%">
## 仕様
- 90° 3面コーナー
- 15mm x 15mm アルミフレーム互換
## 内包品
- 10x set
- 下記のものが含まれます:
- 1x コネクタ
- 3x M4 ねじ
- 1x キャップ
+19
View File
@@ -0,0 +1,19 @@
# ナット {docsify-ignore-all}
<img src="assets/img/product_pics/1515/nut/1515_nut_01.jpg" width="30%" height="30%"><img src="assets/img/product_pics/1515/nut/1515_nut_02.jpg" width="30%" height="30%">
***
:memo:**[概要](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[購入](https://m5stack.com/collections/m5-accessory/products/slide-nut-for-1515-aluminum-profile)**
## 概要
**1515 NUT**, like its namesake, is slide component belongs to 1515 Aluminum Extrusion series. It is also known as Drop in Nut. It's for Drop in 1515 aluminum profile to set carriage or to connect.
## 概要
- 15mm x 15mm アルミフレームe
- ドロップイン式ナット
## 内包品
- 10x pcs
+769 -301
View File
File diff suppressed because it is too large Load Diff
+715
View File
File diff suppressed because it is too large Load Diff
+31
View File
@@ -0,0 +1,31 @@
# 485T {docsify-ignore-all}
<img src="assets/img/product_pics/accessory/485t/485t_01.jpg" width="30%" height="30%">
<img src="assets/img/product_pics/accessory/485t/485t_02.jpg" width="30%" height="30%">
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-accessory/products/m5stack-rs485t)**
## Description
**485T**,This is a T-shape connector for RS485 communication, which can apply to point to point, one point to multi-point connection, plus a POWER LED for indication. The terminal connector specification is 4pin HT3.96. Many M5 products sharing this type of connector, such as PLC, Base26, HAT-RS485, etc.
## Product Feature
- Interface type: 4 Pin 3.96mm terminal block
- Built-in power indicator: red
## Package Include
- 1x 485T
## Applications
<img src="assets/img/product_pics/accessory/485t/485t_03.jpg" width="30%" height="30%">
<img src="assets/img/product_pics/accessory/485t/485t_04.jpg" width="30%" height="30%">
+34
View File
@@ -0,0 +1,34 @@
# Accessory BATTERY-BASE {docsify-ignore-all}
<img src="assets\img\product_pics\accessory\battery_base\battery_base_01.jpg" width="30%" height="30%"><img src="assets\img\product_pics\accessory\battery_base\battery_base_02.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stack-battery-base)**
## Description
This is a battery base for 3 types of M5Cameras: M5Camera, M5Camera_X, M5Camera_F. It is a 400mAh Lipo battery.<br>
You can wire it with the battery interface on M5camera board. Pay attention to the polarity. You can get extra power back up for your M5Camera.
- red (positive)
- black(Negative)
<br><br><br>
<img src="assets\img\product_pics\accessory\battery_base\battery_base_05.jpg" width="30%" height="30%">&nbsp;&nbsp;&nbsp;<img src="assets\img\product_pics\accessory\battery_base\battery_base_06.jpg" width="30%" height="30%">&nbsp;&nbsp;&nbsp;<img src="assets\img\product_pics\accessory\battery_base\battery_base_07.jpg" width="30%" height="30%">
## Product Features
- Dimension: 8mmX20mmX30mm
- Capacity: 400mAh
- Poly Lithium Battery
## Include
- 1x BATTERY-BASE
## Application
- Power back up
+20
View File
@@ -0,0 +1,20 @@
# Accessory BUS-Socket {docsify-ignore-all}
<img src="assets/img/product_pics/accessory/bus_socket/acs_bus_socket_01.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-accessory/products/2x15-pin-headers-socket)**
## Description
**BUS-Socket** is a pair of M-BUS socket, female and male. 2X15 pins. They share the same specification with the BUS socket on M5Cores. The male piece is 90-degree bend to the side.
## Product Features
- 90-degree bend pin
- 2x15 @ 2.54mm
## Package Includes
- 1x male socket
- 1x female socket
@@ -0,0 +1,48 @@
# Glass Panel Rapair Kit {docsify-ignore-all}
<img src="assets\img\product_pics\accessory\glass_panel_repair_kit\glass_panel_repair_kit_01.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/products/glass-panel-rapair-kit)**
## Description
**Glass Panel Rapair Kit** It is an M5Core external screen replacement kit, which contains M5Core Alec external screen, buttons and disassembly tool accessories. It can easily disassemble the main unit and replace the brand new external screen without strong hands-on ability.
As time goes by, the screen surface and buttons of the M5Core may be filled with various scratches and abrasions. In addition to providing a better visual experience, the replacement of the new external screen is also a protective measure for the screen.
## Product Feature
- External screen material: Acrylic (acrylic material)
## Package Includes
- 1x M5Core Acrylic external screen
- 1x M1.5 hex wrench
- 1x power button
- 3x panel buttons
- 1x suction cup
## Replacement tutorial
>Remove the base, remove the screws that secure the circuit board, and push the speaker out with a hex wrench.
<img src="assets\img\product_pics\accessory\glass_panel_repair_kit\glass_panel_repair_kit_02.jpg" width="100%">
>There is a buckle in the fuselage. We push the whole board up to release it. At this point, replace the power button that needs to be replaced, then put the board back to its original position and retighten the screw. Base.
<img src="assets\img\product_pics\accessory\glass_panel_repair_kit\glass_panel_repair_kit_03.jpg" width="100%" >
>Use the matching suction cup to absorb it on the screen and evenly remove the entire outer screen.
<img src="assets\img\product_pics\accessory\glass_panel_repair_kit\glass_panel_repair_kit_04.jpg" width="100%">
>Tear off the sticker on the back of the new external screen, and the filler, fix the new button to the external screen, align it with the screen, and finally tear the screen protector.
<img src="assets\img\product_pics\accessory\glass_panel_repair_kit\glass_panel_repair_kit_05.jpg" width="100%" >
+24
View File
@@ -0,0 +1,24 @@
# Accessory SCREW {docsify-ignore-all}
<img src="assets/img/product_pics/accessory/screw/screw_p1.png" width="30%" height="30%">
<img src="assets/img/product_pics/accessory/screw/screw_p2.png" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-accessory/products/8-pcs-m3-12-18-25-32-screw-with-allen-key)**
## Description
**SCREW** would be a necessary tool used on M5Stack development. If you having multiple layers stacked up and you might want fix them up with something. Here comes this SCREW Accessory Kit, packed with 4 different length of M3 screws and an Allen Key. Got this sutff will definately help you making more complicated and organized work around M5Stack.
<img src="assets/img/product_pics/accessory/screw/screw_p3.png" width="30%" height="30%">
## Product Features
- Specification:
- 2x M3-12
- 2x M3-18
- 2x M3-25
- 2x M3-32
- 1x Allen Key
+59
View File
@@ -0,0 +1,59 @@
# Watch {docsify-ignore-all}
<img src="assets\img\product_pics\accessory\watch\watch_01.jpg" width="30%" height="30%"> <img src="assets\img\product_pics\accessory\watch\watch_02.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/products/development-board-watch-kit-excluding-core)**
## Description
**Watch** is an M5Core watch set. In addition to being a powerful development hardware, the M5Core has a sophisticated look that gives it the possibility to wear smart. The kit is designed for the M5Core series,Compared with the old 3D printing base, the new model uses a mold, which has a qualitative improvement in appearance and quality. in addition to the cool strap. Also equipped with a 700mAh lithium battery, allowing users to have sufficient reliable endurance while using the device.
<img src="assets\img\product_pics\accessory\watch\watch_03.jpg" width="30%" height="30%">
## Product Features
- 700mAh lithium battery
## Weight and Size
- Item size:
     Base: 54.3mm x 54.3mm x 7mm
     Strap: 260mm x 22mm (total length after assembly)
- Item weight:
     Base: 25g
     Strap: 18g
- Product size: 127mm x 69mm x 23mm
- Product weight: 87g
## Package Includes
- 1x strap base
- 1x 700mAh battery
- 2x telescopic card pin
- 2x M3x15 screws
- 1x hex wrench
- 1x disassemble screwdriver
## Application
- smart watch
## Assembly step
>Assembling the strap: Insert the matching telescopic card into the strap fixing hole, and have two small holes on both sides of the base of the watch. Place one side of the telescopic card pin into the hole and the other side with the finger. Press and place it. Complete the installation of another strap in the same way.
<img src="assets\img\product_pics\accessory\watch\watch_04.jpg" width="80%">
>Install the battery: Plug the lead wire from the battery to the corresponding interface on the host circuit board. After the plug-in is completed, adjust the position of the battery to facilitate the installation of the watch base.
<img src="assets\img\product_pics\accessory\watch\watch_05.jpg" width="80%">
>Installation base: According to the position of the BUS bus on the main unit, the watch base is vertically inserted into the main unit and locked with the matching screws to complete the assembly.
<img src="assets\img\product_pics\accessory\watch\watch_06.jpg" width="80%">
+57
View File
@@ -0,0 +1,57 @@
# AC Socket {docsify-ignore-all}
<img src="assets\img\product_pics\app\ac_socket\ac_socket_01.jpg" width="30%" height="30%"> <img src="assets\img\product_pics\app\ac_socket\ac_socket_02.jpg" width="30%" height="30%"> <img src="assets\img\product_pics\app\ac_socket\ac_socket_03.jpg" width="30%" height="30%">
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/products/m5-ac-socket)**
## Description
This is an upgrade of a normal AC socket outlet, which empowers the user to customize the AC outlet through RS485 series. Serial communication control can include multiple AC sockets, have them serial connected in the same RS485 main bus, can be applied to a typical industrial application scenario.
Let's break it down a little bit, start with the bottom part.
- The whole AC socket is consist of two parts. For people who are familiar with M5 industrial product series, would recognize the base at the bottom is BASE26. we put a 3pin inlet socket at one customizable side of BASE26. This is where we power the AC socket from.
<br>
<img src="assets\img\product_pics\app\ac_socket\p01.jpg" width="30%" height="30%">
- The top is where goes in the AC plug, and the relay control inside would switch on and off the power in here.
<img src="assets\img\product_pics\app\ac_socket\p02.jpg" width="30%" height="30%">
- To get more AC socket connected in series, we would use an HT3.96 terminal connectors, as you can see the orange socket in the picture.
<br>
<img src="assets\img\product_pics\app\ac_socket\p03.jpg" width="30%" height="30%">
- The bottom part is mainly in charge of converting the AC power 220V to DC 5V to power the microprocessor STM32F030F4 and RS485 related circult. As you can see from the picture, two parts wire connected by M-Bus socket and a pair of power wire. A red led indication is placed on top.
<img src="assets\img\product_pics\app\ac_socket\p04.jpg" width="30%" height="30%">
## Product Features
- RS485 OUTLET
- support Mutiple device Series connection
- STM32F030F4
- Embedded 4x M3 Nut
- Build with BASE26
- INPUT : 100-240V
- OUTPUT: 10A
- Power Status indicator
## Weight and Size
- Product size:54mm x 54mm x 61mm
- Product weight:130g
## Include
- 1x AC Socket
## Application
- Smart AC Socket Outlet With wire control of RS485
+122
View File
@@ -0,0 +1,122 @@
# Application Demo Board {docsify-ignore-all}
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/app/app_DemoBoard_01.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/Demo-Board/Demo-Board_02.jpg" width="250" height="250">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;:electric_plug:**[Schematic](#Schematic)**&nbsp;&nbsp;&nbsp;&nbsp;:bulb:**[Quick Start](#Quick-Start)**&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[Example](#Example)**&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-application/products/iot-learning-kit)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
## Description
**Demo Board**. This is a feast of IoT stuff, powered by M5Stack. It is an all-in-one Learning board powered by ESP32, which includes anything you can imagine in an IoT + industrial application scenarios. Let's see what you can do with it: Robotic movement, the most commonly used serial communication port(RS485 RS232), Relay control, all different types of Button control, RF reader, speaker, Microphone and more all able to develope by an M5stack core device, so you can program this board with Blockly(UIFlow), Arduino, and Micropython. Based on application scenarios, we've partitioned them into different functional parts with the good-looking layout and full-function performance. Here comes the most powerful IIoT learning board.
## Product Feature
- Fully Compatible with the M5Stack stackable and extendable system
- Protoboard, M5-BUS extension
- Each module comes with an individual power switch.
- Environment Sensor set ( Temperature, Humility, barometric pressure, light intensity, and Microphone )
- Joystick Controller
- 8 Channel of Realy output
- 4x DAC4x ADC
- 4x4 button matrix
- 8x8 RGB LED matrix
- Encoder
- 1x Servo
- DC-Motor(with feedback encoder)
- step motor with four-phase five-wire
- Radio frequency identification Reader
- RS-458RS232 series communication
<img src="assets/img/product_pics/app/Demo-Board/Demo-Board_03.jpg" width="250" height="250">
## Include
- 1x **Demo Board** learning board
- 1x Power Aapter
- 1x RS232 cable
- 1x RFID Card
- 1x ID Card
- 16x breadboard cable
<img src="assets/img/product_pics/app/Demo-Board/Demo-Board_04.jpg" width="250" height="250">
<h1 id="quick-start"><a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/Demo-Board_en.pdf" data-id="quick-start" ><span>Quick-Start</span></a></h1>
## Specification
| **Module Name** | **working Voltage** |**Patameter** |
| :------: | :------: | :------: |
| ADC | 5V | 4x ADC port/ADS1115 |
| DAC | 5V | 4x DAC port/DAC6574 |
| Joystick | 3.3V | axis-X/Y potentiometer input, axis-Z button input |
| DHT12 | 3.3V | I2C address 0x5C |
| BMP280 | 3.3V | I2C address 0x76 |
| Light | 3.3V | A/D sampling supported, adjustable threshold |
| Microphone| 3.3V | A/D sampling supported, adjustable threshold |
| Relay | 5V | 8 channels /3A-220V-AC/3A-30V-DC |
| Neopixel| 5V | 8x8 LED matrix |
| Servo | 5V | 10KG torsion |
| DC-Motor | 5V | feedback encoder/LV8548MC|
| Stepmotor | 5V | 4-phase 5 wires LV8548MC|
| RFID | 3.3V | Read & Write distance: < 8 cm/ MFRC522 |
| RS485 | 5V | SP485EEN-L/TR |
| RS232| 5V | MAX232ESE |
| Encode | | Encoder button|
| Proto | | 170x holes |
| Keyboard| | 4x4 button matrix |
## Learn
**Datasheet**
- [ADS1115](http://www.ti.com/lit/ds/symlink/ads1115.pdf)
- [DAC6574](http://www.ti.com/cn/lit/ds/symlink/dac6574.pdf)
- [LV8548MC](https://www.onsemi.cn/PowerSolutions/document/ANDLV8548MC-D.PDF)
- [TPS54360](http://www.ti.com/lit/ds/symlink/tps54360.pdf)
- [RC522](https://www.nxp.com/docs/en/data-sheet/MFRC522.pdf)
- [MAX232ESE](https://pdf1.alldatasheet.com/datasheet-pdf/view/73114/MAXIM/MAX232ESE.html)
- [MAX4466](http://pdf-file.ic37.com/pdf1/MAXIM/MAX4466_datasheet_430883/702566/MAX4466_datasheet.pdf)
- [SP485EEN-L/TR](http://pdf-file.ic37.com/pdf4/EXAR/SP485_datasheet_891519/145610/SP485_datasheet.pdf)
- [BMP280](https://www.mouser.cn/pdfDocs/BST-BMP280-DS001.pdf)
## Schematic
- [M5IoT-kit](https://github.com/m5stack/M5-Schematic/tree/master/Applications/M5IoT-kit)
## Example
#### Arduino IDE
- [**Joystick**](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/App/M5IoT-kit/joystick)
- [**DHT12+BMP280**](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ENV)
- [**Light**](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/Light)
- [**Relay**](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/Relay)
- [**Microphone**](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/App/M5IoT-kit/Microphone)
- [**RGBled**](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/NEOPIXEL/Arduino)
- [**Servo**](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/App/M5IoT-kit/servo)
- [**DC-Motor**](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/App/M5IoT-kit/DC-Motor)
- [**RFID**](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/RFID)
+127
View File
@@ -0,0 +1,127 @@
# M5SCALE DIY Kit {docsify-ignore-all}
<img src="assets\img\product_pics\app\m5scale_diy_kit\m5scale_diy_kit_01.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/products/m5scale-diy-kit)**
## Description
**M5SCALE DIY Kit** is a DIY kit of M5 that implements a digital scale, which makes it more of an Application-approach development kit.
The overall structure is made of acrylic material. The electronic part is the main controller, M5StickC and a WEIGH unit.
A cantilever beam-sensor is used to detecting the bend over forced on top of the scale by object weight.
it will transfer the deformation into a voltage signal and as an input of WEIGH sensor which will be captured and read by M5stickC.
Other than that, there also some small components that is included in the kit, you have the total freedom to assembly the whole thing and reprogram it as you like.
The software is open-sourced on GitHub, you can program it either with UIflow or Arduino.
The lego holes on bottom board allow you to place more M5 sensors for extension functions, Plus M5StickC is wifi available, you have the freedom to build something impressive.
<img src="assets\img\product_pics\app\m5scale_diy_kit\m5scale_diy_kit_02.jpg" width="30%" height="30%">
## Product Feature
- Dimension :
- Finish Assembly100mm * 100mm * 43mm
- Cantilever beam-sensor80mm * 12.7mm * 12.7mm
- DIY Digital Scale
- M5StickC + Weight
- Measurement Range: 10KG (in default code)
- Open source code
- Lego Holes
- Acrylic material
- Load cell technical parameters:
     - Range: 20kg
- Output sensitivity: 1.0±0.1mV/V
- Lead wire: power line (red), signal positive (white), signal negative (green), ground wire (black)
## Package Includes
- 1x M5SCALE DIY Kit
- 1x User Manual
<img src="assets\img\product_pics\app\m5scale_diy_kit\m5scale_diy_kit_03.jpg" width="30%" height="30%">
## Application
- High precision electronic scale
- Small range weighing machine
## Links
- **[M5StickC Product Page](en/core/m5stickc)**
- **[Weight Unit Product Page](en/unit/weight)**
## EasyLoader
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.png" width="100px" style="margin-top:20px">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Application/M5SCALE_DIY_KIT/EasyLoader_APP_M5Scale_diy_kit.exe"><button type="button" class="btn btn-primary">click to download EasyLoader</button></a>
>1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
>2. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click **"Burn"** to start burning. (**For M5StickC burning, please Set the baud rate to 750000 or 115200**)
?>3. Currently EasyLoader is only suitable for Windows operating system, compatible with M5 system adopts ESP32 as the control core host. Before installing for M5Core, you need to install CP210X driver (you do not need to install with M5StickC as controller)[Click here to view the driver installation tutorial](en/related_documents/M5Burner#install-usb-driver)
## Code
### 1. Arduino IDE
*To get complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/App/M5SCALE_DIY_kit/Arduino/M5SCALE_DIY_kit).*
```arduino
#include"HX711.h"
#include<M5StickC.h>
int Weight = 0;
void setup() {
M5.begin();
M5.Lcd.setRotation(1);
M5.Lcd.setTextColor(TFT_GREEN, TFT_BLACK);
M5.Lcd.setTextDatum(MC_DATUM);
M5.Lcd.drawString("SCALE", 80, 0, 4);
Init_Hx711();
Get_Gross(); //clear the weight
M5.Lcd.setTextColor(TFT_RED, TFT_BLACK);
Serial.begin(115200);
}
void loop() {
M5.update();
// if (M5.BtnA.wasReleased()) {
// Get_Maopi();
// }
Weight = Get_Weight();
M5.Lcd.setCursor(40,30,4);
M5.Lcd.fillRect(0, 30, 160, 30, TFT_BLACK);
M5.Lcd.printf("%d g", Weight);
M5.Lcd.fillRect(0, 70, 160, 10, TFT_BLACK);
M5.Lcd.fillRect(0, 70, Weight*0.016, 10, TFT_YELLOW);
delay(100);
}
```
## Video
**Demo**
<video width="500" height="500" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/App/M5SCALE_DIY_Kit/M5SCALE_DIY_Kit.mp4" type="video/mp4" >
</video>
+50
View File
@@ -0,0 +1,50 @@
# Base Base15 {docsify-ignore-all}
<img src="assets/img/product_pics/base/base15/base15_01.jpg" width="30%" height="30%"><img src="assets/img/product_pics/base/base15/base15_02.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:electric_plug:**[Schematic](#Schematic)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-base/products/base15-proto-industrial-board-module)**
## Description
**Base15** is a highly customizable bottom for industrial purpose. Similar to PLC Base but higher customized level.
Package includes protoboard which allows you to add up your own circuit design. On the board, two Grove bonding pads are reserved. Another component comes with the package is an M type waterproof joint which can be assembled on the side and the bottom of the Base.
'15' comes from the hight of the bottom which is 15 cm. and each side on the Base is movable, cuttable and can be customized into different Interface. With regards to the bottom side customization, we have offered plenty of structural components alternative and it is totally opensource. You can 3D print the parts and replace the side as you like.<br>
<img src="assets/img/product_pics/base/base15/base15_05.jpg" width="30%" height="30%">
At the bottom side of the product, we have offered 2 different fitting ways: Din-Rail, Hunger. <br>
<img src="assets/img/product_pics/base/base15/base15_03.jpg" width="30%" height="30%"><img src="assets/img/product_pics/base/base15/base15_04.jpg" width="30%" height="30%">
Of course, it is absolutely compatible with the stackable M5module and extendable M5Units.
This base gives you an unlimited of combinations, it is powerful, flexible, and covered with an industrial-grade case. If you happen to work in an industrial field, We especially recommend this Base to you which will surely give you the best and the fastest way to resolve your requirement..
## Feature
- Highly Customizable
- Alternative parts
- M-BUS extension
- 2 Fitting ways
## Include
- 1x PLC-Proto Broad
- 1x Base15 Plastic Enclosure
- 1x Slide Guide
- 1x Din-Rail
- 2x Grove Port
- 1x M12*1.5
- 2x hexagonal wrench
- 10x Screw (3 types: M3x22, M3x12, M3x8,M2x5)
- 2x M3 Nut
- 1x 2.45mm pin set
- 1x Sticker
## structural-design-file
?>[lick here for open source architecture design files](https://github.com/m5stack/m5-structural-design-file/tree/master/BaseX_DB9_01)
## Schematic
- **[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Bases/BASE15.pdf)**
+53
View File
@@ -0,0 +1,53 @@
# Base Base26 {docsify-ignore-all}
<img src="assets/img/product_pics/base/base26/base26_01.jpg" width="30%" height="30%"><img src="assets/img/product_pics/base/base26/base26_02.jpg" width="30%" height="30%">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:electric_plug:**[Schematic](#Schematic)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-base/products/base-26proto-industrial-board-module)**
## Description
**Base15** Base26 is a highly customizable bottom for industrial purpose. Similar to PLC Base but higher customized level. <br>
Package includes protoboard which allows you to add up your own circuit design. On the board, two Grove bonding pads are reserved. Other components come with the package is an M type waterproof joint and a TTL-to_RS485 converter board. The M type waterproof joint (M12*15)can be assembled on the side and the bottom of the Base.
'26' comes from the hight of the bottom which is 26 cm. and each side on the Base is movable, cuttable and can be customized into different Interface. With regards to the customization of the side, we have offered plenty of structural components alternative and it is totally opensource. You can 3D print the parts and replace the side as you like.<br>
<img src="assets/img/product_pics/base/base26/base26_05.jpg" width="30%" height="30%">
At the bottom side of the product, we have offered 2 different fitting ways: Din-Rail, Hunger. <br>
<img src="assets/img/product_pics/base/base26//base26_03.jpg" width="30%" height="30%"><img src="assets/img/product_pics/base/base26/base26_04.jpg" width="30%" height="30%">
Of course, it is absolutely compatible with the stackable M5module and extendable M5Units.
This base gives you an unlimited of combinations, it is powerful, flexible, and covered with an industrial-grade case. If you happen to work in an industrial field, We especially recommend this Base to you which will surely give you the best and the fastest way to resolve your requirement..
## Feature
- Highly Customizable
- Alternative parts
- M-BUS extension
- 2 Fitting ways
## Include
- 1x PLC-Proto Broad
- 1x Base15 Plastic Enclosure
- 1x TTL-to-RS485 board
- 1x Slide Guide
- 1x Din-Rail
- 2x Grove Port
- 1x M12*1.5
- 1x 4 Pin 3.96 Pitch Terminal
- 1x hexagonal wrench
- 10x Screw (3 types: M3*22, M3*12, M2*5)
- 2x M3 Nut
- 1x 2.45mm pin set
- 1x Sticker
## structural-design-file
?>[lick here for open source architecture design files](https://github.com/m5stack/m5-structural-design-file/tree/master/BaseX_DB9_01)
## Schematic
- **[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Bases/BASE26.pdf)**
+76
View File
@@ -0,0 +1,76 @@
# PM2.5 {docsify-ignore-all}
<img src="assets/img/product_pics/base/PM2.5/PM2.5-1.jpg" width="250" height="250"> <img src="assets/img/product_pics/base/PM2.5/PM2.5-2.jpg" width="250" height="250"><img src="assets/img/product_pics/base/PM2.5/PM2.5-3.jpg" width="250" height="250">
***
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:electric_plug:**[Schematic](#Schematic)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:octocat:**[Example](#Example)**&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://m5stack.com/collections/m5-base/products/pm-2-5-sensor-usb-power-sht20)**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
## Description
**PM2.5** is a pollution sensor base with affordable price and high performance. Integrated with PMSA003 and SHT20, makes it possible to measure the ambient quality of air, temperature, and humility all at one device.
Much discussion and research have taken place within academic and government environmental organizations as to how accurate such sensors are and whether they have a place in the enforcing of environmental regulation, or even providing an indication of air quality trends to citizens.
With M5Stack product series, the system makes it much easier to deploy the measurement node all around the city and make it possible to build a complete ecosystem from regulation enforcement to citizen indication.
With regards to PMSA003, it is a digital universal particulate concentration sensor designed by using the principle of laser scattering method. It is capable of continuous acquisition and computing the number of suspended particles in per unit volume which is also the particulate concentration distribution. Then turn it into mass concentration and output through digital GPIO.
- Precise measurement implemented by laser scattering method.
- Digital output, standard UART comunication
- 0 error alarm rate
- real-time response
- continuous acquisition
- Minimum particle size resolution: 0.3 µm
- Pattern structure design, 6-sides full dimension cover, high antijamming capability
- Alternative in-outlet direction, wide application scale. users no need to redesign the air flue.
- Tiny body, 12 mm. good for portable and wearable device
SHT20 is a Humidity and temperature sensor IC.
- Fully calibrated
- Digital output, I2C interface
- Low power consumption
- The excellent long term stability
<img src="assets/img/product_pics/base/PM2.5/PM2.5-4.jpg" width="250" height="250"> <img src="assets/img/product_pics/base/PM2.5/PM2.5-5.jpg" width="250" height="250">
## Product Feature
- DC 5V
- Compatible with M5stack stackable and extension system.
- M5Core pedestal (Pin out SPI/I2C/Power)
- Proto board
- USB Typy-c port
## Package Includes
- 1x PM2.5 base
- 1x M5Stack Basic
- 1x M5Core pedestal
- 1x Type-c cable
- 2x M3 screw
## Learn
### Datasheet
- [SHT20](https://www.mouser.com/ds/2/682/Sensirion_Humidity_Sensors_SHT20_Datasheet-1274196.pdf)
- [PMSA003](https://datasheet.lcsc.com/szlcsc/Beijing-Plantower-PMSA003-C_C89095.pdf)
### Example
- [Arduino](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/PM2.5)
### Related Link
- **[Forum](http://forum.m5stack.com/)**
## Schematic
- [PM2.5](https://github.com/m5stack/M5-Schematic/blob/master/Units/UNIT_PM25.pdf)

Some files were not shown because too many files have changed in this diff Show More