# Heltec wireless tracker

**URL:** <https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385>\
**Category:** LMIC\
**Created:** [November 3, 2023, 2:50pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385 "2023-11-03T14:50:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![brugk000](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/brugk000/32/45175_2.png) [@brugk000](https://www.thethingsnetwork.org/forum/u/brugk000)\
**Post date:** [November 3, 2023, 2:50pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/1 "2023-11-03T14:50:22Z")

</div>

I am trying to connect to TTN with the Heltec wireless tracker, but I cant find all the DIO pins.  
I found DIO1 on pin 14, but I need DIO0 to.  
Can somebody pass me the information to the right place to look.  
Thanks

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 3, 2023, 3:13pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/2 "2023-11-03T15:13:47Z")

</div>

Maybe provide a link to the product so we know we’re looking at the correct hardware?

---

<div class="post-metadata">

**Author:** ![brugk000](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/brugk000/32/45175_2.png) [@brugk000](https://www.thethingsnetwork.org/forum/u/brugk000)\
**Post date:** [November 3, 2023, 4:08pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/3 "2023-11-03T16:08:46Z")

</div>

This is the link to the product

> **[Wireless Tracker](https://heltec.org/project/wireless-tracker/)**

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 3, 2023, 4:38pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/4 "2023-11-03T16:38:44Z")

</div>

And what software do you want to use?

---

<div class="post-metadata">

**Author:** ![brugk000](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/brugk000/32/45175_2.png) [@brugk000](https://www.thethingsnetwork.org/forum/u/brugk000)\
**Post date:** [November 3, 2023, 5:43pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/5 "2023-11-03T17:43:53Z")

</div>

```auto
I am now using this pio init file:
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:heltec_wireless_tracker]
platform = espressif32
board = heltec_wireless_tracker
framework = arduino
monitor_speed = 115200

lib_deps =
  # RECOMMENDED
  # Accept new functionality in a backwards compatible manner and patches
  MCCI LoRaWAN LMIC library

build_flags = 
  -D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
  -D hal_init=LMICHAL_init
  -D CFG_eu868=1
  -D CFG_sx1276_radio=1

```

---

<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:** [November 3, 2023, 5:52pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/6 "2023-11-03T17:52:02Z")

</div>

There is no DIO0 on that board.

And there is no driver for the SX1262 in LMIC.

So you could use the tracker code provided by Heltec.

Or change boards …

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 3, 2023, 6:13pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/7 "2023-11-03T18:13:54Z")

</div>

> [@brugk000](#):
>
> `CFG_sx1276_radio=1`

Looking at the specs of the board you linked to that isn’t right. This definition is for older Heltec hardware. Use the Heltec provided software for that board.

---

<div class="post-metadata">

**Author:** ![brugk000](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/brugk000/32/45175_2.png) [@brugk000](https://www.thethingsnetwork.org/forum/u/brugk000)\
**Post date:** [November 3, 2023, 6:20pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/8 "2023-11-03T18:20:46Z")

</div>

Thanks you both, I see the problem now.  
I dive into the Heltec software.  
Thanks again. This was very helpfull

---

<div class="post-metadata">

**Author:** ![brugk000](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/brugk000/32/45175_2.png) [@brugk000](https://www.thethingsnetwork.org/forum/u/brugk000)\
**Post date:** [November 4, 2023, 11:02am UTC](https://www.thethingsnetwork.org/forum/t/heltec-wireless-tracker/65385/9 "2023-11-04T11:02:46Z")

</div>

Update diving:  
Got the wireless tracker working on TTN with this library: [GitHub - ngraziano/LMICPP-Arduino: Lmic (LoraWAN-in-C) modified to C++](https://github.com/ngraziano/LMICPP-Arduino)
