Comments (9)
Usually this means that the pin configuration table is wrong. The error message comes from an ASSERT(), and the ASSERT is happening because radio_init()
returned false. The line numbers don't match exactly, so I don't think you're using exactly the code from the repo, or perhaps not the most recent version; but it looks pretty conclusive anyway.
You should not be modifying config.h
. See https://github.com/mcci-catena/arduino-lmic#configuration, where it says:
A number of features can be enabled or disabled at compile time. This is done by adding the desired settings to the file
project_settings/lmic_project_config.h
. Theproject_settings
directory is the only directory that contains files that you should edit to match your project; we organize things this way so that your local changes are more clearly separated from the distribution files. The Arduino environment doesn't give us a better way to do this.Unlike other ports of the LMIC code, in this port, you should not edit
src/lmic/config.h
to configure this package.
By the way, did you add the required jumper on the Feather M0 LoRa? It's not as clear in README.md as it should be, but the docs say:
This pin table assumes that you have manually wired JP1 pin 1 to Arduino JP3 pin 9 (Arduino D6).
This is required. (But the problem it fixes doesn't arise until you far past initialization; your problem is arising during initialization.)
If you're still having problems, perhaps our Chennai team (@svelmurugan92 and group) can help.
Best regards,
--Terry
from arduino-lmic.
Thanks for replay,
I have not wired any thing (JP1 pin 1 to Arduino JP3 pin 9 (Arduino D6))
can u please tell me which pins should i need to connect in lora feather M0??
and please forward the lorawan protocol libraries links related to adafruit lora M0..
from arduino-lmic.
Please wire Feather M0 LoRa JP1 pin 1 to Feather M0 JP3 pin 9. Refer to the schematic for background info.
Here's a sketch (on the back side -- not the component side -- of the board). Note that if you are using the MCCI Catena 4450/4460 Wings, the boards already provide this wire so you don't need to do this. In all other cases, this wire is needed.
from arduino-lmic.
I have connected as you show in above figure,still i stuck on the same error,
by the way iam using this lora (https://www.thingbits.net/products/adafruit-feather-m0-rfm69hcw-packet-radio-868-or-915-mhz) and it has SX1231 module and i followed
const lmic_pinmap lmic_pins = {
.nss = 8,
.rxtx = LMIC_UNUSED_PIN,
.rst = 4,
.dio = {3, 6, LMIC_UNUSED_PIN},
};
but still facing same error.can you send me the most resent version of this library(https://github.com/mcci-catena/arduino-lmic/tree/master/examples/raw-feather )
from arduino-lmic.
Oh, that’s the problem. The SX1231 module doesn’t work with Arduino LMIC. You must have the SX1272 or SX1276. Sorry!
from arduino-lmic.
Thanks a lot for your useful information@terrillmoore. Can you please tell me is there any Lorawan library for SX1231 or any other similar library which can support this SX1231???
Can you tell me why this board doesn't support Lorawan protocol(LMIC Library)?? or is any hardware or software issue???
from arduino-lmic.
It's different hardware. The modulation for LoRa is unique, and can't be handled with a normal FSK radio. The SX1231 is not a LoRa-capable radio.
Best regards,
--Terry
from arduino-lmic.
Thanks for the reply@terrillmoore. Here iam using this https://www.adafruit.com/product/3176 board and this board have 868 or 915mhz radio frequency so please suggest me any related libraries is there for this board???
from arduino-lmic.
Hai terrillmoore,
actually we have this coaster pagers https://www.aliexpress.com/item/Fast-food-Wireless-Restaurant-Guest-paging-system-KTP-20-coaster-pager/32597068448.html
Can u please tell which protocol used in this coaster system???
from arduino-lmic.
Related Issues (20)
- sleeping for longer period (> 15 minutes) can cause delayed transmission HOT 1
- Regulatory delays are overridden by transmit randomization
- EV_TXCOMPLETE in unsupervised transmission HOT 15
- AU915 exceeds Time-on-air for ADR and packet confirmation HOT 8
- Can't receive downlink messages
- ESP32 board not supported HOT 3
- Problem with ttn-otaa.ino HOT 1
- Helium joining problem with TTGO esp32 board
- Wrap-around of globalDutyAvail is blocking transmission in case of long transmission intervals HOT 1
- rssi
- How to make DR fixed in OTAA example HOT 11
- IN866 - LinkAdrReq failure with ChMask higher than 0x07 HOT 1
- use an explicit pinmap on lora 32 v2 HOT 1
- Reduction of the maximum current when using a smaller button cell HOT 1
- Newbie question - transmitting small packets at near real time speeds HOT 2
- Joining to helium network fails, network sends JoinAccept but sensor doesn't receive EV_JOINED event
- Enabling Class B or C for Continuous Downlink Without Uplink Pre-requisite HOT 3
- MCCI - LMIC keeps resetting
- Uplink with FPort 255 and invalid MIC! HOT 2
- no JoinAccept
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 arduino-lmic.