Lorawan kit

Applications/questions using Raspberry Pi with Seeed products, please post it here.

Moderators: lily.li, violet, salmanfarisvp

fborot
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Fri Aug 31, 2018 4:38 am

Lorawan kit

Post by fborot » Fri Aug 31, 2018 4:43 am

we received the lorawan kit for raspi-3, but the sd card that came in the box seems damaged, we only see the rainbow screen, is there anyway that we can download the image and burn it in a new card?
thanks

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Lorawan kit

Post by bill.yu » Fri Aug 31, 2018 10:21 am

Hi there, When the firmware is broken or some terrible errors happen, you can download the firmware here. https://drive.google.com/open?id=1MVLQl ... 1a0ievZRDC thanks.

Bill

vamsi457
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Wed Sep 12, 2018 8:59 pm

Re: Lorawan kit

Post by vamsi457 » Wed Sep 12, 2018 9:02 pm

I tried the steps mentioned in Wiki with the image you provided.
The board is not booting up.

After some research, I learned that images built for Raspberry Pi 3B has to be upgraded to Raspberry Pi 3B+ and Raspberry Pi 3B image may not be compatible if it is old.

I also burnt regular Raspbian image for Raspberry Pi 3B+ and it is booting fine and the board works good.

Can you provide me image for Raspberry Pi 3B+.
Or you can let me know how to build one myself with your binaries that will also help.

I know how to make image for Raspberry Pi. But I need your binaries to be included.

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Lorawan kit

Post by bill.yu » Mon Sep 17, 2018 11:43 am

Hi there,

we do not have the 3b+ image yet. we confirmed the image does not work on the 3b+ system. the image is from 2017. so it is not compatible with 3b+. Please try to follow instructions from https://github.com/SeeedDocument/forum_ ... 1_v1.8.pdf to build the image. It may have some issues and need debug during the instructions. thanks.

best rgds
Bill

gerfen
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Wed Oct 17, 2018 5:24 am

Re: Lorawan kit

Post by gerfen » Wed Oct 24, 2018 3:46 am

I also have an RPi 3B+. Has any progress been made toward providing a viable OS image for the RPi 3B+?

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Lorawan kit

Post by bill.yu » Thu Oct 25, 2018 6:11 pm

Hi there,

please try to follow the instruction attached, we will find a time to test it and generate image later on. thanks.

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Lorawan kit

Post by bill.yu » Sat Feb 02, 2019 10:14 am

Hi there,

We figure out the way for the raspberry 3b+ on 2018-11-13 image. https://www.raspberrypi.org/downloads/raspbian/

1. Upload libssl1.0.0.deb to your Raspberry Pi, and run `sudo dpkg -i ./libssl1.0.0.deb` in terminal to install it. Here is the link for libssl1.0.0.deb. https://github.com/SeeedDocument/LoRaWA ... l1.0.0.deb

2. Run `sudo raspi-config` in terminal, select _Interfacing Options_ -- _P4 SPI_ -- _YES_ to enable SPI, so that Raspberry Pi can communicate with RHF0M301.

3. Run following commands in terminal, download and start loriot gateway.

```
wget https://cn1.loriot.io/home/gwsw/loriot- ... latest.bin -O loriot-gw
chmod +x loriot-gw
./loriot-gw -f
```

profhuster
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Fri Jul 20, 2018 4:36 am

Re: Lorawan kit

Post by profhuster » Tue Mar 05, 2019 12:59 am

