Wiznet makers

gunn

Published May 09, 2026 ©

83 UCC

4 VAR

0 Contests

0 Followers

0 Following

Original Link

Module LAN W5500 K012-B-V12

Module LAN W5500 K012-B-V12

COMPONENTS
PROJECT DESCRIPTION

The `Module LAN W5500 K012-B-V12` is an industrial Ethernet expansion module for the M5Stack Core/Core2.

Simply put, it is a network module that enables the use of a wired LAN (RJ45 Ethernet) instead of Wi-Fi.

This product is mounted on the M5Stack Core (ESP32-based) and is designed for environments such as factory automation, industrial equipment, IoT gateways, and PLC communication.

# 1. Key Features of This Module

This module includes the following features:

* RJ45 Ethernet Port
* W5500 Ethernet Controller
* RS485 / RS232 Expansion Support
* 9~24V Industrial Power Input
* DIN Rail Mounting Support
* SPI Interface-based Communication

Supported Protocols:

* TCP

* UDP

* ICMP

* IPv4

* ARP

* IGMP

* PPPoE

and others are supported at the hardware level. ([gotronic.fr][1])

# 2. Module Structure

A simplified diagram of the structure:

```text
M5Stack Core(ESP32)

│ SPI

W5500

RJ45 Ethernet

```

In other words:

* ESP32 acts as the main MCU

* W5500 handles Ethernet TCP/IP processing

* RJ45 handles the actual LAN connection

That is it.

# 3. The Role of W5500 (Key)

The most important component here is the W5500.

The W5500 is WIZnet's famous:

> Hardwired TCP/IP Ethernet Controller

That is:

* Ethernet MAC

* PHY

* TCP/IP Stack

It is a chip that implements these internally in hardware.

# 4. Difference from Standard Ethernet Method

Normally, to use Ethernet with an MCU:

```text
The MCU must directly handle TCP/IP software processing

```

In other words, the MCU must handle:

* TCP processing

* UDP processing

* Packet buffer management

* Retransmission

* Checksum calculation

and so on.

This leads to:

* Increased MCU load

* Insufficient RAM

* Degraded real-time performance

* Increased firmware complexity

Problems arise.

# 5. What Does the W5500 Replace?

The W5500 handles these tasks in hardware.

In other words:

```text
ESP32 → Only transmits commands

W5500 → Actual TCP/IP processing

```

It performs the following:

For example:

* TCP connection

* Packet processing

* Retransmission

* Socket management

* Ethernet frame processing

and so on, all performed internally by the W5500.

# 6. Advantages of the W5500

## (1) Reduced MCU Load

The ESP32 does not need to spend much time on network processing.

Therefore, it can focus on:

* Sensor processing

* UI

* Control

* AI Edge tasks

etc.

## (2) High Stability

It is very stable because it uses hardware TCP/IP.

Especially:

* Long-term operation

* Industrial environments

* Real-time communication

This is the biggest advantage of the WIZnet chip.

## (3) Memory Saving

The W5500 has internal Socket Buffer RAM.

Therefore, MCU RAM usage is low.

## (4) Easy to Use

The MCU only needs to control registers via SPI.

It is also very easy to use with Arduino.

Example:

```cpp

Ethernet.begin(mac, ip);

```

It is possible to implement a TCP/IP server with just this much.

# 7. W5500 Internal Functions

The W5500 contains:

* MAC

* PHY

* TCP/IP Engine

* Socket Engine

* Buffer RAM

It includes:

* Features:

* Supports 8 independent sockets

* Supports 10/100 Ethernet

* SPI interface

* Full Duplex support

([docs.m5stack.com][2])

# 8. Why is Ethernet needed on the ESP32 again?

The ESP32 already has Wi-Fi.

However, in industrial settings:

* Wi-Fi instability

* Security issues

* Latency issues

* Noise issues

Therefore:

```text
Industrial use = Ethernet preferred

```

Especially in:

* PLC

* Factory Automation

* Robot

* Industrial Gateway

Ethernet is much more stable in these applications.

# 9. Industrial Features of This Module

This product is designed for industrial use, not just as a simple development board.

Features:

* 9~24V input

* DIN Rail mounting

* RS485/RS232 support

* Terminal blocks (HT3.96)

* Metal rails

