Replies: 23 comments
-
@DerekLF The ASSERT you are hitting means your radio modem is not setup correctly. It is the only way you will get this error. Check the pinmap, make sure it corresponds to your board layout. |
Beta Was this translation helpful? Give feedback.
-
Share your project config please, to see if everything is setup as it should. Which example did you modify? |
Beta Was this translation helpful? Give feedback.
-
ai forgot to mention, I've modified the ttn-otaa.ino example file.
|
Beta Was this translation helpful? Give feedback.
-
And did you figure out which board version you have? According to the link there is just a whole lot of them and some of them are not compatible.. Also, I am a bit worried about 'DIO not connected' story, but this should not affect the init part. oslmic.c: after line 1092
|
Beta Was this translation helpful? Give feedback.
-
I have the T3 V1.6. The only difference between TTGO LORA32 models seem to be some hardware modifications. I found the schematics of the board, and it seems like both DIO are connected via the board I might be wrong but my oslmic.c only has 168 lines, and doesn't contain
or do you mean an different file? |
Beta Was this translation helpful? Give feedback.
-
SORRY! I was going to write radio.c file, but got carried away :) |
Beta Was this translation helpful? Give feedback.
-
NP, Changed it. but the serial output hasn't changed |
Beta Was this translation helpful? Give feedback.
-
You should put LMIC_DEBUG_LEVEL 2 line in your project_config file and recompile everything. |
Beta Was this translation helpful? Give feedback.
-
at least something has changed |
Beta Was this translation helpful? Give feedback.
-
Yep. This means that there is something wrong with pins. |
Beta Was this translation helpful? Give feedback.
-
Here is an ESP32-Arduino link, in case you don't have it already ESP32 support in Arduino IDE |
Beta Was this translation helpful? Give feedback.
-
Okey that's odd, first the sketch wouldn't compile on board type: TTGO LORA32-oled V1
|
Beta Was this translation helpful? Give feedback.
-
Cool! You may remove LMIC_DEBUG_LEVEL from your code, recompile and see if everything works as needed! |
Beta Was this translation helpful? Give feedback.
-
V1 in your comment worries me a bit. You have V3 board and that is a lot in electronics :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Nope. :^) It says that the board has sent Join request out over the radio. Just that. Event 20 is EV_JOIN_TXCOMPLETE.
|
Beta Was this translation helpful? Give feedback.
-
SF12 has longer time on air, but also better suited to long distances. LMIC library tries to start 'high' with better speeds/shorter distances and then gradually falls down to lower speeds. Setting SF12 will just save time and it won't affect real data transmission, just network connection. |
Beta Was this translation helpful? Give feedback.
-
I'll leave it running for an while. But I think I'll have to test it when I'm closer to the gateway. So far it hasn't picked up any data. The range of the SX1276 only seems to be around the 6km |
Beta Was this translation helpful? Give feedback.
-
Yes, 15 is a little too far :) |
Beta Was this translation helpful? Give feedback.
-
It was supposed to be only 100 meters, just on the other side of the school grounds. But yeah, I cant really go to school. Even though this is part of my exam. Thanks for all the help! |
Beta Was this translation helpful? Give feedback.
-
Happy testing and good luck with exam! If it works for you, please don't forget to close the issue. |
Beta Was this translation helpful? Give feedback.
-
Is this still live? If not, may I close it? |
Beta Was this translation helpful? Give feedback.
-
Yeah, it's closed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to LORA, and I'm more of an hardware engineer so programming isn't my strong suit.
After finally managing to upload it without an compile errors I get:
After an quick search I found the error points to ASSERT(0);
#40 started with an similar issue, and it was all I could find that could be related.
I'm using the latest version of the LMIC library(downloaded earlier this morning)
Arduino IDE 1.8.9
Board is the TTGO LORA32(SX1276): EU868
I'm planning on connecting to an TTN gateway, but I'm not sure if it's in range (as I'm currently at home and the gateway is at school plugged in)
My code (slightly modified and trimmed example code):
Beta Was this translation helpful? Give feedback.
All reactions