Comments: SparkFun expLoRaBLE Hookup Guide
Looking for answers to technical questions?
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
Thank you forpointing out the issue and sorry for the delay in our response. It looks like the macro names were changed in the library; I have updated the example code files accordingly.
Does the semtech chip in this device support 8 channels or only one?
Please refer to the datasheet for the SX1262.
How can I access to "secondary" UART module by using TX/RX pin on the board? I thought that I could access it in the same way as "Serial1" of Arduino Mega, but It didn't work.
Please, refer to this supplementary tutorial for using the Apollo3 based MCUs in the Arduino IDE, it contains an example for using other serial ports. From the example code:
You can create new UART objects (which inherit from the HardwareSerial class in Arduino) by specifying the TX and RX pins, and optionally the RTS and CTS pins to enable flow control. Here are the constructor prototypes: UART(PinName tx, PinName rx, PinName rts, PinName cts); UART(pin_size_t tx, pin_size_t rx, pin_size_t rts, pin_size_t cts);
I'm trying to add my device in "The Thing Stack" and one parameter require is the LoRaWAN version, but I was not able to find it in the datasheet. Which version is in use in the SparkFun expLoRaBLE?
I'm not too familiar with the Things Stack. They transitioned over, shortly after this tutorial was written.
That being said, it sounds like you are adding a device with the OTAA method, which is outside the scope of the tutorial (we only cover the ABP method). It should be noted, that information isn't provided because it would only be available with an end-user commercial product (as far as I can gather). Therefore, the LoRaWAN version would be based on the firmware (i.e. code) that you program the board with... since that would control how it responds/behaves as a device on the network.
Does anyone know if this works with the Helium network?
We have not tested this board directly with the Helium network. However, the information on their site seems to indicate that the board would be compatible.
I haven't tested but I don't see why it wouldn't work. It's not as simple as pushing a few buttons but there's a document that explains what you need to do to convert it over from TTN to Helium.
I'm trying to run the code after making all the necessary changes. I'm getting an error on line 79: exit status 1 'D36' was not declared in this scope
I am new to Arduino programming, but I think I need to change these values to match the board but I can't find that documentation anywhere. So I'm wondering, am I doing something else wrong?
Figured it out. You have to go to tools --> Board --> Sparfun apollo3 --> and select the LoRa Thing plus explorable
Glad to hear that you were able to figure out a solution on your own.
Is anyone else having problems getting Serial1 working on Arduino? As I look at the schematic, I see that the module is using GPIO 18 for TX, and GPIO 19 for RX. However, looking at the Serial example provided, this isn't a valid pair. It seems to be 18,15 or 20,19. Am I missing something?
I am pretty sure that
Serial1isn't defined for this board. Please refer to the Artemis development with Arduino tutorial, for more information on using the Apollo3 Arduino core.
If you've found an issue with this tutorial content, please send us your feedback!
The modified transmit sketch in the Peer-to-Peer Example has an error. All lines that contain: else if (state = ERR...) must be changed to else if (state = RADIOLIB_ERR...) in order to function correctly with the RadioLib library.