Git Product home page Git Product logo

Comments (9)

terrillmoore avatar terrillmoore commented on June 12, 2024 1

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. The project_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.

manibenwa avatar manibenwa commented on June 12, 2024

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.

terrillmoore avatar terrillmoore commented on June 12, 2024

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. feather-m0-lora-wire

from arduino-lmic.

manibenwa avatar manibenwa commented on June 12, 2024

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.

terrillmoore avatar terrillmoore commented on June 12, 2024

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.

yogeshmadi avatar yogeshmadi commented on June 12, 2024

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.

terrillmoore avatar terrillmoore commented on June 12, 2024

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.

yogeshmadi avatar yogeshmadi commented on June 12, 2024

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.

yogeshmadi avatar yogeshmadi commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.