Giter VIP home page Giter VIP logo

rak811_lorawan_arduino's Introduction

RAK811_LoRaWAN_Arduino

Firstly, thank you very much to .@sabas1080 for his contribution on RAK811 LoRa Tracker board + Arduino.

  1. What is Arduino? If you know little about Arduino, please have a look below:
    https://www.arduino.cc/

  2. You have known Arduino. Install the IDE first:
    https://www.arduino.cc/en/Main/Software

  3. What lib is used?
    RAK811 is based on STM32L151.Therefore Arduino Core for Arduino_Core_STM32 is suitable for RAK811.

  4. How to install Arduino_Core_STM32 in Arduino?
    https://github.com/stm32duino/Arduino_Core_STM32
    add "https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json" to Additional Boards Manager URLs: option
    install Arduino_Core_STM32
    Check the other lib below install or not? Check Cores Then install the BSP for STM32. If install completed as following: install board

  5. Download the LoRaWAN library from:
    https://github.com/mcci-catena/arduino-lmic#selecting-the-lorawan-region-configuration
    Add it to Arduino IDE:
    LoRaWAN library

  6. OK, development environment is finished. Open the Arduino_RAK811_LoRaWAN.ino,config 3 parameters for LoRaWAN_OTAA:
    config 3 parameters
    And set Pins mapping:
    Pin mapping

  7. Compile it,ingnore the Waring:
    compile success
    Download the *.bin, *.hex or *.elf file from the folder in the above path with JFlash,STM32CubeProgrammer,or any tool if it supports STM32 mcu.

  8. When download ok, the Gateway and server are working properly.
    The RAK811 will be auto join LoRaWAN: Joinning LoRaWAN
    TTN receive data:
    TTN data

rak811_lorawan_arduino's People

Contributors

fomi-rak avatar

Stargazers

Winter Snow avatar El loza avatar  avatar John Stranahan avatar

Watchers

James Cloos avatar

rak811_lorawan_arduino's Issues

Only Receiving "S"

Hello,
I upload the .bin to RAK module with STM32CubeProgrammer and when connect it to serial using RAK Serial Port Tool, only appears character "S", what am i doing wrong? thanks a lot for your help

Not Joining

Hello,

I think there is an issue with the antenna switching... But I'm not sure. Were you able to get this working as-is?

I assume the LMIC has to be extended with PA switching.

MAG,
Milo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.