• Link to X
  • Link to Youtube
Rocket Scream
  • Blog
  • Shop
    • Arduino and Compatibles
      • Mini Ultra Series
      • osPID
    • Component
      • Connector
      • Interconnect & Cables
      • Wires
      • Sensors
        • Temperature
    • Wireless
      • Antenna
      • Module
  • Forums
  • Docs
  • Contact
  • About
  • My Account
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
  • Shopping Cart Shopping Cart
    0Shopping Cart

DEVEUI

You are here: Home1 / Forums2 / Products3 / Mini Ultra Series4 / Mini Ultra (AVR 8-bit)5 / DEVEUI6
Viewing 15 posts - 1 through 15 (of 21 total)
1 2 →
  • Author
    Posts
  • May 9, 2019 at 5:03 PM #11976
    andrew.wootton
    Participant

    Sorry if this is a bit naive. How do you get the DEVEUI from a MiniUltraLoRaWAN so that you can input this into the TTN application?

    I’ve tried the TTN DeviceInfo sketch, but it isn’t connecting to the gateway so its just printing a blank Device Information listing..

    I’m using the RS CH340E USB-Serial adapter to communicate and power the board.

    TIA

    May 10, 2019 at 12:31 PM #11980
    LIM PHANG MOH
    Keymaster

    If you load the example code here (which you must also add your own AppEui), the debug messages on the serial at 115200 bps will print out the DevEui.

    May 10, 2019 at 12:52 PM #11982
    andrew.wootton
    Participant

    thanks, should have tried this, I was being too cautious in wanting to run DeviceInfo first.

    May 10, 2019 at 1:42 PM #11984
    andrew.wootton
    Participant

    I’m not getting a join. I’m pretty sure I’ve got the freqPlan, appEUI and appKey set right. Should I try a reset on the RN2903?

    May 10, 2019 at 3:01 PM #11986
    LIM PHANG MOH
    Keymaster

    Please provide a screenshot of the TTN dashboard setup of the device and the AppEui added in your unit code. You can blur the private and confidential field.

    Also as the RN2903 only supports US band officially, are you using a US915 gateway in Australia?

    May 10, 2019 at 3:20 PM #11988
    andrew.wootton
    Participant

    ttn

    
    // Set your AppEUI and AppKey
    const char *appEui = "70B3D57ED001BD78";
    const char *appKey = "86E112B5E0D1B1FDEF2849E2B1AA8645";
    #define SLEEP_PERIOD 60000
    #define BAUD_RATE_LORA 19200
    #define BAUD_RATE_DEBUG 115200
    #define debugSerial Serial
    
    // Replace REPLACE_ME with TTN_FP_EU868 or TTN_FP_US915
    #define freqPlan TTN_FP_US915
    

    Yes I’m using the US915 plan in Australia. I have been connecting successfully with a SodaqOne that uses a RN2903 with TheThingsNetwork.h library. Code looks the same.

    May 10, 2019 at 3:34 PM #11990
    andrew.wootton
    Participant

    I’ve just remembered that I had to do a firmware update on the SodaqOne RN2903. Sodaq have provided a hex image routine which I used successfully (https://github.com/SodaqMoja/RN2483FirmwareUpdater). Do I need to do this for the MiniUltraLoRaWAN and would this sketch work on the ATMega328?

    • This reply was modified 7 years ago by andrew.wootton.
    May 10, 2019 at 5:23 PM #11994
    LIM PHANG MOH
    Keymaster

    What is the output from the debug serial?

    I have customer getting this work on 1.0.3 straight out of the box on US frequency on TTN. Let’s check the debug serial output before making a decision on the upgrade. All I know is, 1.0.4 is okay but the newer 1.0.5 has issue to work properly on TTN.

    To upgrade on the Mini Ultra LoRaWAN is simpler, follow the instruction here. Then you could use the Microchip upgrade tool to upgrade the RN2903A firmware to 1.0.4.

    May 10, 2019 at 6:29 PM #11996
    andrew.wootton
    Participant
    -- STATUS
    Model: RN2903
    Version: 1.0.3
    Sending: mac set deveui 0004A30B00262DDE
    Sending: mac set adr on
    EUI: 0004A30B00262DDE
    Battery: 3036
    AppEUI: 70B3D57ED001BD78
    DevEUI: 0004A30B00262DDE
    Data Rate: 0
    RX Delay 1: 1000
    RX Delay 2: 2000
    -- JOIN
    Model: RN2903
    Version: 1.0.3
    Sending: mac set deveui 0004A30B00262DDE
    Sending: mac set adr on
    Sending: mac set deveui 0004A30B00262DDE
    Sending: mac set appeui 70B3D57ED001BD78
    Sending: mac set appkey 86E112B5E0D1B1FDEF2849E2B1AA8645
    Sending: mac save 
    Sending: mac set ch status 0 off
    Sending: mac set ch status 1 off
    Sending: mac set ch status 2 off
    Sending: mac set ch status 3 off
    Sending: mac set ch status 4 off
    Sending: mac set ch status 5 off
    Sending: mac set ch status 6 off
    Sending: mac set ch status 7 off
    Sending: mac set ch status 8 on
    Sending: mac set ch drrange 8 0 3
    Sending: mac set ch status 9 on
    Sending: mac set ch drrange 9 0 3
    Sending: mac set ch status 10 on
    Sending: mac set ch drrange 10 0 3
    Sending: mac set ch status 11 on
    Sending: mac set ch drrange 11 0 3
    Sending: mac set ch status 12 on
    Sending: mac set ch drrange 12 0 3
    Sending: mac set ch status 13 on
    Sending: mac set ch drrange 13 0 3
    Sending: mac set ch status 14 on
    Sending: mac set ch drrange 14 0 3
    Sending: mac set ch status 15 on
    Sending: mac set ch drrange 15 0 3
    Sending: mac set ch status 16 off
    Sending: mac set ch status 17 off
    Sending: mac set ch status 18 off
    Sending: mac set ch status 19 off
    Sending: mac set ch status 20 off
    Sending: mac set ch status 21 off
    Sending: mac set ch status 22 off
    Sending: mac set ch status 23 off
    Sending: mac set ch status 24 off
    Sending: mac set ch status 25 off
    Sending: mac set ch status 26 off
    Sending: mac set ch status 27 off
    Sending: mac set ch status 28 off
    Sending: mac set ch status 29 off
    Sending: mac set ch status 30 off
    Sending: mac set ch status 31 off
    Sending: mac set ch status 32 off
    Sending: mac set ch status 33 off
    Sending: mac set ch status 34 off
    Sending: mac set ch status 35 off
    Sending: mac set ch status 36 off
    Sending: mac set ch status 37 off
    Sending: mac set ch status 38 off
    Sending: mac set ch status 39 off
    Sending: mac set ch status 40 off
    Sending: mac set ch status 41 off
    Sending: mac set ch status 42 off
    Sending: mac set ch status 43 off
    Sending: mac set ch status 44 off
    Sending: mac set ch status 45 off
    Sending: mac set ch status 46 off
    Sending: mac set ch status 47 off
    Sending: mac set ch status 48 off
    Sending: mac set ch status 49 off
    Sending: mac set ch status 50 off
    Sending: mac set ch status 51 off
    Sending: mac set ch status 52 off
    Sending: mac set ch status 53 off
    Sending: mac set ch status 54 off
    Sending: mac set ch status 55 off
    Sending: mac set ch status 56 off
    Sending: mac set ch status 57 off
    Sending: mac set ch status 58 off
    Sending: mac set ch status 59 off
    Sending: mac set ch status 60 off
    Sending: mac set ch status 61 off
    Sending: mac set ch status 62 off
    Sending: mac set ch status 63 off
    Sending: mac set ch status 64 off
    Sending: mac set ch status 65 on
    Sending: mac set ch status 66 off
    Sending: mac set ch status 67 off
    Sending: mac set ch status 68 off
    Sending: mac set ch status 69 off
    Sending: mac set ch status 70 off
    Sending: mac set ch status 71 off
    Sending: mac set pwridx 5
    Sending: mac set retx 7
    Sending: mac set dr 3
    Sending: mac join otaa 
    Join not accepted: denied
    Check your coverage, keys and backend status.
    Sending: mac join otaa 
    Join not accepted: denied
    Check your coverage, keys and backend status.
    Sending: mac join otaa 
    Join not accepted: denied
    
    May 10, 2019 at 7:49 PM #11998
    LIM PHANG MOH
    Keymaster

    The output suggest nothing is wrong on the device side. Both the TTN dashboard setting also tallies with the one on the node.

    I can see you are using the USB adapter to power the board. Can you try powering the board by supplying maybe 2xAA to the VBAT pin? And de-solder the solder blob underneath the CH340E USB-Serial adapter so no power is being supplied from the adapter to the Mini Ultra LoRaWAN. Sometimes, the USB port output current is not enough especially from side port of computer or older motherboards.

    Also, do you have access to the debugging messages on the gateway as well? You should be able to see any LoRa packages even if the TTN setting is incorrect. Also, make sure the device and the gateway distance is not too near each other if they are in the same room.

    The gateway you are using is not a single channel gateway right? And if it is a typical 8 channel gateway, just make sure the uplink channel tallies with the ones shown by your device debug messages as above (channel 8-15).

    Then only, we try the 1.0.4 as a last resort although I doubt this is the issue.

    May 11, 2019 at 12:04 PM #12000
    andrew.wootton
    Participant

    OK thanks for this.
    I have jumpered the CH340E to the MULWAN leaving out the 3.3V pin. Supplied power via a new CR123 in battery holder. Same output, join not accepted: denied.
    I’m not sure about the gateway debug messages, I’m using a “uGateway” from Core Electronics and I don’t know how to get at debug. It is a full 8 channel gateway. I may be able to get hold of another gateway in a week or so. I’ve tried moving to another room.
    I’ll try and get some output from the RN2903 on the SodaqOne to see if there’s any difference.
    Your help and support is much appreciated.

    May 11, 2019 at 3:06 PM #12003
    andrew.wootton
    Participant

    OK here is the output from the SodaqOne using the RN2903 (successful join). I think the problem for the RocketMULWAN is that we need to reflash the RN2903 so it will work with the AU915 frequencies (just as I did before with the SodaqOne). The details are here http://forum.sodaq.com/t/channel-frequency-in-australia/421. Please could you confirm that the SodaqMoja/RN2483FirmwareUpdater will work with the MULWAN.

    
    -- STATUS
    EUI: 0004A30B001A8219
    Battery: 3273
    AppEUI: 70B3D57ED00145B2
    DevEUI: 0004A30B001A8219
    Data Rate: 3
    RX Delay 1: 1000
    RX Delay 2: 2000
    -- JOIN
    Model: RN2903AU
    Version: 0.9.7rc7
    Sending: mac set deveui 0004A30B001A8219
    Sending: mac set adr off
    Sending: mac set deveui 0004A30B001A8219
    Sending: mac set appeui 70B3D57ED001BF52
    Sending: mac set appkey AFEABCB0B6A25FE0A924A22BCA08AF8D
    Sending: mac save 
    Sending: mac set ch status 0 off
    Sending: mac set ch status 1 off
    Sending: mac set ch status 2 off
    Sending: mac set ch status 3 off
    Sending: mac set ch status 4 off
    Sending: mac set ch status 5 off
    Sending: mac set ch status 6 off
    Sending: mac set ch status 7 off
    Sending: mac set ch status 8 on
    Sending: mac set ch drrange 8 0 3
    Sending: mac set ch status 9 on
    Sending: mac set ch drrange 9 0 3
    Sending: mac set ch status 10 on
    Sending: mac set ch drrange 10 0 3
    Sending: mac set ch status 11 on
    Sending: mac set ch drrange 11 0 3
    Sending: mac set ch status 12 on
    Sending: mac set ch drrange 12 0 3
    Sending: mac set ch status 13 on
    Sending: mac set ch drrange 13 0 3
    Sending: mac set ch status 14 on
    Sending: mac set ch drrange 14 0 3
    Sending: mac set ch status 15 on
    Sending: mac set ch drrange 15 0 3
    Sending: mac set ch status 16 off
    Sending: mac set ch status 17 off
    Sending: mac set ch status 18 off
    Sending: mac set ch status 19 off
    Sending: mac set ch status 20 off
    Sending: mac set ch status 21 off
    Sending: mac set ch status 22 off
    Sending: mac set ch status 23 off
    Sending: mac set ch status 24 off
    Sending: mac set ch status 25 off
    Sending: mac set ch status 26 off
    Sending: mac set ch status 27 off
    Sending: mac set ch status 28 off
    Sending: mac set ch status 29 off
    Sending: mac set ch status 30 off
    Sending: mac set ch status 31 off
    Sending: mac set ch status 32 off
    Sending: mac set ch status 33 off
    Sending: mac set ch status 34 off
    Sending: mac set ch status 35 off
    Sending: mac set ch status 36 off
    Sending: mac set ch status 37 off
    Sending: mac set ch status 38 off
    Sending: mac set ch status 39 off
    Sending: mac set ch status 40 off
    Sending: mac set ch status 41 off
    Sending: mac set ch status 42 off
    Sending: mac set ch status 43 off
    Sending: mac set ch status 44 off
    Sending: mac set ch status 45 off
    Sending: mac set ch status 46 off
    Sending: mac set ch status 47 off
    Sending: mac set ch status 48 off
    Sending: mac set ch status 49 off
    Sending: mac set ch status 50 off
    Sending: mac set ch status 51 off
    Sending: mac set ch status 52 off
    Sending: mac set ch status 53 off
    Sending: mac set ch status 54 off
    Sending: mac set ch status 55 off
    Sending: mac set ch status 56 off
    Sending: mac set ch status 57 off
    Sending: mac set ch status 58 off
    Sending: mac set ch status 59 off
    Sending: mac set ch status 60 off
    Sending: mac set ch status 61 off
    Sending: mac set ch status 62 off
    Sending: mac set ch status 63 off
    Sending: mac set ch status 64 off
    Sending: mac set ch status 65 on
    Sending: mac set ch status 66 off
    Sending: mac set ch status 67 off
    Sending: mac set ch status 68 off
    Sending: mac set ch status 69 off
    Sending: mac set ch status 70 off
    Sending: mac set ch status 71 off
    Sending: mac set pwridx 5
    Sending: mac set retx 7
    Sending: mac set dr 3
    Sending: mac join otaa 
    Join not accepted: denied
    Check your coverage, keys and backend status.
    Sending: mac join otaa 
    Join not accepted: denied
    Check your coverage, keys and backend status.
    Sending: mac join otaa 
    Join not accepted: denied
    Check your coverage, keys and backend status.
    Sending: mac join otaa 
    Join accepted. Status: 00000001
    DevAddr: 26042961
    -- LOOP
     Blue Led ON
    Battery Volts = 4083
    Temperature = 18.00
    nofix
     Red Led ON
    Sending: mac tx uncnf 1 016700AA02739F7E03880000000000000000C8
    Successful transmission
     All Led's OFF
    -- LOOP
    
    May 11, 2019 at 3:29 PM #12005
    LIM PHANG MOH
    Keymaster

    After reading your review on the uGateway’s product page, I noticed you are running Australia AU915 and not North America’s US915. Although they are similar, but there are differences. Unless on 1.0.4 has some patch that takes care of this, I’m pretty sure it won’t work.
    Also from the debug messages of your Sodaq unit, it stated the unit as having a RN2903AU module (only RN2903A exist). It means it is clearly having an AU915 firmware which is not released to public before and the firmware revision is stated as 0.9.7rc7. It means it is still a release candidate. So it is not a 1.0.4 as you have mentioned earlier.

    So, I guess we can maybe try the 1.0.4 (or the Australian 0.9.7rc7 that you have access to). Please reread this message on the firmware upgrade.

    May 11, 2019 at 5:08 PM #12007
    andrew.wootton
    Participant

    I think we should go with the Australian 0.9.7rc7 since we know this works. My question is, will the SodaqMoja/RN2483FirmwareUpdater work OK with the MULWAN? I’m a bit loath to go down the Microchip LoRa Development Suite path as it looks complicated and others have struggled.
    Cheers

    May 11, 2019 at 5:13 PM #12009
    LIM PHANG MOH
    Keymaster

    I have been updating the RN2483A that was previously on 1.0.3 as the 1.0.4 was publicly available faster than the RN2903A’s. I have no issue updating them using the Microchip tool for a big batch of the modules. With Mini Ultra LoRaWAN, we are not using the ATMega328 MCU in between the PC and RN2903A, it is direct connection. Those who have issue are due to using SoftwareSerial or having the MCU acting as a bridge.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 21 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In
Log In
Register Lost Password

Follow us on Twitter

Tweets by rocketscream

Information

  • About
  • Contact
  • Covid-19 Shipment Update
  • Ordering Info
  • Returns
  • Shipping Info
© Copyright - Rocket Scream Electronics
  • Link to X
  • Link to Youtube
Scroll to top Scroll to top Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OK

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visit to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Other cookies

The following cookies are also needed - You can choose if you want to allow them:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Privacy Policy
Accept settingsHide notification only