Comments (13)
Hi akash73,
I've tried the MKRWANFirstConfiguration example but still no success... I also wanted to ask about the code on the gateway, currently I'm using a Raspberry Pi 3b with a dragino shield wired I'm using the single_channel_pkt_fwd from https://github.com/tftelkamp/single_chan_pkt_fwd. My question is; is the Arduino MKR doing frequency hops between 8 or 64 channels? Is the code from the single channel packet fwd also doing frequency hops (probably only 8 channels)? Any suggestion on which single_chan_pkt_fwd use?
Kind regards:)
from mkrwan.
it can be for the subband, although I still do not know how to configure that
from mkrwan.
I feel they should provide more information on this matter, because there's two channel plans on the US915 (referring to upstream only) one with 8 channels using Lora's 500Khz bandwidth and 64 channels using Lora's 125Khz bandwidth...
Also provide documentation for the AT commands.
I hope they fix this issue with the US LoRa connection soon...
from mkrwan.
Hi,
pls look at this
https://www.arduino.cc/en/Tutorial/MKRWANFirstConfiguration
inside the example :
Serial.println("Register to your favourite LoRa network and we are ready to go!");
// change this to your regional band (eg. US915, AS923, ...)
if (!modem.begin(EU868))
change the value of (!modem.begin(EU868)) to US915
check if works.
thanks
from mkrwan.
Any update? Have you been able to securely transmit data (OTAA,ABP) using LoRa standards over the 915MHz?
from mkrwan.
I just fired one up today on US915 and I have been able to send packets through my gateway to my server. There are some issues to resolve but the packets are getting there.
from mkrwan.
Hey @sslupsky could you specify the setup you used? Gateway, if possible post the gateway code, and I'm assuming you tried the mkr with the MKRWANFirstConfiguration example?
Thanks
from mkrwan.
HI @conradholt I am using the Laird gateway. I am not sure what you mean by gateway code? When using the MKRWAN1300 with an 8 channel gateway such as the Laird, select the "US915_Hybrid" region. That appears to work most reliably to join the network. I have configured my Laird gateway for channels 0 - 7 and 64. I have not actually figured out how the "Hybrid" configuration differs from the standard one yet though. It is not documented anywhere that I can find.
I should also mention that I am using the standard Semtech packet forwarder on the Laird gateway and I have a Loraserver instance (loraserver.io) running.
I've used the FirstConfiguration example and the LoraSendandReceive example and gone from there. Though, I have not actually tested receiving yet. There is some weirdness regarding resetting the board. If the board is reset by pressing the reset button or uploading a new sketch, the setup() runs and it joins the network. The loop() runs once and sends one uplink and hangs. If I do a power on reset, the loop() function cycles as it should.
from mkrwan.
thanks @sslupsky for the reply!.
I have been able to set an arduino uno with a dragino shield v1.4 to send data to ttn using a single channel gateway (sx12xx) like a Raspberry pi + dragino shield or the dragino lg01.
Since the gateway it's a single channel, when sending data I have to make sure I disable the 63 other channels for the us band (just sending data on 902.3Mhz) ... Is there any way to disable all the channels except 1 for mkr1300?
Also regardless of OTAA or ABP do you have to give the APPKey or APPSKey always in MSB format because that's the case for the arduino uno when connecting to ttn through abp.
cheers!
from mkrwan.
@conradholt Unfortunately I am not aware of an easy way to configure the channels on the mkrwan1300 at the moment. I suppose you could download the mkrwan1300-fw and create your own region and recompile.
If you want to purchase an inexpensive gateway, check out the Tektelic Pico Gateway. It's an 8 channel gateway.
I use the same example format they use in the MKRWAN example ... I do not recall off the top which format it is.
from mkrwan.
Thanks @sslupsky I will definitely do that soon, but as of now I need to work with the single channel gw!
from mkrwan.
so @sslupsky I've been able to setup a lorawan network with my own private server using mkr's and uno's and a kona pico gw from tektelic. The reason why the US915_HYBRID works better than the US915 has to do with the amount of channels you have in your gateway, in my case 8. That's what the US915_HYBRID is doing, is hoping between 902.3-903.9.
I am able to see the packets with the payload in my server, but everytime I send a packet the serial (for the mkr) says "error sending the message", and still the packet is perfectly received at the gw and pushed to the server, so i guess it has to do with either the downlink or some sort of ack.
Any thoughts?
from mkrwan.
Are you using the modem.endpacket() function? You get that message if the ack is not received or if the payload is more than 64 bytes. I noticed that I get the occasional error. For testing, I send a packet every 10 sec. It appears about every 6 min I see a packet failure. I noticed that the radio behaves odd when this happens. I am wondering if it is doing a rejoin.
from mkrwan.
Related Issues (20)
- Does this library really support US915? HOT 5
- External SPI bus freezes when LoRa is enabled MKRWAN 1310 - NOT same issue as Flash contention
- Feature Request: Allow printing the RSSI values HOT 1
- Is my MKR WAN 1300 not sending proper data to TTN? HOT 2
- Add GitHub Actions workflow to synchronise with shared repository labels
- Feature Request: Allow the MKRWAN library to send and receive very simple LoRa peer-to-peer commands HOT 5
- Class A ABP mode not receiving any messages HOT 3
- Official AT Commands for firmwares? HOT 2
- Set RX2DR - Not changing value HOT 1
- Why are join/connected methods virtual? HOT 1
- More recent LoRaWAN firmware for Murata HOT 2
- USB disconnecting when connecting via modem.joinOTAA HOT 1
- Faster upload speeds HOT 1
- Firmware version mismatch HOT 1
- how to joinOTAA with different datarate HOT 2
- Use of the restart() function is not documented
- Possible bug in `arduino_read` function of "MKRWANFWUpdate_standalone" example sketch
- Setting DR doesn't work HOT 3
- Endianness AppEui HOT 3
- Unable to join through OTAA on EU868 spectrum HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkrwan.