GithubHelp home page GithubHelp logo

loragateway's Introduction

Low-cost LoRa Module

Introduction

This is low-cost LoRa gateway module which is powered by RFM96-low power long range transceiver module. The gateway can receive from any LoRa device and is designed to be fully customizable for a targeted application.Various applications are considered: water quality monitoring, cattle rustling, logistics and goods transportation.

This LoRa gateway could be qualified as "single connection" as it uses the SX1272, much like an end-device would do. However, in order to increase LoRa transmission robustness we improve the LoRa transmission with CSMA features (or so-called Listen Before Talk) and add Quality of Service guarantees with regards to radio time limitations.

Features

  • LoRa Modem.
  • 168 dB maximum link budget.
  • +20 dBm - 100 mW constant RF output vs. V supply.
  • +14 dBm high efficiency PA.
  • Programmable bit rate up to 300 kbps.
  • High sensitivity: down to -148 dBm.
  • Bullet-proof front end: IIP3 = -12.5 dBm.
  • Excellent blocking immunity.
  • Low RX current of 10.3 mA, 200 nA register retention.
  • Fully integrated synthesizer with a resolution of 61 Hz.
  • FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.
  • Built-in bit synchronizer for clock recovery.
  • Preamble detection.
  • 127 dB Dynamic Range RSSI.
  • Automatic RF Sense and CAD with ultra-fast AFC.
  • Packet engine up to 256 bytes with CRC.
  • Built-in temperature sensor and low battery indicator.

Tutorials

Prerequisites

Hardware

  • Arduino UNO x 2
  • Linker LoRa Radio x 2
  • Linker Base Shield x 2
  • 4 Pin DuPont line x 4

Software

  • Click here to download the Arduino project.
  • Put the files in src folder which contains SX1272 libraries and examples into the directory of the Arduino IDE's libraries.

Hardware assemble

  • According to the following picture, connect LoRa module and Arduino Uno Note: One is used to be LoRa gateway, and other one is used to be LoRa end device, they take same connections.

LoRa Gateway

  • Open Arduino IDE
  • Open File --> Examples --> SX1272 --> Arduino_LoRa_Gateway
  • Upload code to Arduino Uno Note: Please select the right serial port and board type.

  • Open the Arduino IDE Serial Monitor
  • Set the baudrate as 38400

LoRa end device

  • Open other Arduino IDE window
  • Open File --> Examples --> SX1272 --> Arduino_LoRa_temp
  • Upload code to Arduino

  • Open the Arduino IDE Serial Monitor
  • Set the baudrate as 38400

Check communication

  • Open the two serial Monitor, one for LoRa_gateway and one for LoRa end device
  • Restart both devices, then you can see them starting to communicate.

Schematic

loragateway's People

Contributors

delingqi avatar yaoq avatar

Watchers

James Cloos avatar Henry Dang avatar

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.