更新LAN
|
After Width: | Height: | Size: 358 KiB |
|
After Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 298 KiB |
|
After Width: | Height: | Size: 416 KiB |
|
After Width: | Height: | Size: 240 KiB |
|
After Width: | Height: | Size: 453 KiB |
|
After Width: | Height: | Size: 230 KiB |
@@ -1,16 +1,36 @@
|
||||
# LAN Base {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_01.png" width="30%" height="30%"> <img src="assets/img/product_pics/base/lan_02.png" width="30%" height="30%"> <img src="assets/img/product_pics/base/lan_03.png" width="30%" height="30%">
|
||||
<img src="assets/img/product_pics/base/lan_01.png" width="300" height="300">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** :octocat:**[Example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/LAN/Arduino)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Arrival-LAN-Module-with-W5500-Chip-LanProto-Ethernet-convert-Network-Module-Microcontroller-for-Arduino/3226069_32904089417.html)**:clapper:**[Related Video](#Related-Video)**
|
||||
:memo:**[Description](#Description)** :octocat:**[Example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/LAN/Arduino)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Arrival-LAN-Module-with-W5500-Chip-LanProto-Ethernet-convert-Network-Module-Microcontroller-for-Arduino/3226069_32904089417.html)** :clapper:**[Related Video](#Related-Video)**
|
||||
|
||||
## Description
|
||||
|
||||
**<mark>LAN Base</mark>** is base built in W5500 chip which designed for meeting the demand of wired network. If your project only can access network through network cable, LAN Base is fit.
|
||||
**<mark>LAN Base</mark>** is base with integrated Ethernet chip W5500 and network interface. It meets the needs of M5Core access to wired networks.
|
||||
|
||||
In addition, if you want to communicate with LAN through RS485, we also supply a adapter for converting TLL to RS485.
|
||||
Because M5Core integrates wireless WIFI and can receive wireless hotspots, but there is no network interface, if you need to let M5Core access the wired network to work, then the LAN base is just right.
|
||||
|
||||
The LAN base is also equipped with metal rails and magnet discs for easy installation of the LAN to the wall or iron frame.
|
||||
|
||||
The orange HT3.96 terminal on the LAN base, this interface is not yet electrically connected, and each of its pins can be connected to any pin on the M-Bus bus.
|
||||
|
||||
**The figure below shows the inside of the LAN**
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_03.png" width="350" height="350"><img src="assets/img/product_pics/base/lan_07.png" width="350" height="350">
|
||||
|
||||
If you need to implement RS485 communication, then use the matching pin header and TLL-to-RS485 function board to solder to the LAN base, you can realize RS485 interface, so you can communicate with RS485 device through the above HT3.96 terminal.
|
||||
|
||||
**TTL-to-RS485 adapter board and LAN base**
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_04.png" width="100%" height="100%">
|
||||
|
||||
**The figure below shows how the TTL-to-RS485 adapter board can be combined with the LAN backplane**
|
||||
|
||||
*The RS485 small board is soldered to the LAN backplane. The serial port pins on the small board will be connected to the GPIO16 and GPIO17 of the LAN backplane.*
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_05.png" width="50%" height="50%">
|
||||
|
||||
## PinMap
|
||||
|
||||
@@ -25,8 +45,6 @@ In addition, if you want to communicate with LAN through RS485, we also supply a
|
||||
| RST | GPIO13 |
|
||||
| INTn | GPIO34 |
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_04.png" width="100%" height="100%">
|
||||
|
||||
**M-Bus**
|
||||
|
||||
<img src="assets/img/product_pics/core/M-BUS.png" width="500" height="385">
|
||||
@@ -35,14 +53,38 @@ In addition, if you want to communicate with LAN through RS485, we also supply a
|
||||
|
||||
- Input Supply Voltage: 9-24V
|
||||
- HT3.96 port for supporting RS485
|
||||
- Support RS485 communication, control RS485 device
|
||||
- Easy to fixed on the wall
|
||||
|
||||
## Include
|
||||
|
||||
- 1x LAN Module
|
||||
- Wall holder
|
||||
- 4x screws
|
||||
- 4x Type-C USB Cable
|
||||
- 1x LAN Module
|
||||
- 1x TTL-to-RS485 adapter board
|
||||
- 1x pin header 20pin
|
||||
- 1x metal rails and magnet discs
|
||||
- 3x HT3.96 terminal
|
||||
- 2x 3pin
|
||||
- 1x 4pin
|
||||
- 10x cold crimp terminal
|
||||
- 3x Allen wrench
|
||||
- 1x 1.5mm
|
||||
- 1x 2mm
|
||||
- 1x 2.5mm
|
||||
- 2x hexagon socket head cap screws M3x28
|
||||
- 4x hexagon socket tapping screw KA2x4
|
||||
- 1x countersunk head screw M3x8
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_06.png" width="50%" height="50%">
|
||||
|
||||
## Application
|
||||
|
||||
- M5Core + LAN implementing a conveyor controller
|
||||
|
||||
<img src="assets/img/product_pics/base/base_example/example_base_lan_01.png" width="70%" height="70%">
|
||||
|
||||
- PC transmits video to Core via cable
|
||||
|
||||
<img src="assets/img/product_pics/base/base_example/example_base_lan_02.png" width="70%" height="70%">
|
||||
|
||||
## Related Link
|
||||
|
||||
@@ -50,6 +92,8 @@ In addition, if you want to communicate with LAN through RS485, we also supply a
|
||||
|
||||
- **[Forum](http://forum.m5stack.com/)**
|
||||
|
||||
- **Datasheet** - [W5500](https://cdn.sparkfun.com/datasheets/Dev/Arduino/Shields/W5500_datasheet_v1.0.2_1.pdf)
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_sch.JPG">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
* * *
|
||||
|
||||
:memo:**[Description](#Description)** :bulb:**[Quick Start](en/quick_start/m5stickc/m5stickc_quick_start_with_arduino_Windows)** :octocat:**[Example](#Example)** 🛒**[Purchase](https://www.aliexpress.com/item/New-Arrival-2019-M5StickC-1-of-Limited-Trial-Edition-ESP32-PICO-Mini-IoT-Development-Board-Finger/32985247364.html)** :clapper:**[Related Video](#Related-Video)**
|
||||
:memo:**[Description](#Description)** :bulb:**[Quick Start](en/quick_start/m5stickc/m5stickc_quick_start)** :octocat:**[Example](#Example)** 🛒**[Purchase](https://www.aliexpress.com/item/New-Arrival-2019-M5StickC-1-of-Limited-Trial-Edition-ESP32-PICO-Mini-IoT-Development-Board-Finger/32985247364.html)** :clapper:**[Related Video](#Related-Video)**
|
||||
|
||||
## Description
|
||||
|
||||
@@ -93,30 +93,24 @@
|
||||
|
||||
* **Arduino**
|
||||
|
||||
- [M5Stick Factory Test](https://github.com/m5stack/M5StickC/tree/master/examples/Basics/FactoryTest)
|
||||
- [M5StickC Factory Test](https://github.com/m5stack/M5StickC/tree/master/examples/Basics/FactoryTest)
|
||||
|
||||
- [M5StickC Slot machine](https://github.com/vcraftjp/M5StickC_Slot)
|
||||
|
||||
<video width="500" height="315" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201904/M5StickC%20Slot%20machine%20demo.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
## Related Video
|
||||
|
||||
- **M5StickC Case - counter**
|
||||
|
||||
<video width="500" controls>
|
||||
<video width="500" height="315" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201903/StickC%20Watch.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
<!-- - **M5StickC Case - 3D mouse**
|
||||
|
||||
<video width="500" height="315" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/StickC/3D_Mouse.mp4" type="video/mp4">
|
||||
</video> -->
|
||||
|
||||
- **M5StickC Case - Safe system**
|
||||
|
||||
<video width="500" height="315" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201904/Simple_Watch_Device.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
<!-- - **M5StickC Case - Drive buzzer**
|
||||
|
||||
<video width="500" height="315" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201904/Connect-passive-buzzer-to-M5StickC.mp4" type="video/mp4">
|
||||
</video> -->
|
||||
</video>
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
* * *
|
||||
|
||||
:memo:**[概要](#概要)** :bulb:**[クイックスタート](ja/quick_start/m5stickc/m5stickc_quick_start_with_arduino_Windows)** :octocat:**[サンプルコード](#サンプルコード)** 🛒**[購入リンク](https://www.aliexpress.com/item/New-Arrival-2019-M5StickC-1-of-Limited-Trial-Edition-ESP32-PICO-Mini-IoT-Development-Board-Finger/32985247364.html)** :clapper:**[関連動画](#関連動画)**
|
||||
:memo:**[概要](#概要)** :bulb:**[クイックスタート](ja/quick_start/m5stickc/m5stickc_quick_start)** :octocat:**[サンプルコード](#サンプルコード)** 🛒**[購入リンク](https://www.aliexpress.com/item/New-Arrival-2019-M5StickC-1-of-Limited-Trial-Edition-ESP32-PICO-Mini-IoT-Development-Board-Finger/32985247364.html)** :clapper:**[関連動画](#関連動画)**
|
||||
|
||||
## 概要
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
**電源操作:**
|
||||
|
||||
- 電源オン: 電源スイッチを2秒間押し続けます。
|
||||
- 電源オフ: 電源オンの状態で電源スイッチを6秒間押し続けます。
|
||||
- 電源オン: 電源スイッチを2秒間押し続けます。
|
||||
- 電源オフ: 電源オンの状態で電源スイッチを6秒間押し続けます。
|
||||
|
||||
**メモ:**
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
## サンプルコード
|
||||
|
||||
- **Arduino**
|
||||
- [M5Stick Factory Test](https://github.com/m5stack/M5StickC/tree/master/examples/Basics/FactoryTest)
|
||||
- [M5StickC Factory Test](https://github.com/m5stack/M5StickC/tree/master/examples/Basics/FactoryTest)
|
||||
|
||||
## 関連動画
|
||||
|
||||
|
||||
@@ -1,20 +1,36 @@
|
||||
# LAN底座 {docsify-ignore-all}
|
||||
# LAN 底座 {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_01.png" width="30%" height="30%"> <img src="assets/img/product_pics/base/lan_02.png" width="30%" height="30%"> <img src="assets/img/product_pics/base/lan_03.png" width="30%" height="30%">
|
||||
<img src="assets/img/product_pics/base/lan_01.png" width="300" height="300">
|
||||
|
||||
***
|
||||
<!--
|
||||
:memo:**[描述](#描述)** :octocat:**[例程](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/LAN/Arduino)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.10.6c24425eKdAPr3&id=574863427657)** -->
|
||||
|
||||
:memo:**[描述](#描述)** :octocat:**[例程](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/LAN/Arduino)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.10.6c24425eKdAPr3&id=574863427657)**:clapper:**[相关视频](#相关视频)**
|
||||
:memo:**[描述](#描述)** :octocat:**[例程](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/LAN/Arduino)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.10.6c24425eKdAPr3&id=574863427657)** :clapper:**[相关视频](#相关视频)**
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>LAN 底座</mark>**是集成了以太网芯片 W5500 的底座,目的是提供给有让 M5Core 接入有线网络需求的用户。因为 M5Core 集成了无线 WIFI,能接收无线热点的网络,可是没有网络接口,如果你需要让 M5Core 接入有线网络来工作的话,这个 LAN 底座正好合适,而且 LAN 底座还配备了磁铁和滑动杆,方便你装置 LAN 和 M5Core 到壁面上。
|
||||
**<mark>LAN 底座</mark>**是集成了以太网芯片 W5500 和网络接口的底座,满足 M5Core 接入有线网络的需求。
|
||||
|
||||
另外 LAN 底座还有橙色 HT3.96 端子,这个接口还没有电气连接,它连接不同Pin脚的时候,可以实现对应的 Pin 拓展。如果你需要这个接口变成RS485的拓展接口的话,那么使用配套的排针和TLL转 RS485 功能小板子焊接到 LAN 底座上面,即可实现RS485接口,从而可以通过这个HT3.96端子,通过 RS485 协议控制 M5Core 的整个功能。
|
||||
因为 M5Core 集成了无线 WIFI,能接收无线热点的网络,可是没有网络接口,如果您需要让 M5Core 接入有线网络来工作的话,那么 LAN 底座正好合适。
|
||||
|
||||
如果 TLL 转 RS485 的功能小板子与 LAN 底板结合的话,小板子上的串口引脚将与 LAN 底板的 GPIO1、 GPIO3(UART0) 连接。
|
||||
LAN 底座还配备了金属滑轨和磁铁圆片,方便您装置 LAN 到壁面或铁架上。
|
||||
|
||||
LAN 底座上橙色 HT3.96 端子,这个接口还没有电气连接,它的每个引脚可以连接到 M-Bus 总线上的任意引脚上。
|
||||
|
||||
**下图所示为 LAN 的内部**
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_03.png" width="350" height="350"><img src="assets/img/product_pics/base/lan_07.png" width="350" height="350">
|
||||
|
||||
如果您需要实现 RS485 通信的话,那么使用配套的排针和 TLL 转 RS485 功能小板子焊接到 LAN 底座上面,即可实现RS485接口,从而可以通过上述的 HT3.96 端子与 RS485 设备通信。
|
||||
|
||||
**TTL-to-RS485 转接板子 与 LAN 底座**
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_04.png" width="100%" height="100%">
|
||||
|
||||
**下图所示为 TTL-to-RS485 转接板子如何与 LAN 的底板结合**
|
||||
|
||||
*RS485 小板子与 LAN 底板焊接在一起,小板子上的串口引脚将与 LAN 底板的 GPIO16、 GPIO17 连接*
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_05.png" width="50%" height="50%">
|
||||
|
||||
## 管脚映射
|
||||
|
||||
@@ -29,7 +45,6 @@
|
||||
| RST | GPIO13 |
|
||||
| INTn | GPIO34 |
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_04.png" width="100%" height="100%">
|
||||
|
||||
**M-Bus**
|
||||
|
||||
@@ -39,8 +54,39 @@
|
||||
|
||||
- 外接电源范围:9 ~ 24V
|
||||
- 3.96 规格端子,可以自定义引脚
|
||||
- 支持 RS485 通信,控制 RS485 设备
|
||||
- 易于固件到墙上,方便装配
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x LAN 底座
|
||||
- 1x TTL-to-RS485 转接板
|
||||
- 1x 排针 20pin
|
||||
- 1x 金属滑轨和磁铁圆片
|
||||
- 3x HT3.96 端子
|
||||
- 2x 3pin
|
||||
- 1x 4pin
|
||||
- 10x 冷压端子
|
||||
- 3x 内六角扳手
|
||||
- 1x 1.5mm
|
||||
- 1x 2mm
|
||||
- 1x 2.5mm
|
||||
- 2x 内六角螺丝 M3x28
|
||||
- 4x 内六角自攻螺丝 KA2x4
|
||||
- 1x 埋头螺丝 M3x8
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_06.png" width="50%" height="50%">
|
||||
|
||||
## 应用
|
||||
|
||||
- M5Core + LAN 实现传输带控制器
|
||||
|
||||
<img src="assets/img/product_pics/base/base_example/example_base_lan_01.png" width="70%" height="70%">
|
||||
|
||||
- PC 通过有线传输视频到 Core
|
||||
|
||||
<img src="assets/img/product_pics/base/base_example/example_base_lan_02.png" width="70%" height="70%">
|
||||
|
||||
|
||||
## 相关链接
|
||||
|
||||
@@ -48,6 +94,8 @@
|
||||
|
||||
- **[官方论坛](http://forum.m5stack.com/)**
|
||||
|
||||
- **数据手册** - [W5500](https://cdn.sparkfun.com/datasheets/Dev/Arduino/Shields/W5500_datasheet_v1.0.2_1.pdf)
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_sch.JPG">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
* * *
|
||||
|
||||
:memo:**[描述](#描述)** :bulb:**[上手指南](zh_CN/quick_start/m5stickc/m5stickc_quick_start_with_arduino_Windows)** :octocat:**[例程](#例程)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.12.7807425e3JNPRr&id=588710395351)** :clapper:**[相关视频](#相关视频)**
|
||||
:memo:**[描述](#描述)** :bulb:**[上手指南](zh_CN/quick_start/m5stickc/m5stickc_quick_start)** :octocat:**[例程](#例程)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.12.7807425e3JNPRr&id=588710395351)** :clapper:**[相关视频](#相关视频)**
|
||||
|
||||
## 描述
|
||||
|
||||
@@ -95,6 +95,12 @@
|
||||
|
||||
- [M5StickC 出厂测试例程](https://github.com/m5stack/M5StickC/tree/master/examples/Basics/FactoryTest)
|
||||
|
||||
- [M5StickC 自动贩卖机](https://github.com/vcraftjp/M5StickC_Slot)
|
||||
|
||||
<video width="500" height="315" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201904/M5StickC%20Slot%20machine%20demo.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
## 相关视频
|
||||
|
||||
- **M5StickC 的案例 - 计数器**
|
||||
|
||||