Skip to content

KiwiBryn/SX127X-NetCore

Repository files navigation

SX127X.NetCore

A C# library for LoRaLoRaAlliance connectivity for Semtech SX127X equipped shields on .Net Core 5 powered devices. The initial versions of the code will developed on a Raspberry PI but I will also look at other supported Single Board Computers(SBCs).

The repo has the source code for the series of blog posts written as I built this library

  1. dotNET Core 5 Raspberry PI SPI
  2. TransferFullDuplex vs. ReadWrite
  3. Register Reading and Writing
  4. Transmit Basic
  5. Receive Basic
  6. Receive and Transmit with Interrupts
  7. Enumerations, Constants and Masks
  8. Arduino-LoRa LoRaSetSyncWord example
  9. Arduino-LoRa LoRaSetSpread example

The library is built using the dotnet/iot library which enables access to General Purpose Input/Output(GPIO), Serial Peripheral Interface(SPI), Inter-Integrated Circuit(I2C) and Universal asynchronous receiver-transmitter(UART) pins.

SX127XLoRaDevice - the library source code

SX127XLoRaDeviceClient- Illustrates how to use the library and the conditional compile options for supported pHats

There are also a parallel development projects which are documented seperately

nanoFramework

TinyCLROSV2

Wilderness Labs Meadow

Windows 10 IoT Core

My main use case for the Library is a telemetery protocol translation field gateway(working on identity translation) uploading data from a number of remote devices.

Shield from Dragino

LoRa GPS HAT for Raspberry Pi

Shield from Elecrow

Lora RFM95 IOT Board for RPI

Shield from M2M

1 Channel LoRaWan Gateway Shield for Raspberry Pi

RPIZero Shield from Uputronics

Raspberry PiZero LoRa(TM) Expansion Board

RPIPlus Shield from Uputronics

Raspberry Pi+ LoRa(TM) Expansion Board

LoRa Radio Bonnet from Adafruit

Adafruit LoRa(TM)Radio Bonnet with OLED