Wiznet makers

sophia

Published June 24, 2026 ©

75 UCC

12 VAR

0 Contests

0 Followers

1 Following

Original Link

LoRa Datalogger with W5500 Host

LoRa Datalogger with W5500 Host: 무선 센서 데이터를 유선 Ethernet으로 수집하는 Edge Gateway

COMPONENTS Hardware components

WIZnet - W5500

x 1


PROJECT DESCRIPTION

LoRa Datalogger with W5500 Host

무선 센서 데이터를 안정적인 유선 Ethernet으로 연결하는 Edge Gateway

1. 프로젝트 개요

Datalogger_LoRa는 LoRa 기반 무선 데이터 수집 시스템에 WIZnet W5500 Ethernet 컨트롤러를 결합한 데이터로거/게이트웨이 프로젝트입니다.

LoRa는 장거리·저전력 무선 센서 통신에 적합하지만, 수집된 데이터를 서버, 로컬 데이터베이스, MQTT Broker, 클라우드 또는 대시보드로 안정적으로 전달하기 위해서는 상위 네트워크 연결이 필요합니다.

이 프로젝트의 핵심은 LoRa 무선 구간과 Ethernet 유선 구간을 분리한 구조입니다. 센서 데이터는 LoRa를 통해 수집하고, 게이트웨이 또는 호스트 노드는 W5500을 통해 상위 네트워크로 데이터를 전달할 수 있습니다.

따라서 이 프로젝트는 단순한 LoRa 통신 예제가 아니라, 현장 센서망을 안정적인 유선 네트워크와 연결하는 Edge Gateway 사례로 볼 수 있습니다.

Original Project URL:
https://github.com/WilsonShen0420/Datalogger_LoRa/tree/main

W5500 Driver URL:
https://github.com/WilsonShen0420/Datalogger_LoRa/blob/main/firmware/datalogger_lora_w5500_host/w5500_driver.cpp

2. WIZnet 제품이 어떻게 사용되고 가치가 있는가

이 프로젝트에서 WIZnet W5500은 LoRa 데이터로거의 Ethernet Host Interface 역할을 합니다. W5500은 SPI 기반으로 MCU와 연결되며, TCP/IP 처리를 하드웨어에서 담당할 수 있는 Ethernet 컨트롤러입니다.

특히 이 프로젝트의 w5500_driver.cpp는 W5500을 위한 별도 드라이버 구조를 포함합니다. bit-banging SPI 방식으로 W5500과 통신하고, WIZnet ioLibrary와 연결하기 위한 callback 구조를 등록하며, wizchip_init()을 통해 W5500 초기화를 수행합니다.

W5500의 가치는 세 가지입니다.

첫째, LoRa 무선 센서망의 데이터를 Wi-Fi가 아닌 유선 Ethernet으로 전송할 수 있습니다. 농업, 공장, 창고, 에너지 모니터링 환경에서는 Wi-Fi 품질이 일정하지 않거나 보안 정책상 무선 사용이 제한될 수 있습니다. 이때 W5500은 안정적인 네트워크 업링크를 제공합니다.

둘째, MCU의 네트워크 처리 부담을 줄일 수 있습니다. LoRa 데이터 수신, 저장, 패킷 처리, 센서 데이터 정리와 같은 작업을 수행하는 MCU가 소프트웨어 TCP/IP 스택까지 모두 처리하면 시스템 복잡도가 증가합니다. W5500은 하드웨어 TCP/IP 구조를 통해 MCU가 애플리케이션 로직에 더 집중할 수 있도록 돕습니다.

셋째, LoRa Gateway를 제품화 가능한 구조로 확장할 수 있습니다. 단순 무선 수신기에서 끝나는 것이 아니라, Ethernet 기반 데이터 수집 장치, 원격 모니터링 장비, 산업용 센서 게이트웨이로 발전시킬 수 있습니다.

3. 하드웨어 구성

이 프로젝트는 다음과 같은 구조로 이해할 수 있습니다.

  • LoRa Sensor Node: 센서 데이터를 수집하고 LoRa로 전송
  • LoRa Receiver 또는 Host MCU: LoRa 데이터를 수신하고 데이터로거 역할 수행
  • WIZnet W5500: SPI 기반 Ethernet 컨트롤러
  • Ethernet Network: 서버, 로컬 PC, 데이터베이스, MQTT Broker, 대시보드와 연결
  • Storage 또는 Cloud: 수집된 데이터를 저장하거나 시각화

W5500 드라이버는 SPI 통신을 통해 W5500과 데이터를 주고받으며, WIZnet ioLibrary 구조와 연결될 수 있습니다. 특히 이 프로젝트는 전용 하드웨어 SPI가 아닌 bit-banging SPI 방식의 W5500 드라이버 구현을 포함하고 있어, 제한된 핀 구성이나 특수 보드 환경에서도 W5500을 적용할 수 있는 가능성을 보여줍니다.

4. 프로젝트 특징

이 프로젝트의 가장 큰 특징은 LoRa와 Ethernet의 역할 분리가 명확하다는 점입니다.

LoRa는 센서 단말과 게이트웨이 사이의 장거리·저전력 무선 구간을 담당하고, W5500은 게이트웨이와 상위 시스템 사이의 안정적인 유선 네트워크를 담당합니다.

또한 이 프로젝트는 단순 통신 데모가 아니라 데이터로거 구조와 결합될 수 있습니다. 수집된 데이터를 로컬에서 저장하거나, Ethernet을 통해 서버로 전송하거나, MQTT/HTTP 기반의 모니터링 시스템으로 확장할 수 있습니다.

W5500 드라이버 구현이 별도 파일로 분리되어 있다는 점도 장점입니다. 이는 다른 LoRa 프로젝트나 센서 게이트웨이 프로젝트에 W5500 Ethernet 기능을 재사용하기 쉽게 만듭니다.

5. maker.wiznet.io에 있는 유사 콘텐츠 및 비교 분석

유사 콘텐츠 1

Title: ESP32 · LoRa 환경에서도 선택받는 WIZnet W5500 — HSPI 기반 활용 사례
URL: https://maker.wiznet.io/bruno/projects/esp32--lora---wiznet-w5500--hspi----/

이 콘텐츠는 ESP32 + LoRa 환경에서도 W5500을 HSPI 기반으로 함께 사용할 수 있다는 점을 보여줍니다. LoRa 보드에서 W5500을 추가해 유선 Ethernet을 사용하는 가능성을 강조한다는 점에서 본 프로젝트와 유사합니다.

그러나 본 프로젝트는 단순히 “LoRa 환경에서 W5500을 사용할 수 있다”는 수준을 넘어, datalogger_lora_w5500_host라는 펌웨어 구조와 W5500 전용 드라이버 파일을 포함합니다. 즉, 유사 콘텐츠가 적용 가능성 중심이라면, 본 프로젝트는 LoRa Datalogger Host Firmware 내부에 W5500을 통합한 구조적 사례입니다.

유사 콘텐츠 2

Title: LoRa home gateway and sensor system
URL: https://maker.wiznet.io/gunn/projects/lora-home-gateway-and-sensor-system/

이 콘텐츠는 LoRa 기반 홈 IoT 환경 모니터링 시스템을 다룹니다. LoRa 센서 데이터를 수집하고 W5500을 통해 네트워크와 연결한다는 점에서 본 프로젝트와 방향성이 비슷합니다.

차이점은 본 프로젝트가 홈 IoT보다는 데이터로거와 게이트웨이 펌웨어 구조에 더 초점을 둔다는 점입니다. 특히 W5500 드라이버 구현과 Host Firmware 구조가 별도 폴더로 구성되어 있어, 다른 LoRa 데이터 수집 프로젝트로 재사용하기 좋은 기술 참고 자료가 됩니다.

유사 콘텐츠 3

Title: wk7-mqtt-influx
URL: https://maker.wiznet.io/mason/projects/wk7-mqtt-influx/

이 콘텐츠는 LoRa로 수신한 텔레메트리를 W5500 Ethernet 업링크를 통해 MQTT/Influx 구조로 확장하는 사례입니다. LoRa 구간과 상위 네트워크 구간을 분리한다는 점에서 본 프로젝트와 매우 유사합니다.

하지만 본 프로젝트는 MQTT/Influx 같은 특정 데이터 플랫폼보다, W5500 Host Firmware와 드라이버 구현 자체에 초점을 둡니다. 따라서 기존 콘텐츠가 “데이터 파이프라인 응용”이라면, 본 프로젝트는 “LoRa Gateway에 W5500을 통합하기 위한 펌웨어 기반 구조”로 차별화할 수 있습니다.

유사 콘텐츠 4

Title: LoRa gateway based on W5500 with RT-Thread
URL: https://maker.wiznet.io/chen/projects/lora-gateway-based-on-w5500-with-rt-thread/

