Close
0%
0%

RaEsp Gateway

WiFi (ESP8266) connected Ra-02 (SX1278) radio module, OOK, GFSK .. LoRA capable.

Similar projects worth following

WHAT AND WHY?

This project is an upgraded version of my previous one, WiFi connected 433MHz transmitter. However this design can be extended via software to support much more things - for example it can receive OOK modulated data (acting like transceiver) and more...

Things that can be achieved by software defined behavior:

  • LoRA connectivity (433MHz)
  • OOK transmit and receive (RC switches, outlets, garage doors; weather stations)
  • FSK, GFSK, MSK, GMSK transmit and receive

DESIGN

The project will have its own PCB. Network connectivity and application code will run on ESP8266 (ESP-12S, or ESP-07S for external WiFi antenna), radio will be handled by amazing SX1278 (Ra-02 module), both modules coming from Ai-Thinker.

SOURCES

  • 1 × ESP-12S WiFi module with integrated MCU
  • 1 × RA-02 Radio module, controlled via SPI
  • 1 × AMS1117-3.3 Power Management ICs / Linear Voltage Regulators and LDOs
  • 2 × 10µf ceramic 1206 capacitor
  • 2 × 22µf tantalum 1206 capacitor (polarized)

View all 13 components

  • Firmware refactoring

    h4rdc0der06/15/2022 at 19:44 0 comments

    After soldering and starting up new, fresh PCB I decided to clean up the code.

    I'm unable to reach microsecond precision with ESP8266 timers, so I decided to split 'repeats' of OOK protocols and now only one 'repeat' is handled per application loop, somehow mitigating the problem with app execution logic blocking while transmitting OOK pulses into the air.

  • Second iteration PCBs arrived!

    h4rdc0der06/13/2022 at 18:50 0 comments

    Today I've received package with second iteration PCBs. Boards have been assembled and this time everything works as expected!

    Improvements since previous version:

    • Removed conflict of radio SS pin with internal ESP-12S LED.
    • Removed unnecessary components.
    • Fixed issue with boot sequence (improper reset reason).

  • Boards arrived, soldered and I'm in trouble

    h4rdc0der05/26/2022 at 18:54 0 comments

    Looks like everything is working, I'm able to control my RC power outlets, but getting weird results in tests of ESP module. Getting "External reset" when querying last reset cause.

    After hours of debugging, I've found that this is caused by "mess" done with ESP12 modules. Looks like ESP12-S differs from ESP-12F which has been used as design reference.

    Today I've corrected my PCB adding capacitor to chip enable pin which will work as RC delay circuit with built-in one to guarantee that CHIP_EN pin won't go high before RST pin.

    Boards have been ordered today...

View all 3 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates