cziter15 / raesp_gateway

:satellite: A standalone device project featuring SX1278 and ESP8266 components, serving as a radio-WiFi gateway. The primary objective is to provide support for OOK remote power outlets, with the flexibility for potential future integration of LoRa 433 and other communication protocols, thanks to its adaptable hardware.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project: RaEsp gateway

Build with PlatformIO Based on ksIotFrameworkLib Hits-of-Code Device Firmware

Ra-02 (SX1278) + ESP12-S (ESP8266) gateway

What and why?

A few years ago, when I started designing electronics for fun, I created something like a WiFi Controlled 433 remote for RC power outlets that I bought from the store. The first iteration was very bad because I had no idea how to design a PCB. I just connected all the 'wires' on a two-layer board and poured everything with ground. It worked, but not as stably as expected. Then I redesigned the board, taking care to minimize current loops, but still... not everything worked as expected. More info here.

After all, I decided to switch to Ra-02 instead of RFM110W. It's theoretically a lot better because it's programmable and not only a transmitter, but also a transceiver. That means I can receive and send messages and I'm not limited to OOK. It even supports LoRA, FSK and more!

Hardware overview

image

To build my PCB, I used a limited number of components - a few capacitors, resistors, an LDO regulator that converts 5V coming from USB to the 3.3V required by the modules (AMS1117), an ESP12-S (ESP8266-based module) that is the application brain and brings WiFi connectivity, and a RA-02 (SX1278-based module) that does all the RF work.

Software overview

image

The software is C++ based and powered by ksIotFrameworkLib. It currently supports MQTT and implements the following protocols:

  • Ningbo RF protocol
  • Nexa RF protocol

It is currently working only in transmitter mode, but it is possible to even implement LoRa there.

About

:satellite: A standalone device project featuring SX1278 and ESP8266 components, serving as a radio-WiFi gateway. The primary objective is to provide support for OOK remote power outlets, with the flexibility for potential future integration of LoRa 433 and other communication protocols, thanks to its adaptable hardware.

License:GNU General Public License v3.0


Languages

Language:C++ 95.0%Language:C 5.0%