Im not the best code developer… but I’d really love to get a dfrobot firebeetle + LoRa cover working with TTN.
I’ve setup my Sparkfun esp32 + LoRa example just fine… using their LMIC hello world example but can’t figure out how to modify the code to be compatible with the dfrobot hardware.
but theoretically it could work when connected to an arduino over SPI and with the right wiring on the board and the right lmic settings in the code. In fact its just a board with an sx127x if I’m not mistaken
*after my second coffee I realize that’s not what you want… you want the combination of firebeetle + this lora shield to work with the TTN network
Thanks for the quick reply! Love seeing all your posts in the garage sale area.
Yes I’m struggling with the lmic modifications I need to make this work. I’ve got the firebeetle esp32 and 1276 all mated up. Just working on the arduino sketch.
The dfrobot library i linked also has a few interesting things in it but no easy TTN example
In LoRaWAN, the packet that is to be transmitted not only holds the application payload (say, some temperature value), but also about 13 additional bytes for a header that includes things like a Device Address (DevAddr) to identify the device, a frame counter to detect replay attacks, and a Message Integrity Code (MIC) to ensure the packet was not altered. Also, the payload itself needs to be encrypted. And downlinks need some specific timing.
So, you won’t be able to modify the example. You might be able to adjust some LMiC-based library.
Right that’s what I thought and why I put this in the lmic sub forum. Anyone willing to recommend some lmic config settings with the right pin mappings? Im not that great at figuring out the hardware drawing.
I tried your pinmap on a Firebeetle ESP32 board with a Firebeetle Lora hat and unfortunately, it didn’t work. I got the following in the SerialMonitor which is a loop reset.
I wired up the board as per BoRRoZ diag with additional jumpers D3-DIO0 & D5-DIO1
Any chance you can share your code? I was using ttn-adp and ttn-ota examples from the MCCI LoraWAN LMIC library with the same result for each. Thx
I’ve just discovered that the boot loop only happens when the LoRa cover is attached to the Firebeetle E32. I’ve checked extensively for shorts with no issues. Any ideas???
I did some more testing and it boot loops when D5 is connected to DIO1