# DRAGINO problems and solutions topic part 2

**URL:** <https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143>\
**Category:** Dragino\
**Created:** [October 26, 2018, 9:07am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143 "2018-10-26T09:07:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 26, 2018, 9:07am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/1 "2018-10-26T09:07:46Z")

</div>

this topic is to share information about all the DRAGINO problems and solutions.

part 1 is **[HERE](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951)**

- [http://wiki.dragino.com/index.php?title=Lora/GPS\_HAT](http://wiki.dragino.com/index.php?title=Lora/GPS_HAT)
- [http://wiki.dragino.com/index.php?title=Connect\_to\_TTN](http://wiki.dragino.com/index.php?title=Connect_to_TTN)
- **[search ‘dragino’ on this forum](https://www.thethingsnetwork.org/forum/search?q=dragino)**
-

---

<div class="post-metadata">

**Author:** ![frankxuan](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/f/a88e57/32.png) [@frankxuan](https://www.thethingsnetwork.org/forum/u/frankxuan)\
**Post date:** [November 13, 2018, 2:47pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/4 "2018-11-13T14:47:43Z")

</div>

Hi, everyone  
I found a problem while using lora shield for arduino.  
The transmit range is only thirty meters approximately even with antenna.  
i don’t know what is going on, because i think it should be up to 2 km at least.  
Anyone helps me, I would appreciate it. Thanks in advance

---

<div class="post-metadata">

**Author:** ![LoRaTracker](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/loratracker/32/48502_2.png) [@LoRaTracker](https://www.thethingsnetwork.org/forum/u/LoRaTracker)\
**Post date:** [November 13, 2018, 2:53pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/5 "2018-11-13T14:53:38Z")

</div>

If range is very poor then the most likley causes in my experience are, in order;

1. No, wrong or faulty antenna (includes faulty cables and connectors).
2. Faulty module, likely caused by 1.

---

<div class="post-metadata">

**Author:** ![LoRaTracker](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/loratracker/32/48502_2.png) [@LoRaTracker](https://www.thethingsnetwork.org/forum/u/LoRaTracker)\
**Post date:** [November 13, 2018, 3:24pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/7 "2018-11-13T15:24:19Z")

</div>

> [@Node: Need a sketch that works with Dragino LoRa Shield & Arduino Uno](https://www.thethingsnetwork.org/forum/t/node-need-a-sketch-that-works-with-dragino-lora-shield-arduino-uno/13429/26):
>
> However, at least it shouldn’t be just 3 meters without antenna

How do you know its 3 metres without an antenna and why do you think it ought to be more ?

Is this LoRaWAN and The Things Network or some other point to point setup ?

---

<div class="post-metadata">

**Author:** ![frankxuan](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/f/a88e57/32.png) [@frankxuan](https://www.thethingsnetwork.org/forum/u/frankxuan)\
**Post date:** [November 13, 2018, 3:47pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/9 "2018-11-13T15:47:21Z")

</div>

hi bro,  
I use two lora nodes(consist of uno and lora shield produced by dragino) to detect its range. Once the distance beyond about 3 meters, there is nothing showed in the receive-node.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [November 13, 2018, 3:52pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/11 "2018-11-13T15:52:57Z")

</div>

So you are using LoRa and try to transmit from one arduino with dragino hat to another arduino with dragino hat right ? possibly code examples from the dragino wiki ?

---

<div class="post-metadata">

**Author:** ![frankxuan](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/f/a88e57/32.png) [@frankxuan](https://www.thethingsnetwork.org/forum/u/frankxuan)\
**Post date:** [November 13, 2018, 3:56pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/12 "2018-11-13T15:56:46Z")

</div>

Absolutely right.  
The code examples from the dragino wiki was modified a little. And also, I have tried that code and met the same problem.  
The code I used has shown in the last post. I don’t know why the range is so short.  
Thanks

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [November 13, 2018, 4:03pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/13 "2018-11-13T16:03:56Z")

</div>

Clear… here you are in the Things Network forum.

A forum special for [LoRaWAN](https://www.thethingsnetwork.org/docs/) and in general we don’t support boards that communicate direct and only in LoRa.

So there is a difference between LoRa and LoRaWAN.

If you want to communicate directly between those two boards, without the things network, I’m afraid we can’t help you here.  
If you want to increase the distance, it’s possible to make one single channel gateway (receiver) and connect that one to TTN and the other one is your node (transmitter) that can send data… like a temperature.

Use search… there is a lot to be found here on the forum.

---

<div class="post-metadata">

**Author:** ![frankxuan](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/f/a88e57/32.png) [@frankxuan](https://www.thethingsnetwork.org/forum/u/frankxuan)\
**Post date:** [November 13, 2018, 4:07pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/14 "2018-11-13T16:07:10Z")

</div>

All right. Thanks all the same.

---

<div class="post-metadata">

**Author:** ![LoRaTracker](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/loratracker/32/48502_2.png) [@LoRaTracker](https://www.thethingsnetwork.org/forum/u/LoRaTracker)\
**Post date:** [November 13, 2018, 5:01pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/15 "2018-11-13T17:01:01Z")

</div>

It would have been very helpful if you had said that you had tried the code from the Dragino wiki and still had the same problem, how likely do you think it is that the demonstration code on the Wiki would be ‘faulty’ in some way ?

You also said that the range was 3m ‘without antenna’. Operating the modules without an antenna will often damage the modules, I have seen that happen many times. The classic the symptom of a damadged module is extreme short range.

---

<div class="post-metadata">

**Author:** ![frankxuan](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/f/a88e57/32.png) [@frankxuan](https://www.thethingsnetwork.org/forum/u/frankxuan)\
**Post date:** [November 13, 2018, 6:58pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/16 "2018-11-13T18:58:11Z")

</div>

Hi,  
what i want to say is not the problem of example code makes that problem. The range is so short, which is I want to ask why.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [December 7, 2018, 9:16am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/18 "2018-12-07T09:16:51Z")

</div>

![russlandeleted](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/a/8/a8b0397d88cf556d1305dd3b7ede807b2a124adf.jpeg)

you want to set up a **single** channel gateway ?  
see for LMIC info

> [@Can LMIC 1.6 be set up to use a single channel and SF?](https://www.thethingsnetwork.org/forum/t/can-lmic-1-6-be-set-up-to-use-a-single-channel-and-sf/5207):
>
> Setup: Raspberry Pi 3 Dragino LoRa/GPS HAT LMIC 1.6 protocol stack from [https://www.research.ibm.com/labs/zurich/ics/lrsc/lmic.html](https://www.research.ibm.com/labs/zurich/ics/lrsc/lmic.html) Own HAL implementation Single Channel Gateway based on [https://github.com/tftelkamp/single\_chan\_pkt\_fwd](https://github.com/tftelkamp/single_chan_pkt_fwd) Problem is, that the Single Channel Gateway is listening at SF7 on 868.100000 Mhz, but during the “join” procedure the LMIC 1.6 protocol stack randomly chooses a channel (-\> RF frequency) and has an algorithm that tries out the different spreading factors. S…

```auto
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
     //LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI); // g-band
     //LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band

```

ect

---

<div class="post-metadata">

**Author:** ![Russlan](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/russlan/32/25844_2.png) [@Russlan](https://www.thethingsnetwork.org/forum/u/Russlan)\
**Post date:** [December 7, 2018, 1:14pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/19 "2018-12-07T13:14:32Z")

</div>

ok, i tried it with OTAA and the LMIC library for it, But i still cant get the package to the TNN.  
Pin Mapping:  
const lmic\_pinmap lmic\_pins = {  
.nss = 10,  
.rxtx = LMIC\_UNUSED\_PIN,  
.rst = 9,  
.dio = {2, 6, 7},

If i open serial monitor i always receive:  
-starting  
-packet queued  
-Ev\_joining  
-unkown event  
-unkown event  
-unkown event

---

<div class="post-metadata">

**Author:** ![Russlan](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/russlan/32/25844_2.png) [@Russlan](https://www.thethingsnetwork.org/forum/u/Russlan)\
**Post date:** [December 7, 2018, 2:16pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/21 "2018-12-07T14:16:30Z")

</div>

first i tried it with APB, but i received Errors  
then i tried it with OTAA but the TNN doesnt receive my packages

-yes, i checked it 4x time. Manuel, copied, with ox and etc.  
-yes , they are actualy 2 and they are 4 meters away  
-i used the code from LMIC which was made for 868Mhz  
-My Lora dragino is 868Mhz

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [December 7, 2018, 2:24pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/22 "2018-12-07T14:24:39Z")

</div>

first check if its really transmitting  
open your console and your application and then start the node

![join](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/6/3/636ace9ded3b786682b9281a28edcc056779feeb.jpeg)  
you should see the node now trying to join the network (yellow thunder)|

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [December 7, 2018, 7:29pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/32 "2018-12-07T19:29:53Z")

</div>

maybe this helps

---

<div class="post-metadata">

**Author:** ![Iroshana](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/i/c5a1d2/32.png) [@Iroshana](https://www.thethingsnetwork.org/forum/u/Iroshana)\
**Post date:** [December 9, 2018, 5:29am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/43 "2018-12-09T05:29:57Z")

</div>

Hi Everyone,

I’m new to thingsnetwork & I started learning LoRa communication recently. I have a problem using Dragino LG-01P gateway. I’m using SX1276 915MHz Serial Lora module from Ebyte (Model No : E32 915T20D) with arduino Uno to transmit data & I uploaded LoRa simple server yun sketch to gateway. But it doesn’t show any received data. I changed the frequency to 915MHz in the code. Please help me to fix the issue. When I try to read data from another SX1276 915MHz Serial Lora module as a receiver, I can read the transmitted data. Please help me how to fix the issue.

Thanks In Advance.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [December 9, 2018, 8:02am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/44 "2018-12-09T08:02:59Z")

</div>

> [@Iroshana](#):
>
> Please help me how to fix the issue.

I’m sorry , we don’t support these [lora](https://www.ebay.com/itm/SX1278-SX1276-Lora-Module-915MHz-E32-915T20D-20dBm-3km-915m-Wireless-Transceiver-/192608463341)-lora communication modules at TTN (LoRaWAN)

---

<div class="post-metadata">

**Author:** ![Iroshana](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/i/c5a1d2/32.png) [@Iroshana](https://www.thethingsnetwork.org/forum/u/Iroshana)\
**Post date:** [December 9, 2018, 8:35am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/45 "2018-12-09T08:35:44Z")

</div>

Thank you very much for your reply. Actually I’m not going to do lora-lora communication. I’m trying to learn how to send data to thingsnetwork from the lora module I mentioned & using dragino gateway. I said I used 2 lora modules as TX & RX to make sure that TX is working. What I actually need is send data from Ebyte Lora module to thingsnetwork using my gateway. Problem is my gateway doesn’t read the transmitted data. So I have no way to push my data to TTN.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [December 9, 2018, 8:43am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143/46 "2018-12-09T08:43:23Z")

</div>

I see.

First thing to do is get your **single channel** gateway [online with TTN](http://wiki.dragino.com/index.php?title=Connect_to_TTN)  
_It’s known that these 'gateways don’t perform very well !_

Then you want to use these Ebyte (Model No : E32 915T20D) as nodes to send data.  
And there is a problem, the output power from the module (100 mw) is to high and not legal in most countries.  
And this specific type **can’t** be used for LoRa **WAN** over TTN

[Next page](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-2/19143.md?page=2)
