Comments (19)
Hi @tomitoxy,
Could you please share a photo of your wiring? I would highly recommend using a logic level converter.
from arduino-lora.
from RF to logic converter and next to arduino UNO connect axactly like Your diagram
Semtech SX1276/77/78/79 wiring
VCC 3.3V
GND GND
SCK SCK
MISO MISO
MOSI MOSI
NSS 10
NRESET 9
DIO0
and If I have 868MHz module what I must in LoRa.begin : like this : LoRa.begin(915E6)
tomek
from arduino-lora.
Ok, the photo is not hi res enough, however if you followed the wiring in the read me things should be fine. Could you try with an external 3.3V supply, the Uno might not be able to provide enough current on the 3.3V pin.
Also, you could try to edit the library, and see what version value is received here: https://github.com/sandeepmistry/arduino-LoRa/blob/master/src/LoRa.cpp#L79
by adding Serial.println(version, HEX);
and If I have 868MHz module what I must in LoRa.begin : like this : LoRa.begin(915E6)
LoRa.begin(868E6)
from arduino-lora.
This is result of cpp modyfication 👍 module version: 0
LoRa Sender
module version: 0
Starting LoRa failed!
Hi res photos of my wire:
from arduino-lora.
Definitely a wiring or hardware problem if the version is 0x00. I suggest you quadruple check everything ...
Is VCCB disconnected? I would expect it to be connected to 5V on the Arduino. Also, it looks like the 3.3V pin on the Arduino is not connected to anything, what's VCCA connected to?
from arduino-lora.
No, all VCCA and VCCB is connect to power supply
Maybe I more easy with second modules with UART/RS232 manufactured HOPE too HM-TRLR-S-868
but I don't see any support on github, maybe You know who make skatch with lora rs/uart included ?
Tomek
from arduino-lora.
Maybe I more easy with second modules with UART/RS232 manufactured HOPE too HM-TRLR-S-868 but I don't see any support on github, maybe You know who make skatch with lora rs/uart included ?
Those are not supported by this library.
What frequency is your logic level converter rated for?
Another thing to try it lowering the SPI frequency: https://github.com/sandeepmistry/arduino-LoRa/blob/master/src/LoRa.cpp#L50 ... maybe try 4 MHz (4E6
) or 1 MHz (1E6
).
from arduino-lora.
hey there, i am having the same problem of starting LoRa Failed, i have check and rechecked my wiring am i am pretty sure it is ok. after editing the library to print the module version i get:
LoRa Sender
2
Starting LoRa failed!
so i am guessing that it is something else than my wiring?
i am using an arduino uno with a logic level converter and a barebones hope rfw96m
https://electronilab.co/tienda/modulo-transceptor-rfm96w-hoperf-lora-ultra-long-range-433-mhz/
i have change the frequency to 433E6 with no change. do you have any idea what i could try to make this work?
from arduino-lora.
@orlax looking at page 85 of the datasheet the version value (reg 0x42) should be 0x11, however the SX1276 modules I've tested with have a value of 0x12.
Two suggestions:
- Try to lower the SPI frequency as I mentioned in #5 (comment)
- Remove the version check from the .cpp, and see if things continue to work.
from arduino-lora.
@sandeepmistry thank you for the suggestion, setting SPI frequency to 1E6 and using the wiring layout from here: https://things4u.github.io/HardwareGuide/Arduino/Mini-Sensor-HTU21/mini-lora.html solved my issue althougth i dont fully understand the difference between connecting only DIO0 and connecting them all?
from arduino-lora.
@orlax thanks for trying the out!
Did you try any other SPI frequencies, like 8E6
or 4E6
? Let me know, then I can edit the library to the appropriate SPI frequency for AVR boards.
Also, what logic level converter are you using?
from arduino-lora.
from arduino-lora.
from arduino-lora.
i dont have the reference for the logic converter, but will find out and post.
Thanks, that would be great!
I'll retest with my Dragino shield and Uno, but from what I remember the default SPI frequency was fine. Maybe each logic level converter has it's own max speed. I think it should be fine to add a LoRa.setSPIFrequency(frequency)
API to this lib.
from arduino-lora.
I've added the LoRa.setSPIFrequency(frequency)
API in ee09672. Note: the RadioHead Library uses a default SPI frequency of 1 MHz.
from arduino-lora.
hi, we are using sx1276 with 868mhz and arduino uno board
we got sender senior monitor as:
SLoRa Sender
Sending packet: Sending packet: Sending packet:
but at LoRa receiver
LoRa Receiver
what should i do to receive the packets??
from arduino-lora.
Hello,
I have a LoRa sender connected to a Nano and the LoRa receiver connected to a UNO. The issue is that the sender is not getting initialized. The LoRas that I am using are LoRa-02, SX1278.
PIN CONNECTIONS OF THE SENDER:
/ Nano LoRA
// D2 DIO0
// D9 RST
// D10 NSS
// D11 MOSI
// D12 MISO
// D13 SCK
PIN CONNECTIONS OF THE RECEIVER:
// UNO LoRA
// 3V3 3V3
// GND GND
// D2 DIO0
// D9 RESET
// D13 SCK
// D12 MISO
// D11 MOSI
// D10 NSS
How can I proceed with this problem?
Thanking you,
Apeksha Nayak
from arduino-lora.
Definitely a wiring or hardware problem if the version is 0x00. I suggest you quadruple check everything ...
Is VCCB disconnected? I would expect it to be connected to 5V on the Arduino. Also, it looks like the 3.3V pin on the Arduino is not connected to anything, what's VCCA connected to?
What if my problem the REG_VERSION is FF?
from arduino-lora.
@orlax looking at page 85 of the datasheet the version value (reg 0x42) should be 0x11, however the SX1276 modules I've tested with have a value of 0x12.
Two suggestions:
- Try to lower the SPI frequency as I mentioned in Lora.begin() problem #5 (comment)
- Remove the version check from the .cpp, and see if things continue to work.
This is probably 1278 module . I have this module and this is its reply from the datasheet.
from arduino-lora.
Related Issues (20)
- [question] onTxDone HOT 2
- lorasender example stops working and no signal received HOT 2
- Receiver not receiving from all senders HOT 3
- Lora and Serial Port HOT 1
- LoRa receiver for recieving packets
- onRecive() method never triggered.
- our Lora device does not receive packet Continuously more than three or more packets. HOT 1
- Python library
- Any plans to support the 1262 module which is replacing the 1276 for many applications? HOT 8
- Seeking expert on LoRa module found on Arduino MKR1310 to commission library modifications.
- Duplex Communication that is compatible with sx1262 HOT 1
- lora packet buffer issue and crc algorithm
- `Starting LoRa failed` using LoRa shield LA66
- Technology design project
- Starting LoRa with ESP32 fail
- Lora RA-02 modules not receiving anything
- Cannot get standard library to work with SPI1
- NEW LR1121 .. Support
- SX1276 CAD
- Starting lora failed HOT 1
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 arduino-lora.