Xinyuan-LilyGO / LilyGo-LoRa-Series

LILYGO LoRa Series examples
603 stars 169 forks source link

"ArduinoLoRa" example not work with "T-Beam V1.1 SX1262 LORA" #38

Closed izzet-kalinsazlioglu closed 3 years ago

izzet-kalinsazlioglu commented 3 years ago

T Beam "ArduinoLoRa" this example use library .
but this library https://github.com/sandeepmistry/arduino-LoRa not support yet SX1262 LORA chips.

message is : Starting LoRa failed!

lyusupov commented 3 years ago

Your statement is not correct.

T-Beam SX1262-specific examples are using RadioLib instead: https://github.com/Xinyuan-LilyGO/LilyGO-T-Beam/blob/master/examples/SX1262/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino#L20

RadioLib has declared support for SX1262 radio: https://github.com/jgromes/RadioLib#supported-modules

So you need to pre-install the RadioLib in order to use SX1262 specific examples with this particular T-Beam variant. A copy of the RadioLib is already located in libdeps folder of this GitHub repo.

izzet-kalinsazlioglu commented 3 years ago

@lyusupov thank you. it works. I solved with some warnings. current problem is . I need Lora module pinouts on this page https://www.aliexpress.com/item/4000542688096.html?spm=a2g0o.cart.0.0.6eee3c00vKLQsQ&mp=1 because pin numbers are not explained.

define LORA_DI0 ??

define LORA_DIO1 ??

define LORA_BUSY ??

i try . it works with some warnings.

define LORA_DI0 33

define LORA_DIO1 32

define LORA_BUSY 34

or How can i fix this lora library for sx1262 support. https://github.com/sandeepmistry/arduino-LoRa

Lora Target System

problem

IMG_20201204_170305

lewisxhe commented 3 years ago

arduino-LoRa does not support 1262, you can use radiolib

dragosmacovei commented 3 years ago

Your statement is not correct.

T-Beam SX1262-specific examples are using RadioLib instead: https://github.com/Xinyuan-LilyGO/LilyGO-T-Beam/blob/master/examples/SX1262/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino#L20

RadioLib has declared support for SX1262 radio: https://github.com/jgromes/RadioLib#supported-modules

So you need to pre-install the RadioLib in order to use SX1262 specific examples with this particular T-Beam variant. A copy of the RadioLib is already located in libdeps folder of this GitHub repo.

The link for git is not working anymore

lewisxhe commented 3 years ago

Issues have not been active for a long time and will be closed