Replies: 7 comments 15 replies
-
Hi Scott!
Yes, that's correct - technically also the SX126x can perform LR-FHSS, but it can only transmit and it leaves building the packet (headers, FEC, whitening etc.) up to the user, so that hasn't been implemented yet.
Looks to be pretty much just an Arduino shield, so I would start by finding a board that can take it and has a 3.3V logic (so no Arduino Uno). STM32 Nucleo kits usually work quite well and in my experience have very good documentation, including schematics. Then you just go to the Arduino Core for STM32 and get the boards definitions from there. On a side note, the LR11x0 is just an SPI device, much like the SX126x or SX127x, so integfacing with it is just a matter of hooking up the SPI and the BUSY, IRQ and RESET signals. For my development, I have used Seeed WM1110 (https://www.seeedstudio.com/Wio-Tracker-1110-Dev-Board-p-5799.html) which integrates an nRF52 microcontroller with the LR1110 in a single package. The manufacturer does provide Arduino core for it, so I've been actually using Arduino IDE for running the examples throughout development. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks a million for the reply!! Naturally you were able to direct me to a less expensive LR11x0 device, but that's ok; the SemTech kit wasn't terrible. Thanks for the voltage warning - I'm using the Pi-Pico microcontrollers for more and more these days, so maybe that can be used; I have several on-hand. Great news that I can stay in the IDE that I'm comfortable with. Not being a 'real' programmer, any changes to my routine are an additional burden that I really don't need. I'll look forward to getting familiar with another aspect of LoRa & LoRaWAN functionality. Thanks! |
Beta Was this translation helpful? Give feedback.
-
After much effort, I continue to struggle with a RadioLib version situation that I don't understand. Identified as v6.5, the version that automatically installs in the Arduino IDE does NOT include references to the LR11x0 modules. So, I removed that folder and manually cloned the current RadioLib MASTER branch into my local Arduino/Libraries folder. That also identifies as v6.5, but now includes module support for the LR11x0 devices as well as the associated EXAMPLES. My real problem, though, is not related to the LR1110 board that I acquired. My problem now is that there seems to have been changes to the example that my work is based on:
... and using my proven good Pi-Pico/sx1262 hardware, I can no longer compile without errors. I was preparing a new, long issue w/ debug output, etc., (and will be glad to do that if needed), but wanted to follow-up here first to ask if I am just approaching the RadioLib library situation incorrectly. Should I just wait for a new RadioLib version before trying to work with my LR1110 hardware? Or am I just making the latest RadioLib library available to my local Arduino IDE incorrectly. For instance, using the latest (cloned) RadioLib, even though I DID notice that some variable names changed in the example I'm basing my work on (so I was careful to adjust my code to match the new names), I get:
... has something changed w/ the "beginABP" command? It works perfectly fine in my code using the RadioLib v6.5 that the Arduino IDE pulls in through the normal Library Manager. Any guidance appreciated! I'm very anxious to do more w/ my LR1110 hardware as it works fine - but I'm stuck between using the Arduino IDE RadioLib w/ NO support for LR11x0 modules and the issues mentioned above w/ the latest RadioLib cloned from github. Thanks so much! |
Beta Was this translation helpful? Give feedback.
-
Follow-up... Against all odds, and with a huge thanks to those of you maintaining this code, I was able to adapt my LR1110 ABP sketch to properly utilize the latest code here in RadioLib! If anyone else experimenting with an LR1110 module is interested, I will list the details. Please be aware that I still may not be using this code correctly since I'm a novice and don't fully understand all the syntax. It's important to mention that before attempting to use ANY of the latest RadioLib code w/ my new LR1110 board, I ran the firmware update example:
... with the following result:
... and now on to my main project which is based on the example:
... first, the pin numbers used in the configABP.h file for communications to my LR1110 board thru the nucleo L476RG board are set by:
... and in the main .INO file, I used:
... and when the LR1110 transmitted my 5-byte payload over-the-air, the resulting 18-byte packet was received by another LoRa device that was monitoring the frequency that I was using: ... but of course it's worthless if my original 5-byte payload ("K4KDR") was not actually in the encrypted LoRaWAN packet. To my amazement, just as I'd previously accomplished w/ Pi-Pico/sx1262 hardware, it was now working with my new LR1110 board. ... NOW, I can get to the point of the whole LR1110 purchase - to see what I can learn about LR-FHSS! Thanks again to everyone. I'll monitor the repository for future changes and adjust my code as required to stay current with the standards that you all settle on. |
Beta Was this translation helpful? Give feedback.
-
Ok, first success with LR-FHSS! I'll ask a question up front instead of waiting until the end, since LF-FHSS is so new and I was only able to get it working - not completely error free - with one method (radio.transmit), would you like for me to create an ISSUE detailing the specific errors that I encountered along w/ the debug logs from each attempt? Thank you. As for this first partial success, my end goal is to have functional LoRaWAN / ABP transmit capability. However, here on day-1 I ran into a multitude of errors that, thanks to the debug log, I was able to trace to the radio settings that the sketch was attempting to use from the US915 bandplan via
... and
... as well as further errors when trying to transmit with
... so, it was a simple matter to instead use the more basic command suggested in the example:
... with a couple dozen characters to cause the transmitted payload to last more than a fraction of a second. (I commented out all the LoRaWAN commands in my sketch just to see if I could generate ANY LR-FHSS) On an SDR centered on the frequency specified by radio.setFrequency , that resulted in something quite different from all the LoRa packets I have seen to date! ... so, I'm quite thrilled to break the ice on LR-FHSS. Thank you all for the help! (you can see in the serial terminal that the transmit command actually times out... but clearly it DOES transmit over-the air) I should briefly mention why I am so interested in LR-FHSS... during a recent presentation I heard someone from one of the companies trying to establish satellite-based IoT/LoRaWAN relay in orbit very casually say, "... and OF COURSE, all of the uplinks to our satellites are LR-FHSS". While there often isn't a lot of technical info in these online presentations, that comment stuck with me and made me want to learn as much as I could about LR-FHSS. So I'm very grateful to all of you for getting me this far. If there is any interest in me creating an ISSUE to serve as a home base for any further development of LR-FHSS in RadioLib, please let me know. FYI, my test hardware is: =Pi-Pico w/ sx1262 shield |
Beta Was this translation helpful? Give feedback.
-
Ok, another successful update. Using the pin numbers previously found to work for the Semtech LR1110 board on a Nucleo Nucleo L476RG:
... basic LR-FHSS transmit using Thanks for all the help! |
Beta Was this translation helpful? Give feedback.
-
... and, the exact same sketch & hardware if you change from
to
... always fun to see a comparison - this second waterfall of course a regular LoRa packet that has been around for quite a while now. |
Beta Was this translation helpful? Give feedback.
-
Greetings! I've searched online until I can't search any more, so any help appreciated.
I'm very anxious to learn more about LR-FHSS which, as best as I can find here in RadioLib, so far only is referenced in examples for the LR11x0 hardware.
https://github.com/jgromes/RadioLib/tree/master/examples/LR11x0
Wanting to use the Arduino IDE (since that's where I do everything else w/ RadioLib), I thought it would be a simple matter to Google search & find a URL to append to the Board Manager locations to be searched in the Arduino IDE. Wrong - I've been unable to find a single reference to how any of the LR11x0 devices can be programmed in the Arduino IDE.
As for hardware, in the interest of not spending TOO much on something I may or may not end up using, I have the following on the way from Mouser:
https://www.semtech.com/products/wireless-rf/lora-edge/lr1110mb1lcks
... but I'll be the first to admit that I have absolutely NO idea what I'm going to do with it when it arrives. I've got an endless collection of LoRa shields for the Raspberry Pi, Arduino Uno, and Pi Pico platforms, but don't have a clue where to start w/ this Semtech LR1110 kit. But you all know how that goes... you have to start somewhere & we learn as we go. I'm very comfortable with all those other platforms (thanks to a lot of help from Jan & others), so I feel pretty dumb to be so clueless on this new-to-me environment.
Anyway, clearly I am COMPLETELY missing some key element of how I'll be able to use the Arduino IDE to integrate the RadioLib LR-FHSS example code into other, fully functional RadioLib examples (as instructed in the code - I know you don't try to run it exactly as-is)... and then run it on this Semtech LR1110 kit.
What am I missing? Or, unlike most of the RadioLib code, can you NOT use the Arduino IDE for these LR11x0 devices? If not, thanks in advance for any direction on what you DO use.
-Scott, K4KDR
Beta Was this translation helpful? Give feedback.
All reactions