Just analyse things step-by-step, there could be any number of things wrong.
So do you see your join-request in the console of the gateway?
First make sure you see your join request in the gateway console, then make sure you see a join accept being sent out by the gateway, then see if you can receive it on the node.
The event codes for LMIC are here:
Number 20 is EV_JOIN_TXCOMPLETE, which means that the node claims it sent a JOIN accept.
On an atmel, things are quite tight with respect to memory, perhaps too tight in your case.
Yes, hence the comment about lack of memory above - the Heltech modules have far more memory.
As before, forum policy is not to use pictures when you can copy & paste the text. Please review the how-to
The MobileFish tutorial gives some useful information although I find that using LoRaWAN 1.0.2 doesnât work as well with the new stack. I havenât tried turning off the TimeReq MAC command but I can see that that would help.
I note in one of your text sections above you are including <Adafruit_Sensor.h> - Iâm not sure that is required for the DHT library and it may be adding an overhead to both flash & RAM, you may want to try removing it.
But overall you appear to have got to a point where it thinks it is transmitting the Join Request.
What was the flash size & available SRAM on the compile? It is shown in the IDE just before it downloads to the device - DO NOT take a screen shot - it is text.
Does your gateway âseeâ the join request in its web console? If not, does the gateway internal log see the transmission?
How far apart is the device & the gateway?
Did you put the OTAA EUIâs in as little endian?
Can you try the example TTN OTAA sketch without any extras, just the 2 EUIâs & the AppKey?
Flash/SRAM use similar to my test device - although the actual numbers would be clearer - 22K leaves plenty of space for a small selection of sensors but 614B is getting close to where I see the devices freezing.
I wasnât thinking of the gateway config, I was thinking of the log of activity from the gateway that shows uplinks & downlinks. This will show if the gateway hears the join request. If it does, but it has some issue - like it fails the CRC check - it wonât be sent on to TTS which is why it wouldnât been seen on the gateway console.
Do you have any other devices you could use to verify the gateway is OK?
You may have done this already, but just checking youâve changed the region in lmic_project_config.h?