Well, this has been a frustrating and so far fruitless exercise. I tried to follow the directions in [[RHF-AN01541]Set up LoRaWAN GW with RHF0M301_v1.8.pdf][https://github.com/SeeedDocument/forum_ ... 1_v1.8.pdf] but got stuck here

Code: Select all

cd ~/risinghf/packet_forwarder/
sudo ./reset_pkt_fwd.sh start
This build nowhere has a command

Code: Select all

reset_pkt_fwd.sh
.

I tried

Code: Select all

~/risinghf/lora_gateway/libloragw/test_loragw_reg
but got errors, the last are:

Code: Select all

...
###MISMATCH### reg number 325 read: 2 (2) default: 0 (0)
End of register verification
IMPLICIT_PAYLOAD_LENGHT = 0 (should be 197)
FRAME_SYNCH_PEAK2_POS = 2 (should be 11)
PREAMBLE_SYMB1_NB = 10 (should be 49253)
ADJUST_MODEM_START_OFFSET_SF12_RDX4 = 4092 (should be 3173)
IF_FREQ_1 = -128 (should be -1947)
End of test for loragw_reg.c
So my system failed. But how? What can I do about it? I tried all of the other tests but many appeared to fail and I don't know what to try to fix the problem.

What can I do next?

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Lorawan kit

Post by bill.yu » Thu Mar 28, 2019 2:01 pm

Hi there,

I create a image which supports raspberry pi 3b and 3b+, you can burn to your sd card. you just need to run below code. the raspberry pi can forward the message to loriot server. here is the link of the image. https://drive.google.com/open?id=1wO9dn ... TIQpWSz-cZ

Code: Select all

./loriot-gw -f
Here is the log of the ./loriot-gw -f. you also can add the command into the boot up process as well. thanks.

pi@raspberrypi:~ $ ./loriot-gw -f
[2019-03-28 05:03:53.546][DEBUG] No interface set
[2019-03-28 05:03:53.547][LOG ] Gateway loriot_rhf_spi version 2.8.911-JKS-CN-2.8.911
[2019-03-28 05:03:53.547][LOG ] Openssl version OpenSSL 1.0.1t 3 May 2016
[2019-03-28 05:03:53.548][LOG ] Using eth0 for GW EUI B827EBFFFFD0FC17
[2019-03-28 05:03:53.549][LOG ] Requesting system route
route attribute type: 25
00000000 e8 03 00 00 24 00 0c 00 |....$...|
[2019-03-28 05:03:53.550][LOG ] Connecting config server cn1.loriot.io
[2019-03-28 05:03:53.577][LOG ] SSL: Will use internal certificate validation
[2019-03-28 05:03:53.615][DEBUG] Hostname cn1.loriot.io addr 54.223.38.129
[2019-03-28 05:03:53.871][Cfg ] HTTP response HTTP/1.1 200 OK
[2019-03-28 05:03:53.871][Cfg ] Timestamp Thu, 28 Mar 2019 05:03:53 GMT
[2019-03-28 05:03:53.871][Cfg ] Content-type application/json; charset=utf-8
[2019-03-28 05:03:53.872][INFO ] Parsing configuration file ...
[2019-03-28 05:03:53.873][INFO ] 5 configuration parameters found
[2019-03-28 05:03:53.873][INFO ] lorawan_public 1, clksrc 1
[2019-03-28 05:03:53.873][INFO ] no configuration for LBT
[2019-03-28 05:03:53.873][INFO ] antenna_gain 0 dBi
[2019-03-28 05:03:53.873][INFO ] Configuring TX LUT with 16 indexes
[2019-03-28 05:03:53.873][WARN ] no frequency range specified for TX rf chain 0
[2019-03-28 05:03:53.874][INFO ] radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
[2019-03-28 05:03:53.874][INFO ] radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
[2019-03-28 05:03:53.874][INFO ] Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
[2019-03-28 05:03:53.874][INFO ] Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
[2019-03-28 05:03:53.874][INFO ] Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
[2019-03-28 05:03:53.874][INFO ] Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
[2019-03-28 05:03:53.874][INFO ] Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
[2019-03-28 05:03:53.874][INFO ] Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
[2019-03-28 05:03:53.874][INFO ] Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
[2019-03-28 05:03:53.874][INFO ] Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
[2019-03-28 05:03:53.874][INFO ] Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
[2019-03-28 05:03:53.874][INFO ] FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
[2019-03-28 05:03:53.875][DEBUG] Connecting update server
[2019-03-28 05:03:54.105][DEBUG] Hostname cn1.loriot.io addr 54.223.38.129
[2019-03-28 05:03:54.349][Cfg ] HTTP response HTTP/1.1 204 No Content
[2019-03-28 05:03:54.350][INFO ] No update available for current version
[2019-03-28 05:03:54.350][LOG ] Starting LoRa Concentrator
[2019-03-28 05:03:54.350][DEBUG] Resetting LoRa Concentrator (pin 7)
FPGA version 0
[2019-03-28 05:03:57.781][LOG ] LoRa starting HAL 5.0.1
ERROR: Spectral Scan is not supported (0x8)
[2019-03-28 05:03:57.784][DEBUG] gpsThread starting
[2019-03-28 05:03:57.784][DEBUG] gpsThread end
LOOP
[2019-03-28 05:03:57.882][LOG ] Connecting websocket server cn1.loriot.io
[2019-03-28 05:03:57.921][DEBUG] Hostname cn1.loriot.io addr 54.223.38.129
[2019-03-28 05:03:58.180][NWK ] HTTP response HTTP/1.1 101 Switching Protocols
[2019-03-28 05:03:58.180][NWK ] Connection to network server established.
route attribute type: 25
00000000 e8 03 00 00 24 00 0c 00 |....$...|
{"cmd":"gwifstat","stat":[{"name":"eth0","run":false,"rx":0,"tx":0},{"name":"wlan0","run":true,"rx":1245119,"tx":147680}]}
route attribute type: 25
00000000 e8 03 00 00 24 00 0c 00 |....$...|
{"cmd":"gwifip","ip":[{"name":"wlan0","used":true,"ip":"192.168.50.138"}]}
{"cmd":"gwsysinfo","uname":{"machine":"armv7l","name":"raspberrypi","release":"4.14.79-v7+","sys":"Linux","version":"#1159 SMP Sun Nov 4 17:50:20 GMT 2018"},"storage":[{"free":14443298816,"size":15605321728,"folder":"."}],"free":713400320,"size":972234752,"loads":[0.27,0.20,0.09],"uptime":300,"cpus":4}
{"cmd":"sshtunnel","server":"cn1.loriot.io"}
[2019-03-28 05:03:58.182][DEBUG] Connecting ssh server cn1.loriot.io
[2019-03-28 05:03:58.217][DEBUG] Hostname cn1.loriot.io addr 54.223.38.129
[2019-03-28 05:03:58.897][NWK ] HTTP response HTTP/1.1 101 Switching Protocols
[2019-03-28 05:03:58.897][LOG ] SSH Tunnel server cn1.loriot.io connected
[2019-03-28 05:04:00.782][LOG ] TX Status 00 -> 80

srichard2
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Apr 04, 2019 4:23 am

Re: Lorawan kit

Post by srichard2 » Mon Apr 15, 2019 9:00 am

Hi
I downloaded the latest image just posted for the Rasberry 3B and started the boot process. However, I cant login to the Pi. I tried the default username and password (pi and rasberry) but I cannot get pass the login. Also tried rxhf and rising hf but no luck. Is there a specific login written into the latest image you provided for the Pi3?

Please let me know.

Post Reply