/Esp32LoraBoard

ESP32 board including Lora RFM95 module optimized for low power deep sleep operation.

Primary LanguageC

Esp32LoraBoard

ESP32 board including Lora RFM95 module optimized for low power deep sleep operation.

Features:

  • works with single LiFePo battery
  • external peripheral (i2c bus, Oled, measurement resistors) can be switxched off by FET transistors
  • Open Source. Feel free to modify in KiCad and create your own boards
  • I2C bus is decoubled be levelshifters
  • optional power supply circuit (solder if you don't want do use LiFePo battery supply)
  • optional Rotary Encoder
  • there is no UART chip (like CP2104) onboard in order to save power. Board can be programmed by using a simple external USB-to-UART converter (5 Pins: Ground, RX, TX RTS, DTR)

Esp32LoraBoard

PCB 3D

Schema

PCB

Power consumption

Power on and idle

After PowerOn without sending any Lora data

Mode Current usage
Normal operation 28 mA

Deep Sleep

Switched off all peripheral components and shutdown the RFM95W lora chip.

Mode Current usage
Deep Sleep 26 uA

Get Started

  • Clone this project and open in platformio.

  • Clone ttn-esp32 into lib subdir. Switch to branch dev to get it running. More info see https://github.com/manuelbl/ttn-esp32

  • Following has to be changed under in ./lib/ttn-esp32 Change following:

src/lmic/config.h #define USE_ORIGINAL_AES

src/aes/lmic_aes.c line 263: u4_t t0, t1=0, t2, t3;