Wiznet makers

sophia

Published July 30, 2026 ©

88 UCC

13 VAR

0 Contests

0 Followers

1 Following

Original Link

How Can W5500 and SX1262 Connect Remote LoRa Nodes to an Industrial Ethernet Network?

An industrial LoRa-to-Ethernet gateway that combines an ESP32-S3 control board, W5500 wired networking, PoE, isolated digital I/O, and an SX1262 LoRa DTU.

COMPONENTS Hardware components

WIZnet - W5500

x 1


PROJECT DESCRIPTION

개요

산업 현장과 농업, 설비 관리, 환경 모니터링 시스템에서는 센서와 제어 장치가 넓은 지역에 분산되는 경우가 많습니다. 모든 위치에 Ethernet 케이블을 연결하기는 어렵지만, 데이터를 최종 서버나 운영 시스템으로 전달하는 게이트웨이에는 안정적인 유선 연결이 필요한 경우가 있습니다.

이 프로젝트는 Waveshare ESP32-S3-POE-ETH-8DI-8DO 산업용 컨트롤 보드와 SX1262-LoRa-DTU-xF 장거리 무선 모듈을 결합해 LoRa와 Ethernet 사이의 산업용 게이트웨이 구조를 제시합니다.

원격 노드는 LoRa를 통해 데이터를 전송하고, 중앙 게이트웨이는 해당 데이터를 ESP32-S3에서 처리한 뒤 W5500 Ethernet을 통해 로컬 서버, MQTT 브로커 또는 상위 관리 시스템으로 전달할 수 있습니다.


왜 LoRa와 Ethernet을 함께 사용하는가?

LoRa와 Ethernet은 서로 경쟁하는 연결 방식이 아니라 서로 다른 구간을 담당할 수 있습니다.

LoRa: 현장 연결

  • 장거리 무선 통신
  • 배선이 어려운 센서 연결
  • 저용량 상태 및 계측 데이터 전달
  • 농장, 창고, 공장 외곽 및 원격 설비에 적합

Ethernet: 백홀 연결

  • 게이트웨이와 서버 사이의 유선 연결
  • 안정적인 로컬 네트워크 구성
  • MQTT, HTTP 또는 사용자 정의 TCP/UDP 애플리케이션 연결
  • 네트워크 스위치와 기존 IT 인프라 활용

이 구조를 적용하면 현장 센서는 LoRa의 넓은 도달 범위를 활용하고, 중앙 게이트웨이는 W5500 Ethernet을 통해 신뢰성 있는 백홀 경로를 제공할 수 있습니다.


주요 하드웨어

ESP32-S3-POE-ETH-8DI-8DO

이 보드는 ESP32-S3 기반 산업용 컨트롤러로 다음 기능을 통합합니다.

  • ESP32-S3 듀얼코어 프로세서
  • W5500 10/100 Mbps Ethernet
  • IEEE 802.3af PoE
  • 8채널 절연 디지털 입력
  • 8채널 절연 디지털 출력
  • 절연 RS485
  • 절연 CAN
  • 7~36V 산업용 전원 입력
  • RTC 및 TF 카드 슬롯
  • DIN-rail 장착형 인클로저

W5500은 SPI를 통해 ESP32-S3와 연결되며, 보드에 10/100 Mbps 유선 Ethernet 연결을 제공합니다. 보드의 PoE 모듈은 한 개의 Ethernet 케이블로 데이터와 전원을 함께 공급할 수 있도록 지원합니다.

SX1262-LoRa-DTU-xF

SX1262 기반 LoRa DTU는 원격 LoRa 장치와 게이트웨이 사이의 장거리 무선 통신 경로를 담당합니다.

프로젝트 저장소는 해당 모듈을 ESP32-S3 산업용 컨트롤 보드와 결합해 LoRa 데이터를 Ethernet 네트워크로 전달하는 중앙 허브 구조를 제시합니다.


시스템 구조

 
Remote Sensor / LoRa Node
          │
        LoRa
          │
  SX1262 LoRa DTU
          │
 UART / Local Interface
          │
       ESP32-S3
   ┌──────┼─────────────┐
 8DI/8DO  RS485/CAN   Data Processing
          │
        W5500
          │
   PoE Ethernet Network
          │
 Local Server / MQTT Broker
 Dashboard / SCADA / Cloud
 