이 콘텐츠는 RT-Thread 환경에서 LoRa Gateway와 W5500을 결합한 사례입니다. RTOS 기반 네트워크 디바이스 구성이라는 점에서 기술적으로 가치가 있습니다.

본 프로젝트는 특정 RTOS 환경에 묶이지 않고, W5500 드라이버와 LoRa 데이터로거 펌웨어 구조를 중심으로 볼 수 있습니다. 따라서 RT-Thread 기반 게이트웨이보다 더 가볍게 다른 MCU나 보드 환경에 이식할 수 있는 참고 사례로 포지셔닝할 수 있습니다.

6. 차별화 포인트

기존 maker 콘텐츠들은 LoRa와 W5500의 조합을 이미 다루고 있습니다. 따라서 이 글은 “LoRa + W5500을 또 소개하는 글”로 쓰면 점수가 높기 어렵습니다.

이 프로젝트의 차별화 포인트는 다음과 같이 잡아야 합니다.

  • LoRa 센서망과 Ethernet 백홀을 분리한 Edge Gateway 구조
  • datalogger_lora_w5500_host라는 실제 Host Firmware 구조
  • bit-banging SPI 기반 W5500 Driver 구현
  • WIZnet ioLibrary callback 구조와의 연결
  • 다른 LoRa 데이터로거 프로젝트에 재사용 가능한 Ethernet 계층
  • Wi-Fi가 어려운 농업·산업·에너지 모니터링 현장에 적합한 유선 업링크

7. 이들의 확장 가치

이 프로젝트는 다음과 같은 방향으로 확장할 수 있습니다.

첫째, 스마트팜 센서 게이트웨이입니다. 토양 습도, 온도, 습도, 수위, 조도 데이터를 LoRa로 수집하고, W5500 Ethernet을 통해 로컬 서버나 클라우드로 전송할 수 있습니다.

둘째, 산업용 설비 모니터링입니다. 넓은 공장이나 창고에서 여러 LoRa 센서 노드가 데이터를 보내고, 중앙 게이트웨이는 W5500 Ethernet으로 MES, SCADA, 로컬 DB와 연결될 수 있습니다.

셋째, 에너지 모니터링입니다. 태양광, 배터리, 전력량계, 환경 센서 데이터를 LoRa로 수집한 뒤, Ethernet 기반의 안정적인 백홀로 전달할 수 있습니다.

넷째, 제품화 가능한 Edge Gateway입니다. W5500을 사용하면 Wi-Fi 설정, 신호 간섭, 무선 보안 이슈를 줄이고, 설치 후 장시간 안정적으로 동작하는 유선 기반 게이트웨이 제품으로 확장할 수 있습니다.

8. AI FAQ / AEO

Q1. 이 프로젝트에서 W5500은 어떤 역할을 하나요?

W5500은 LoRa 데이터로거 또는 게이트웨이의 유선 Ethernet 인터페이스 역할을 합니다. LoRa로 수신한 센서 데이터를 서버, 데이터베이스, MQTT Broker, 대시보드로 전달하는 네트워크 업링크입니다.

Q2. 왜 LoRa 프로젝트에 Ethernet이 필요한가요?

LoRa는 센서 노드와 게이트웨이 사이의 장거리 무선 통신에는 적합하지만, 수집된 데이터를 안정적으로 저장하거나 분석 시스템으로 보내기 위해서는 상위 네트워크 연결이 필요합니다. Ethernet은 Wi-Fi보다 안정적이고 보안 정책을 적용하기 쉬워 산업·농업 환경에 적합합니다.

Q3. W5500을 사용하면 어떤 장점이 있나요?

W5500은 하드웨어 TCP/IP Ethernet 컨트롤러이므로 MCU의 네트워크 처리 부담을 줄일 수 있습니다. 또한 SPI 기반으로 다양한 MCU에 연결할 수 있어 기존 LoRa 데이터로거 구조에 Ethernet 기능을 추가하기 쉽습니다.

Q4. 이 프로젝트는 기존 LoRa + W5500 콘텐츠와 무엇이 다른가요?

기존 콘텐츠는 LoRa와 W5500의 조합 가능성이나 MQTT/Influx 같은 응용 구조를 보여주는 경우가 많습니다. 이 프로젝트는 W5500 Host Firmware와 드라이버 구현을 포함하고 있어, LoRa 데이터로거에 Ethernet 계층을 통합하는 펌웨어 참고 사례로 가치가 있습니다.

