# Joing TTN with a COM.X M5STACK

**URL:** <https://www.thethingsnetwork.org/forum/t/joing-ttn-with-a-com-x-m5stack/51309>\
**Category:** Heltec CubeCell\
**Created:** [September 5, 2021, 2:20pm UTC](https://www.thethingsnetwork.org/forum/t/joing-ttn-with-a-com-x-m5stack/51309 "2021-09-05T14:20:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denfert31](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/denfert31/32/35697_2.png) [@Denfert31](https://www.thethingsnetwork.org/forum/u/Denfert31)\
**Post date:** [September 5, 2021, 2:20pm UTC](https://www.thethingsnetwork.org/forum/t/joing-ttn-with-a-com-x-m5stack/51309/1 "2021-09-05T14:20:51Z")

</div>

Hi there,

I currently do my best to join the network using a COM.X M5STACK node and would be pleased to have a bit of help from the community.  
My device is:  
[https://docs.m5stack.com/en/module/comx\_lorawan](https://docs.m5stack.com/en/module/comx_lorawan)

It has a Heltec processor inside:

[http://df.mchobby.be/M5-MOD-LORAWAN/TB200926512-CE-REPORT.pdf](http://df.mchobby.be/M5-MOD-LORAWAN/TB200926512-CE-REPORT.pdf)

Following this [tutorial](https://www.hackster.io/sodoku/m5stack-com-lorawan-using-uiflow-fdcd7f)

, I managed to find the DevEUI, registered the device on TTN, chose a custom App EUI (as 0000000000000 was already taken), got an AppKey, and loaded back both AppEUI and Appkey in the device.

Regarding to network layer in TTN, i chose the following:  
 ![NETWORK LAYER](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/f/1/f1ae86294ea8b1f300f2e1aadf4414a50544888c.png)

I then tried the **AT+Join=1** command, but joining keeps failing, whereas i am 1km far from a TTN GATEWAY:

**The Things Stack Gateway**  
Network ID: NS\_TTS\_V3://ttn@000013  
Gateway ID: eui-54450008004a214f  
Gateway EUI: 54450008004A214F  
TTN Mapper ID: 87817  
Description: null  
Last heard: 2021-09-05 14:02:04.825906+00  
Coordinates: 43.60330161559309, 1.3567911385507614

Would anyone please have an advice or step by step to figure joining issues ?

Kind Regards,

Denfert31

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [September 5, 2021, 2:35pm UTC](https://www.thethingsnetwork.org/forum/t/joing-ttn-with-a-com-x-m5stack/51309/2 "2021-09-05T14:35:38Z")

</div>

1. get closer to GW, to be sure no topology or building clutter issues - are you in LOS?
2. RX2 DRI should be DR3 not 0 (as per higher up (SF9))
3. “chose a custom AppEUI” - how done - might conflict with genuine owner of such EUI if not careful, also all zeroes should be possible (forum search)
4. suggest loose Class C until you have node running correctly
5. as Cube-Cell based use forum search to look at others experience…and read the documentation…

---

<div class="post-metadata">

**Author:** ![Denfert31](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/denfert31/32/35697_2.png) [@Denfert31](https://www.thethingsnetwork.org/forum/u/Denfert31)\
**Post date:** [September 5, 2021, 3:03pm UTC](https://www.thethingsnetwork.org/forum/t/joing-ttn-with-a-com-x-m5stack/51309/3 "2021-09-05T15:03:05Z")

</div>

Hi Jeff-UK  
thanks for your reply !

1. What is LOS ? I am close to Toulouse in SW France

2. Will do my best to read the documentation to understand what do you mean with “RX2 DRI should be DR3 not 0 (as per higher up (SF9)”

3.Just typed it in the TTN interface (chose 1200000000000000 as zeroes only was giving conflicts)

1. OK
2. OK, let’s find out !

[Heltec Automation(TM) products index page](https://docs.heltec.cn/#/en/user_manual/how_to_connect_cubecell_to_ttn-the-things-network) is broken but is certainly elsewhere.

Cheers,

Denfert31

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [September 5, 2021, 5:22pm UTC](https://www.thethingsnetwork.org/forum/t/joing-ttn-with-a-com-x-m5stack/51309/4 "2021-09-05T17:22:26Z")

</div>

1. **L** ine **O** f **S** ight - classic RF/connectivity term sorry for the TLA! 😉

2. Your picture of console/regsitration details above…
