Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Connection to TTN With OTAA #6720
    matthiasnielsen
    Participant

    Thanks for the reply!

    Helps me getting better grip on LoRa 🙂

    in reply to: Connection to TTN With OTAA #6706
    matthiasnielsen
    Participant

    Thanks for the link! It helped me getting both of mine working now 🙂

    A quick question – do I actually need to read out the Device ID of the Mini Ultra Pro and inserting it into the TTN dashboard?
    I mean, couldn’t I make up my own Device ID (or let TTN generate one) and insert that Device ID into the LCIM code that I upload to the Ultra Pro Mini? Or is the actual hardware Device ID necessary (if so, why)?

    in reply to: Connection to TTN With OTAA #6512
    matthiasnielsen
    Participant

    Thanks for your reply!

    I think I might indeed be doing the DEV EUI part wrong. I have been using a EUI generated by TTN where I should be using the Ultra Pro Mini’s LoRa module’s EUI, right? However, I can’t seem to figure out how to retrieve the DEV EUI from the device – any suggestions?

    /Matthias

    in reply to: Connection to TTN With OTAA #6506
    matthiasnielsen
    Participant

    Quick update – I got it working with ABP, but still no luck with OTAA, which makes me think I might be setting up the TTN OTAA parameters wrong. However, I have no idea where to look for errors… Any suggestions would highly appreciated 🙂

    I’m going to leave it powered on overnight to see if it succeeds in joining…

    in reply to: Connection to TTN With OTAA #6504
    matthiasnielsen
    Participant

    I am following your instructions trying to connect my Mini Ultra Pro V2 to TTN using Matthijs’ LCIM library. However, I am stuck at joining the TTN network.

    I’ve changed Matthijs’ ttn-otaa example in the following ways:
    – Added APPEUI from my TTN application page (made sure to reverse it)
    – Added DEVEUI from my TTN application page (made sure to reverse it)
    – Added APPKEY from my TTN application page (as is – i.e. not reversed)
    – Changed lmic_pins per your instructions above.
    – Added LMIC_setClockError(MAX_CLOCK_ERROR * 1 / 100); after LMIC_reset();
    – Added #define Serial SerialUSB for serial monitor output
    – Added while(!Serial); after Serial.begin(9600); (otherwise I get not output in the serial monitor)

    In the serial monitor I receive the following message and nothing more:

    Starting
    Packet queued
    321993: EV_JOINING

    Even if I leave it for minutes nothing happens. I am around 200 meters away from the nearest TTN access point, so I’m thinking rangewise I should be good (although this is my first experience with LoRa and/or TTN).

    Any suggestions as to what I can try to get it working?

Viewing 5 posts - 1 through 5 (of 5 total)