DRAGINO problems and solutions topic part 1

I am running a Draguino Shield with an Arduino Uno. I have had this running for several days now, but somehow I’ve changed something. Now when I run it i get the following message on the local terminal.
FAILURE /Users/herbblair/Documents/Arduino/libraries/IBM_LMIC_framework/src/lmic/radio.c:328
Any ideas on what’s going on?

do you have the library still installed ?

Yes, I have it installed.

there is a lot of info to find… and we can’t guess what you have changed.
jumpers changed ? … added a new sensor ? added conflicting library’s / timers

I think I add a conflicting library, but tried to go back and remove all that I could remember, I even recovered from my backup drive all of the arduino folder prior to having the problem.

after reading THIS you can post your full code here So other users can have a peek too.

and explain what you are trying to achieve.

I’ve resolved this issue, but now would like to set a single frequency (as before), but I’ve forgot how to do it.
Thanks,

What your looking for is here, and probably a couple other places in the multiple Dragino or LMIC related posts. Make sure you know what version of the LMIC library you are using before figuring out which set of code you should use.

Hello,
I am total beginner to LoRaWAN and networks in general, but I was given a task to deploy a LoRa network using the Dragino LoRa Kit. The build I am using is as follows: Gateway is the LG01-P model (915Mhz), and my node is Arduino Uno + Dragino LoRa shield + SR04 sensor.
I have successfully established uplink communication from node to TTN, and I can view all the traffic. Now, my next step is to figure out how to do downlink…

I am simulating downlink messages from the TTN console, and I can see that the payload is scheduled, then delivered. Also, the console output from the Dragino gateway itself shows that the downlink message was indeed received, and forwarded (if I am not mistaken) but I get nothing in my node’s log.
I tried to confirm if the packet forwarding code used supports downlink and I found this in Github - Gateway Packet Forwarding Code - and it seems to support downlink.
Device activation mechanism used is ABP.

These images show what I meant above –

Gateway Console
35

TTN Device Data
05

TTN Gateway Traffic
09

My question is --> How do I successfully relay downlink messages to my node? I am not sure where to look exactly.

Thanks in advance.

Hi everyone,
I’m just trying to get started by setting up an Dragino LG01 Gateway and a RPI3 + Dragino LoRA Hat v1.4 - connected to TTN. But it isn’t working.

So far I have my LG01 gateway set up and appearing as connected in TTN. I have the latest single_pkt_fwd_v004 for the MCU installed and the firmware IoT 4.3.4

My Node is also set up and I’ve been getting successful packet transmissions via TX messages in the console (I think) - inbetween intermittent Radio failure 630 messages.

I am using the examples provided by Dragino using ‘thethingsnetwork-send-v1.cpp’

The problem is that my Gateway is not showing any data in the Sensor>Data and neither is any data forwarding through to reach the TTN.

I have modified and checked all the various dev address/EUI settings so I am confident these settings are all correct.

Here’s what I’m not so sure about:

  1. Where are the settings for spreading factor, transmit spreading factor, coding rate, bandwith and preamble set for the node?
  2. As I’m in Europe I have the transmit and receive frequency both set at 86810000. Where do I set this in the node
  3. Finally, where do I set that it’s operating as a single channel?

Here’s hoping someone can help! There are so many posts it is difficult to know what is current!

Thanks in advance.

try search ?

Thanks. Most helpful.

Your welcome and new here… So I can tell you that you’re not the first one with the same questions/dragino-problems. :wink:

I am also doing almost exactly the same thing, LG01 gateway, rPi 3 and the lora/gps hat. Initially I couldn’t even get the gateway to show up as connected in The Things Network console. I had to SSH to it and manually run lp01_pkt_fwd and then it finally showed connected, but I still don’t see any packets coming through.

2 Likes

so it’s a dragino firmware problem ?

I can’t say for sure, but in my case it seems like something is wrong with the firmware. I see no output in the logs about it trying to start the tool or anything from the packet forwarder at all actually. I have only gotten as far as getting the gateway to show up on the TTN console as “connected”. I’m presently working on assembling / coding a working client device but that has exposed some other problems on my end that I’m working to solve so it will take a while before I am ready to try actually getting lora packets through the gateway.

When setting up my LG01 I did follow the guide on their wiki and was not successful.

Hello, i bought a Dragino lora/gps hat for raspberri, and followthis instruction to set up LoRa single channel gateway, but in ttn status all the time NOT CONNECTED, i tried different servers ip, but still nothing. Tried to send some information from Nedes ir terminal write what getting information. Maybe somebody know where are problem?

are you sure you are using the right instructions for the dragino gps hat ?

The official instructions are here: http://wiki.dragino.com/index.php?title=Connect_to_TTN (look for LORA GPS Hat).
There are a couple of forks from the suggested software that are easier to use (e.g., configuration through a file without recompiling), but the substance is the same.

I did a gateway with Dragino and RPI and Dual_chan_pkt_ fwd.
But I don’t undestander, why the downlink is sented 14s after that received the uplink?. My node never recived downlink because the windows RX1 & RX2 are closed when downlink arrive.

ago 25 17:43:43 raspberrypi dual_chan_pkt_fwd[952]: CE0 Packet RSSI: -34, RSSI: -94, SNR: 9, Length: 14 Message:rxpk update: {“rxpk”:[{“tmst”:2353347751,“freq”:916.8,“chan”:0,“rfch”:0,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“rssi”:-34,“lsnr”:9.0,“size”:14,“data”:“QCMpACaACQABPh0dTm0=”}]}
ago 25 17:43:43 raspberrypi dual_chan_pkt_fwd[952]: Sending message to server: 52.62.83.250
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: Waiting for incoming server packets…
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: {“txpk”:{“imme”:false,“tmst”:2354347751,“freq”:923.3,“rfch”:0,“powe”:20,“modu”:“LORA”,“datr”:“SF7BW500”,“codr”:“4/5”,“ipol”:true,“size”:14,“ncrc”:true,“data”:“YCMpACaAHwAByOAH4go=”}}Sending frequency from server package: 923.299988
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: data: YCMpACaAHwAByOAH4go=txLoraModem:: powe: 20, freq: 923300000, crc: 0, iiq: 0X64Not 0
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: setFreq CE1 using: 923300000
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: setPow: CE: 1, powe: 15
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: Sending to LoRa node: 96:35:41:0:38:128:31:0:1:200:224:7:226:10:
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: start: -1940820058, end: -1940619545, waited: 200513, delay=0
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: Send TX done.
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: setFreq CE0 using: 916800000
ago 25 17:43:57 raspberrypi dual_chan_pkt_fwd[952]: Sending packet:: tmst=-1940619545, wait= 819117927, strict=0, datr=SF7BW500, freq=916800000->923300000, sf=7->7, modu=LORA, powe=20, codr=4/5, ipol=1, through CE1.

HELP!!! And thanks!!!