현장의 센서 또는 원격 노드가 LoRa로 데이터를 전송하면 SX1262 모듈이 이를 수신합니다. ESP32-S3는 수신 데이터를 분석하거나 프로토콜 형식으로 변환하고, W5500을 통해 유선 네트워크로 전송할 수 있습니다.

반대 방향으로 서버의 명령을 Ethernet으로 수신한 뒤 LoRa 원격 노드 또는 보드의 디지털 출력으로 전달하는 양방향 제어 구조도 설계할 수 있습니다.


W5500의 역할

LoRa 네트워크의 유선 백홀

SX1262가 원격 장치와의 무선 구간을 담당한다면, W5500은 게이트웨이와 로컬 네트워크 사이의 유선 구간을 담당합니다.

기존 산업용 네트워크와의 통합

게이트웨이는 W5500 Ethernet을 통해 현장의 스위치, 서버, SCADA 또는 MQTT 시스템에 연결될 수 있습니다.

Wi-Fi 의존성 감소

금속 구조물, 무선 혼잡 또는 보안 정책으로 Wi-Fi 사용이 적합하지 않은 환경에서는 유선 Ethernet이 게이트웨이의 주요 상위 연결 경로가 될 수 있습니다.

PoE 기반 설치 단순화

PoE를 사용하면 네트워크 케이블 하나로 통신과 전원을 함께 제공할 수 있어, 별도의 어댑터와 전원 배선을 줄일 수 있습니다. Waveshare는 해당 보드가 IEEE 802.3af PoE를 지원한다고 명시합니다.


8DI·8DO가 제공하는 차별점

일반적인 LoRa 게이트웨이는 무선 데이터를 Ethernet이나 클라우드로 전달하는 역할에 집중합니다. 이 보드는 여기에 8개의 절연 디지털 입력과 8개의 절연 디지털 출력을 결합합니다.

디지털 입력 활용 예

  • 도어 및 안전 스위치 상태
  • 설비 운전·정지 접점
  • 수위 또는 압력 스위치
  • 침입 및 화재 접점
  • 펌프와 모터의 상태 신호

디지털 출력 활용 예

  • 경광등 또는 부저 제어
  • 릴레이 구동
  • 펌프와 밸브 제어
  • 환기팬 제어
  • 원격 Reset 또는 Enable 신호

출력은 광절연과 Darlington 트랜지스터 구조를 사용하며, Waveshare 사양에서는 채널당 최대 500mA의 sink current를 지원한다고 설명합니다.

따라서 이 프로젝트는 단순한 프로토콜 변환기보다 LoRa 통신, Ethernet 백홀 및 로컬 I/O 제어를 결합한 산업용 Edge Gateway로 확장할 가능성이 있습니다.


예상 데이터 흐름

원격 모니터링

 
Sensor
→ LoRa Node
→ SX1262 Gateway
→ ESP32-S3
→ W5500 Ethernet
→ MQTT / HTTP / Local Server
→ Dashboard
 

원격 제어

 
Dashboard / SCADA
→ Ethernet
→ W5500
→ ESP32-S3
→ Digital Output or LoRa Command
→ Field Equipment
 

로컬 Fail-safe 동작

 
Digital Input
→ ESP32-S3 Local Logic
→ Digital Output

Network reporting
→ W5500 Ethernet or LoRa
 

인터넷 또는 상위 서버와의 연결이 끊기더라도 기본적인 입력·출력 연동을 ESP32-S3 내부에서 처리하도록 설계하면 현장 장치의 독립성을 높일 수 있습니다. 다만 공개된 저장소 자료만으로 구체적인 fail-safe 로직이 구현되어 있다고 단정할 수는 없습니다.


적용 가능 분야

스마트 농업

  • 토양 수분 및 온도 모니터링
  • 원격 펌프와 관개 밸브 제어
  • 비닐하우스 환기 및 경보
  • 넓은 농장 내 LoRa 센서 집계

산업 설비

  • 외곽 설비 상태 모니터링
  • 탱크와 펌프의 원격 감시
  • 공장 내 배선이 어려운 구역의 센서 연결
  • 디지털 접점 기반 알람 수집

건물 및 에너지 관리

  • 분산 전력 설비 상태 감시
  • 발전기 및 UPS 접점 모니터링
  • 옥외 설비의 상태 보고
  • 원격 경광등과 릴레이 제어

환경 모니터링

  • 수질 및 기상 센서
  • 산림·하천·저수지 관측
  • 원격 경보 시스템
  • 넓은 시설의 다지점 센서 네트워크

개발 시 고려할 사항

이 프로젝트를 실제 현장에 적용하려면 다음 항목을 추가로 확인해야 합니다.

  • 사용 국가에 맞는 LoRa 주파수
  • LoRa 출력과 duty-cycle 규정
  • 장치 주소와 패킷 형식
  • 데이터 중복 및 재전송 처리
  • LoRa 메시지 인증과 암호화
  • Ethernet 연결 장애 시 버퍼링
  • 서버 연결 복구 방식
  • PoE 전력 예산
  • 실외 설치 시 방수·온도·서지 보호
  • LoRa-to-Ethernet 실제 처리량과 지연시간

또한 공개 자료에 명시된 장거리 통신 수치는 안테나, 주파수, 장애물, 출력 및 설치 환경에 따라 크게 달라질 수 있습니다. 따라서 특정 통신 거리를 보장하기보다 실제 설치 환경에서 링크 테스트를 수행해야 합니다.


기존 Maker 콘텐츠와의 차이

Maker 사이트에는 이미 ESP32-S3-POE-ETH-8DI-8DO 보드의 인터페이스와 사양을 소개한 콘텐츠가 있습니다.

이번 프로젝트의 핵심은 보드 자체를 다시 설명하는 것이 아니라 다음과 같은 새로운 시스템 조합입니다.

  • SX1262 LoRa 원격 네트워크
  • ESP32-S3 기반 데이터 처리
  • W5500 Ethernet 백홀
  • PoE 기반 중앙 게이트웨이 설치
  • 절연 8DI/8DO를 통한 현장 신호 연결

즉, 기존 글이 “이 보드는 무엇인가?”를 설명한다면, 이번 글은 “이 보드를 SX1262와 결합해 어떤 산업용 LoRa-to-Ethernet 시스템을 만들 수 있는가?”를 설명합니다.


WIZnet Maker 내 관련 콘텐츠

SOHO MQTT Multi-Stack Gateway with WIZnet W5500

여러 무선 센서 네트워크의 데이터를 수집하고 W5500 기반 유선 MQTT Gateway를 통해 Ethernet 네트워크로 전달하는 프로젝트입니다.

https://maker.wiznet.io/Lihan__/projects/soho-mqtt-multi-stack-gateway-with-wiznet-w5500/

RAMSES ESP Ethernet Gateway

ESP32-S3가 Sub-GHz 무선 데이터를 수신한 뒤 W5500 Ethernet을 통해 MQTT로 전달하는 Wireless-to-Ethernet Gateway 프로젝트입니다.

https://maker.wiznet.io/Grace_Koo/projects/ramses-esp-eth/

AI on the Edge Device with LoRaWAN Module

ESP32 기반 Edge Device와 SX1262 LoRaWAN 모듈을 이용해 현장 데이터를 장거리 무선 네트워크로 전송하는 프로젝트입니다.

https://maker.wiznet.io/mason/projects/ai-on-the-edge-device-with-lorawan-module/

ESP32-S3 PoE Ethernet 8DI/8DO Industrial Controller

W5500 Ethernet, PoE, RS485, CAN 및 절연 Digital I/O를 갖춘 Waveshare ESP32-S3-POE-ETH-8DI-8DO 보드의 기능과 사양을 소개한 글입니다.

https://maker.wiznet.io/viktor/resellers/esp32-s3-poe-eth-8di-8do/


이 프로젝트의 차별점

기존 콘텐츠들은 무선 데이터를 MQTT로 전달하는 Gateway, LoRaWAN Edge Device 또는 ESP32-S3 산업용 컨트롤러 자체의 사양을 주로 소개합니다.

이번 프로젝트는 SX1262 기반 LoRa 현장 네트워크, ESP32-S3 기반 Edge 데이터 처리, W5500 기반 유선 Ethernet 백홀, IEEE 802.3af PoE 전원 공급, 8개의 절연 Digital Input, 8개의 절연 Digital Output, RS485와 CAN 산업용 인터페이스, DIN-rail 기반 현장 설치 구조를 하나의 시스템에 통합합니다.

따라서 이 시스템은 LoRa 패킷만 전달하는 일반적인 Gateway가 아닙니다. 원격 LoRa Node, 현장 접점 신호, 산업용 Serial Device 및 Ethernet 기반 Server를 하나의 장치에서 연결하는 Industrial Edge Gateway Architecture입니다.


결론

이 프로젝트는 LoRa의 장거리 현장 통신과 W5500의 유선 Ethernet을 결합한 산업용 게이트웨이 아키텍처를 보여줍니다.

SX1262는 배선이 어려운 원격 센서와 통신하고, ESP32-S3는 데이터를 처리하며, W5500은 게이트웨이를 로컬 서버 또는 상위 관리 시스템에 연결합니다. 여기에 PoE와 절연 8DI/8DO가 추가되면서 단순한 LoRa 브리지보다 산업 현장에 가까운 Edge Gateway 구조를 구성할 수 있습니다.

핵심 가치는 특정 클라우드 서비스에 종속된 완제품이 아니라, LoRa 현장망과 Ethernet 기반 산업 네트워크를 연결할 수 있는 재사용 가능한 하드웨어 아키텍처를 제시한다는 점입니다.

 

Overview

Industrial monitoring, agriculture, building management, and environmental sensing applications often distribute sensors across large or difficult-to-wire areas. Ethernet may not be practical at every remote measurement point, while the central gateway may still require a stable wired connection to a local server or supervisory system.

This project combines the Waveshare ESP32-S3-POE-ETH-8DI-8DO industrial controller with an SX1262-LoRa-DTU-xF long-range wireless module to form a LoRa-to-Ethernet gateway architecture.

Remote nodes communicate with the gateway over LoRa. The ESP32-S3 can process the received data, and the onboard W5500 can forward it to a local server, MQTT broker, or higher-level management system through wired Ethernet.


Why Combine LoRa and Ethernet?

LoRa and Ethernet do not need to compete for the same role. Each technology can serve a different segment of the network.

LoRa for Field Connectivity

  • Long-range wireless communication
  • Connection to sensors where cabling is impractical
  • Transport of low-volume status and measurement data
  • Suitability for farms, warehouses, remote equipment, and facility perimeters

Ethernet for the Backhaul

  • Wired communication between the gateway and a server
  • Integration with an existing local network
  • Support for MQTT, HTTP, or custom TCP/UDP applications
  • Connection through standard switches and IT infrastructure

This combination allows remote nodes to benefit from LoRa coverage while the gateway uses W5500 Ethernet for its upstream connection.


Main Hardware

ESP32-S3-POE-ETH-8DI-8DO

The industrial controller integrates:

  • ESP32-S3 dual-core processor
  • W5500 10/100 Mbps Ethernet
  • IEEE 802.3af PoE
  • Eight isolated digital inputs
  • Eight isolated digital outputs
  • Isolated RS485
  • Isolated CAN
  • 7–36 V industrial power input
  • RTC and TF card slot
  • DIN-rail enclosure

The W5500 connects to the ESP32-S3 over SPI and extends 10/100 Mbps wired Ethernet. The onboard PoE module allows network data and power to be delivered through one Ethernet cable.

SX1262-LoRa-DTU-xF

The SX1262-based LoRa DTU provides the long-range wireless link between remote LoRa nodes and the gateway.

The project combines this wireless interface with the ESP32-S3 industrial controller to create a central hub capable of bridging field data to an Ethernet network.


System Architecture

 
Remote Sensor / LoRa Node
          │
        LoRa
          │
  SX1262 LoRa DTU
          │
 UART / Local Interface
          │
       ESP32-S3
   ┌──────┼─────────────┐
 8DI/8DO  RS485/CAN   Data Processing
          │
        W5500
          │
   PoE Ethernet Network
          │
 Local Server / MQTT Broker
 Dashboard / SCADA / Cloud
 

A remote sensor or node transmits its data over LoRa. The SX1262 module receives the message, and the ESP32-S3 can validate, transform, or package the data before forwarding it through W5500 Ethernet.

A reverse path can also be designed: commands arriving from the Ethernet network can be converted into LoRa messages or applied to the controller’s digital outputs.


The Role of W5500

Wired Backhaul for the LoRa Network

The SX1262 handles the wireless field segment, while W5500 provides the wired connection between the gateway and the local network.

Integration with Industrial Infrastructure

Through Ethernet, the gateway can connect to switches, on-premise servers, SCADA systems, or MQTT infrastructure already present at the installation site.

Reduced Dependence on Wi-Fi

In environments with metal structures, radio congestion, or policies that restrict Wi-Fi, wired Ethernet can provide the gateway’s primary upstream connection.

Simplified Installation with PoE

PoE can deliver power and network connectivity over the same cable, reducing the need for a separate adapter and power wiring. Waveshare specifies IEEE 802.3af PoE support for the board.


Why the Eight Inputs and Outputs Matter

Many LoRa gateways only forward wireless packets. This controller also provides eight isolated digital inputs and eight isolated digital outputs.

Possible Input Signals

  • Door and safety-switch status
  • Machine run/stop contacts
  • Level or pressure switches
  • Intrusion and fire-alarm contacts
  • Pump and motor status

Possible Output Functions

  • Beacon and buzzer control
  • Relay activation
  • Pump and valve control
  • Ventilation-fan control
  • Remote reset or enable signals

The board uses isolated input/output circuitry, and Waveshare specifies Darlington-transistor outputs with sink current of up to 500 mA per channel.

This allows the platform to evolve from a protocol bridge into an industrial edge gateway combining LoRa communication, Ethernet backhaul, and local control.


Example Data Flows

Remote Monitoring

 
Sensor
→ LoRa Node
→ SX1262 Gateway
→ ESP32-S3
→ W5500 Ethernet
→ MQTT / HTTP / Local Server
→ Dashboard
 

Remote Control

 
Dashboard / SCADA
→ Ethernet
→ W5500
→ ESP32-S3
→ Digital Output or LoRa Command
→ Field Equipment
 

Local Fail-Safe Logic

 
Digital Input
→ ESP32-S3 Local Logic
→ Digital Output

Network Reporting
→ W5500 Ethernet or LoRa
 

Local control logic could be designed to continue operating even when the upstream server is unavailable. However, the available public material should not be interpreted as proof that a specific fail-safe algorithm has already been implemented.


Potential Applications

Smart Agriculture

  • Soil-moisture and temperature monitoring
  • Remote pump and irrigation-valve control
  • Greenhouse ventilation and alarms
  • Aggregation of LoRa sensors across a large farm

Industrial Facilities

  • Monitoring of remote machinery
  • Tank and pump supervision
  • Sensor connectivity in areas where new cabling is difficult
  • Collection of alarm and dry-contact signals

Building and Energy Management

  • Distributed electrical-equipment monitoring
  • Generator and UPS contact supervision
  • Outdoor equipment status reporting
  • Remote beacon and relay control

Environmental Monitoring

  • Water-quality and weather sensors
  • Forest, river, and reservoir monitoring
  • Remote warning systems
  • Multi-point sensing across large facilities

Engineering Considerations

A real deployment should evaluate:

  • The permitted LoRa frequency for the deployment country
  • Transmit-power and duty-cycle regulations
  • Device addressing and packet format
  • Duplicate-packet and retransmission handling
  • LoRa message authentication and encryption
  • Buffering during Ethernet outages
  • Server reconnection behavior
  • PoE power budget
  • Outdoor environmental and surge protection
  • Actual LoRa-to-Ethernet latency and throughput

Any quoted LoRa range depends heavily on the antenna, frequency, transmit power, obstacles, and installation environment. A field link test is therefore required rather than treating a nominal range as guaranteed performance.


Difference from Existing Maker Content

The ESP32-S3-POE-ETH-8DI-8DO board has already been introduced on the Maker site as an industrial controller with W5500, PoE, RS485, CAN, and isolated I/O.

This project should therefore focus on a different subject:

  • An SX1262-based LoRa field network
  • ESP32-S3 data processing
  • W5500 Ethernet backhaul
  • PoE-powered gateway installation
  • Integration of isolated 8DI/8DO field signals

The existing article explains what the controller board is. This project explains how the controller can be combined with SX1262 to build an industrial LoRa-to-Ethernet gateway.


Conclusion

This project presents an industrial gateway architecture that combines LoRa field communication with W5500 wired Ethernet.

The SX1262 communicates with remote sensors, the ESP32-S3 processes the data, and the W5500 connects the gateway to a local server or supervisory network. PoE and isolated digital I/O extend the platform beyond a basic LoRa bridge and make it suitable for industrial edge-control concepts.

Its main value is not dependence on a specific cloud platform, but a reusable hardware architecture for connecting a LoRa field network to an Ethernet-based industrial infrastructure.

FAQ

What is an industrial LoRa-to-Ethernet gateway?

An industrial LoRa-to-Ethernet gateway receives data from remote LoRa sensors or devices and forwards it to a local server, MQTT broker, SCADA system, dashboard, or cloud platform through wired Ethernet.

What hardware is used in this project?

The project combines a Waveshare ESP32-S3-POE-ETH-8DI-8DO industrial controller with an SX1262-LoRa-DTU-xF long-range wireless module.

What is the role of the SX1262?

The SX1262 provides the long-range wireless link between the central gateway and remote LoRa sensors or field devices.

What is the role of the W5500?

The W5500 provides the wired 10/100 Mbps Ethernet backhaul between the ESP32-S3 gateway and the local industrial network, server, MQTT broker, SCADA system, or cloud connection.

Why combine LoRa and Ethernet in one gateway?

LoRa is suitable for connecting remote sensors where new cabling is difficult, while Ethernet provides a stable upstream connection from the central gateway to the server or control network.

Does the gateway support Power over Ethernet?

The controller supports IEEE 802.3af PoE, allowing network data and power to be delivered through one Ethernet cable.

What are the eight digital inputs used for?

The isolated digital inputs can receive dry-contact or industrial status signals such as door switches, machine run states, level switches, pressure switches, alarms, and equipment fault contacts.

What are the eight digital outputs used for?

The isolated digital outputs can control relays, warning lights, buzzers, pumps, valves, ventilation fans, remote-reset inputs, or other field-control signals within their electrical ratings.

Does the gateway support RS485 and CAN?

Yes. The industrial controller includes isolated RS485 and CAN interfaces, allowing the ESP32-S3 to communicate with additional industrial sensors, controllers, or field devices.

Can the gateway send data to MQTT or SCADA?

The architecture can forward processed data through W5500 Ethernet to an MQTT broker, SCADA system, local server, dashboard, or cloud application. The exact protocol depends on the implemented firmware.

Can commands travel from Ethernet back to LoRa devices?

The architecture can support bidirectional communication. Commands received through Ethernet may be processed by the ESP32-S3 and forwarded to a LoRa node or applied to a local digital output, depending on the firmware implementation.

What happens if the Ethernet connection is interrupted?

A production implementation can buffer LoRa data locally and retry transmission when the Ethernet connection returns. However, buffering, retry, and recovery behavior must be explicitly implemented and tested in the firmware.

Is the advertised LoRa range guaranteed?

No. Actual range depends on the radio frequency, antenna, transmit power, terrain, buildings, interference, installation height, and local regulations. Field testing is required for each deployment.

What applications can use this gateway?

Potential applications include smart agriculture, irrigation control, industrial equipment monitoring, tank and pump supervision, building-energy management, environmental sensing, utility monitoring, remote alarms, and distributed digital I/O control.

What makes this system different from a normal LoRa gateway?

A normal LoRa gateway primarily forwards wireless packets. This system also integrates W5500 Ethernet, PoE, isolated 8DI/8DO, RS485, and CAN, allowing it to work as both a communication gateway and an industrial edge controller.

Documents
Comments Write