The hard RAK831 cafe part 1

hi,

Could you try and post the output of test_loragw_spi and test_loragw_reg commands tools that is generated during the build process of the lora gateway HAL.

There is also a util_tx_test command that will just run and do some transmission testing
you can run it like so from a linux terminal:

$ ./util_txt_test -r 1257 -f 866.5

@narioinc89

I found how to figure it out.!!
but in lora_gateway source, reset_lgw.sh script is not workingā€¦

then I reconnected 5v pin and GND pin of RAK831 several times , then itā€™s working.

do you know the problem?

and, is it possible to do communication tests among end-nodes and gateway without network server?

best regards.

Hi you all,

Iā€™m new to LoRaWan and what a lot is there to read. Even so, I absolutely do not understand everything I read. Trying though!

So, after ā€œbuildingā€ a ESP8266/RFM95 single channel gateway, that did not work, and making a Raspberry/RFM95 single channel gateway (singel_chan_pkg_fwd) that does work I realize that a real TTN gateway is the way to go, providing a part of Almere Haven a TheThingsNetwork coveridge. So I ordered the RAK831 and in the mean time configuring a RPi for the RAK831.

My question to the community is: is there a ā€œbest practiceā€? Foremost: what software to install to make a ā€œconfigure once and never look at it again gatewayā€?

After that there is enough to learn and research for creating nodesā€¦ (I have bought some ESP8266 and RFM95 modules, but the RFM95ā€™s seem not to be the lora modules of choice. Any help in pointing to the right direction for that is also welcome).
Thanks in advance!

Start with the TTN packet forwarder. The github contains all instructions for deploying and running a gateway unattended on a Raspberry Pi, which is pretty much the most common way people run TTN gateways for now;

1 Like

New toy arrives, play time!

1 Like

My PCBs arrived :smile: Tested and workingā€¦

6 Likes

How about the sensitivity issue compares with Semtech SX1276 or IMST iC880a?

Somsak

Hi Epyon,

I will do that although it raises an other question: What is the difference between a Gateway and a PackeT Forwarder??

EDIT:
Host: embedded computer on which the packet forwarder is run.
Gateway: a device composed of at least one radio concentrator, a host, some network connection to the internet

So, if I get it right: The Gateway is the combination of the RPi and the Concentrator (in my case the RAK831).
Itā€™s all there in the documentation ā€¦ but there is so much of it :wink:

Also: There is no ā€œRaspberry Pi + RAK831 installations manualā€

Is the IMST ic880a ā€œthe sameā€/ā€œcompatibleā€ with the RAK831 (I think I have seen a reference to the ic880a in the setup instructions from RAKWIRELESS in the document ā€œGetting started with the RAK 831 Lora Gateway and RPi3.pdfā€)?

LoRaWAN seems getting more complicated by every question I have :wink:

@kersing & @jezd: keep us posted!!! You are ahead of my order delivery.

The packet forwarder is the piece of software that runs on a gateway and forwards all LoraWAN packets to and from the network server. The gateway is the hardware consisting out of the antenna, the concentrator (e.g. RAK831) and a host computer running the packet forwarder.

The packet forwarder should work with most concentrator boards, including the RAK831. You only need to find the relevant wiring diagrams, the software should function the same.

If youā€™re new to this, best start with reading the wiki :wink: .

4 Likes

@mrTheWheel >> https://www.hackster.io/naresh-krish/getting-started-with-the-rak-831-lora-gateway-and-rpi3-e3351d?

Does this mean you are the first to have a working interface PCB for the RAK831 + Pi (well in Europe at least)?
Do you intend to sell these as I have a RAK board somewhere between Asia and Ireland as I typeā€¦

Looks neat, good work.

Thx, G

Wuhu

6 Likes

Do you think it is feasible to port packet forwarder to ESP8266 or even better some small ARM Cortex M3/M4?

Technically itā€™s perfectly possible. There already has been some discussion on the subject, I think in the TTN gateway thread. However no-one actually bothered to invest time in it because you can buy ā‚¬9 miniature Raspberry Pi clones that do the job just as well.

The official TTN gateway will use a PIC32 and afaik they will release the firmware under an open-source license. The chip is quite expensive in single quantities though.

ping @x893-00 about POSIX use to port Packet Forwarder to a STM32

1 Like

@jezd
Thanks for your reply.

For me, this is where the confusion continuous. The blog you suggest uses ā€œhttps://github.com/ttn-zh/ic880a-gateway.gitā€ and it has some strange remote config repository whilst the option @Epyon suggests does not have that at all.

I copied the TTN Packet Forwarder binary to my RPi and that seems to work (I have not received my RAK831 yet, so not really sureā€¦)

Still: thanks again!

@GryKyo
Iā€™m not the first to have a PCB, Kilobyte had boards days ago, but as I got a RAK831 early on Iā€™m one of the first with a tested board.

I have a limited number of boards available for sale @ 4.50 euro plus postage (just PCB, no connectors).

Later this week I will put the design files somewhere public so anyone can download them and order their own board(s) at a PCB house. (Cheap PCBs == a couple of weeks wait time, faster == more expensive)

3 Likes

That would be strange as a packet forwarder generally requires a concentrator and the packet forwarders I know abort when no concentrator is available.

1 Like

@kersing is correct, no concentrator, no packet forwarder, and more than that, packet forwarder relies on low level SPI concentrator library named libloragw

The new TTN forwarder does too. It will exit saying that it ā€˜failed to start concentratorā€™. Maybe he just meant he could install it?