someburner / esp-rfm69

Driver + Interface for RFM69 on ESP8266
Other
24 stars 12 forks source link

ESP-RFM69

Overview

RFM69 driver and web interface for the ESP8266. Note - this is fairly dated (old SDK), but should still work with 1.5.x.

Features:

Bugs & Limitations:

Credits:

Any and all contributers to/authors of the various modules used in this project (see list below/LICENSE file). But particularly:

Installation

See Wiki.

Serial Monitor:

Default baud rate is 74880. After user_init is called, it goes to 115200. If platformIO is installed, serial monitor can be invoked as such (replace /dev/ftdi_esp with your com port):

platformio serialports monitor -b 115200 -p /dev/ftdi_esp

Moteino OTA:

See Moteino_OTA

MQTT

See MQTT. This is a very ugly, hard-coded implementation, sorry.

SPI Flash Info

The flash chips packaged with esp-xx modules can be of various sizes and come from various manufacturers. To get flash ID (as hex):

uint32 flash_id = spi_flash_get_id();
NODE_DBG("Flash_ID = %x", flash_id);

Layout:

SPIFFS:

The address to flash SPIFFS must (I think) be on a proper multiple of the logical block size, and must not overlap with irom at all.

TECH SPEC

Pin Configurations

Bold == for flashing only

RFM69

RFM69HW ESP-12E
MISO GPIO12
MOSI GPIO13
SCK GPIO14
CS/SS GPIO15
DIO0 GPIO5

GPIO

I/O ESP-12E
10K PULLUP CH_PD/EN
10K PULLDOWN GPIO15
10K PULLDOWN GPIO0
BUTTON-GND RST

Debug Tools

Module List

Preview

Console

Console

File System

File System

Uploader

Uploader

OTA Updater

OTA Updater