You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Anthony Hinsinger 6a5abe4b47 Added shield name 7 years ago
sensors Initial commit 8 years ago
.clang-format Updated mbed-os to 5.11.5, update libs, format code with new clang conf 7 years ago
.gitignore Modified git ignore 8 years ago
Cayenne-LPP.lib Initial commit 8 years ago
README.md Added shield name 7 years ago
lora_radio_helper.h Updated mbed-os to 5.11.5, update libs, format code with new clang conf 7 years ago
main.cpp Updated mbed-os to 5.11.5, update libs, format code with new clang conf 7 years ago
mbed-os.lib Updated mbed-os to 5.11.5, update libs, format code with new clang conf 7 years ago
mbed-semtech-lora-rf-drivers.lib Updated mbed-os to 5.11.5, update libs, format code with new clang conf 7 years ago
mbed_app.json Updated mbed-os to 5.11.5, update libs, format code with new clang conf 7 years ago
mbedtls_lora_config.h Updated mbed-os to 5.11.5, update libs, format code with new clang conf 7 years ago

README.md

WaveOfHoney - a lorawan beehive sensor

Compilation

Clone this repository, then :

mbed deploy
mbed config root .
# set the compiler
mbed toolchain GCC_ARM
# set the board
mbed target NUCLEO_L073RZ
# modify mbed_settings.py to set gcc arm path if needed
mbed config -G GCC_ARM_PATH /opt/gcc-arm-none-eabi-7-2017-q4-major/bin
# modify lora.device-eui, lora.application-eui and lora.application-key in mbed_app.json
mbed compile --profile mbed-os/tools/profiles/release.json

Then you can use stm32flash or - may be better - a stlink interface to copy the generated .bin file onto the RAK811.

Notes

Tested boards

  • MTB_RAK811
  • NUCLEO_L073RZ + SX1272MB2xAS

From STlink CN4 Connector to RAK811 "shortest" connector (pin 1 at the same side of antenna connectors)

2 -> 3 (CLK)
3 -> 1 (GND)
4 -> 4 (DATA)
5 -> 2 (RST)