Rak811 Tracker Board

(Jezd) #266

are you able to share your code?

(Olof Ast) #268

Not sure if I am doing this right but for those interested in development for the RAK811-Trackerboard with mbed os arduino, please look here.

(Goran Mahovlic) #269

I have created code to bridge GPS serial and USB serial.
Idea is to set GPS to low power mode to send data only every few minutes not every sec.
GPS > USB is working nicely
I still do not know how GPS config message ends so I send byte by byte.
I do not see any change when I send config to GPS :frowning:


(Jac Kersing) #270

Rak831? The lorawan gateway module? Why would you want to set the gps to low power for a gateway?
Or did you make a mistake in the numbers and are you referring to the rak811 (the subject of this thread)?

(Goran Mahovlic) #271

Yes missed no. it is 811 :slight_smile:
Moved to 811 https://github.com/goran-mahovlic/RAK811-GPS-FORWARDER

(Russ Nelson) #272

Progress. I have a 3D printed part that holds the battery and board together reasonably securely.
I have figured out how to talk to the software over the serial port.
My thought is to use one of the GPIO pins to put it into serializing mode.
That would let you enter the id and key of your application.
It will be stored in the EEPROM, along with other things like the delay between transmissions, and whether you wanted to upload the accelerometer data and/or battery data.
That, plus an integration with ttnmapper would let you do mapping without having to compile any code.
I could make binaries for any of the regions. That could probably also be turned into a run-time selection, but it would also make the code larger. I haven’t checked to see how close we are to filling up the code space.

(Vladimir Bakum) #273

I dont use GPS module (not soldered).
I removed power LED, software disabled LED1 & LED2. Now current consumption of board is:
Hold the RESET button - 39.5 mA;
Wait mode - 6.5 mA;
Transmit of packet - 68.8 mA;
Two short strange consumption after transmit - 22.2 mA.
Now drop of voltage is 70 mV per one day (18650). I would very much like to get values in microamperes in sleep mode.

I did as you wrote, but I can not put the device into sleep mode.
Are you able to share your code? Or working example, please.

With best regards.

(Russ Nelson) #274

Hrm. Does this CPU have any non-volatile storage in it?

(Olof Ast) #275

I think it has eeprom starting at 0x08080000.
With mbed you can access it like this.

#include “mbed.h”
#include “stm32l1xx_flash.h”

FLASH_Status writeEEPROMByte(uint32_t address, uint8_t data) {
address = address + 0x08080000;
DATA_EEPROM_Unlock(); //Unprotect the EEPROM to allow writing
status = DATA_EEPROM_ProgramByte(address, data);
DATA_EEPROM_Lock(); // Reprotect the EEPROM
return status;

uint8_t readEEPROMByte(uint32_t address) {
uint8_t tmp = 0;
address = address + 0x08080000;
tmp = (__IO uint32_t)address;

return tmp;


Should be similar with cmsis,
#include “stm32l1xx_hal.h”

(Kenyu) #276

correct, any question send email to ken.yu@rakwireless.com for coordinate.

(Russ Nelson) #278

Should I expect this to work with the Tracker? https://www.aliexpress.com/item/STOTON-high-gain-SMA-connector-28dB-BEI-DOU-GPS-Antenna-Ceramic-Patch-Built-in-GPS-Active/32816386209.html?spm=a2g0s.9042311.0.0.3da24c4dFq5qNG

It seems not to work.


This one works:

Look what I found on AliExpress

(Kenyu) #280

After seriously read the discussion by this thread and rak forum, we collect the suggestion and decide to optimize the rak811 tracker design as following:

  1. The R1/C1 pin of GPS power switch chip U5 needs to be connected to a pull-up circuit。
  2. Power indicator LED1 light removed. Reserve charge indicator, and two GPIO control status indicators.
  3. The EXTINT0 and ANTON pin of the GPS module needs to be connected to GPIO to facilitate wake-up in low power mode.
  4. CP2102 chip removed, add a serial adapter board accessories。
  5. Add GPIO to detect the power supply type of the device, battery-powered or USB-powered. It can be detected using the power chip PG pin and CHG pin.
  6. Directs one UART interface for users to expand to other devices。

Any more suggestions to RAK Wireless?

(QLion) #281

Arduino Compatible ?

Thanks Kenuy!!

(Russ Nelson) #282

Yes, that does work. I have one already. I’m looking for something with a shorter cable, so it’s not so bulky.

(Ro Ja) #283

Hello, have you test with an another antenna ? I search an small active/passive antenna compatible RAK811 Tracker but I read about chip MAX-7Q is only with passive antenna. I’m not sure. I find only antenna with a long cable.

(Konrad Roeder) #284

I’ve been getting excellent results with the passive GPS antenna that comes with the board. However, for LoRa, I have replaced the antenna with another one twice the size, giving me better antenna gain.


(Ciscoman) #285

I have the same issue. Before getting a RAK811 I was playing with TheThingsUno + Ublox GPS. The RAK811 miss a lot of places that with the other setting I was able to connect. Did you solve the problem? I guess the problem comes with the LoRa antenna…

(Wizard at Large) #286

For those interested in the next gen of the RAK811 … https://www.rakwireless.com/en/beta-wistrio

(Mvbakel) #287

I got mine RAK811-'s in two weeks ago from AliX not knowing there was a new ‘generation’ coming. But no hard feelings because my two units work excellent together with Cayenne.
It took only two days to get it working with all help I could find on the internet.

The new generation seems to be much more power efficient but be aware that it takes time to get a stable / reliable product both hardware/software. In that sense I do not have good experiences with the SODAQ tracker. I am looking forward to buy some discounted RAK811 trackers for my project.