# RAK 5205 tracker

**URL:** <https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052>\
**Category:** End Devices (Nodes)\
**Created:** [September 20, 2018, 2:11pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052 "2018-09-20T14:11:22Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![patmolloy](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/patmolloy/32/35697_2.png) [@patmolloy](https://www.thethingsnetwork.org/forum/u/patmolloy)\
**Post date:** [December 28, 2018, 10:18pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/57 "2018-12-28T22:18:25Z")

</div>

What DEVEUI are you getting ? My device reports 60 C5 A8 FF FE 00 00 00 but the sticker says 60 C5 A8 FF FE 6D 00 7E

Perhaps DEVEUI needs to be globally unique? And that is what provokes my error message?

---

<div class="post-metadata">

**Author:** ![patmolloy](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/patmolloy/32/35697_2.png) [@patmolloy](https://www.thethingsnetwork.org/forum/u/patmolloy)\
**Post date:** [December 28, 2018, 10:19pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/58 "2018-12-28T22:19:03Z")

</div>

Great!! Thanks for this info … I will try now 🙂

---

<div class="post-metadata">

**Author:** ![kastayou](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kastayou/32/35697_2.png) [@kastayou](https://www.thethingsnetwork.org/forum/u/kastayou)\
**Post date:** [December 28, 2018, 10:24pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/59 "2018-12-28T22:24:19Z")

</div>

In my case the dev eui from the terminal output and the sticker are the same.

---

<div class="post-metadata">

**Author:** ![patmolloy](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/patmolloy/32/35697_2.png) [@patmolloy](https://www.thethingsnetwork.org/forum/u/patmolloy)\
**Post date:** [December 28, 2018, 11:01pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/60 "2018-12-28T23:01:20Z")

</div>

Ok, I cannot get it to accept AT commands. I am using putty … the at\_dev\_eui … is not echoed to the screen.

Do I have to set any special end-of-line characters ? Half duplex etc? Set any jumpers?

Manual says …

at+dev\_eui=60C5A8FFFF1C\*\*\*\*\r\n

for example … so I enter four “\*” characters after the DEVEUI and then press enter?

Sorry … have tried lots of combinations, none work!!

---

<div class="post-metadata">

**Author:** ![patmolloy](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/patmolloy/32/35697_2.png) [@patmolloy](https://www.thethingsnetwork.org/forum/u/patmolloy)\
**Post date:** [December 28, 2018, 11:23pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/61 "2018-12-28T23:23:27Z")

</div>

Success. Up and running on TTN now … used this sofrware as termnal (on windows 10) to issue AT commands [https://www.compuphase.com/software\_termite.htm](https://www.compuphase.com/software_termite.htm) with these settings and it all worked fine …

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/3/9/39914a69a9777d5a3094c789f37a920e96529ca0.png)

---

<div class="post-metadata">

**Author:** ![patmolloy](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/patmolloy/32/35697_2.png) [@patmolloy](https://www.thethingsnetwork.org/forum/u/patmolloy)\
**Post date:** [December 28, 2018, 11:24pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/62 "2018-12-28T23:24:22Z")

</div>

Incidentally I don’t know what those asterisks are in the manual, but they are _NOT_ required.

---

<div class="post-metadata">

**Author:** ![kastayou](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kastayou/32/35697_2.png) [@kastayou](https://www.thethingsnetwork.org/forum/u/kastayou)\
**Post date:** [December 28, 2018, 11:26pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/63 "2018-12-28T23:26:22Z")

</div>

I am not familiar with putty as a console terminal.  
I am using linux, but on windows, I used to like the terminal software called Tera Term (open source)

> **[Tera Term - Terminal Emulator for Windows](https://ttssh2.osdn.jp/index.html.en)**
>
> Tera Term is a terminal emulator running on Windows. It supports telnet/ssh/serial connection.

after each command you need to send a CR (carriage return) + LF (line feed). This is why you have the \r\n at the end of the example.  
The way to enter the CR + LF depends on the software you use as a terminal. You can usually configure your software to automatically send CR + LF when you press enter.

So you need in fact only type this: at+dev\_eui=60C5A8FFFF1C\*\*\*\*  
And you need to replace the stars by your real dev eui.

I think the correct value for your device should be the one on your sticker.  
But the most important is that the dev eui that you are setting on your device matches the one you have entered on TTN when you registered the device.

---

<div class="post-metadata">

**Author:** ![patmolloy](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/patmolloy/32/35697_2.png) [@patmolloy](https://www.thethingsnetwork.org/forum/u/patmolloy)\
**Post date:** [December 28, 2018, 11:34pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/64 "2018-12-28T23:34:34Z")

</div>

Thanks so much, I should probably have used linux too, but was all plugged into my Wndows laptop.

Help invaluable … all working now, incl Cayenne.

Cheers!

---

<div class="post-metadata">

**Author:** ![kastayou](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kastayou/32/35697_2.png) [@kastayou](https://www.thethingsnetwork.org/forum/u/kastayou)\
**Post date:** [December 28, 2018, 11:45pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/65 "2018-12-28T23:45:23Z")

</div>

Are you able to get the GPS coordinates?

---

<div class="post-metadata">

**Author:** ![patmolloy](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/patmolloy/32/35697_2.png) [@patmolloy](https://www.thethingsnetwork.org/forum/u/patmolloy)\
**Post date:** [December 29, 2018, 11:41am UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/66 "2018-12-29T11:41:43Z")

</div>

Yes, once the antenna was connected and had a decent view of the sky the GPS data started flowing … and also appeared correctly in Cayenne

```
OTAA Join Start...
OTAA Join Success
latitude: 51.457207, longitude: -0.219332 , altitudeGps: 30
Bat: 3806mv

```

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/b/2/b2362c9c7bf191040fa9b77484249e9d88e056db.png)

---

<div class="post-metadata">

**Author:** ![andreas58](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/andreas58/32/35697_2.png) [@andreas58](https://www.thethingsnetwork.org/forum/u/andreas58)\
**Post date:** [January 3, 2019, 7:11pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/67 "2019-01-03T19:11:16Z")

</div>

Module works fine, took a while before I could connect it to TTN by means of the at commands.  
Can anyone tell me which payload format to use in TTN? I don’t get any readable data.

---

<div class="post-metadata">

**Author:** ![kastayou](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kastayou/32/35697_2.png) [@kastayou](https://www.thethingsnetwork.org/forum/u/kastayou)\
**Post date:** [January 3, 2019, 9:48pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/68 "2019-01-03T21:48:19Z")

</div>

The payload format is cayenne LPP.

The module I received was delivered with firmware version 1.1.6 which use one set of AT command  
refer to this post for the applicable AT command:  
[https://www.thethingsnetwork.org/forum/t/the-rak-811-v-2-0-tracker-module/18052/46?u=kastayou](https://www.thethingsnetwork.org/forum/t/the-rak-811-v-2-0-tracker-module/18052/46)

The latest firmware available on the RAK github is version 2.0.0.2 which use a different set of AT command

> <https://github.com/RAKWireless/RAK5205-WisTrio-LoRa/blob/master/doc/RAK811%C2%A0Lora%C2%A0AT%C2%A0Command%C2%A0V1.4.pdf>

I am currently not able to modify, through the AT command, the interval at which the data are sent (bug in the firmware ??). the default interval value does not respect the TTN fair use policy.

---

<div class="post-metadata">

**Author:** ![andreas58](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/andreas58/32/35697_2.png) [@andreas58](https://www.thethingsnetwork.org/forum/u/andreas58)\
**Post date:** [January 4, 2019, 3:38pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/69 "2019-01-04T15:38:57Z")

</div>

Thanks for your answer. I’am using firmware 2.0.0. at the moment.

KR.

---

<div class="post-metadata">

**Author:** ![kastayou](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kastayou/32/35697_2.png) [@kastayou](https://www.thethingsnetwork.org/forum/u/kastayou)\
**Post date:** [January 4, 2019, 6:49pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/70 "2019-01-04T18:49:38Z")

</div>

Please note that they have released two different firmwares that output v2.0.0.0 on the console.  
One of the 2.0.0.0 version has a bug and can only send confirmed messages which will quickly violate the TTN fair use policy

> [@Fair Use Policy explained](https://www.thethingsnetwork.org/forum/t/limitations-data-rate-packet-size-30-seconds-uplink-and-10-messages-downlink-per-day-fair-access-policy/1300):
>
> For The Things Network’s public community network the [Fair Access Policy](https://www.thethingsnetwork.org/docs/lorawan/duty-cycle.html#maximum-duty-cycle) limits the data each end-device can send, by allowing: An average of 30 seconds uplink time on air, per 24 hours, per device. At most 10 downlink messages per 24 hours, including the ACKs for confirmed uplinks. A good goal is to keep the application payload under 12 bytes, and the interval between messages at least several minutes. An [online airtime calculator can give you some insight](https://avbentem.github.io/airtime-calculator). The following regulations apply a…

For the other 2.0.0.0 version, I am not sure if by default the node is sending unconfirmed messages or if you need to manually change the parameter

---

<div class="post-metadata">

**Author:** ![Afremont](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/afremont/32/44894_2.png) [@Afremont](https://www.thethingsnetwork.org/forum/u/Afremont)\
**Post date:** [January 24, 2019, 9:58pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/71 "2019-01-24T21:58:43Z")

</div>

Has anyone been able to compile this from source? I’m using Eclipse, and I’ve made pretty good progress, but I’m still having some issues that look a lot like actual errors in the github source. I’m using the latest available code. Unfortunately, there are no Makefiles, or project files other than Keil. I’m stuck at a compile error where a source file is obviously referencing an undefined symbol. It would appear that the github contents pushed up a few days ago weren’t exactly a working combination. ☹

---

<div class="post-metadata">

**Author:** ![abhishek2101](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/abhishek2101/32/25844_2.png) [@abhishek2101](https://www.thethingsnetwork.org/forum/u/abhishek2101)\
**Post date:** [February 14, 2019, 5:40am UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/72 "2019-02-14T05:40:03Z")

</div>

Hi

has anybody used RAK5205 device ? just wanted to know what IDE is used for programming, which language and if there are libraries available ?

---

<div class="post-metadata">

**Author:** ![steven\_tang](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/steven_tang/32/20484_2.png) [@steven\_tang](https://www.thethingsnetwork.org/forum/u/steven_tang)\
**Post date:** [February 14, 2019, 10:16am UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/73 "2019-02-14T10:16:24Z")

</div>

it is coocox IDE From ST . please check this document .  
[RAK5205\_User\_Manual\_V1.4.pdf](http://docs.rakwireless.com/en/LoRa/WisTrio-LoRa-RAK5205/Hardware_Specification/RAK5205_User_Manual_V1.4.pdf)

---

<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:** [February 14, 2019, 10:25am UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/74 "2019-02-14T10:25:44Z")

</div>

For the V1 811 Tracker Rak used the CoIDe, but for the RAK5205 its now based on Keil MDK (V5+?)

Manual now at Rev 1.5/Rev 1.6

Code base here

> **[RAKWireless/RAK5205-WisTrio-LoRa](https://github.com/RAKWireless/RAK5205-WisTrio-LoRa)**
>
> RAK5205-WisTrio-LoRa :GPS ,BME680,LIS3DH,LoRaWAN1.0.2,ARM Cortex-M3 STM32L1 - RAKWireless/RAK5205-WisTrio-LoRa

If you are struggling contact fomi @ rak

If you want to get up and running quickly there are demo binaries (for HF & LF Bands here (with STM Flash utility). Put jumper into Boot mode and power up device to access then when flashed change jumper back and re-boot using Uart utility to interact with device per manual to configure and then join TTN 🙂

> **[RAKWireless/RAK5205-WisTrio-LoRa](https://github.com/RAKWireless/RAK5205-WisTrio-LoRa/tree/master/doc/Firmware)**
>
> RAK5205-WisTrio-LoRa :GPS ,BME680,LIS3DH,LoRaWAN1.0.2,ARM Cortex-M3 STM32L1 - RAKWireless/RAK5205-WisTrio-LoRa

Good luck 👍

---

<div class="post-metadata">

**Author:** ![Afremont](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/afremont/32/44894_2.png) [@Afremont](https://www.thethingsnetwork.org/forum/u/Afremont)\
**Post date:** [February 16, 2019, 4:32pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/75 "2019-02-16T16:32:10Z")

</div>

I really wish Rak would consider anything other than keil, even eclipse. Keil development tools cost an absolute fortune. Rak’s solution seems to have been to put a serial number cracker utility on GitHub. ☹ That very much disappoints me.

As an alternative, perhaps creating an mbed os board would be a good solution. Even a basic, but workable, gcc makefile setup would be nice. I have not succeeded in compiling the release using gcc due to syntax errors in a module and difficulty in determining command line requirements. I am now pursuing the possibility of getting both devices working with mbed. Mbed appears to contain a viable Lorawan stack and the os supports deep sleeping.

---

<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:** [February 16, 2019, 4:58pm UTC](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052/76 "2019-02-16T16:58:11Z")

</div>

The cracker was supposed to have been removed/hidden…do not use as it is a) against copyright/license and b) virused! (Trojan) 😉 I did let Rak know about (b)

Would agree wrt alternate to Keil - the lite version sadly is limited to (IIRC) 32kB file where as even the basic RAK811 tracket and now the Rak5205 come in around 80-105kB…they are looking at gcc going forward I understand…

[Previous page](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052.md?page=1)

[Next page](https://www.thethingsnetwork.org/forum/t/rak-5205-tracker/18052.md?page=3)
