The hard RAK831 cafe part 1

I’m currently looking at this kit (the 868-Developer Kit 2).

The kit includes the RAK831, a Raspberry PI converter board plus an antenna (and an Arduino-compatible board as a bonus). I already own a Raspberry Pi, a power supply and the SD card. Do I need anything else to build a gateway from this kit?

Hi There
I know, they are plenty of of shields for this board don’t blame me.
But this week I ordered one RAK to build small indoor gateway. Based on full working IC880a RPI shield, I needed same features like FTDI, I2C connector, Power Off switch and LEDs. I placed as option Murata DC/DC 5V step down (cut wire pad on bottom is you place it). Will use same software, but smaller board size. And for those beginners, all components can be soldered thru holes, so you can avoid any CMS soldering :wink:
I also made 2 holes to see RAK LED, not sure they are aligned, but should be.
And this as been designed to fit in a nice enclosure, like nice hamond 1591B enclosure.

image

I Ordered some, need to be tested, keep in touch
PiZero-RAK-top

PiZero-RAK-bot

Once tested I’ll share schematics and all but for now, for curious, here PCBs.io link to order the boards, use at your own risk for now. Not tested

PS : Design update to select SX1301 reset pin from GPIO25 or GPIO16 as mentionned @kilobyte (default is GPIO25)

5 Likes

That is a complete gateway if you include your existing Pi and peripherals. You will probably want to protect the gateway with some sort of case just for general handling or enclosure if you are putting it outside. This will be an IP56 or higher I guess? I have just been over the process of hardening my own gateway to survive outside - HERE

My experience with Kersing’s packet forwarder using the resin.io OS on a Raspberry Pi2 has been very uneventful for a programming newbie, I recommend!

1 Like

I think the enclosure exist for IP65 (need to check) but for outside, a hole for antenna is not the best solution.
Except may be soldering something like this on RAK board to have clean GW

or this waterproof IP66 one and some tweaking

will check if it’s do able once I’ll have the boards in hand

1 Like

afaik the RAK Board uses another Pin for reset, so not drop-in replacable with the same image.

To make things easier, I put the same as original one than in this setup, GPIO25


But you’re right, nice remark, just give me some minutes to put a solder pad to choose reset PIN between old and this official :wink:

1 Like

I think more or less all 3rd party style RAK831 Board use the same GPIO like on the iC880a ones (at least mine do).

Which one are you using, GPIO25 ?

yes, it’s the defacto standard afaik

Correct so it’s the same has this design isn’t it?

Design updated to be able to select reset pin between GPIO25 (default) and GPIO17. Added an OKI DC/DC step down from Murata footprint if needed

OK, as long as it works, I’m fine for the moment. If outdoor protection is needed later, I’ll get some sort of case.

How about a gps footprint too Charles? See the board Rak have done as an example

Yeah, great idea, but not sure it will fit :wink:

But this one has one
https://pcm52.com/2017/10/01/lorawan-gateway/ :wink:

1 Like

Oh and now it comes even easier.
Just received 2 of these boards PRE-ASSEMBLED with PRE-INSTALLED SD card :smiley:
It took me 25min to figure it all out and 1,5 hour to wait while my config file was merged on github and I’m up and running.
You only need to run the install.sh file and create a new gateway in the ttn console, add your config file on github and wait till it’s merged.

cool :sunglasses:

1 Like

I received my RAK 831 ( 915 Mhz ) kit yesterday …

I was attempting to follow the Quick Start Guide, which uses the FTDI SPI USB Bridge. The guide instructs you on how to connect it to your linux box and verify the device is working over the bridge.

I was able to connect the RAK to my linux machine as documented and the program finds the unit fine. Everything worked up to the last step where you run the “test_loragw_rx” program which is supposed to test the units receive function and print out the RSSI, SNR etc.

I’m using my RN2903 which is set to 923.3 Mhz SF12 and sending some packets but the RAK never receives anything. I can see its PWR and RX lights are on, but no joy.

Has anyone used these test to verify the boards is working ? It seems like this was all set-up for 868Mhz kits…

I was hoping to verify this worked before buying the enclosure and pi board etc…

RAK831_LoRaGateway/lora_gateway/libloragw $ ./test_loragw_rx 923.3
Beginning of test for loragw_hal.c
*** Library version information ***
Version: 1.5.0; Options: ftdi sx1301 auto-check full no_brd private;

F_RX0 = 923700000, F_RX1 = 0
4 freqeuncy channels are selected
channel: 0, freq: 923300000
channel: 1, freq: 923500000
channel: 2, freq: 923700000
channel: 3, freq: 923900000
*** Concentrator started ***

Rcv pkt #1 >>freq:923500000
if_chain: 1 tstamp:0059827515 size:251
CRC error, damaged packet

Rcv pkt #1 >>freq:923300000
if_chain: 0 tstamp:0212785115 size: 53
CRC error, damaged packet

Ok, so this turned out to be a configuration issue with my RN2903, I had not set the sync word to 12, it was still at the default 34. Once I did that, the RAK831 detected and displayed all the packets from multiple RN2903’s on different frequencies.

1 Like

Received my RAK831 board today :fireworks:. 6 weeks since I ordered but almost 1 week at the start was lost due to me ordering during “Golden week” and 1 week at the end due to customs. Import fees were ~38EUR which is expected.

Will unfortunately not have time to build my gateway today, but hopefully later this week.