---
title: "ESPCAN 8PRO"
url: "https://maker.wiznet.io/sophia/projects/espcan-8pro/"
markdown_url: "https://maker.wiznet.io/sophia/projects/espcan-8pro/md"
type: "UCC: User Created Content"
author: "calebns"
author_url: "https://github.com/calebns/espcan-8pro"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "calebns"
original_url: "https://github.com/calebns/espcan-8pro"
published: "2026-09-29"
language: "en"
hardware: ["WIZnet W5500", "Espressif ESP32"]
likes: 0
views: 30
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# ESPCAN 8PRO

> An universal DIN-rail controller powered by the ESP32-S3. It features 8 digital inputs, 8 digital outputs, and communication interfaces

Original author: calebns (source: https://github.com/calebns/espcan-8pro)

## Components

- **WIZnet W5500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5500))
- **Espressif ESP32** x 1 ([docs](https://www.espressif.com/en/products/socs/esp32))

WIZnet parts: W5500 ([Datasheet](https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet?utm_source=maker&utm_medium=project&utm_campaign=w5500), [product hub](https://maker.wiznet.io/products/w5500/))

## Article

## ESPCAN 8PRO: ESP32-S3와 W5500 Ethernet, CAN, RS485를 결합한 산업용 DIN-Rail 컨트롤러

### 한글

산업용 컨트롤러는 하나의 통신 방식만 사용하는 경우보다 여러 인터페이스를 동시에 처리해야 하는 경우가 많습니다. 상위 시스템과는 Ethernet으로 연결하고, 현장 장비와는 CAN이나 RS485로 통신하며, 센서나 스위치, 릴레이 같은 장치는 Digital I/O를 통해 직접 제어하는 구조입니다.

**ESPCAN 8PRO**는 이러한 산업 환경을 하나의 보드에 통합한 ESP32-S3 기반 DIN-Rail 컨트롤러입니다. 8개의 Digital Input과 8개의 Digital Output, CAN, RS485/Modbus, 그리고 **WIZnet W5500 기반 100 Mbps Ethernet**을 하나의 시스템에 결합합니다.

DIN-Rail은 공장이나 건물의 제어반 안에 PLC, 릴레이, 전원장치 같은 장비를 장착할 때 사용하는 표준 금속 레일입니다. 즉, 이 프로젝트는 일반적인 개발보드보다는 실제 산업 현장에 설치하기 쉬운 형태로 설계되어 있습니다.

이 프로젝트의 흥미로운 점은 단순히 Ethernet 기능을 추가했다는 데 있지 않습니다. **현장 장비가 사용하는 CAN과 RS485, 그리고 상위 IP Network가 사용하는 Ethernet을 하나의 Controller 안에서 연결하는 Hybrid Network 구조**를 보여준다는 점입니다.

### 프로젝트 구성

ESPCAN 8PRO의 Main Controller는 ESP32-S3입니다.

ESP32-S3가 Application Logic과 Digital I/O, CAN, RS485 Communication을 담당하고, W5500은 SPI로 연결되어 Wired Ethernet Interface를 제공합니다.

주요 구성은 다음과 같습니다.

- ESP32-S3 Main Controller

- WIZnet W5500 Ethernet Controller

- 100 Mbps Wired Ethernet

- 8 Digital Inputs

- 8 Digital Outputs

- CAN Bus

- RS485 / Modbus

- XL9535 I/O Expander

- 5–24 V DC Input

- TS-35 DIN-Rail Mounting

전체 시스템을 단순화하면 다음과 같습니다.

**Digital I/O / CAN / RS485→ ESP32-S3→ SPI→ W5500→ Ethernet Network**

ESP32-S3가 Field Interface와 Application을 담당하고, W5500이 상위 Network로 연결되는 Wired Ethernet 경로를 제공합니다.

![](https://maker.wiznet.io/upload/ckeditor5/528786773%5F1790763272%2Epng)

### W5500은 이 프로젝트에서 어떤 역할을 하는가?

W5500은 Hardwired TCP/IP 기능을 지원하는 Ethernet Controller이지만, **이 프로젝트의 ESPHome 구현에서는 W5500의 Hardware TCP/IP Socket Offload를 사용하지 않습니다.**

W5500은 SPI 기반 Ethernet Interface로 사용되고, Ethernet Frame은 ESP32 측 Network Stack으로 전달됩니다. TCP/IP 처리는 ESP32에서 동작하는 lwIP Software Stack이 담당합니다.

따라서 이 프로젝트를 정확하게 표현하면 다음과 같습니다.

**W5500 = SPI Wired Ethernet InterfaceESP32-S3 + lwIP = TCP/IP Network Stack**

이 부분은 중요합니다.

W5500을 사용했다고 해서 항상 W5500의 Hardwired TCP/IP Socket을 사용하는 것은 아닙니다. Firmware Architecture에 따라 W5500을 Ethernet Interface로 활용하면서 Host MCU가 TCP/IP를 처리할 수도 있습니다.

ESPCAN 8PRO는 바로 이 방식에 해당합니다.

### W5500 Hardware Connection

프로젝트에는 W5500과 ESP32-S3 사이의 실제 Pin Mapping이 공개되어 있습니다.

| W5500 Signal | ESP32-S3 GPIO |
| --- | --- |
| CLK | GPIO13 |
| MOSI | GPIO11 |
| MISO | GPIO12 |
| CS | GPIO14 |
| Interrupt | GPIO10 |
| Reset | GPIO9 |

SPI Clock, MOSI, MISO뿐 아니라 CS, Interrupt, Reset까지 구체적으로 명시되어 있어 W5500이 실제 시스템에서 어떻게 연결되어 있는지 확인할 수 있습니다.

즉, 단순히 “W5500을 사용했다”는 수준이 아니라 **W5500의 실제 Hardware Integration이 명확한 프로젝트**입니다.

### Digital Input과 Digital Output

ESPCAN 8PRO는 8개의 Digital Input과 8개의 Digital Output을 제공합니다.

I/O는 XL9535 I/O Expander를 통해 관리되며 I2C Address는 다음과 같습니다.

`0x20`

Digital Output은 NPN 방식이며 다음 조건을 지원합니다.

- 최대 0.5 A

- 최대 24 V

Digital Input에는 산업 환경에서 발생할 수 있는 Noise나 Surge를 고려한 Protection 설계가 적용되어 있습니다.

이러한 구성 덕분에 ESPCAN 8PRO는 단순 Ethernet Development Board가 아니라 외부 설비의 신호를 직접 입력받고 실제 장치를 제어할 수 있는 Industrial Controller 형태를 갖습니다.

### CAN Bus

CAN Interface의 GPIO는 다음과 같습니다.

- TX: GPIO21

- RX: GPIO47

CAN은 산업 장비, Embedded Controller, 자동차 및 Distributed Control System에서 널리 사용되는 Field Communication 방식입니다.

이 프로젝트에서 주목할 만한 점은 CAN Interface의 실제 설치 조건까지 공개되어 있다는 점입니다.

Board 내부에는 CAN Termination이 포함되어 있지 않기 때문에 ESPCAN 8PRO가 CAN Bus 끝단에 위치하는 경우에는 외부 **120 Ω Termination Resistor**가 필요합니다.

이런 내용은 실제 Hardware를 연결하려는 개발자가 참고할 수 있는 중요한 정보입니다.

### RS485 / Modbus

RS485 Interface는 다음 GPIO를 사용합니다.

- TX: GPIO2

- RX: GPIO1

- DE/RE: GPIO42

RS485에는 120 Ω Termination이 포함되어 있으며 Modbus 기반 장비와 연결할 수 있습니다.

예를 들어 다음과 같은 Data Flow를 구성할 수 있습니다.

**RS485 / Modbus Device→ ESP32-S3→ W5500 Ethernet Interface→ IP Network**

CAN Device도 같은 방식으로 ESP32-S3를 중심으로 상위 Ethernet Network와 연결할 수 있습니다.

### 왜 Hybrid Network인가?

ESPCAN 8PRO는 **Hybrid Network **입니다.

이유는 Wired Ethernet과 함께 CAN, RS485라는 별도의 Network/Field Communication Path를 동시에 사용하기 때문입니다.

실제 산업 현장에서는 오래된 Field Equipment와 최신 Network Infrastructure가 함께 사용되는 경우가 많습니다.

예를 들어 Field Device는 RS485나 CAN을 사용하고, 상위 Monitoring Server나 Management System은 Ethernet을 사용할 수 있습니다.

ESPCAN 8PRO의 Architecture는 다음과 같이 이해할 수 있습니다.

**Field Layer**
Digital I/O / CAN / RS485

↓

**Control Layer**
ESP32-S3

↓

**Ethernet Interface**
W5500

↓

**IP Network**

이 구조를 보면 W5500이 전체 시스템에서 어떤 역할을 담당하는지도 명확합니다.

### 왜 ESP32-S3에 W5500을 추가했을까?

ESP32-S3는 Wi-Fi 기능을 제공하지만 산업 환경에서는 Wired Ethernet이 필요한 경우가 많습니다.

예를 들면 다음과 같습니다.

- 장비가 Control Cabinet 안에 고정 설치되는 경우

- Wireless 환경의 안정성을 보장하기 어려운 경우

- 기존 LAN Infrastructure에 직접 연결해야 하는 경우

- 장시간 지속적인 Network 연결이 필요한 경우

- CAN/RS485 Field Equipment를 Ethernet Network와 연결해야 하는 경우

ESPCAN 8PRO에서는 W5500이 ESP32-S3에 이러한 Wired Ethernet Path를 추가합니다.

다만 그 역할을 “TCP/IP를 대신 처리한다”고 표현하는 것은 정확하지 않습니다.

이 프로젝트에서는 **W5500이 Ethernet Interface를 제공하고, TCP/IP는 ESP32의 lwIP가 담당합니다.**

### Power와 설치 환경

ESPCAN 8PRO는 5–24 V DC Input을 지원합니다.

산업 환경에서 흔히 사용하는 12 V 또는 24 V Power System과 연결하기 적합한 구성입니다.

또한 TS-35 DIN Rail Mounting을 지원하기 때문에 Control Cabinet과 같은 실제 산업 설비 안에 설치할 수 있는 형태를 갖추고 있습니다.

Ethernet, CAN, RS485, Digital I/O뿐 아니라 Power와 Mechanical Installation까지 고려되어 있다는 점에서 일반적인 Maker Board보다 Industrial Controller에 가까운 프로젝트입니다.

### 활용 가능 분야

이 Hardware Architecture는 다양한 산업 Application에서 참고할 수 있습니다.

#### Remote I/O

Digital Input 정보를 수집하고 Ethernet을 통해 상위 System으로 전달할 수 있습니다.

#### Industrial Gateway

CAN 또는 RS485 기반 Field Equipment와 Ethernet 기반 Network 사이의 연결 구조를 만들 수 있습니다.

#### Equipment Monitoring

설비의 상태를 Digital Input으로 수집하고 W5500 Ethernet을 통해 Network로 전달할 수 있습니다.

#### Building Automation

RS485 기반 HVAC 또는 Building Equipment와 Ethernet Network를 연결하는 Controller로 활용할 수 있습니다.

이러한 항목들은 Board가 제공하는 Interface를 기반으로 한 활용 가능성이며, 각각이 원 프로젝트에서 상용 환경으로 검증되었다는 의미는 아닙니다.

### 이 프로젝트가 흥미로운 이유

ESPCAN 8PRO를 선정한 이유는 단순히 W5500이 사용되었기 때문만은 아닙니다.

프로젝트에서 다음과 같은 구체적인 기술 정보를 확인할 수 있습니다.

- W5500 SPI Pin Mapping

- Interrupt / Reset Pin

- 8 Digital Inputs / 8 Digital Outputs

- XL9535 I2C Address

- CAN GPIO

- RS485 GPIO

- CAN Termination 조건

- RS485 Termination

- 5–24 V DC Input

- DIN-Rail Mounting

또 하나 흥미로운 점은 **W5500의 실제 Software Role**입니다.

W5500 자체는 Hardwired TCP/IP 기능을 가진 칩이지만, 이 프로젝트에서는 그 기능을 사용하는 대신 W5500을 Ethernet Interface로 사용하고 ESP32/lwIP가 TCP/IP를 담당합니다.

따라서 같은 W5500이라도 Firmware Architecture에 따라 역할이 달라질 수 있다는 점을 보여주는 좋은 사례입니다.

### 결론

ESPCAN 8PRO는 ESP32-S3, W5500 Ethernet, CAN, RS485, Digital I/O를 하나의 DIN-Rail Industrial Controller에 결합한 프로젝트입니다.

ESP32-S3는 Application Logic과 Field Interface를 담당하고, W5500은 SPI를 통해 Wired Ethernet 연결을 제공합니다.

또한 CAN과 RS485가 Ethernet과 함께 사용되기 때문에 실제 산업 환경에서 볼 수 있는 Hybrid Network Architecture를 보여줍니다.

중요한 점은 이 프로젝트가 W5500의 Hardwired TCP/IP Socket 기능을 사용하는 TOE 사례가 아니라는 것입니다.

**W5500은 Ethernet Interface 역할을 하고, TCP/IP는 ESP32의 lwIP Software Stack에서 처리됩니다.**

따라서 ESPCAN 8PRO는 **W5500 Ethernet과 CAN, RS485를 결합한 Hybrid Industrial Controller 사례**로 보는 것이 가장 정확합니다.

---

## ESPCAN 8PRO: Industrial DIN-Rail Controller with ESP32-S3, W5500 Ethernet, CAN, and RS485

### English

Industrial controllers often need to handle multiple communication interfaces at the same time.

A system may communicate with a higher-level network over Ethernet, exchange data with field equipment through CAN or RS485, and directly control sensors, switches, and relays through digital I/O.

**ESPCAN 8PRO** is an ESP32-S3-based DIN-rail controller designed around this type of industrial environment. It combines eight digital inputs, eight digital outputs, CAN, RS485/Modbus, and **100 Mbps Ethernet using the WIZnet W5500**.

The most interesting part of the project is not simply the addition of Ethernet. It demonstrates a **hybrid network architecture that combines field-level CAN and RS485 communication with a higher-level Ethernet network.**

### Project Overview

The ESP32-S3 is the main controller.

It handles the application logic, digital I/O, CAN, and RS485 communication, while the W5500 is connected through SPI and provides the wired Ethernet interface.

The main hardware features include:

- ESP32-S3 main controller

- WIZnet W5500 Ethernet controller

- 100 Mbps wired Ethernet

- 8 digital inputs

- 8 digital outputs

- CAN bus

- RS485 / Modbus

- XL9535 I/O expander

- 5–24 V DC input

- TS-35 DIN-rail mounting

The simplified data path is:

**Digital I/O / CAN / RS485→ ESP32-S3→ SPI→ W5500→ Ethernet Network**

### What Does the W5500 Actually Do?

The W5500 itself supports a hardwired TCP/IP engine, but **its hardware TCP/IP socket offload is not used in this ESPHome-based implementation.**

The W5500 is used as an SPI Ethernet interface, while TCP/IP processing is handled by the ESP32-side lwIP software stack.

The architecture can therefore be described as:

**W5500 = SPI Wired Ethernet InterfaceESP32-S3 + lwIP = TCP/IP Network Stack**

This distinction is important.

Using a W5500 does not automatically mean that the W5500 hardwired TCP/IP sockets are being used.

Depending on the firmware architecture, the W5500 may also operate as an Ethernet interface while the host MCU runs the TCP/IP stack.

ESPCAN 8PRO uses this architecture.

### W5500 Hardware Connection

The project provides explicit W5500 pin mapping:

| W5500 Signal | ESP32-S3 GPIO |
| --- | --- |
| CLK | GPIO13 |
| MOSI | GPIO11 |
| MISO | GPIO12 |
| CS | GPIO14 |
| Interrupt | GPIO10 |
| Reset | GPIO9 |

These details make the actual role of the W5500 verifiable at the hardware level.

### Digital Input and Output

The controller provides eight digital inputs and eight digital outputs.

The I/O channels are managed through an XL9535 I/O expander at:

`0x20`

The NPN digital outputs support up to:

- 0.5 A

- 24 V

The digital input section also includes protection intended for industrial environments.

This makes ESPCAN 8PRO more than an Ethernet development board. It can directly interact with external industrial signals.

### CAN Bus

CAN uses:

- TX: GPIO21

- RX: GPIO47

The project also documents an important limitation: internal CAN termination is not included.

If the board is installed at the end of the CAN bus, an external **120 Ω termination resistor** is required.

### RS485 / Modbus

The RS485 interface uses:

- TX: GPIO2

- RX: GPIO1

- DE/RE: GPIO42

The RS485 interface includes 120 Ω termination.

A typical data flow could therefore be:

**RS485 / Modbus Device→ ESP32-S3→ W5500 Ethernet Interface→ IP Network**

### Why Is It a Hybrid Network?

This project is classified as **Hybrid ** because wired Ethernet is combined with CAN and RS485 communication paths.

A simplified architecture is:

**Field Layer**
Digital I/O / CAN / RS485

↓

**Control Layer**
ESP32-S3

↓

**Ethernet Interface**
W5500

↓

**IP Network**

This is a practical representation of industrial systems in which field buses and Ethernet infrastructure coexist.

### Why Add W5500 to an ESP32-S3?

The ESP32-S3 provides wireless connectivity, but wired Ethernet remains useful for:

- permanently installed controllers

- environments with uncertain wireless conditions

- direct connection to an existing LAN

- systems requiring continuous network connectivity

- gateways connecting CAN or RS485 devices to Ethernet

In ESPCAN 8PRO, the W5500 provides this dedicated wired Ethernet path.

However, the benefit should not be described as TCP/IP offload in this implementation.

The W5500 provides the Ethernet interface, while the ESP32/lwIP stack handles TCP/IP.

### Power and Installation

ESPCAN 8PRO supports a 5–24 V DC input and TS-35 DIN-rail mounting.

Together with Ethernet, CAN, RS485, and local I/O, these features make the project closer to an industrial controller than a conventional maker board.

### Why This Project Is Interesting

The project provides multiple concrete implementation details:

- W5500 SPI pin mapping

- interrupt and reset pins

- eight digital inputs and outputs

- XL9535 I2C address

- CAN GPIO mapping

- RS485 GPIO mapping

- CAN termination requirement

- RS485 termination

- 5–24 V power input

- DIN-rail mounting

It also demonstrates an important architectural point:

**A W5500-based design does not necessarily use the W5500 hardwired TCP/IP sockets.**

Here, the W5500 provides Ethernet connectivity while the ESP32/lwIP stack handles TCP/IP.

### Conclusion

ESPCAN 8PRO combines an ESP32-S3, W5500 Ethernet interface, CAN, RS485, and digital I/O in one DIN-rail industrial controller.

The ESP32-S3 handles application logic and field interfaces, while the W5500 provides the SPI-connected wired Ethernet path.

Because Ethernet, CAN, and RS485 coexist in the same system, the project is a clear hybrid industrial networking example.

It should not be presented as a TOE application. Instead, it is best described as a **hybrid industrial controller that integrates W5500 Ethernet with CAN, RS485, and local I/O.**

---

Source: https://maker.wiznet.io/sophia/projects/espcan-8pro/