Q5. 어떤 분야에 활용할 수 있나요?

스마트팜, 공장 센서 모니터링, 에너지 데이터 수집, 창고 환경 모니터링, 원격 설비 감시, 로컬 데이터로거, MQTT 기반 IoT Gateway에 활용할 수 있습니다.

9. 추천 태그

W5500, LoRa, Datalogger, Ethernet Gateway, Sensor Network, IoT Gateway, MQTT, Edge Gateway, Smart Farm, Industrial IoT, WIZnet ioLibrary

 

Building a Reliable Ethernet Backhaul for Wireless Sensor Data

1. Project Overview

Datalogger_LoRa is a LoRa-based data logging project that integrates the WIZnet W5500 Ethernet controller into a wireless sensor data collection system.

LoRa is suitable for long-range and low-power sensor communication. However, the collected data still needs a reliable uplink to a server, local database, MQTT broker, cloud platform, or monitoring dashboard.

The key concept of this project is the separation between the LoRa wireless section and the Ethernet wired section. Sensor data is collected through LoRa, while the gateway or host node can forward the data to the upper network through W5500 Ethernet.

Therefore, this project is not just a simple LoRa communication example. It can be positioned as an edge gateway reference that connects field sensor networks to a reliable wired Ethernet infrastructure.

Original Project URL:
https://github.com/WilsonShen0420/Datalogger_LoRa/tree/main

W5500 Driver URL:
https://github.com/WilsonShen0420/Datalogger_LoRa/blob/main/firmware/datalogger_lora_w5500_host/w5500_driver.cpp

2. How WIZnet Product Is Used and Why It Matters

In this project, WIZnet W5500 works as the Ethernet host interface for the LoRa datalogger. W5500 is connected to the MCU through SPI and provides hardware TCP/IP-based Ethernet connectivity.

The w5500_driver.cpp file includes a dedicated W5500 driver structure. It communicates with W5500 through bit-banging SPI, registers WIZnet ioLibrary-style callback functions, and initializes the chip through wizchip_init().

The value of W5500 can be summarized in three points.

First, it enables LoRa sensor data to be transmitted through wired Ethernet instead of Wi-Fi. In farms, factories, warehouses, and energy monitoring sites, Wi-Fi can be unstable or restricted by security policies. W5500 provides a reliable wired network uplink.

Second, it reduces the networking burden on the MCU. The MCU can focus on LoRa packet handling, sensor data processing, and local logic, while W5500 manages the Ethernet communication layer.

Third, it helps transform a simple LoRa receiver into a product-oriented gateway. With W5500, the system can evolve into an Ethernet-connected datalogger, industrial sensor gateway, remote monitoring device, or MQTT-based IoT gateway.

3. Hardware Configuration

The system can be described with the following blocks.

  • LoRa Sensor Node: collects sensor data and transmits it over LoRa
  • LoRa Receiver or Host MCU: receives LoRa data and works as the datalogger
  • WIZnet W5500: SPI-based Ethernet controller
  • Ethernet Network: connects to a server, local PC, database, MQTT broker, or dashboard
  • Storage or Cloud: stores and visualizes collected data

The W5500 driver communicates with W5500 through SPI and can be connected to the WIZnet ioLibrary structure. A notable point is that this project includes a bit-banging SPI-based W5500 driver, which shows that W5500 can be used even in constrained or non-standard hardware environments.

4. Project Features

The biggest feature of this project is the clear separation between LoRa and Ethernet.

LoRa handles long-range, low-power wireless communication between sensor nodes and the gateway. W5500 handles the stable wired Ethernet connection between the gateway and the upper system.

This project can also be extended into a real datalogger architecture. Collected data can be stored locally, transmitted to a server, or published to an MQTT/HTTP-based monitoring system.

Another important feature is that the W5500 driver is separated into its own file. This makes the Ethernet layer easier to reuse in other LoRa gateway or sensor data collection projects.

5. Similar Content on maker.wiznet.io and Comparison

Similar Content 1

Title: ESP32 · LoRa 환경에서도 선택받는 WIZnet W5500 — HSPI 기반 활용 사례
URL: https://maker.wiznet.io/bruno/projects/esp32--lora---wiznet-w5500--hspi----/

This content shows that W5500 can be used with ESP32 and LoRa through the HSPI interface. It is similar to this project because both demonstrate the value of W5500 in a LoRa-based environment.

