Dragino.Lora
A Windows IoT Core library for the Dragino LoRa expansion boards
Install / Use
/learn @emmellsoft/Dragino.LoraREADME
.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:
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.
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
