Giter Site home page Giter Site logo

dragino.lora's Introduction

.NET Library for the Dragino LoRa Extension Boards

A Windows IoT Core library for the Dragino LoRa expansion boards

NOTE: This is a work in progress.

Hardware

The library is developed and tested on the following expansion boards:

Dragino LoRa/GPS HAT

Dragino LoRa/GPS Shield

Dragino LoRa Shield

Tutorials

A LoRaWAN "The Things Network" Gateway for Windows IoT Core

More to come...

The .NET library

Radio

The Dragino.Radio.ITransceiver interface represents the radio driver. The transceiver code supports the Semtech's SX1276 radio chip (used by the Dragino boards).

Create an instance of the transceiver using the static Dragino.Radio.TransceiverFactory class. Its Create-method takes an instance of TransceiverSettings and TransceiverPinSettings. The TransceiverSettings tells how the radio chip should operate and the TransceiverPinSettings tells which GPIO pins are used to hook up the expansion board. If the LoRa/GPS HAT is used there is a TransceiverPinSettings.DraginoLoraGpsHat preset that can be used, otherwise the pin numbers must be specified.

GPS

To be described here...

Demo Code

LoRaWAN Gateway

There is a simple LoRaWAN gateway, implemented as a packet forwarder (which means that it will pick up radio packets and forward them to a server). The Dragino.Lora.Demo.Gateway.sln shows how it is used.

Point-to-point communication

If you have two LoRa expansion boards (and two Raspberry Pis) you can let them communicate with each other. Run both Dragino.Lora.Demo.Sender.sln and Dragino.Lora.Demo.Receiver.sln. Note that there really isn't any difference between the sender and the receiver; but in my demo the sender will transmitt a short message periodically, and the receiver will then send it back in reverse order.

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.