etc. are included. ([docs.m5stack.com][2])

In other words:

```text

Inside factory control cabinet installation

```

This product is designed with these in mind.

# 10. SPI Connection Pins

According to the documentation, the W5500 connects to the ESP32 as follows:

| W5500 | ESP32 |

| -- | |

| MOSI | GPIO23 |

| MISO | GPIO19 |

| CLK | GPIO18 |

| CS | GPIO26 |

| RST | GPIO13 |

| INT | GPIO34 | ([docs.m5stack.com][2])

# 11. Practical Applications

Things that can be built with this module:

* Ethernet Web Server

* MQTT Gateway

* PLC communication equipment

* Modbus TCP

* Industrial data collector

* Factory monitoring

* Wired IoT Gateway

* Camera Streaming

* UDP Video Transmission

etc. ([Digi-Key][3])

# 12. Summary

This module is:

> A device that adds stable industrial wired Ethernet functionality to the ESP32 (M5Stack),

and

the W5500 is:

> A core chip that handles TCP/IP and Ethernet communication in hardware instead of the MCU

===========================

Module LAN W5500 K012-B-V12`는 M5Stack의 Core/Core2용 산업용 Ethernet 확장 모듈입니다.
쉽게 말하면, Wi-Fi 대신 유선 LAN(RJ45 Ethernet) 을 사용할 수 있게 해주는 네트워크 모듈입니다.

이 제품은 M5Stack Core(ESP32 기반)에 장착해서 사용하며, 공장 자동화, 산업용 장비, IoT 게이트웨이, PLC 통신 같은 환경을 목표로 만들어졌습니다.

# 1. 이 모듈의 주요 기능

이 모듈에는 다음 기능이 들어 있습니다.

* RJ45 Ethernet 포트
* W5500 Ethernet Controller
* RS485 / RS232 확장 지원
* 9~24V 산업용 전원 입력
* DIN Rail 장착 지원
* SPI 인터페이스 기반 통신

지원 프로토콜:

* TCP
* UDP
* ICMP
* IPv4
* ARP
* IGMP
* PPPoE

등을 하드웨어 수준에서 지원합니다. ([gotronic.fr][1])

 

# 2. 모듈 구조

구조를 간단히 그리면:

```text
M5Stack Core(ESP32)
       │
       │ SPI
       ▼
    W5500
       │
       ▼
  RJ45 Ethernet
