edit

Getting Started

This is an example tutorial of point-to-point wireless communication between 2 Arduinos using Cytron RFM LoRa Shields.

Important !!

This tutorial requires 2 Cytron RFM LoRa Shields.

Overview

  1. Basic Requirements
  2. Hardware Setup
  3. Library Installation
  4. Uploading Sketches
  5. Arduino Sketches Overview
  6. Screenshots

Basic Requirements

  1. 2 Cytron RFM LoRa Shields
  2. 2 Arduino-compatible boards
  3. USB cable/accessories to upload Arduino program
  4. Arduino IDE software

Hardware Setup

  1. Stack Cytron RFM LoRa Shield onto Arduino compatible board with antenna installed as shown in picture below. In this case we are using CT-UNO.
  2. Prepare 2 sets for this.

Pictures

CT-UNO with LoRa Shield on top

CT-UNO with LoRa Shield and antenna installed

Library Installation

  1. Download the zip file from here.
  2. Open Arduino IDE, go to Sketch > Include Library > Add .ZIP Library, choose the downloaded zip file and click Open.

Uploading Sketches

  1. Download the Arduino sketches as zip files OR git clone this repo from here.
  2. Grab one set of RFM LoRa Shield + Arduino that you have setup just now. We call it as Arduino LoRa Client.
  3. Open and upload rf95_client.ino sketch to Arduino LoRa Client.
  4. Grab another set of RFM LoRa Shield + Arduino that you have setup just now. We call it as Arduino LoRa Server.
  5. Open and upload rf95_server.ino sketch to Arduino LoRa Server.

Arduino Sketches Overview

Refer here.

Screenshots

  • Arduino LoRa Server

  • Arduino LoRa Client