add W5500

This commit is contained in:
vany5921
2020-07-02 20:32:23 +08:00
parent ceb87afa06
commit ab9d33cd83
6 changed files with 428 additions and 12 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

+205
View File
@@ -0,0 +1,205 @@
# W5500 PoE
<div class="badge badge-pill badge-primary product_sku_tag">SKU:K012</div>
<div class="product_pic"><img src="assets/img/product_pics/base/lan_01.webp"></div>
## Description
**W5500 PoE** is an M5 Base that implements a W5500 Ethernet controller chip with PoE module, which provides Hardwired TCP/IP embedded Ethernet control to facilitate easier internet connection to embedded systems. W5500 integrates TCP/IP protocol stack, 10/100M Ethernet data link layer (MAC) and physical layer (PHY).This base supports RS485 / RS232 communication and can be used as an Ethernet to serial port server. It is specifically designed for industrial applications. PoE (Power over Ethernet) technology is supported. Through the built-in PoE module, power can be directly supplied to the base through PoE hub / switch without a separate power supply. It comes with a couple of HT3.96 connectors, metal rail and magnet discs for easy installation. The 6 pins of the HT3.96 connector are spare, you can wire them up with an RS485 or RS232 adapter board as you like.
**The figure below shows the internals of the LAN base**
<img src="assets/img/product_pics/base/lan_03.webp" width="350" height="350"><img src="assets/img/product_pics/base/lan_07.webp" width="350" height="350">
If you need to add an RS485 interface, make sure to solder the RS485 board onto the main board pin correspondingly.
**The figure below shows the inner of LAN**
<img src="assets/img/product_pics/base/lan_03.webp" width="350" height="350"><img src="assets/img/product_pics/base/lan_07.webp" width="350" height="350">
If you need to add RS485/RS232 interface, soldering the RS485 board onto the mian board pin correspondingly.
**TTL-to-RS485 adapter board and LAN base**
<img src="assets/img/product_pics/base/lan_04.webp" width="60%">
**The figure below tells you how the TTL-to-RS485 adapter board connected onto LAN backplane**
The serial port pins on the RS485 board will be connected to the GPIO5 and GPIO15 of the LAN backplane.
<img src="assets/img/product_pics/base/lan_05.webp" width="50%" height="50%">
**M-Bus**
<img src="assets/img/product_pics/core/M-BUS.webp" width="500" height="385">
### Product Features
- Support PoE IEEE802.3 AF/AT
- DC input supply voltage: 9-24V
- Ethernet access
- HT3.96 port for supporting RS485/RS232 communication
- 8 independent hardware socket simultaneous communication
- Support TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE protocols
- Support integrated 10BaseT / 100Base-T Ethernet PHY
- Easy to fixed on the wall
## Applications
- Ethernet controller
- Ethernet and RS485/RS232 data forwarding
- Ethernet network node
## Include
- 1x W5500PoE Base
- 1x TTL-to-RS485 adapter board
- 1x TTL-to-RS232 adapter board
- 1x pin header 20pin
- 1x metal rails and magnet discs
- 3x HT3.96 terminal
- 2x 3pin
- 1x 4pin
- 10x cold crimp terminalred Copper Lugs
- 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.webp" width="50%" height="50%">
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>Ethernet chip</td>
<td>W5500</td>
</tr>
<tr>
<td>RS485 chip</td>
<td>SP3485EE</td>
</tr>
<tr>
<td>RS232 chip</td>
<td>MAX232</td>
</tr>
<tr>
<td>PoE power supply mode</td>
<td>Idle network cable pin power supply(10M/100M Ethernet)J4&J5(VC-),J7&J8(VC+)</td>
</tr>
<tr>
<td>PoE specification</td>
<td>IEEE802.3 AF/AT</td>
</tr>
<tr>
<td>DC input voltage</td>
<td>9V~24V</td>
</tr>
<tr>
<td>Net weight</td>
<td>32g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>132g</td>
</tr>
<tr>
<td>Product size</td>
<td>54*54*28mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>105*65*4mm</td>
</tr>
</table>
## EasyLoader
>EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)
<div class="easyloader-box">
<div style="background-color:white;">
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
<div class="easyloader-btn">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/BASE/EasyLoader_PoE_BASE.exe">Windows</a>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/ATOM_BASE/EasyLoader_QRCODE_ATOM_BASE.dmg">MacOS</a>
</div>
</div>
<div>
<video id="example_video" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/AtomBase/Atomic_QR.mp4" type="video/mp4">
</video>
<div class="easyloader-mask">
<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>Send messages or commands via Ethernet to control M5Stack 6060 PUSH or display messages on the screen</p>
</div>
</div>
</div>
### PinMap
<table class="table-1">
<thead>
<th>M5Stack</th>
<th>GPIO13</th>
<th>GPIO18</th>
<th>GPIO19</th>
<th>GPIO23</th>
<th>GPIO26</th>
<th>GPIO34</th>
<th>GPIO5</th>
<th>GPIO15</th>
</thead>
<tbody>
<tr>
<td>W5500 PoE</td>
<td>RST</td>
<td>CLK</td>
<td>MISO</td>
<td>MOSI</td>
<td>CS</td>
<td>INT</td>
<th>RX/A</th>
<th>TX/B</th>
</tr>
</tbody>
</table>
## Related Link
- **Datasheet**
- [W5500](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/base/W5500_datasheet_v1.0.2_1_en.pdf)
- [SP485EEN](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/SP485EEN_en.pdf)
- [MAX232](hhttps://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/AtomicRS232/MAX232.pdf)
## Schematic
<img src="docs/assets/img/product_pics/base/w5500PoE/w5500PoE.webp">
## Example
- Get example code [click here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/W5500_PoE)
<script>
var purchase_link = 'https://m5stack.com/collections/m5-base/products/lan-module';
anchor_search(purchase_link);
scrollFunc();
</script>
+5 -4
View File
@@ -72,7 +72,7 @@
</tr>
<tr>
<td>LCD screen</td>
<td>1.14 inch, 135*240 Colorful TFT LCD, ST7789</td>
<td>1.14 inch, 135*240 Colorful TFT LCD, ST7789v2</td>
</tr>
<tr>
<td>Button</td>
@@ -184,18 +184,19 @@ Power structure block diagram
**RED LED & IR Transmitter & BUTTON A & BUTTON B**
<table>
<tr><td>ESP32 </td><td>GPIO10</td><td>GPIO9</td><td>GPIO37</td><td>GPIO39</td></tr>
<tr><td>ESP32 </td><td>GPIO10</td><td>GPIO9</td><td>GPIO37</td><td>GPIO39</td><td>GPIO2</td></tr>
<tr><td>RED LED</td><td>LED Pin</td><td> </td><td> </td><td> </td></tr>
<tr><td>IR Transmitter</td><td> </td><td>Transmitter Pin</td><td> </td><td> </td></tr>
<tr><td>BUTTON A</td><td> </td><td> </td><td>Button Pin</td><td> </td></tr>
<tr><td>BUTTON B</td><td> </td><td> </td><td> </td><td>Button Pin</td></tr>
<tr><td>Buzzer</td><td> </td><td> </td><td> </td><td></td><td>Buzzer Pin</td></tr>
</table>
**TFT LCD**
Driver ICST7735S
Driver ICST7789v2
Resolution80 * 160
Resolution135 * 240
<table>
<tr><td>ESP32 </td><td>GPIO15</td><td>GPIO13</td><td>GPIO23</td><td>GPIO18</td><td>GPIO5</td></tr>
+211
View File
@@ -0,0 +1,211 @@
# W5500 PoE
<div class="badge badge-pill badge-primary product_sku_tag">SKU:K012</div>
<div class="product_pic"><img src="assets/img/product_pics/base/lan_01.webp" width="300" height="300"></div>
## 描述
**W5500 PoE** 是一款以太网控制器底座,方便设备轻松接入互联网。它支持RS485/RS232通讯,可作为以太网转串口服务器使用。内置以W5500为硬件的嵌入式以太网控制器,W5500集成了 TCP/IP 协议栈,10/100M 以太网数据链路层(MAC)及物理层(PHY)为嵌入式系统提供更加简易的互联网连接方案,支持PoE(有源以太网)技术,通过内置的PoE模块可以直接通过PoE集线器/交换机为底座供电而无需单独配备电源。为方便在工业应用场景的快速部署,套件内提供金属滑轨和磁盘便于安装固定,配备HT3.96端子用作RS485/RS232的电气连接,能够满足实际生产环境中的有线网络接入需求。
HT3.96连接器的 6 个引脚默认悬空,你可以根据需求选择连接RS232或RS485电平转换板。
**下图为 LAN 的内部构造**
如果需要添加 RS485或RS232 通信接口,请将 TTL-RS485 或TTL-RS232 转接板与配套排针焊接到主板上相应的引脚上.
**TTL-RS485 转接板 与 LAN 底座**
<img src="assets/img/product_pics/base/lan_04.webp" width="60%">
**TTL-RS485 转接板 与 LAN 底座的连接图**
*TTL-RS485 转接板的串口引脚将连接到 LAN 底座的 GPIO16 和 GPIO17.*
<img src="assets/img/product_pics/base/lan_05.webp" width="50%" height="50%">
**TTL-RS232 转接板 与 LAN 底座**
<img src="assets/img/product_pics/base/lan_04.webp" width="60%">
**TTL-RS232 转接板 与 LAN 底座的连接图**
*TTL-RS232 转接板的串口引脚将连接到 LAN 底座的 GPIO16 和 GPIO17.*
<img src="assets/img/product_pics/base/lan_05.webp" width="50%" height="50%"> |
## 产品特性
- 支持PoE IEEE802.3 AF/AT
- 有线以太网接入
- 支持RS485/RS232通信
- 支持8路独立硬件Socket同时通信
- 支持TCP、UDP、ICMP、IPv4、ARP、IGMP、PPPoE协议
- 集成 10BaseT / 100Base-T 以太网 PHY
- 滑轨或磁吸固定
## 包含
- 1x W5500PoE 底板
- 1x TTL-RS485 转接板
- 1x TTL-RS232 转接板
- 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.webp" width="50%" height="50%">
## 应用
- 以太网转RS485/232串口
- Modbus TCP/IP远程控制
- 有线网络接入
## 规格参数
<table>
<tr style="font-weight:bold">
<td>规格</td>
<td>参数</td>
</tr>
<tr>
<td>以太网芯片</td>
<td>W5500</td>
</tr>
<tr>
<td>RS485芯片</td>
<td>SP3485EE</td>
</tr>
<tr>
<td>RS232芯片</td>
<td>MAX232</td>
</tr>
<tr>
<td>PoE供电方式</td>
<td>空闲引脚供电(10M/100M Ethernet)J4&J5(VC-),J7&J8(VC+)</td>
</tr>
<tr>
<td>PoE规范</td>
<td>IEEE802.3 AF/AT</td>
</tr>
<tr>
<td>DC输入电压</td>
<td>9V~24V</td>
</tr>
<tr>
<td>净重</td>
<td>32g</td>
</tr>
<tr>
<td>毛重</td>
<td>132g</td>
</tr>
<tr>
<td>产品尺寸</td>
<td>54*54*28mm</td>
</tr>
<tr>
<td>包装尺寸</td>
<td>105*65*4mm</td>
</tr>
</table>
## EasyLoader
>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.
<div class="easyloader-box">
<div style="background-color:white;">
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
<div class="easyloader-btn">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/BASE/EasyLoader_PoE_BASE.exe">Windows</a>
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/ATOM_BASE/EasyLoader_AtomicTF.dmg">MacOS</a>
</div>
</div>
<div>
<video id="example_video" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Core/AtomEcho.mp4" type="video/mp4">
</video>
<div class="easyloader-mask">
<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>案例描述:</p>
<p>通过以太网发送消息或指令控制M5Stack 6060PUSH或者屏幕显示消息</p>
</div>
</div>
</div>
### 管脚映射
<table class="table-1">
<thead>
<th>M5Stack</th>
<th>GPIO13</th>
<th>GPIO18</th>
<th>GPIO19</th>
<th>GPIO23</th>
<th>GPIO26</th>
<th>GPIO34</th>
<th>GPIO5</th>
<th>GPIO15</th>
</thead>
<tbody>
<tr>
<td>W5500 PoE</td>
<td>RST</td>
<td>CLK</td>
<td>MISO</td>
<td>MOSI</td>
<td>CS</td>
<td>INT</td>
<th>RX/A</th>
<th>TX/B</th>
</tr>
</tbody>
</table>
## 相关链接
- **Datasheet**
- [W5500](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/base/W5500_datasheet_v1.0.2_1_en.pdf)
- [SP485EEN](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/SP485EEN_en.pdf)
- [MAX232](hhttps://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/atombase/AtomicRS232/MAX232.pdf)
## 案例程序
- 获取代码[点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/W5500_PoE)
## 原理图
<img src="docs/assets/img/product_pics/base/w5500PoE/w5500PoE.webp">
[原理图](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/schematic/Bases/lan_base.pdf)
## 相关视频
<video class="video_size" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Blog/Twitch201904/M5StackLovyanlauncher.mp4" type="video/mp4">
</video>
<script>
var purchase_link = 'https://m5stack.com/collections/m5-base/products/lan-module';
anchor_search(purchase_link);
scrollFunc();
</script>
+7 -6
View File
@@ -6,7 +6,7 @@
## 描述
**M5StickC PLUS** 是[M5StickC](#/zh_CN/core/m5stickc.md)的大屏幕版本,主控采用ESP32-PICO-D4模组,具备蓝牙4.0与WIFI功能,小巧的机身内部集成了丰富的硬件资源,如红外、RTC、麦克风、LED、IMU、按键、PMU等,在保留原有M5StickC功能的基础上加入了蜂鸣器,同时屏幕尺寸升级到1.14寸、135*240分辨率的TFT屏幕,相较之前的0.96寸屏幕增加18.7%的显示面积,电池容量达到120mAh,接口同样支持HAT与Unit系列产品.
**M5StickC PLUS** 是[M5StickC](#/zh_CN/core/m5stickc.md)的大屏幕版本,主控采用ESP32-PICO-D4模组,具备蓝牙4.0与WIFI功能,小巧的机身内部集成了丰富的硬件资源,如红外、RTC、麦克风、LED、IMU、按键、蜂鸣器、PMU等,在保留原有M5StickC功能的基础上加入了蜂鸣器,同时屏幕尺寸升级到1.14寸、135*240分辨率的TFT屏幕,相较之前的0.96寸屏幕增加18.7%的显示面积,电池容量达到120mAh,接口同样支持HAT与Unit系列产品.
**开关机操作:**
@@ -20,7 +20,7 @@
## 产品特性
- 基于 ESP32开发
- 基于 ESP32开发,支持WiFi、蓝牙
- 内置3轴加速计与3轴陀螺仪
- 内置Red LED
- 集成红外发射管
@@ -72,7 +72,7 @@
</tr>
<tr>
<td>LCD屏幕</td>
<td>1.14 inch, 135*240 Colorful TFT LCD, ST7789</td>
<td>1.14 inch, 135*240 Colorful TFT LCD, ST7789v2</td>
</tr>
<tr>
<td>麦克风</td>
@@ -175,19 +175,20 @@
<img src="assets/img/product_pics/core/minicore/m5stickc/m5stickc_05.webp" width="300px">
**红色 LED & 红外发射管 IR & 按键 BUTTON A & 按键 BUTTON B**
**红色 LED & 红外发射管 IR & 按键 BUTTON A & 按键 BUTTON B &蜂鸣器**
<table>
<tr><td>ESP32 芯片</td><td>GPIO10</td><td>GPIO9</td><td>GPIO37</td><td>GPIO39</td></tr>
<tr><td>ESP32 芯片</td><td>GPIO10</td><td>GPIO9</td><td>GPIO37</td><td>GPIO39</td><td>GPIO2</td></tr>
<tr><td>红色 LED</td><td>LED 管脚</td><td> </td><td> </td><td> </td></tr>
<tr><td>红外发射管 IR</td><td> </td><td>发射管引脚</td><td> </td><td> </td></tr>
<tr><td>按键 BUTTON A</td><td> </td><td> </td><td>按键管脚</td><td> </td></tr>
<tr><td>按键 BUTTON B</td><td> </td><td> </td><td> </td><td>按键管脚</td></tr>
<tr><td>蜂鸣器</td><td> </td><td> </td><td> </td><td></td><td>蜂鸣器管脚</td></tr>
</table>
**彩色TFT屏幕**
驱动芯片:ST7789
驱动芯片:ST7789v2
分辨率:135 * 240
-2
View File
@@ -21,8 +21,6 @@
<img src="assets/img/product_pics/unit/unit_m5camera_f_04.webp" width="50%">
这个 Unit 还预留了 6 轴陀螺仪 (MPU6050) 、温湿度气压传感器 (BME280) 和**数字硅晶麦克风 (SPM1423)**的焊接口,如果您需要这些器件,可以自行焊接到对应位置上或者直接购买选配指定硬件版本的 M5CameraF。M5CameraF Unit 还预留了电池接口。外壳内可以容纳的电池大小对应电池容量为 **80mAh**
因为模块可以生成 WIFI 热点 AP,所以可以用手机、PC 或其他设备通过 WIFI 无线获取摄像头图片,也可以通过模块的 GROVE 接口有线获取摄像头图片。
## 产品特性