```

즉:

* ESP32가 메인 MCU 역할
* W5500이 Ethernet TCP/IP 처리
* RJ45가 실제 LAN 연결

입니다.

 

# 3. W5500의 역할 (핵심)

여기서 가장 중요한 부품이 바로 W5500입니다.

W5500은 WIZnet의 유명한:

> Hardwired TCP/IP Ethernet Controller

입니다.

즉:

* Ethernet MAC
* PHY
* TCP/IP Stack

을 내부에 하드웨어로 구현한 칩입니다.

 

# 4. 일반 Ethernet 방식과 차이

보통 MCU에서 Ethernet을 쓰려면:

```text
MCU가 직접 TCP/IP 소프트웨어 처리
```

를 해야 합니다.

즉 MCU가:

* TCP 처리
* UDP 처리
* 패킷 버퍼 관리
* 재전송
* 체크섬 계산

등을 모두 해야 합니다.

그러면:

* MCU 부하 증가
* RAM 부족
* 실시간성 저하
* 펌웨어 복잡도 증가

문제가 생깁니다.

 

# 5. W5500은 무엇을 대신하나?

W5500은 이것들을 하드웨어로 처리합니다.

즉:

```text
ESP32  →  명령만 전달
W5500 →  TCP/IP 실제 처리
```

를 수행합니다.

예를 들어:

* TCP 연결
* Packet 처리
* Retransmission
* Socket 관리
* Ethernet frame 처리

등을 W5500 내부에서 수행합니다.

 

# 6. W5500의 장점

## (1) MCU 부하 감소

ESP32가 네트워크 처리에 시간을 거의 안 써도 됩니다.

그래서:

* 센서 처리
* UI
* 제어
* AI Edge 작업

등에 집중 가능.

 

## (2) 안정성 높음

하드웨어 TCP/IP라서 매우 안정적입니다.

특히:

* 장시간 동작
* 산업용 환경
* 실시간 통신

에 강합니다.

이게 WIZnet 칩의 가장 큰 장점입니다.

 

## (3) 메모리 절약

W5500 내부에 Socket Buffer RAM이 있습니다.

그래서 MCU RAM 사용량이 적습니다.

 

## (4) 사용이 쉬움

MCU는 SPI로 레지스터만 제어하면 됩니다.

Arduino에서도 매우 쉽게 사용 가능합니다.

예:

```cpp
Ethernet.begin(mac, ip);
```

정도로 TCP/IP 서버 구현 가능.

 

# 7. W5500 내부 기능

W5500 내부에는:

* MAC
* PHY
* TCP/IP Engine
* Socket Engine
* Buffer RAM

이 들어 있습니다.

특징:

* 8개의 독립 Socket 지원
* 10/100 Ethernet 지원
* SPI 인터페이스
* Full Duplex 지원

입니다. ([docs.m5stack.com][2])

 

# 8. 왜 ESP32에 Ethernet이 또 필요한가?

ESP32는 이미 Wi-Fi가 있습니다.

그런데 산업 현장에서는:

* Wi-Fi 불안정
* 보안 문제
* 지연시간 문제
* 노이즈 문제

가 있습니다.

그래서:

```text
산업용 = Ethernet 선호
```

입니다.

특히:

* PLC
* Factory Automation
* Robot
* Industrial Gateway

에서는 Ethernet이 훨씬 안정적입니다.

 

# 9. 이 모듈의 산업용 특징

이 제품은 단순 개발보드가 아니라 산업용을 고려했습니다.

특징:

* 9~24V 입력
* DIN Rail 장착
* RS485/RS232 지원
* 단자대(HT3.96)
* 금속 레일

등이 포함됩니다. ([docs.m5stack.com][2])

즉:

```text
공장 제어함 내부 설치
```

를 고려한 제품입니다.

 

# 10. SPI 연결 핀

문서 기준 W5500은 ESP32와 다음처럼 연결됩니다.

| W5500 | ESP32  |
| -- |  |
| MOSI  | GPIO23 |
| MISO  | GPIO19 |
| CLK   | GPIO18 |
| CS    | GPIO26 |
| RST   | GPIO13 |
| INT   | GPIO34 |

([docs.m5stack.com][2])

 

# 11. 실제 활용 예

이 모듈로 만들 수 있는 것:

* Ethernet Web Server
* MQTT Gateway
* PLC 통신 장비
* Modbus TCP
* 산업용 데이터 수집기
* 공장 모니터링
* Wired IoT Gateway
* Camera Streaming
* UDP Video Transmission

등입니다. ([Digi-Key][3])

 

# 12. 요약

이 모듈은:

> ESP32(M5Stack)에 안정적인 산업용 유선 Ethernet 기능을 추가하는 장치

이고,

W5500은:

> TCP/IP와 Ethernet 통신을 MCU 대신 하드웨어로 처리하는 핵심 칩

 

[Q&A]

Q)

M5STACK 모듈들 중 W5500 이 들어가는 모듈들을 표로 정리해 주세요.

A)

제품명

형태

주요 특징 및 확장성

전원 공급 방식

비고

LAN Module 13.2

모듈 (Stack형)

신호 절연 기가비트 트랜스포머 내장, 이중 이더넷 스태킹 지원

DC-JACK (9-24V)

M5Core 상단 스태킹 최적화

Base LAN (K012-B)

베이스

산업용 레일 장착 지원, RS485/RS232 어댑터 보드 포함

DC (9-24V)

표준 산업용 모델 (V12)

Base LAN PoE

베이스

PoE(IEEE802.3 AF) 지원, 이더넷-시리얼 서버 활용 가능

PoE 또는 DC (9-24V)

유선 전원 없이 구동 가능

Base LAN PoE v1.2

베이스

RS485/RS232 외 CAN 통신 확장 추가, 내장 자석 고정 지원

PoE / DC (9-24V) / MBUS 5V

가장 확장성이 높은 최신형 베이스

StamPLC PoE

전용 모듈

StamPLC 호스트 전용, 13W 소비전력, Wake-on-LAN 지원

PoE 전용 (Active)

PLC 및 빌딩 제어 특화


 

Documents
Comments Write