Giter Club home page Giter Club logo

Comments (13)

mr3188 avatar mr3188 commented on May 27, 2024

Registers in RFM95 and SX1276 datasheets seems to be the same it should work. In fact, RAK4260 module (I used to test) has SX1276 , not a hole FRM95 module.
You will just need to check pinout.

from beelan-lorawan.

ebelouet avatar ebelouet commented on May 27, 2024

thank, i chekc it now , and i see that, i will try it,

from beelan-lorawan.

Koraze avatar Koraze commented on May 27, 2024

it seems it kind of works with the "send-class-A-OTAA" example and my equipment :

  • Chip / end node LoRa : Heltec Lora32 chip (ESP32 + SX1276)
  • Contry : EUROPE 868MHz (I changed config.h to set #define EU_868)
  • LoRaWAN gateway : (Local) Indoor Dragino LSP8
  • LoRaWAN server : (Local) ChripStack environment on a Raspberry Pi (Ubuntu Server) ...

I said "kind of" because :

  • it connect fast the first time (join) but takes times (about 30min) after a reboot
  • half of the message the lora node send is lost :(

I changed this in the example code :

const sRFM_pins RFM_pins = {
  .CS = 18,
  .RST = 14,
  .DIO0 = 26,
  .DIO1 = 35,
  .DIO2 = 34,
  .DIO5 = 40, //Unidentified pin, so I wrote a random and non pin value
};
...
  SPI.begin(5,19,27,18); //not sure if usefull
  if(!lora.init()){
    Serial.println("RFM95 not detected");
    delay(5000);
    return;
  }

from beelan-lorawan.

ebelouet avatar ebelouet commented on May 27, 2024

from beelan-lorawan.

ebelouet avatar ebelouet commented on May 27, 2024

so, I need to connect spi bus and io pins, do you have schematic example for this ?

from beelan-lorawan.

sabas1080 avatar sabas1080 commented on May 27, 2024

You need pins SPI port and pins for SX1276 or RFM95

from beelan-lorawan.

ebelouet avatar ebelouet commented on May 27, 2024

my question is to know if this pin connections is good:

ESP32 Pins SX1278 Pins
GND GND
3.3V VCC
D5 NSS
D23 MOSI
D19 MISO
D18 SCK
D14 RST
D2 DIO0

from beelan-lorawan.

Koraze avatar Koraze commented on May 27, 2024

sorry I dont have schematic example for this, my Heltec Lora32 v2 is a chip with both ESP32 and LoRa together, see this link :

What I can say is

  • The code seems to work even without this line SPI.begin(5,19,27,18);
  • I dont have this pin in my chip, so I write a non pin value .DIO5 = 40,
  • I think I lost half of the messages because of my LoRa gateway (it seems to reboot every 30s) instead of this library

from beelan-lorawan.

ebelouet avatar ebelouet commented on May 27, 2024

from beelan-lorawan.

ebelouet avatar ebelouet commented on May 27, 2024

from beelan-lorawan.

ebelouet avatar ebelouet commented on May 27, 2024

HI,
I also tested RFm95w and it's ok for connextion to TTN, but I have only 1 on that can send data, another modules only connect without sending data with same software, and 4 minutes for connections.
Do you know where is problem of it ?
Thank
eric

from beelan-lorawan.

sabas1080 avatar sabas1080 commented on May 27, 2024

review your chosen communication channels

from beelan-lorawan.

Koraze avatar Koraze commented on May 27, 2024

I found another issue, maybe it will help
My Heltec Lora32 v2 didn't succeed to join if I set this line : lora.setDataRate(SF9BW125);
But if I remplace SF by another value, for example 8 (lora.setDataRate(SF8BW125);) now it works
And it works event if after join, I set the SF value to 9 again

from beelan-lorawan.

Related Issues (20)

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.