Hello,
I have a Lora Server that I was trying to build like in quick-install guide and successful. I would like to use rak831 send data to LoRa server.
How can I install and configure the rak831 for gateway?
Thanks in advance,
Surin.
Hello,
I have a Lora Server that I was trying to build like in quick-install guide and successful. I would like to use rak831 send data to LoRa server.
How can I install and configure the rak831 for gateway?
Thanks in advance,
Surin.
You just have to configure the address and down/up ports in the config file on the embedded packet forwarder on rak831
Thank you for your prompt reply.
I would like to know what components must be installed.
If you have the document to setup the rak831. It’s very good for me.
Thank you.
Surin.
Are you using your Rak831 with a Raspberry Pi 3 or something similar? In that case, here’s a simple tutorial: https://www.hackster.io/naresh-krish/getting-started-with-the-rak-831-lora-gateway-and-rpi3-e3351d. If I remember correctly, I think there was a typo on the reset pin on that one, but maybe it’s already been modified. Just have that in mind if the concentrator isn’t starting. Also, it shows how to set it up for TTN, but just changing the server for the packet forwarder allows you setup it up for whatever you need.
If your setup is different, just check how to properly connect your Rak831 through spi.
In any case, your basic setup consists only on the packet forwarder pointing to wherever your lora-gateway-bridge resides at, but as the image shows, you may also install the lora-gateway-bridge in the Pi (or whatever micro you are using) directly, point the packet forwarder to the internal bridge and that one to your loraserver. Installing lora-gateway-bridge should be pretty straightforward in any Debian based system such as Raspbian, and is covered in the docs: https://www.loraserver.io/lora-gateway-bridge/install/debian/
I use RAK831 as well. It works fine for me. Here is how it worked.
$ git clone -b spi https://github.com/ttn-zh/ic880a-gateway.git ~/temp
$ cd ~/temp
$ sudo ./install.sh spi
sudo systemctl disable ttn-gateway.service
cd /opt/ttn-gateway/packet_forwarder/basic_pkt_fwd/
"server_address": "127.0.0.1",
#!/bin/bash
echo "17" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio17/direction
echo "1" > /sys/class/gpio/gpio17/value
sleep 5
echo "0" > /sys/class/gpio/gpio17/value
sleep 1
echo "0" > /sys/class/gpio/gpio17/value
sudo ./basic_pkt_fwd
sudo tail -f /var/log/syslog
to check for errors, if any.how to install gateway bridge on my gateway. I use RAK831+Raspi3.
Install 32bit arm deb. Instructions can be found here.
thank u. let me try
Hi Akshai_M,
I followed your advice. It works perfectly now.
Thank you for your advice.
Surin.
Hi,
Has anyone tested TDOA with this setup?
It definitely have hardware for proper triangulation.
It doesn’t. Gateways providing a fine-timestamp have a different hardware architecture and use a FPGA for defining the fine-timestamp. Because of this, they are also a bit more expensive that the RAK831.
For anyone looking to configure a Rak831 + RPi gateway, I wrote a quick guide and utility program to help getting it ready to use with loraserver: https://github.com/iegomez/rak831-config.
I’ll probably extend this to do everything with one configurable program when I get the time, but hope it helps anyone in need for now.
Have you see https://www.loraserver.io/lora-gateway-os/overview/ and https://forum.loraserver.io/t/announching-lora-gateway-os/3160?
Hi! Yeah, I saw it, I wrote this guide some time before you announced your LoRa Gateway OS and just tidied up a bit the readme today, so thought I’d share it. Your’s is clearly a better general solution for different gateways, but I’m aiming to automate deployment of lots of Rak gateways, from getting them configured to programatically adding them at lora-app-server all in one simple program, so there’s still some place for it I think.
I’m looking to give your’s a try as soon as I can to give you some feedback. I’ll try to get to it this week, or next month when I get back from some days off.
Ok Yes, it is always good to have different ways to install it. Note that in the next LoRa Gateway OS test release, I will also provide an atomic OTA update meganism (using www.mender.io, which is also open-source). With that you can remotely update a fleet of gateways with a couple of clicks in the Mender dashboard (which you can self-host if you want).
Any solution, to deploy a Lora Gateway OS for the Rak831 via wireless backbone, without connecting it to a LAN or usb/serial. I try to set the ssid/psk through the wpa_supplicant.conf file in /boot/ , but it did not work on it (it works via raspbian os) Any hint?