The hard RAK831 cafe part 2

Quick question to all those in this conversation who have attempted to set up and mount the RAK831 dev kit as a functioning gateway (i.e. high up with an external antenna or installed outside within a suitable housing).
How robust is the hardware?
I am keen to order the RAK831 as the price is great, but I am worried about the need to constantly maintain it (compared with an out of the box MatchX or equivalent).

I have a simple RPi + RAK831 using a Chinese antenna all mounted on my TV antenna pole in the east of Ireland. The climate here is “temperate” so temperature ranges little by comparison to continental Europe for example, maybe -6 to 25C max range in the main. Right now I can see that the Pi’s CPU is at 30.4C. It is a rainy climate so I think skill in weatherproofing will be more important than temperature tolerance of the concentrator board.

The setup uses PoE injected at 19Vdc beside a small switch in my loft then regulated to 5Vdc beside the gateway. Everything is housed in a IP67 plastic box which should have enough volume and surface area not to overheat in our summer. So far using @kersing’s uper easy to setup packet forwarder (resin.io) with 100% reliability and a great console to monitor/manage the gateway.

Some pictures and words HERE

HTH?

Garry

5 Likes

Thanks @GryKyo. A fantastic post on your Gateway too. It sounds like you have had little problems once the Gateway has been installed, which is great to hear.
It does highlight the differences between climates though, here in Perth Australia we regularly hit 40C for days at a time during the Summer so I had better have the internal temperature monitored, fans installed and perhaps a max temp shutoff function!

1 Like

OK, so once again I declare that I am a mech engineer, not a programmer but you could run a small python or similar on your linux box, I guess a Pi.
From command line:
/opt/vc/bin/vcgencmd measure_temp

will return your Pi’s CPU temperature which can be used to operate a fan or even a stand alone fan/temp controller in the installation. Only issue with this is remoteness and no closed-loop I guess. I have some projects which use cURL to push messages via Pushbullet to mobile devices and Chrome for alarms and warnings, very handy for remote devices.

With regard to the packet forwarder it has a live log and a SSH terminal so very suitable for remote control/monitor of your gateway and seems very robust in the short while I am using it.

Garry

Antenna included with RAK831 (868MHz) board

RAK831 antenna

This is a photo of the inside of the antenna (RP-SMA) included with my RAK831 (868MHz) board.
The antenna rattled when I picked it up. I opened it to see what was wrong and found that the coil had come loose, which I was able to fix.

5 Likes

@jezd The hard RAK831 cafe part 1 - #235 by jezd

who supplies the tall case?

ModMyPi Cyntech Modular Cases for RPi 2/3

Brochure: The Ultimate Raspberry Pi & Maker Store– The Pi Hut

Shop: Raspberry Pi Cases | The Pi Hut

Recent versions of this case have light pipes on both sides of the micro-SD slot so they are suitable for both RPi 2 and RPi 3. The brochure shows the older RPi 2 case which has light pipes for RPi 2 only (RPi 3 does fit in the older version but you would not see the LEDs).

During The Things Conference we are organizing a workshop on how to build a gateway, using the RAK831.

If you have some experience and want to help out with this workshop on February 1st, please send me a pm.

See ‘RAK RPi Converter Board apparently has bugs/lacks in wiring of GPS module and antenna’ in topic: RAK831's and its Pi converter board modifications

I replaced the RP-SMA antenna included with RAK831 with this 868MHz SMA antenna (standard quarter wavelength whip).
https://www.aliexpress.com/item/ALLISHOP-868Mhz-5dbi-Gain-OMNI-Antenna-SMA-Male-19cm-Rotatable-Omni-Wireless-Wifi-Antenna-SMA-Male/32771698006.html
(They show pictures of different antennas, the first picture - the antenna with single groove on top - is correct.)

In a simple test with a node about 2m distance from the gateway (node with same above antenna):
RSSI jumped from -45 to -25 and SNR stayed similar around 9 to 10. (Have not done any further testing.)

The included whip antenna (rated by RAKWireless as 1GHz) does not perform very well in the comparison. Replacing it with a better antenna (like the above) will get better results from the gateway.

_(I replaced the RP-SMA connector on the RAK831 with SMA so it doesn’t need a converter for SMA antenna and prevents (minor) converter losses.)

3 Likes

@laurens Are you talking about something like that ?

  • Push button on GPIO17 to be able to shutdown PI Locally
  • FTDI connector to be able to take hand on PI console when in enclosure (lost network or whatever, no more need to get all off the enclosure and connect HDMI cable to see what’s going on)
  • Footprint for excellent Murata OKI-78SR-5 DC/DC 5V
  • Footprint for RASK831 concentrator (main goal) with pressfit connector for solderless PI Zero
  • I2C connectors to be able to add internal/external sensors such as BME280, SI7021 or HTU21D or excellent 2.4" OLED
  • Power with terminal block press fit
  • 3 visual WS2812B Led (wifi and network state, packet state, …)
  • Easy to build and solder, 0805 or PTH components
  • Holes to fix board on enclosure or other support
  • Nice Hammond 1591 enclosure size (different colors)
  • 2 versions, the other is for outdoor enclosure even smaller

Currently writing documentation, monitoring scripts, RO filesystem to add robustness and even a procedure to have full lorawan server installed for local use :wink:
Also new 1.3 revision on the go to be able to put RAK831 on the other side of this PCB so we can see RAK Led (and fix silk error of RAK831 pinout)

Mounted this one in a hurry for a customer, works fine, but RAK831 is becoming hot in enclosure, need to check that point

5 Likes

Some pictures of my RPi 2 + RAK831 gateway:

RPi 2   RAK831 TTN Gateway - 1

RPi 2   RAK831 TTN Gateway - 2

RPi 2   RAK831 TTN Gateway - 3

RPi 2   RAK831 TTN Gateway - 4

Not in a case yet but keeps it cool.

2 Likes

I see those enclosures popping up but nowhere I can find what material its made of, was thinking maybe a rak831 enclosure ?

Polycarbonate:
http://cpc.farnell.com/justboom/justboom-dac-hat-case/case-for-rpi-just-boom-dac-hat/dp/SC14289

1 Like

As a fan of small OpenWrt/LEDE Linux thingies, I built a RAK831 based gateway based on Omega2S and created a LEDE build for it.

If anyone is interested:

  • here’s the github project with README explaining how to build the LEDE based TTN-gateway firmware from scratch. The firmware is not very elaborate yet, but it works out of the box registering a “legacy forwarder” based gateway with a EUI based on the Omega’s MAC address.
  • Here’s a PCB I had fabbed at oshpark which hosts a Omega2S, a ethernet jack and power regulators to run the entire GW via PPoE (network and power over the ethernet cable). It fits together with the RAK831 into a watertight IP65 case from Hammond (1554EGY).

some pictures:

p44ttngw_parts
The parts

p44ttngw_assembled
Assembled PCB

p44ttngw_ontheroof
On the roof

13 Likes

wow… respect :sunglasses:

* googling for 'omega2s :grinning:

:slight_smile: Very nice!

It looks like you are using the antenna shipped with the RAK board. If so, I suggest you look for another one with better performance. If you want to use a whip antenna, if I’m not mistaken PyCom uses RP-SMA antennas for the LoPy. (@jmarcelino might be able to confirm)

Very nice! :slightly_smiling_face:

What kind of flat cable are you using between gateway and the house?
What about the temperature inside the case?

Where can we get Omega2s modules?

https://onion.io/store/

Thanks for the hint - yes, in a first step I am using the antenna that came with the RAK, but I already saw posts in this thread saying there’s room for optimisation…

I’m a newbie regarding LoRA and antennas, much to learn here… My experience is with building small LEDE-based thingies, so I thought I’d start with that, making a HW/SW platform first. I very much like the way LEDE can reproducibly generate a complete TTN GW Linux firmware into a 6M image by just typing make on the command line (almost) :wink:

1 Like