# Connecting to a GW in New Zealand

**URL:** <https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110>\
**Category:** How to get started\
**Created:** [March 3, 2021, 8:05pm UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110 "2021-03-03T20:05:28Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![flyonly](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/flyonly/32/35697_2.png) [@flyonly](https://www.thethingsnetwork.org/forum/u/flyonly)\
**Post date:** [March 3, 2021, 8:05pm UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/1 "2021-03-03T20:05:28Z")

</div>

Hi

I have been trying for over a week to get my Heltec Lorawan 32 (V2) to connect to a gateway. I did think it could be that I am too far away from the Gateway. Today I drove to just outside a place that shows one on the TTN Gateway Mapper.

I don’t know what to do next. Is there anyone in the Waikato that might be able to help talk me through it?

I have had someone check that I am entering the information from the TTN to the Arduino software and upload it. I didn’t think it was meant to be this hard

Regards

Don

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [March 3, 2021, 8:12pm UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/2 "2021-03-03T20:12:08Z")

</div>

For LoRaWAN many moving parts there are. Not FaceBook is this.

Having gateway of own for debugging do savvy developers have.

70km by 54km is Waikato in size, more precise location would needed be.

---

<div class="post-metadata">

**Author:** ![flyonly](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/flyonly/32/35697_2.png) [@flyonly](https://www.thethingsnetwork.org/forum/u/flyonly)\
**Post date:** [March 3, 2021, 9:38pm UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/3 "2021-03-03T21:38:49Z")

</div>

I drove to the gateway in Hamilton.

I was looking at the TTN indoor gateway as an option to do as you suggest. I don’t think anyone sells that unit here in NZ. Do you have a suggestion of an affordable gateway for testing? I did see somewhere that you can make a simple gateway which I think was using the same board I have. I think you could connect it to the TTN but not publicly

Happy to travel closer to a GW. I did check the one in Hamilton and it still seems to be up on the TTN Mapper

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [March 3, 2021, 10:21pm UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/4 "2021-03-03T22:21:31Z")

</div>

> [@flyonly](#):
>
> I don’t think anyone sells that unit here in NZ. Do you have a suggestion of an affordable gateway for testing?

RAKwireless, Dragino (8 channel only), PyCom as well as the TTIG - Google shopping will make local suggestions plus Amazon.

Single Channel Packet Forwarders actually hamper testing as they can only hear on one of the eight channels the device is expecting.

---

<div class="post-metadata">

**Author:** ![flyonly](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/flyonly/32/35697_2.png) [@flyonly](https://www.thethingsnetwork.org/forum/u/flyonly)\
**Post date:** [March 8, 2021, 9:52am UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/5 "2021-03-08T09:52:09Z")

</div>

Do I have to configure sub bands for NZ? I use the AU915 frequency?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [March 8, 2021, 9:59am UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/6 "2021-03-08T09:59:21Z")

</div>

I’m not up on your side of the planet so I couldn’t say. Who ever does answer would benefit from knowing what gateway you ended up with.

Do you have any devices?

---

<div class="post-metadata">

**Author:** ![flyonly](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/flyonly/32/35697_2.png) [@flyonly](https://www.thethingsnetwork.org/forum/u/flyonly)\
**Post date:** [March 8, 2021, 10:23am UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/7 "2021-03-08T10:23:23Z")

</div>

Hi

I have Heltec Lora 32 v2

---

<div class="post-metadata">

**Author:** ![vaasseniot](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/vaasseniot/32/45150_2.png) [@vaasseniot](https://www.thethingsnetwork.org/forum/u/vaasseniot)\
**Post date:** [March 8, 2021, 11:19am UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/8 "2021-03-08T11:19:47Z")

</div>

I don’t know but possibly needed and often forgotten is to hardwire DIO1 with GPIO33 on TTGO boards i think thats also needed on Heltec boards to have Lora functionality’s working.

---

<div class="post-metadata">

**Author:** ![AndyG](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/andyg/32/35697_2.png) [@AndyG](https://www.thethingsnetwork.org/forum/u/AndyG)\
**Post date:** [March 8, 2021, 10:25pm UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/9 "2021-03-08T22:25:38Z")

</div>

Hi Don,

TTN on AU 915 uses the second group of 8 channels

If you try any of the Heltec examples for your board you need to change the first word of the channels mask from 0x00FF to 0xFF00.

```auto
/*LoraWan channelsmask, AU 915 chanels 8 - 15*/ 
uint16_t userChannelsMask[6]={ 0xFF00,0x0000,0x0000,0x0000,0x0000,0x0000 };
```

If you get your own gateway it is important to get an 8 channel one. I have a RAK 2245 hat on a Raspberry Pi that works quite well for me…

---

<div class="post-metadata">

**Author:** ![flyonly](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/flyonly/32/35697_2.png) [@flyonly](https://www.thethingsnetwork.org/forum/u/flyonly)\
**Post date:** [March 9, 2021, 3:08am UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/10 "2021-03-09T03:08:28Z")

</div>

AndyG could you recommend which sketch I should try please?

Also how do I tell if it should be in the HEX or LSB or MSB?

Its not possible I have mucked up the registration to TTN is it?

---

<div class="post-metadata">

**Author:** ![AndyG](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/andyg/32/35697_2.png) [@AndyG](https://www.thethingsnetwork.org/forum/u/AndyG)\
**Post date:** [March 9, 2021, 4:50am UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/11 "2021-03-09T04:50:46Z")

</div>

I use the Heltec CubeCell boards. I think for the Lora 32 V2 the LoraWAN examples are a bit different. You have to download the license key for the board to be able to use LoraWAN. I think there is an example that monitors the battery voltage.

The Heltec code normally takes the various TTN keys in MSB format.

It is unlikely that anything is wrong on the TTN side. Just make sure the settings your code match the device values in the TTN console.

---

<div class="post-metadata">

**Author:** ![OliverSeiler](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/oliverseiler/32/35697_2.png) [@OliverSeiler](https://www.thethingsnetwork.org/forum/u/OliverSeiler)\
**Post date:** [March 9, 2021, 6:03am UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/12 "2021-03-09T06:03:13Z")

</div>

A couple of things:

- manage your application/device via the meshed console: [https://console.thethings.meshed.com.au/](https://console.thethings.meshed.com.au/)
- Check out what frequency plan the gateway is on - some are using AS923, not AU915. You need to use the same on your device, or get a gateway that supports AU915.

What library is your sketch using?  
For AU915 you might need to configure the use of sub band 1.

---

<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:** [March 9, 2021, 7:43am UTC](https://www.thethingsnetwork.org/forum/t/connecting-to-a-gw-in-new-zealand/45110/13 "2021-03-09T07:43:41Z")

</div>

It looks like in AU the TTN Community will be consolidating around AU915 from the V3 transition, with AS923 left as legacy and looking to ensure AS923 only GWs uplifted to dual mode where possible so may be worthwhile, at this point & before getting too invested in AS923, in NZ that you guys look to do the same. ?

> [@Future Strategies for AU915 and AS923 in Australia](https://www.thethingsnetwork.org/forum/t/future-strategies-for-au915-and-as923-in-australia/44218):
>
> Australia operates in the 915MHz ISM band and is somewhat unique in that both AU915 and AS923 are both allowed to operate. With TTN about to launch the V3 server in Australian it’s an opportune time for the TTN Australian community to review how both systems can best co-exist going forward. The launch of the V3 server is a Break-Point where we have an unique opportunity to: learn from history, review what has changed since the first introduction of LoraWan, and look forward at the next round…
