# The hard RAK831 cafe part 2

**URL:** <https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576>\
**Category:** RAK Gateways\
**Created:** [November 13, 2017, 11:38am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576 "2017-11-13T11:38:28Z")\
**Posts on this page:** 20\
**Page:** 10

<div class="post-metadata">

**Author:** ![snorkman](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/snorkman/32/40934_2.png) [@snorkman](https://www.thethingsnetwork.org/forum/u/snorkman)\
**Post date:** [June 11, 2018, 11:50am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/188 "2018-06-11T11:50:45Z")

</div>

Interesting, I am wondering how does itfix to the board, thermal paste also required?

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/48549_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [June 11, 2018, 12:05pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/189 "2018-06-11T12:05:37Z")

</div>

I would guess thermal self-adhesive tape would be used because presumably there are no mechanical mounting points.  
On the right picture, the pink-brown material (2 pieces) under the heatsink appears like it is not sticking to anything.  
The material has to perform three different functions:

- As electrical insulator to prevent short-cutting the PCB
- As heat-resistant glue to mount and keep the heatsink onto the PCB
- As thermal conductor to transport heat from the PCB to the heatsink.

The heatsink is wider than the PCB. This increases thermal performance but also makes it mechanically less robust and more sensitive to shocks and bumps _(and does not help cool the Raspberry Pi MCU)_.  
I’m curious how they are going to attach it.

---

<div class="post-metadata">

**Author:** ![JohnHunt](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johnhunt/32/25844_2.png) [@JohnHunt](https://www.thethingsnetwork.org/forum/u/JohnHunt)\
**Post date:** [June 18, 2018, 10:51am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/190 "2018-06-18T10:51:59Z")

</div>

It seems that RAK wireless copied the datasheet of iC880A. Typical chinese way of doing business…

> <https://twitter.com/IoTbyIMST/status/1004662366481666048>

---

<div class="post-metadata">

**Author:** ![Couin](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/couin/32/25844_2.png) [@Couin](https://www.thethingsnetwork.org/forum/u/Couin)\
**Post date:** [July 1, 2018, 12:30am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/191 "2018-07-01T00:30:38Z")

</div>

I’ve found this link 😊  
[AliExpress Link - Rak Wireless Store](https://fr.aliexpress.com/store/product/Cooler-Radiator-Aluminum-Heat-Sinks-for-RAK831-LoRa-Gateway-Developer-Kit-Efficient-Thermolysis/2805180_32881801504.html?spm=a2g0w.12010615.8148356.16.94cd1482F5t5xe)

---

<div class="post-metadata">

**Author:** ![bjacobse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bjacobse/32/18345_2.png) [@bjacobse](https://www.thethingsnetwork.org/forum/u/bjacobse)\
**Post date:** [July 7, 2018, 6:53pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/192 "2018-07-07T18:53:21Z")

</div>

Hi I have had my gateway for a few months, I know that indoor placement with a little whip antenna is not the a good solution. We have quite poor mobile phone coverage as we have gypsic plates with silverfoil in our walls - but anyway I would expect some TX signal going to my gateway that should sniff some RX. So I need some help to debug  
What to do?  
 ![lora_console_gw](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/9/9b7ff2f6f09c7d3cea01ddede82bf712befcbcd7.png)  
 ![lora_syslog](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/d/d025743e35ac53055b23dece4be61d394457a05d.png)

![lora_tcpdump_1700](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/9/9c45271c5100c6aeed2ce418f4e7b207a6cb4358.png)

---

<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:** [July 7, 2018, 8:24pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/193 "2018-07-07T20:24:47Z")

</div>

This looks al perfectly healthy, do you have a node near the gateway? (Not too near, 3-5 meters distance should work)

---

<div class="post-metadata">

**Author:** ![bjacobse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bjacobse/32/18345_2.png) [@bjacobse](https://www.thethingsnetwork.org/forum/u/bjacobse)\
**Post date:** [July 7, 2018, 8:42pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/194 "2018-07-07T20:42:53Z")

</div>

Thanks for a quick reply. Well I don’t have any nodes myself, so I thought that I would receive data from other nodes when they transmit?  
I would expect from [ttnmapper.org](http://ttnmapper.org) that I would receive adn forward some node-packages  
 ![lora_ttn_mapper](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/1/1db437e62cad09943720c455083a425e937a0455.png)

---

<div class="post-metadata">

**Author:** ![bjacobse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bjacobse/32/18345_2.png) [@bjacobse](https://www.thethingsnetwork.org/forum/u/bjacobse)\
**Post date:** [July 7, 2018, 8:46pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/195 "2018-07-07T20:46:20Z")

</div>

Now when I look into my log, then I see that It looked like that I have received something, but I got CRC fail  
Can this behave due to poor antenna reception?  
 ![lora_log_receive](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/a/a97a5b16792428cd5d5cb5ca204e6319775c21b7.png)

---

<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:** [July 7, 2018, 9:57pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/196 "2018-07-07T21:57:42Z")

</div>

Could be the signal level is too low to receive an undamaged packet. Could be the received data is not a valid packet at all.

Best way to test is to obtain a node and try to send data 😄  
The ttnmapper data could have been obtained last year so your gateway had no chance of receiving it. However the antenna and its position inside a faraday like room will not help. If possible you could position the gateway outside (when it’s dry) for a couple of hours to see if that makes a difference.

---

<div class="post-metadata">

**Author:** ![bjacobse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bjacobse/32/18345_2.png) [@bjacobse](https://www.thethingsnetwork.org/forum/u/bjacobse)\
**Post date:** [July 7, 2018, 9:59pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/197 "2018-07-07T21:59:02Z")

</div>

I have been thinking what could interfere with 868MHz and I somehow wasn’t thinking of my Zwave devices for homeautomation, they also operate on ISM band

> **[Z-Wave](https://en.wikipedia.org/wiki/Z-Wave)**
>
> Z-Wave is a wireless communications protocol used primarily for home automation. It is a mesh network using low-energy radio waves to communicate from appliance to appliance, allowing for wireless control of residential appliances and other devices, such as lighting control, security systems, thermostats, windows, locks, swimming pools and garage door openers. Like other protocols and systems aimed at the home and office automation market, a Z-Wave system can be controlled via the Intern The Z-Wa...

  
I need to extend my Ethernet cable to the garage away from my house, to check if I then can receive some good data packages from somebodies node

---

<div class="post-metadata">

**Author:** ![trunghoang](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/trunghoang/32/33756_2.png) [@trunghoang](https://www.thethingsnetwork.org/forum/u/trunghoang)\
**Post date:** [July 18, 2018, 10:45am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/204 "2018-07-18T10:45:56Z")

</div>

@TonySmith In my country, the 868MHz frequency is forbidden but I see its popularity in the world 🙂

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 18, 2018, 3:14pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/205 "2018-07-18T15:14:30Z")

</div>

So you are **illegally** using that frequency in your country and the TTN network.  
Off course we don’t approve that.

---

<div class="post-metadata">

**Author:** ![trunghoang](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/trunghoang/32/33756_2.png) [@trunghoang](https://www.thethingsnetwork.org/forum/u/trunghoang)\
**Post date:** [August 17, 2018, 9:42am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/206 "2018-08-17T09:42:54Z")

</div>

Has anyone programmed RAk831 with ESP8266 or other MCU? I want to deep understand about communicating SPI between RAk831 and raspberry pi. I reading Lora packet\_forword but I have a problem when converting SPI of raspberry Pi to SPI of MCU.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [August 17, 2018, 10:49am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/207 "2018-08-17T10:49:47Z")

</div>

> [@trunghoang](#):
>
> I reading Lora packet\_forword but I have a problem when converting SPI of raspberry Pi to SPI of MCU.

please explain… what did you use as MCU… what did you exactly convert and where can we see the converted code ?

---

<div class="post-metadata">

**Author:** ![trunghoang](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/trunghoang/32/33756_2.png) [@trunghoang](https://www.thethingsnetwork.org/forum/u/trunghoang)\
**Post date:** [August 17, 2018, 3:04pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/208 "2018-08-17T15:04:52Z")

</div>

hi BoRRoz. I use STM32 to connect RAK831. I want to know what did raspberry pi write/read into the address of RAk831 but I don’t know about SPI of Pi so some line in code I don’t clear.

---

<div class="post-metadata">

**Author:** ![tibbe](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tibbe/32/35697_2.png) [@tibbe](https://www.thethingsnetwork.org/forum/u/tibbe)\
**Post date:** [August 18, 2018, 3:04pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/209 "2018-08-18T15:04:44Z")

</div>

Hi!  
I don’t know why I am not able to send anything from my **RAK831 Gateway** to my **RFM95 node** using **util\_tx\_test.c** program (from [https://github.com/Lora-net/lora\_gateway](https://github.com/Lora-net/lora_gateway)) as plain LoRa packets. Nothing gets received on the node(using Radio Head library on node).

The log on the RAK831 is fine:  
_Sending 10 packets on 868400000 Hz (BW 125 kHz, SF 7, CR 1, 16 bytes payload, 8 symbols preamble) at 14 dBm, with 100 ms between each  
INFO: concentrator started, packet can be sent  
Sending packet number 1 …INFO: tx\_start\_delay=1495 (1495.500000) - (1497, bw\_delay=1.500000, notch\_delay=0.000000)  
OK_

Things I checked:

- Tested inverted modulation from gateway.
- Changed SyncWord to 0x12 on end node and set loraWAN\_public=false in the code.
- matched frequency, CR, SF, BW, preamble.

I can send from the RFM95 node to the RAK831 gateway using util\_pkt\_logger without any problems. I also tried with another Dragino-gateway that could send to the end node without problems, so the end node is fine.

What could be wrong?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/48549_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [September 25, 2018, 9:19pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/210 "2018-09-25T21:19:19Z")

</div>

Picture from RAK831 + RPi Converter + RPi from the [RAK Wireless Module Store](https://www.aliexpress.com/item/LoRa-Gateway-Developer-Kit-RAK831-LoRa-LoRaWan-Module-with-Raspberry-base-on-SX1301-433-868-915MHz/32830271395.html).

That GPS antenna picture is truly creative. 😉

![Creative%20GPS%20antenna](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/0/0/00839d609f004ec0c82f3d871111f37d1ea5ff2c.jpeg)

---

<div class="post-metadata">

**Author:** ![DavidG](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/d/bbce88/32.png) [@DavidG](https://www.thethingsnetwork.org/forum/u/DavidG)\
**Post date:** [October 2, 2018, 10:42pm UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/211 "2018-10-02T22:42:12Z")

</div>

Hi  
2 questions,  
1  
Has anyone got some pointers on how to change the packet forwarder to the TTN one on openwrt?  
2  
I keep getting “Failed to start concentrator”. About every 5th attempt does start it and then everything works ok. At the moment I am just testing the system and am using the leads that came with the system to join the MCU board to the Rak board. Could this be the cause? and if so are there any ways around this apart from using a PCB to link the two? I have already tried changing the SPI speed but it made no difference, although I might be changing it in the wrong place.

---

<div class="post-metadata">

**Author:** ![bradzcave](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bradzcave/32/27797_2.png) [@bradzcave](https://www.thethingsnetwork.org/forum/u/bradzcave)\
**Post date:** [November 24, 2018, 4:52am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/213 "2018-11-24T04:52:33Z")

</div>

I just ordered one, looking forward to contributing because there are so few open gateways in Vancouver Canada.

these two writes up sold me:

> **[Getting started with the RAK 831 Lora Gateway and RPi3](https://www.hackster.io/naresh-krish/getting-started-with-the-rak-831-lora-gateway-and-rpi3-e3351d)**
>
> This project takes you through all the steps required to get you RAK 831 Lora Gateway module up and running with wifi as the backhaul. By Naresh krish.

  
[https://www.thethingsnetwork.org/labs/story/rak831-lora-gateway-from-package-to-online](https://www.thethingsnetwork.org/labs/story/rak831-lora-gateway-from-package-to-online)

I thought I’d try some of the packet forwarders, both of these are well liked/used on things network?

> **[Lora-net/packet\_forwarder](https://github.com/Lora-net/packet_forwarder)**
>
> A LoRa packet forwarder is a program running on the host of a LoRa gateway that forwards RF packets receive by the concentrator to a server through a IP/UDP link, and emits RF packets that are sent...

  
[https://github.com/ttn-zh/ic880a-gateway.git](https://github.com/ttn-zh/ic880a-gateway.git) ~/ic880a-gateway  
[https://github.com/ch2i/LoraGW-Setup](https://github.com/ch2i/LoraGW-Setup)  
or…  
[https://github.com/hallard/RAK831-Zero](https://github.com/hallard/RAK831-Zero)

and… is there a command line flag to run the packet\_forwarder without the radio module, just to send a test packet to things dashboard?

all the startup guides begin with new image, is that really necessary? easy to enable SPI on most pi’s.

Thanks,  
Brad

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [November 24, 2018, 11:27am UTC](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576/214 "2018-11-24T11:27:31Z")

</div>

> [@RAK831 setup, which repo?](https://www.thethingsnetwork.org/forum/t/rak831-setup-which-repo/20075/1):
>
> all the startup guides begin with new image, is that really necessary?

-yes preferred methode… and then update

use your first link to start  
or look here for more tutorials.  
[https://www.thethingsnetwork.org/labs/stories/gateway](https://www.thethingsnetwork.org/labs/stories/gateway)

[Previous page](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576.md?page=9)

[Next page](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576.md?page=11)