However, this project goes beyond showing that W5500 can work with LoRa. It includes a datalogger_lora_w5500_host firmware structure and a dedicated W5500 driver file. In other words, the similar content focuses on applicability, while this project provides a firmware-level integration reference for a LoRa datalogger host.

Similar Content 2

Title: LoRa home gateway and sensor system
URL: https://maker.wiznet.io/gunn/projects/lora-home-gateway-and-sensor-system/

This content introduces a LoRa-based home IoT environmental monitoring system. It is similar because it collects LoRa sensor data and connects the gateway to a network using W5500.

The difference is that this project is more focused on datalogger and gateway firmware architecture. The W5500 driver and host firmware structure are organized separately, making this project more useful as a reusable technical reference for other LoRa data collection systems.

Similar Content 3

Title: wk7-mqtt-influx
URL: https://maker.wiznet.io/mason/projects/wk7-mqtt-influx/

This content expands LoRa telemetry data through W5500 Ethernet into an MQTT/Influx architecture. It is highly similar in that both separate the LoRa section from the upper network section.

However, this project is less tied to a specific data platform such as MQTT or Influx. Instead, it focuses on W5500 host firmware and driver implementation. Therefore, it can be positioned as a firmware foundation for integrating Ethernet into LoRa gateways.

Similar Content 4

Title: LoRa gateway based on W5500 with RT-Thread
URL: https://maker.wiznet.io/chen/projects/lora-gateway-based-on-w5500-with-rt-thread/

This content combines a LoRa gateway and W5500 in an RT-Thread environment. It is valuable as an RTOS-based network device example.

This project is different because it is not strongly tied to a specific RTOS environment. It can be introduced as a lightweight firmware reference centered on W5500 driver integration and LoRa datalogger host structure.

6. Differentiation Points

maker.wiznet.io already has several LoRa + W5500 projects. Therefore, this article should not be positioned as “another LoRa + W5500 example.”

The differentiation points should be:

  • Edge gateway structure separating LoRa sensor network and Ethernet backhaul
  • Actual datalogger_lora_w5500_host firmware structure
  • Bit-banging SPI-based W5500 driver implementation
  • Connection to WIZnet ioLibrary callback structure
  • Reusable Ethernet layer for other LoRa datalogger projects
  • Suitable wired uplink for agriculture, industrial, and energy monitoring sites where Wi-Fi is not ideal

7. Expansion Value

This project can be expanded in several directions.

First, it can become a smart agriculture sensor gateway. Soil moisture, temperature, humidity, water level, and light data can be collected through LoRa and forwarded through W5500 Ethernet.

Second, it can be used for industrial facility monitoring. Multiple LoRa sensor nodes can send data to a central gateway, and W5500 can connect the gateway to MES, SCADA, or a local database.

Third, it can be used for energy monitoring. Solar, battery, power meter, and environmental data can be collected wirelessly and transmitted through a stable Ethernet backhaul.

Fourth, it can become a product-oriented edge gateway. By using W5500, the system can reduce Wi-Fi configuration issues, wireless interference, and long-term reliability concerns.

8. AI FAQ / AEO

Q1. What is the role of W5500 in this project?

W5500 works as the wired Ethernet interface of the LoRa datalogger or gateway. It forwards LoRa sensor data to a server, database, MQTT broker, or dashboard.

Q2. Why does a LoRa project need Ethernet?

LoRa is suitable for long-range wireless communication between sensor nodes and a gateway. However, the collected data still needs to be stored, analyzed, or monitored. Ethernet provides a stable and secure uplink for that purpose.

Q3. What are the benefits of using W5500?

W5500 provides hardware TCP/IP Ethernet connectivity and reduces the network processing burden on the MCU. It is also easy to connect through SPI, making it suitable for embedded gateway designs.

Q4. How is this different from other LoRa + W5500 projects?

Many existing projects show LoRa and W5500 working together or extend LoRa data to MQTT/Influx. This project includes W5500 host firmware and driver implementation, making it useful as a firmware reference for integrating Ethernet into a LoRa datalogger.

Q5. Where can this project be used?

It can be used in smart farming, factory monitoring, energy data collection, warehouse monitoring, remote equipment monitoring, local datalogging, and MQTT-based IoT gateways.

Recommended Tags: W5500, LoRa, Datalogger, Ethernet Gateway, Sensor Network, IoT Gateway, MQTT, Edge Gateway, Smart Farm, Industrial IoT, WIZnet ioLibrary

 

Documents
Comments Write