The hard RAK831 cafe part 2

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.

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) 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!

Picture from RAK831 + RPi Converter + RPi from the RAK Wireless Module Store.

That GPS antenna picture is truly creative. :wink:

Creative%20GPS%20antenna

4 Likes

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.

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

these two writes up sold me:


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?


https://github.com/ttn-zh/ic880a-gateway.git ~/ic880a-gateway
https://github.com/ch2i/LoraGW-Setup
or…
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

-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

I found a few answers on here:

very useful… as for the pkt frd options, just finding lots of different repos is what I was getting after. (legacy udp seems the best right now?)

I already have a few pi’s doing spi… can’t I just add the RAK831 module to one of those? I’ll try node-red too, I was just using it to toggle the reset pin. pretty easy.

Thanks,
Brad

ah… to answer my own question:

does anyone here use node-red to toggle the RAK831 reset pin?

Why would you install over 70 megabyte of software to do what can by done with WiringPi (< 4MB) and a shell script of less than 20 lines?

Based on what did you reach this conclusion?

Should be:

Reading or at least scanning articles before asking for advice will be useful. :wink:
GitHub - hallard/RAK831-Zero: Pi Zero RAK831 Adapter board is about hardware only and forwards to GitHub - ch2i/LoraGW-Setup: SX1301 Lora Concentrator Raspberry PI based gateway setup for setting up the software:

For RAK831 GitHub - ch2i/LoraGW-Setup: SX1301 Lora Concentrator Raspberry PI based gateway setup will get you covered
(without running into issues related to pin differences between RAK831 and iC880a).

Initially GitHub - ch2i/LoraGW-Setup: SX1301 Lora Concentrator Raspberry PI based gateway setup only addressed a RAK831-Zero based gateway,
but currently covers both RAK831 and iC880a based configurations and different Raspberry Pi devices
(not limited to just RAK831 with Raspberry Pi Zero W).

(I have updated the start topic and added above information.)

4 Likes

How do I configure RAK831 with Rpi3 to work on indian band ?

LoRaWAN Frequency Plans and Regulations by Country.

3 posts were merged into an existing topic: The hard RAK831 cafe part 3

Hello.

Have a look at : http://docs.rakwireless.com/en/LoRa/RAK831-LoRa-Gateway/Hardware-Specification/RAK831%20Datasheet%20V1.3_RU.pdf

Page 15/16

Greets

Hey Jens

Thanks, I did find that doc and it does explain about the diversity antennas but is not giving the normal antenna path as far as I can see.
My range is bad and I suspect that soldering the connector after it came loose may have caused damage, either that or the antenna that I got online or the cable that a friend made is bad.

Hi,
I’m new to the forums so apologies if this has been answered before but I’ve done a search and can’t find anything on this topic…

My configuration is

A RAK831 433MHz version
I follow the instruction of https://www.thethingsnetwork.org/labs/story/rak831-lora-gateway-from-package-to-online to make rpi3 based lora gateway
I just modify the global_config.json file according to Rak support recommandation and with my 433 frequency plan:
I add it to TTN with India 865-867MHz freq plan (as 433 is not available)
[ http://support.rakwireless.com/uploads/files/1516933601249-global_config_eu433.json ]
I’m using a custom board with RFM98W 433mhz LoRa and Arduino Mini Pro.

For the testing I use basic tests programs comes with lora gateway library
util_pkt_logger program for record all the packets received in a log file and
util_tx_test program to send test packets with a LoRa concentrator

First problem I face that, I’m not able to send data from LoRa node to gateway and vice versa
and the second is when I use util_pkt_logger without starting the node, it received packets and store in log file, I attached the log of this, i don’t know from where it received data

image

A RAK831 433MHz version, and I add it to TTN with India 865-867MHz freq plan ?? :frowning:

Then which frequency plan I have to select?
I’m new to this so I don’t have an idea
When I read the guide it says select the frequency plan determined by your region the gateway uses
I am in India so i select 865-867
I found this from the below link
https://www.thethingsnetwork.org/docs/lorawan/frequencies-by-country.html
hope so you will help me for this

we continue in The hard RAK831 cafe part 3 :sunglasses: