Heltec SX1262 #108
-
I picked up a couple of these boards from Heltec recently hoping to use them with your FDRS framework. I've already implemented a few ESPNow nodes and love the flexibility. From what I gather, the LoRa library that is used in fdrs_sensor.h (LoRa.h) is not compatible with the newer SX1262 boards, is that correct? My path forward would be to implement a "driver" for this Heltec board - something like USE_LORA_1262 right? I'm pretty new to the microcontroller and github world, but thought I might make an attempt to contribute. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 19 replies
-
Awesome, thanks! |
Beta Was this translation helpful? Give feedback.
-
I didn't, I've been working on some ESPNow stuff lately.
If I remember correctly, it should be very simple. As you said, it's just a
matter of implementing the callback.
…On Sun, Jan 29, 2023, 2:03 AM PerRieland ***@***.***> wrote:
I have some heltec lora 32 v3 boards, that I would like to use. These
boards use SX1262. @nglessner <https://github.com/nglessner> did you
manage to implement support for SX1262 ?
—
Reply to this email directly, view it on GitHub
<#108 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC3OXY76EJCDDQ74BY4AIODWUYI5VANCNFSM6AAAAAAQMVOJV4>
.
You are receiving this because you were mentioned.Message ID:
<timmbogner/Farm-Data-Relay-System/repo-discussions/108/comments/4807951@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
They do have some that are esp32-s3 with sx1262. Their website isn't the
easiest to see what all of their options are.
…On Wed, Feb 1, 2023, 3:59 PM Timm Bogner ***@***.***> wrote:
Okay actually I just realized the CubeCell series isn't ESP-based. I will
have to do some more things to support ASR605x. I'll look into it later
tonight... it may or may not be a big project. Tagging @nglessner
<https://github.com/nglessner> in case you weren't notified.
—
Reply to this email directly, view it on GitHub
<#108 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC3OXYZRGTMKVH4VFV42IHLWVLMDVANCNFSM6AAAAAAQMVOJV4>
.
You are receiving this because you were mentioned.Message ID:
<timmbogner/Farm-Data-Relay-System/repo-discussions/108/comments/4845413@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Fantastic! I've been busy with other projects lately, but will be
revisiting LoRa later this spring.
…On Tue, Feb 21, 2023 at 12:18 PM Timm Bogner ***@***.***> wrote:
@PerRieland <https://github.com/PerRieland> @nglessner
<https://github.com/nglessner> I just added in the support for SX126x
nodes. Also: I also was finally able to order a Heltec LoRa32 v3, so I will
be able to give this a try as soon as it arrives (7-12 days).
—
Reply to this email directly, view it on GitHub
<#108 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC3OXY4GTRZAFMQ4XHC7USTWYUBGDANCNFSM6AAAAAAQMVOJV4>
.
You are receiving this because you were mentioned.Message ID:
<timmbogner/Farm-Data-Relay-System/repo-discussions/108/comments/5067943@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I'm very pleased to announce that SX1262 support is now tested and confirmed! You must enable The correct configuration for the Heltec LoRa32 v3 is as follows: // LoRa Configuration
#define RADIOLIB_MODULE SX1262
#define LORA_SS 8
#define LORA_RST 12
#define LORA_DIO 14
#define USE_SX126X Thanks to everyone who suggested this, it's been a long time coming! |
Beta Was this translation helpful? Give feedback.
-
There's a bit of a hiccup in this that I didn't catch apparently. The controller and ping functionality isn't working under SX1262. Strangely, it does receive ACKs. I will look at this in the coming few days. |
Beta Was this translation helpful? Give feedback.
-
Connected to Pico using the header and configured fdrs_node_config.h as such // LoRa Configuration #define LORA_TXPWR 17 // LoRa TX power in dBm (: +2dBm - +17dBm (for SX1276-7) +20dBm (for SX1278)) //#define CUSTOM_SPI Although the code did compile I am getting an initialization error as below when monitoring the serial port after uploading the .uf2 file Message (Enter to send message to 'Raspberry Pi Pico W' on 'COM15') I am not sure if it is a compatability problem with RadioLib.h? Since I have got the device to work when using semtechs libraries but not with fdrs |
Beta Was this translation helpful? Give feedback.
-
I would try: // LoRa Configuration #define LORA_TXPWR 17 // LoRa TX power in dBm (: +2dBm - +17dBm (for SX1276-7) +20dBm (for SX1278)) #define CUSTOM_SPI I think the only difference is that I would uncomment the #define CUSTOM_SPI line and the LORA_DIO change from pin 20 to pin 2. |
Beta Was this translation helpful? Give feedback.
-
Tried the updated branch and ran into similar problems as yourself although the script would now compile ok. |
Beta Was this translation helpful? Give feedback.
-
Is the sketch using deep sleep? I had this experience with the Seeed
Studios Xiao C3 with deep sleep. Basically the usb to serial connection is
turned off when the device is in deep sleep, which caused the USB
disconnect.
…On Sun, Mar 5, 2023, 7:49 AM Timm Bogner ***@***.***> wrote:
Somehow I got the Pico back to being able to talk to Arduino again, and
when tried the sketch again the same thing happens: COM port disappears and
an error comes up about 20 seconds after plugging it in that says "USB
Device Not Recognized" (on Windows 10). If you want to test drive this ,
the changes and branch are here.
<6f40c85>
Fair warning, though...
I have it wired to an SX1278 module using the same pins listed in your
module's docs.
—
Reply to this email directly, view it on GitHub
<#108 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC3OXY6WW2PWHJHDJVYFD7LW2SKX3ANCNFSM6AAAAAAQMVOJV4>
.
You are receiving this because you were mentioned.Message ID:
<timmbogner/Farm-Data-Relay-System/repo-discussions/108/comments/5207181@
github.com>
|
Beta Was this translation helpful? Give feedback.
I'm very pleased to announce that SX1262 support is now tested and confirmed!
You must enable
USE_SX126X
in addition to setting#define RADIOLIB_MODULE SX1262
and your pins.The correct configuration for the Heltec LoRa32 v3 is as follows:
Thanks to everyone who suggested this, it's been a long time coming!