Comments (13)
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.
thank, i chekc it now , and i see that, i will try it,
from beelan-lorawan.
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.
from beelan-lorawan.
so, I need to connect spi bus and io pins, do you have schematic example for this ?
from beelan-lorawan.
You need pins SPI port and pins for SX1276 or RFM95
from beelan-lorawan.
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.
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.
from beelan-lorawan.
from beelan-lorawan.
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.
review your chosen communication channels
from beelan-lorawan.
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)
- Communication p2p HOT 1
- Soft WDT Reset on lora.sendUpLink() HOT 7
- Hello guy, I'm not able to send lora through SF12? Are there any errors here? HOT 12
- Stuck on joining network HOT 4
- .setChannel(<int>) doesn't appear to do anything HOT 17
- ElectronicCats HOT 4
- unable to join using OTAA HOT 5
- Can not send/receive data using OTAA Class-C HOT 35
- Getting ACK message for uplink message HOT 12
- Join procedure EU HOT 13
- Issue setting up correct pins for ESP8266 HOT 11
- Method to get DevAddr, NwkSKey and AppSKey HOT 3
- IN865 band HOT 7
- Poor ESP8266 support since 2.0.0 and up HOT 2
- What is What , RFM_pins? HOT 4
- how to downlink class c? HOT 2
- Periodically repeated downlink HOT 13
- DevNonce issue HOT 1
- How to send an keep time as short as possible? HOT 7
- Correct LoRaWAN version (TTN) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beelan-lorawan.