Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. LinkSprite Lora Radio Shield support RFM95

LinkSprite Lora Radio Shield support RFM95

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Wes GurneyW Offline
    Wes GurneyW Offline
    Wes Gurney
    wrote on last edited by Wes Gurney
    #1

    I have been trying to get the LinkSprite Lora Radio shield with Arduino Uno to work with MySensors with no success.

    Here is a link to the specific shield I am trying to get working with MySensors:
    http://linksprite.com/wiki/index.php5?title=Lora_Radio_Shield

    I have downloaded the latest development branch from Github (2.2-beta) and have configured a Passive Node and GatewaySerial as below.

    Here is my Gateway Serial configuration:

    #define MY_DEBUG
    
    // Enable and select radio type attached
    #define MY_RADIO_RFM95
    #define MY_DEBUG_VERBOSE_RFM95
    

    Here is my Passive Node configuration:

    // Enable debug prints
    #define MY_DEBUG
    
    // Enable passive mode
    #define MY_PASSIVE_NODE
    
    // Passive mode requires static node ID
    #define MY_NODE_ID 100
    
    // Enable and select radio type attached
    #define MY_RADIO_RFM95
    #define MY_DEBUG_VERBOSE_RFM95
    
    #include <MySensors.h>
    
    #define CHILD_ID 0   // Id of the sensor child
    
    // Initialize general message
    MyMessage msg(CHILD_ID, V_TEMP);
    
    void setup()
    {
    }
    
    void presentation()
    {
    	// Send the sketch version information to the gateway and controller
    	sendSketchInfo("Passive node", "1.0");
    
    	// Register all sensors to gw (they will be created as child devices)
    	present(CHILD_ID, S_TEMP);
    }
    
    void loop()
    {
    	// generate some random data
    	send(msg.set(25.0+random(0,30)/10.0,2));
    	sleep(2000);
    }
    

    I see the gateway and passive node each start up and init ok. The passive node send messages every 2 seconds however I never see any messages come through to the gateway.

    One other note, I have been able to successfully get these LoRaSender and LoRaReceiver examples below to successfully send messages to each other, but they are using a different set of libraries.

    The link to these examples is here:
    LoRaSender - https://github.com/sandeepmistry/arduino-LoRa/blob/master/examples/LoRaSender/LoRaSender.ino
    LoRaReceiver - https://github.com/sandeepmistry/arduino-LoRa/blob/master/examples/LoRaReceiver/LoRaReceiver.ino

    Anyone else out there got the LinkSprite LoraShield working with MySensors or any pointers to help me get past this would be much appreciated.

    Thanks,
    Wes

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    14

    Online

    11.7k

    Users

    11.2k

    Topics

    113.1k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular