# Computer USB Gateway

**URL:** <https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857>\
**Category:** Uncategorized\
**Created:** [October 17, 2019, 12:24pm UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857 "2019-10-17T12:24:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![netmonk](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/netmonk/32/36353_2.png) [@netmonk](https://www.thethingsnetwork.org/forum/u/netmonk)\
**Post date:** [October 17, 2019, 12:24pm UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/1 "2019-10-17T12:24:28Z")

</div>

I ask for help to find if it exists, a Gateway board that i could use by USB and move easely with my laptop, so that my laptop, or my desktop would run packet forwarder and gateway software, using the RF board connected to its usb port.

All i see is autonomous system running on top of Raspberry or Microcontroller, using gpio, but i cannot find a good board that i can just plug with USB on my linux computer and start to dev with it.

May be i misunderstood something, or i lake common knowledge of electronics which leads me to miss something in the big picture, that’s why i ask some help here !

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 17, 2019, 12:59pm UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/2 "2019-10-17T12:59:22Z")

</div>

Have you checked the messages in [this discussion](https://www.thethingsnetwork.org/forum/t/newbie-gateway-with-linux-box-eu-greece/28200)? Lists the available options and goes into why it is a bad idea…

---

<div class="post-metadata">

**Author:** ![clv](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/clv/32/46568_2.png) [@clv](https://www.thethingsnetwork.org/forum/u/clv)\
**Post date:** [October 17, 2019, 8:08pm UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/3 "2019-10-17T20:08:54Z")

</div>

Long story short if you can’t follow the long discussion. PC’s does not have SPI interface. PI has, or other non-PC products (check links in discussion)

1. USB concentrator It’s good solution probably _only_ for testing. Range is very limited (300m), since it’s indoors. I have some semi-outdoors ideas (one is to use active usb extrension cable!) but not tried yet.

2. For extra money you can buy [mikrotik](https://mikrotik.com/products/group/lora-products), or PI (4 is overkill) + with [ic880a](https://shop.imst.de/wireless-modules/lora-products/8/ic880a-spi-lorawan-concentrator-868-mhz). I met some guy in my local community and it has 2 years of reliability without any care.

3. I had the wrong impression that n-fuse card (I bought it) that is both SPI and USB / UART cabaple, but it’s only USB / UART. It seems reliable to all my tests. It’s on 24/7. Whenever I check, it works. I don’t like the high temperature. I precautionary installed a DIY fan. It’s working over a 7 port usb hub. For testing it’s ok. But if you want to go outdoors (one-way for serious range), better to check other SPI solutions. I have zero traffic in my area, so I can’t comment on reliability over heavy traffic.

I was able to contribute to TinyLoRa so it’s a win situation for me till now. BUT, only for testing / developing. If you want to contribute to community, just spend the extra money for outdoor concentrator.

I am planning to buy Mikrotik lora kit or pi + ic880a, I suggest the same or similar embedded solutions.

If you want to experiment you can _try_ [n-fuse usb](https://n-fuse.co/devices/LoRaWAN-Concentrator-Card-mini-PCIe.html) and in future a [pi hat](https://n-fuse.co/devices/SBCPoE-RPi-Power-over-Ethernet-Hat-for-Raspberry-Pi-3B-plus-with-mPCIe-Slot.html) with a pi. I don’t know if it’s a reliable solution, since you will connect USB to PI and not SPI to PI.

Forget single / dual channel ‘concentrators’ go for the real thing.

---

<div class="post-metadata">

**Author:** ![cslorabox](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cslorabox/32/35697_2.png) [@cslorabox](https://www.thethingsnetwork.org/forum/u/cslorabox)\
**Post date:** [October 18, 2019, 12:33am UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/4 "2019-10-18T00:33:23Z")

</div>

> [@clv](#):
>
> USB concentrator It’s good solution probably _only_ for testing. Range is very limited (300m),

To be clear, _your_ USB gateway has limited range because you put it indoors.

But as a design category USB gateways (conventional ones, without an on-board MCU) have difficult with _busy_ networks (and so are deprecated from software support), not with _range_.

---

<div class="post-metadata">

**Author:** ![netmonk](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/netmonk/32/36353_2.png) [@netmonk](https://www.thethingsnetwork.org/forum/u/netmonk)\
**Post date:** [October 18, 2019, 6:44am UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/5 "2019-10-18T06:44:53Z")

</div>

My target is to have handy device on wich i can dev.  
I already have a RAK gateway on top of raspberry, running full time for my town, but i want to enter the code, test develop, therefore i need something i can plug to my laptop, and provide hardware link while my laptop will run the code i develop.  
A little usb module with 300m range is far from enough, as far as i wont get up my sit and going to run away with my lora node to test gateway code.

So i dont look for full time grade gateway, but device which can easely be put on my backpack, with my laptop and when i have time, i can code. (lunch break at work for exemple).  
I have an hackrf board, and it’s easy to carry and deploy. So i was targeting something alike for LORA

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 18, 2019, 7:35am UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/6 "2019-10-18T07:35:34Z")

</div>

Does that mean you will be working on gateway code? For which platform?

---

<div class="post-metadata">

**Author:** ![netmonk](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/netmonk/32/36353_2.png) [@netmonk](https://www.thethingsnetwork.org/forum/u/netmonk)\
**Post date:** [October 18, 2019, 10:25am UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/7 "2019-10-18T10:25:08Z")

</div>

Yes, i want to experiment some ideas, but not only ! 🙂

---

<div class="post-metadata">

**Author:** ![cslorabox](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cslorabox/32/35697_2.png) [@cslorabox](https://www.thethingsnetwork.org/forum/u/cslorabox)\
**Post date:** [October 18, 2019, 1:58pm UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/8 "2019-10-18T13:58:32Z")

</div>

> A little usb module with 300m range is far from enough, as far as i wont get up my sit and going to run away with my lora node to test gateway code.

Again, while FTDI-based USB solutions have issues, range is not one of them. That was entirely due to the other poster’s install location.

> So i dont look for full time grade gateway, but device which can easely be put on my backpack, with my laptop and when i have time, i can code. (lunch break at work for exemple).

Another option to consider would be leaving the gateway in a good location, and accessing it remotely. Even if I’m in the same room as one of my development gateways, I generally only connect to it with a serial cable when I’m working on basic OS setup or the scripts that enable remote access, otherwise I use the remote access to do work on the gateway. I’ll do trivial edits on the gateway, for more complex ones I edit it elsewhere and transfer it over. And while one can cross compile for the more capable compute platforms (pi, orangepi, etc) it doesn’t take that long to build on the device.

One of the other things about leaving a gateway in a given location is you can leave the nodes it interacts with in fixed locations, too. Some of my test nodes sit on their own remotely accessible pi supervisors - the pi has a copy of openocd and can reflash the node via a connection of chosen GPIOs to the node’s SWD pins, and the pi collects the node’s serial debug log, which I can either watch live or search back through. I usually have a node and SWD adapter with me, but often it’s faster to deploy to several in fixed installations and record how they interact with the network, plus then I don’t end up buried in cables.

But if you really want something portable, a concentrator board and a raspberry pi (or better yet something like an OrangePi model with eMMc) can be put in a small box. I’d avoid the pi zero as its interfaces are just too limited, in theory the gateway only needs SPI but if you wanted something like a GPS you could find yourself without a console serial port or needing to add a hub. And if you wanted to actually be a _useful_ gateway you probably want wired Ethernet (or LTE) rather than wifi.

---

<div class="post-metadata">

**Author:** ![Plumbum](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/plumbum/32/30593_2.png) [@Plumbum](https://www.thethingsnetwork.org/forum/u/Plumbum)\
**Post date:** [October 21, 2019, 6:02am UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/9 "2019-10-21T06:02:18Z")

</div>

I can recommend the n-fuse LoRa mPCI-E card with USB-Adapter…

> **[LoRaWAN Concentrator Card ‒ n-fuse](https://www.n-fuse.co/devices/LoRaWAN-Concentrator-Card-mini-PCIe.html)**
>
> LoRaWAN Concentrator Card based on Semtech SX1301 and SX1308 in Mini PCIe form factor.

  
Works perfect for local testing or monitoring of malfunctioning devices (aka locating a high interval sender)

---

<div class="post-metadata">

**Author:** ![nestorayuso](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/nestorayuso/32/35697_2.png) [@nestorayuso](https://www.thethingsnetwork.org/forum/u/nestorayuso)\
**Post date:** [October 29, 2019, 8:07am UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/10 "2019-10-29T08:07:56Z")

</div>

Heltec HT-M01 pico gateway  
 ![IMG_0609](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/3/2/32762cb480dd8807c391b5c1dc5346b251fd17bb.jpeg)

USB interface without latency problems of former FTDI US gateways.  
About 100€, great travel gateway.  
The packet forwarder is already compiled for Windows.

---

<div class="post-metadata">

**Author:** ![Vanthome](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/vanthome/32/2978_2.png) [@Vanthome](https://www.thethingsnetwork.org/forum/u/Vanthome)\
**Post date:** [October 29, 2019, 7:54pm UTC](https://www.thethingsnetwork.org/forum/t/computer-usb-gateway/30857/11 "2019-10-29T19:54:12Z")

</div>

For the n-fuse USB LoRaWAN Gateway (LoRa mPCI-E card with USB-Adapter), there is also a Windows Software available with GUI that you can download from the product page.
