---
title: "LoRa-to-Ethernet Gateway"
url: "https://maker.wiznet.io/WIZnet/projects/lora-to-ethernet-gateway/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/lora-to-ethernet-gateway/md"
type: "UCC: User Created Content"
author: "Attila Tőkés"
author_url: "https://www.hackster.io/bluetiger9/lora-to-ethernet-gateway-ff9684"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Attila Tőkés"
original_url: "https://www.hackster.io/bluetiger9/lora-to-ethernet-gateway-ff9684"
published: "2023-04-03"
language: "en"
hardware: ["WIZnet WIZ750SR"]
likes: 0
views: 172
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# LoRa-to-Ethernet Gateway

> A WIZ750SR-based device that allows sending and receiving messages over LoRa and LoRaWAN.

Original author: Attila Tőkés (source: https://www.hackster.io/bluetiger9/lora-to-ethernet-gateway-ff9684)

## Components

- **WIZnet WIZ750SR** x 1 ([docs](https://docs.wiznet.io/Product/S2E-Module/WIZ750SR/))

## Article

### **Introduction**

I got some LoRa modules with SPI communication interface. One of the options it would have been to connect them to my Raspberry Pi. But, I didn’t really liked the idea because I already had some stuff connected to my Raspberry Pi, and this starts getting unmanageable.

So, I decided to create a LoRa-to-Ethernet gateway that can be connected directly to a home router. The WIZ750SR module with its Ethernet interface and Cortex-M0 SoC was a great candidate to implement such a device.

[![20180624_181139_roGohbOhGt](http://wiznetmuseum.com/wp/wp-content/uploads/2018/06/20180624_181139_roGohbOhGt.jpg)](http://wiznetmuseum.com/wp/wp-content/uploads/2018/06/20180624_181139_roGohbOhGt.jpg)

### **The LoRa modules**

I used two 433 MHz modules purchased from [AliExpress](https://www.aliexpress.com/item/2pcs-RF-LoRa-module-SX1278-chip-PM1280-Long-Distance-communication-Receiver-and-Transmitter-SPI-LORA-IOT/32699425331.html?spm=a2g0s.9042311.0.0.4e714c4d1BTenc). The boards are powered by the [Semtech SX1278](https://www.semtech.com/products/wireless-rf/lora-transceivers/SX1278) chip.

![](https://hackster.imgix.net/uploads/attachments/508658/20180528_142453_RNWRwU9OTK.jpg?auto=compress%2Cformat&w=680&h=510&fit=max)

After attaching a ribbon cable to the board and some pin headers to the other end the boards were ready for testing.

The Lora Module is connected to the Arduino boards as follows:

- VCC – 3.3V,

- GND – GND

- SCK – SCK

- MISO – MISO

- MOSI – MOSI

- NSS – pin 10

- NRESET – pin 9

- DIO0 – pin 2

![](https://hackster.imgix.net/uploads/attachments/508650/20180530_183840_rAjlGFN2Nu.jpg?auto=compress%2Cformat&w=680&h=510&fit=max)

### **The WIZ750SR module and the W7500P SoC**

The [WIZ750SR](http://www.wiznet.io/product-item/wiz750sr/) is a Serial-to-Ethernet module from WIZnet:

![](https://hackster.imgix.net/uploads/attachments/509222/image_LIHk1yWhYH.png?auto=compress%2Cformat&w=680&h=510&fit=max)

WIZ750SR

The board allows controlling serial devices over an Ethernet network, but with a custom software is capable of much more than that.

The board is powered by the [W7500P SoC](http://www.wiznet.io/product-item/w7500p/). The W7500P, according to its datasheet, uses an ARM Cortex-M0 core and along UART also supports I2C, SPI and standard GPIO.

The SPI1 unit of the W7500P uses the same pins as the UART0 module *(CTS = PA_11, RTS = PA_12, TXD = PA_13, RXD = PA_14)* used in WIZ750SR module. This means that after some tweaking in the software we can use those pins for SPI communication.

Along with SPI pins, we need 3 more pins. We can use the A, B, C pins of the WIZ750SR module, which are standard GPIO pins *(PC_13, PC_12 and PC_9)*.

After successfully getting through the [Getting Started Guide](https://wizwiki.net/wiki/doku.php?id=products:wiz750sr:gettingstarted:start), I started implementing the LoRa related functionality.

**Original Source : **<https://www.hackster.io/bluetiger9/lora-to-ethernet-gateway-ff9684>

**Tags : **201806, W7500P, WIZ750SR, LoRa, Gateway

**Writer : **Attila Tőkés (<https://www.hackster.io/bluetiger9>)

---

Source: https://maker.wiznet.io/WIZnet/projects/lora-to-ethernet-gateway/
