Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: DEVEUI #13157
    andrew.wootton
    Participant

    this is good news. I’m about to go away for a couple of weeks, but will give it a try when I get back. Thanks for the info.

    in reply to: Robust datalogging – auto-reset upon hanging #12352
    andrew.wootton
    Participant

    Hi Thomas and Phang Moh,
    I’ve experienced a very similar problem. Have you solved this?
    My device is not easily accessible to reset so I have been wondering how to build in a sort of watchdog routine. Because the board sleeps for 10min (using RTCZero) and then wakes and sends to TTN it doesn’t seem that the conventional watchdog routines will work (I think they are limited to an 8sec cycle).
    I can get the MiniUltraPro to do a soft reset with the command: NVIC_SystemReset();
    Any comments?

    in reply to: DEVEUI #12011
    andrew.wootton
    Participant

    Sorry to be a trouble, but I’m a bit concerned about doing the firmware change. I’ve installed the LoRa Development Utility (Win version). On the Microchip website there are RN2903 versions 1.0.3 and 1.0.5 available. These are zip files containing hex files. I think you previously mentioned that 1.0.5 doesn’t work with the MULWAN. So I need to load AU_0.97rc7

    With the Sodaq firmware updater on Github (https://github.com/SodaqMoja/RN2483FirmwareUpdater) is a ,h file (HexFileImage2903AU_097rc7.h) but the hex definition is embedded in the C++ .h file. Do I need to strip out these C++ lines to produce pure hex before attempting to upload to the RN2903?

    Thanks, appreciate the help.

    in reply to: DEVEUI #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

    in reply to: DEVEUI #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
    
    in reply to: DEVEUI #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.

    in reply to: DEVEUI #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
    
    in reply to: DEVEUI #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?

    in reply to: DEVEUI #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.

    in reply to: DEVEUI #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?

    in reply to: DEVEUI #11982
    andrew.wootton
    Participant

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

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