Read LoRa BEE v1.1 Registers from a WeMos D1 Mini


This post lists the steps and code to dump the LoRa BEE v1.1 registers from a WeMos D1 Mini over SPI.


Prerequisites


1. Follow Get and Install the 64-bit Arduino 1.8.7 IDE on Ubuntu 16.04.3 at [link]

2. Follow Arduino IDE WeMos D1 Mini Board Support Install & Blink LED Instructions at [link]

3. If you see the espcomm_open failed error after clicking Upload follow [link] to try and fix it

4. Connect the WeMos D1 Mini to the LoRa BEE v1.1 using the following connections:


Code


Use the following code:


1. Compile it

2. Download it

On the Serial Monitor you should see:



References

  • HopeRF RFM95/96/97/98(W) datasheet at [link]

  • Semtech LoRa SX1276/77/78/79 datasheet at [link]

  • ESP-8266EX Datasheet at [link]

  • ESP-1ch-Gateway-ver-2.0 at [link]

  • D1 mini A mini wifi board with 4MB flash based on ESP-8266EX at [link]

  • Arduino icon clipped from [link]

©2018 by Centennial Software Solutions LLC. Proudly created with Wix.com