LoPy as LoRaWAN Basestation?
-
I am really curious who and how can check this 1% ;-)
Ok if i talking with some provider yes, but if my devices talking each other i suppose that this regulation is virtual i am right? -
@livius said in LoPy as LoRaWAN Basestation?:
I am really curious who and how can check this 1% ;-)
Ok if i talking with some provider yes, but if my devices talking each other i suppose that this regulation is virtual i am right?You are using a license free frequency which is shared between users. 1.0% limitation is imposed to keep it usable for others. Be fair using it.
In a LoRaWAN network devices do not talk to each other but devices talk to base stations (gw) and rarely base stations to devices, but limitation is valid for base stations too.
Device modules, like RN2483 do check it and reject transmission exceeding the limit. Well, you can change the limit in the configuration.
Limitation is not for the LoRaWAN usage but for the free ISM band and is not virtual. Or as virtual as the red light on the road. Check the frequency regulations in your country.
-
@bmarkus
You know how it is - if something is only prohibited and no one checks. I am confident that users will use it in excess. This is the same as for parking. If one would not controlled despite the paid parking zones one would not pay for it ;-)One more sample:
In my country one operator prohibit use of LTE(normal LTE) to talking without person. You know person is only autorized no device to device talking. This is for me really virtual regulation ;-) -
@livius said in LoPy as LoRaWAN Basestation?:
@bmarkus
You know how it is - if something is only prohibited and no one checks. I am confident that users will use it in excess. This is the same as for parking. If one would not controlled despite the paid parking zones one would not pay for it ;-)Why don't you buy a jammer and connect to a roof antenna?
-
you meant something like this? :)

-
And sorry for spamming
but is this 1% for one device or for one "virtual user"?
You know i have 100 devices and use summary 100% of bandwidth -
@livius said in LoPy as LoRaWAN Basestation?:
And sorry for spamming
but is this 1% for one device or for one "virtual user"?
You know i have 100 devices and use summary 100% of bandwidth1% is for one device and one channel. So yes, 100 devices on a single channel use 100% of the channel. If you have 8 channels, situation is better, you need 800 devices to fully load it.
However there are channels with only 0.1% allowed duty rate. Check your regulations. In which country you are?
-
Thank you for the info.
country - Poland - we have really early setup and regulations are only from providers
maybe i am wrong then someone can correct me -
@livius said in LoPy as LoRaWAN Basestation?:
Thank you for the info.
country - Poland - we have really early setup and regulations are only from providers
maybe i am wrong then someone can correct mePoland is member of EU and member countries accept the ERO regulations. Would be surprised to learn it is not regulated in Poland.
-
@bmarkus
if LoRa is regulated in EU than yes it is regulated in Poland.
But i am end user... -
The radio spectrum is regulated. European directives are transposed to the national laws of the member states.
Even "free" ISM frequencies have some usage restrictions. You cannot exceed power levels in the Wi-Fi frequencies, for example.
So what happens if you exceed it? Well, it depends. Probably nothing. But in case it disrupts another user of the same spectrum and an investigation proves that you were misbehaving... well, the fines can be hefty. Check your national telecommunications law.
And, as many aspects of the regulations are subject to interpretation, good luck with a judge if you get in trouble!
That said, if you are developing software and you are concerned with "polluting" the band with lots of transmissions, buy an attenuator on eBay and connect module and gateway together. There are old HP/Agilent attenuators that you can adjust from 0 to 130 dB in 10 dB steps.
-
I'm a bit confused about LORA/LORAWAN. With the current state of the firmware, is it possible to create a "LORAWAN" gateway on one Lopy, and connect another Lopy in LORAWAN mode to it?
I know that it won't be fully compliant with LORAWAN or TTN because of the single channel limitation, but I would like to do some tests, and I have no LORAWAN gateway in range...
Thanks!
-
@JF002 said in LoPy as LoRaWAN Basestation?:
I'm a bit confused about LORA/LORAWAN. With the current state of the firmware, is it possible to create a "LORAWAN" gateway on one Lopy, and connect another Lopy in LORAWAN mode to it?
I know that it won't be fully compliant with LORAWAN or TTN because of the single channel limitation, but I would like to do some tests, and I have no LORAWAN gateway in range...
Thanks!
A LoRaWAN GW is just a dumb device, network functions are provided by the network server. A GW without network server is useless.
-
@JF002 said in LoPy as LoRaWAN Basestation?:
I'm a bit confused about LORA/LORAWAN. With the current state of the firmware, is it possible to create a "LORAWAN" gateway on one Lopy, and connect another Lopy in LORAWAN mode to it?
I know that it won't be fully compliant with LORAWAN or TTN because of the single channel limitation, but I would like to do some tests, and I have no LORAWAN gateway in range...
If it't not fully compliant, it's not a LoRaWAN gateway. Period. The limitation is not only the single channel reception (at least three channels are mandatory en Europe, see the regional parameters document from the LoRa Alliance). And a LoRaWAN gateway needs to receive several different spreading factors simultaneously.
But it you just want to create a diy network you can use a Pycom device as a "gateway". It will be limited to a single frequency and a single SF.
That's what the nano-gateway example shows.
-
@borjam, bmarkus Thanks for these informations.
Indeed, I want to create a DIY network, only for my devices, for experimentations and tests.
But is it possible to connect a true LORAWAN device to this nano-gateway? I suppose I'll need to configure them so that they use the same channel/frequency/sf/whatever than my nano-gateway.
Is is possible to create such a LORAWAN node with the Lopy? -
@JF002 said in LoPy as LoRaWAN Basestation?:
@borjam, bmarkus Thanks for these informations.
Indeed, I want to create a DIY network, only for my devices, for experimentations and tests.
But is it possible to connect a true LORAWAN device to this nano-gateway? I suppose I'll need to configure them so that they use the same channel/frequency/sf/whatever than my nano-gateway.
Is is possible to create such a LORAWAN node with the Lopy?Read previous posts. It is not clear what do you want to reach. What are the "true LoraWAN devices": Probably you can hack. But than they are not true LoraWAN devices anymore.
What is about the network server?
Really, please forget LoPy or any other SX127x based devices as a LoRaWAN gateway.
You can build fine networks with them, there are academic opensource projects using LoRa devices with a different networking protocol. Yes, it is possible, but need a different protocol stack.
But please, do not call it LoRaWAN which is a standardized network architecture and protocol.
-
@JF002 said in LoPy as LoRaWAN Basestation?:
@borjam, bmarkus Thanks for these informations.
Indeed, I want to create a DIY network, only for my devices, for experimentations and tests.
But is it possible to connect a true LORAWAN device to this nano-gateway? I suppose I'll need to configure them so that they use the same channel/frequency/sf/whatever than my nano-gateway.
Is is possible to create such a LORAWAN node with the Lopy?There are no true or half true LoRaWAN (or even π % true) devices. There are LoRaWAN devices and non LoRaWAN devices.
It is not possible to build a LoRaWAN gateway with a LoPy, period. It can't listen on multiple channels nor multiple SFs simultaneously. So, if you need a gateway for LoRaWAN devices it will certainly not work.
If you want to build a network with raw LoRa devices (for example, LoRa cards available for the Raspberry Pi or Arduino and Lopy) it should work. It may take some experimentation due to documentation confusion. Actually I am going to do some tests with LoPy and a card for Raspberry and Arduino from "Dragino".
As far as I know, LoRaWAN nodes are required to choose a frequency at random out of a minimum of three channels. Even if you set up three LoPys, one on each frequency, you would still need to listen to several different SFs. The kludge is not worth the effort.
-
@borjam Ok, I understand, thank you!
Here's what I would like to try : I have 2 Lopy boards. I've already managed to create a little program that is able to connect to a TTN gateway. This is then a LoRaWAN device.
I would like to continue my experimentations on LoRaWAN and TTN, but I don't have any gateway in range at home, and I don't own one.
Could it be possible to slightly modify the little "client" program I used to connect to TTN so that it connects to the other Lopy board, that would act like a nano-gateway (the client and the nano-gateway would still exchange LoRaWAN packets, except for the channel/frequency negociation).I know that a standard LoRaWAN device wouldn't be able to connect to my nano-gateway, but it could allow me to continue my experiments.
If I understood correctly, I would have to force the device to use the same frequency, channel, sf than the nano-gateway, but I don't know if it's possible with the current firmware (or possible at all).
Thanks!
-
@JF002 I'm trying to implement this right now.
One LoPy acts as LoRaWAN node and connects to a second LoPy nano-gateway.
The LoPy nano-gateway isn't able to talk to the TTN API's yet: you need to implement http://www.grpc.io/ on the LoPy.
grpc have a Python library but I don't know yet if LoPy can run this.
I working on this and will try this during Christmas holiday.
An alternative is to implement grpc on an Raspberry Pi and use that for the TTN connectivity. So connecting the LoPy nano-gateway to RPi. -
Hi @bmarkus,
Do you feel like the LoPy is getting better as far as LoRa and LoRaWAN (single channel nano-gateway or endpoint) are concerned?
Thanks for your clarifications.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login