sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.6k stars 621 forks source link

Any plans to support the 1262 module which is replacing the 1276 for many applications? #667

Open factoidforrest opened 9 months ago

factoidforrest commented 9 months ago

Popular module, in the heltec v3 and the new lilygo both use it, it's better in general.

morganrallen commented 9 months ago

I would personally like to start exploring it and have familiarized myself with the datasheets but have no hardware at present. I'm (slowly) designing a new dev board with this goal in mind but contract work has taken priority recently.

dylanjobson commented 7 months ago

Is there a way to send data from a 1262 using a different library, and receive it on a 1276 using this library?

morganrallen commented 7 months ago

In theory they should be compatible, it's on my list of things to investigate but I haven't had a chance yet. I'm not aware of any dedicated 1262 libraries.

samograsic commented 5 months ago

Hi, do you have any updates on this issue? While there are plenty of 1262 libraries available, it would be great to find one that is compatible with this particular library.

Kongduino commented 5 months ago

Is there a way to send data from a 1262 using a different library, and receive it on a 1276 using this library?

Yes. I do this all the time. I have a mix of sx1276 and sx1262 devices and they all communicate together without issues.

Kongduino commented 5 months ago

In theory they should be compatible, it's on my list of things to investigate but I haven't had a chance yet. I'm not aware of any dedicated 1262 libraries.

There's Semtech's plain vanilla implementation, and this library, by a RAKwireless employee, which works on 3 different devices, nRF52840, ESP32 and RPi2040.

The RAK library should be easy to adapt to other models / MCUs.

samograsic commented 5 months ago

Is there a way to send data from a 1262 using a different library, and receive it on a 1276 using this library?

Yes. I do this all the time. I have a mix of sx1276 and sx1262 devices and they all communicate together without issues.

Have you done any modification to the Sandeepmistry loar library? I tried on a couple of different boards using 1262 and it does not work. Any specific modification needed in how to wire the DIO0-3 signals?

Kongduino commented 5 months ago

I have but they don't concern transmission. I use mostly ESP32 boards with LoRa sx1276 (sometimes stm32 boards too), and RAK boards (nRF52 or STM32) with sx1262. No issues whatsoever. The setups must be identical though. SF / BW / CR, preamble, etc

zubroid commented 4 weeks ago

@Kongduino could you please give some code example how to receive data from 1278(LiLyGo) to 1262(HelTec Lora Tracker)? For transmitting from 1278 I use current library, but for receiving I use RadioLib and I cannot catch packages 😥