Code Monkey home page Code Monkey logo

zlorawan_node's Introduction

Zephyr RTOS Lorawan Node

This is a sample project for a Class_a TTN Lorawan node.

The code was tested on a blackpill F411ce board and on a Black F407VE board.

Checkout the blog post at https://primalcortex.wordpress.com/2020/11/17/a-zephyr-rtos-based-ttn-lorawan-node/ for more information.

The latest code commit allows the code to compile/target the Zephyr RTOS 3.11.99 version.

How to use it:

Before building, change on the src/main.c file the necessary TTN keys, specifically for the OTAA activation the DEV_EUI, the JOIN_EUI that on TTN dashboard is called APPLICATION_EUI and the APP_KEY. The keys are to be used in standard LSB format, so no change needed to be done on the TTN dasboard interface.

Compiling and flashing

Install and setup Zephyr RTOS.

Build after configuring the keys with: west build -b blackpill_f411ce -p

If using st-link use: west flash --runner openocd.

Checking the result.

The onboard led should flash rapidly to give time to connect through serial console: screen /dev/ttyACM0 for example. After the led is flashing slower, the Lorawan node part is running.

As it is now, the code should only send one data frame after the joining process.

zlorawan_node's People

Contributors

fcgdam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zlorawan_node's Issues

path

Hi
Where path i make the git ?
because when i compile it didnt find the zephyr.h and lorawan.h
image
Thanks

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.