TTN Australian communities

Thanks Istvan. I have also created an “Australia” channel on Slack.

Yes, as discussed we have been deploying gateways using channel 8-15 / sub-band 2 on the AU915 band.

We have been using https://github.com/TheThingsNetwork/gateway-conf/blob/master/AU-global_conf.json ever since the AU band was announced as part of the LoRaWAN 1.0.1 standard and have used this as the definitive TTN reference since then.

This is the config that forms the basis for gateway installation scripts such as the one by @kersing.

We have a number of gateways and node devices in multiple cities based on this standard.

1 Like

We will also be launching country specific community pages soon where we can put all the information per country.

1 Like

Thanks Wienke - exactly what we need!

Hello,

I am not sure whether this is the right thread but I have to start somewhere. I am currently trying to connect to the TTN gateway on the roof of the QUT building, Brisbane, Australia.
The hardware I am using is Arduino-Pro/Pro Mini-based, i.e. ATmega328, 3.3V, 8MHz + Dragino LoRa Bee, 915 MHz, based on HopeRF RFM95W (SX1276).

The Arduino library I am using is the IBM LMIC library to be downloaded with the Arduino library manager:

I am porting it to the Australian regulations as far as I need it to connect the TTN gateway. The frequencies are already adapted. (there is more: TX power, duty cycle, SF, …). I would like to send data via 125 kHz bandwith channels with SF10 and 30 dB power. (I don’t know if my hardware can provide this power). According to the companion “LoRaWAN™ Regional Parameters, v1.0” it is required to use 20(!) channels for frequency hopping when sending with max output power 30 dB.

When I understand your TTN gateway config file correctly you provide 8 RX channels on the gateway:

Just for clarification, am I right when I assume you are using the following channels on the QUT Brisbane TTN gateway:

AU ISM 915 Ch# | direc | f/MHz | BW/kHz | data rate 8 | up | 916.8 | 125 | DR0 - DR3 9 | up | 917.0 | 125 | DR0 - DR3 10 | up | 917.2 | 125 | DR0 - DR3 11 | up | 917.4 | 125 | DR0 - DR3 12 | up | 917.6 | 125 | DR0 - DR3 13 | up | 917.8 | 125 | DR0 - DR3 14 | up | 918.0 | 125 | DR0 - DR3 15 | up | 918.2 | 125 | DR0 - DR3 65 | up | 917.5 | 500 | DR4 0 | down | 923.3 | 500 | DR8 - DR13 1 | down | 923.9 | 500 | DR8 - DR13 2 | down | 924.5 | 500 | DR8 - DR13 3 | down | 925.1 | 500 | DR8 - DR13 4 | down | 925.7 | 500 | DR8 - DR13 5 | down | 926.3 | 500 | DR8 - DR13 6 | down | 926.9 | 500 | DR8 - DR13 7 | down | 927.5 | 500 | DR8 - DR13

Is my assumption correct?

Thank you,

Rolf

Hi Rolf, The 125kHz uplink channels are definitely correct.
This might help too - https://github.com/TheThingsNetwork/ttn/issues/120

Hi guys,
I need a pointer or ten to push me in the right direction.
I got a spare Raspberry and decided I want to learn a bit more about LoRa so I ordered one of those Modtronix inAir9B devices. Configured it according to the CongDucPham’s documentation. Once it booted up I realised the frequency is wrong and I don’t understand enough of the code to know what to change.

Is there a version of the code that is for Aus? or is there other code/lib that I can use?

Thanks in advance,

Marcell

Hey Rolf, I’m trying to do the same with LMIC and an Adafruit Feather 32u4 rfm95w Lora 900mhz and am getting stuck on what frequencies I should be defining for Australia. Did you manage to resolve, would you mind sharing where you got to? Cheers Dave

The frequencies in the post above are correct:

AU ISM 915
Ch# | direc | f/MHz | BW/kHz | data rate
8 | up | 916.8 | 125 | DR0 - DR3
9 | up | 917.0 | 125 | DR0 - DR3
10 | up | 917.2 | 125 | DR0 - DR3
11 | up | 917.4 | 125 | DR0 - DR3
12 | up | 917.6 | 125 | DR0 - DR3
13 | up | 917.8 | 125 | DR0 - DR3
14 | up | 918.0 | 125 | DR0 - DR3
15 | up | 918.2 | 125 | DR0 - DR3
65 | up | 917.5 | 500 | DR4
0 | down | 923.3 | 500 | DR8 - DR13
1 | down | 923.9 | 500 | DR8 - DR13
2 | down | 924.5 | 500 | DR8 - DR13
3 | down | 925.1 | 500 | DR8 - DR13
4 | down | 925.7 | 500 | DR8 - DR13
5 | down | 926.3 | 500 | DR8 - DR13
6 | down | 926.9 | 500 | DR8 - DR13
7 | down | 927.5 | 500 | DR8 - DR13

Thanks with a bit of excel, your figures and https://github.com/TheThingsNetwork/ttn/issues/120 got it working :grinning:

I’m using the LMIC fork https://github.com/mcci-catena/arduino-lmic

I updated the lorabase.h file as follows

// Default frequency plan for AU 915MHz
enum { US915_125kHz_UPFBASE = 915200000,
       US915_125kHz_UPFSTEP =    200000,
       US915_500kHz_UPFBASE = 915900000,
       US915_500kHz_UPFSTEP =   1600000,
       US915_500kHz_DNFBASE = 923300000,
       US915_500kHz_DNFSTEP =    600000
};
enum { US915_FREQ_MIN = 915000000,
       US915_FREQ_MAX = 928000000 };

I’m amazed that a 3inch piece of wire attached the to https://tronixlabs.com.au/arduino/adafruit-feather/adafruit-feather-32u4-rfm95w-lora-radio-900mhz-australia/ works. Am a couple of kilometres from the gateway and it’s sitting on table chirping away:)

Have it hitting The Things Network and Bridged to Azure IoT Hub with this project https://github.com/gloveboxes/Waste-Management

Cheers Dave

Such is the magic of LoRaWAN :wink:
Glad to see you got it working.

Not sure if it is a limitation on my device which is a Dragino Rpi Hat v1.4

The problem I have is it seems to transmit for 5~10 minutes until my gateway doesn’t seem to see it anymore - even though the device is telling me it is transmitting.

  • I didn’t clarify in original post, that this is after updating the frequencies and compiling to use the
// Default frequency plan for AU 915MHz
enum { US915_125kHz_UPFBASE = 915200000,
       US915_125kHz_UPFSTEP =    200000,
       US915_500kHz_UPFBASE = 915900000,
       US915_500kHz_UPFSTEP =   1600000,
       US915_500kHz_DNFBASE = 923300000,
       US915_500kHz_DNFSTEP =    600000
};
enum { US915_FREQ_MIN = 915000000,
       US915_FREQ_MAX = 928000000 };

Is there a way I can output with the tx sent what frequency it is chirping on without using a spectrum analyser?

I’m currently using lmic/example/thethingsnetwork-send examples

Dig into the config.h file and change your debugging level, it should show you frequencies

No worries thanks Paul I’ll check it out later and see what I get back out. Obviously didn’t see the debug for looking lol :joy:

Mmm doesn’t look like I have that option with the lmic_pi-master code.

This is what my complete config.h file looks like… I’ll keep digging.

#ifndef _config_h_
#define _config_h_

#define CFG_sx1276_radio 1
//#define CFG_eu868 1
#define CFG_us915 1


#define US_PER_OSTICK 50
//#define  OSTICKS_PER_SEC 20000

#endif

No, you might have to find it somewhere else, not sure sorry

Hey everyone, I’m new to the forum and trying to get my TTGO T-BEAM working as a TTN node in Sydney. I’ve just been using us915 with the LMIC Library, which could the be problem, so I’ve recently switch to au915 in the config file. Any insight into the issue would be great, details of my post is here TTGO T-Beam

may be of interest RN2903A LoRaWAN Module hex image for AU915

GitHub - joeygold/AU915-Experimental AU915 with class C
(modification of the USA version to Australia/South America channels)

Other firmware has been released including AS923 *** Please read the disclaimers though **

1 Like

Hi All…

I just join this community today. I am from Melbourne Australia .
Could you please anyone help me about the payload formatter? How can I make the application in TTN where I will find the sensor data in human readable format . Like temperature , humidity or motion .
Looking forward to hearing from you .

Thanks …Stay Safe…

That will depend on the sensor device (end node) and payload format you are using - can you post more details - home-brew or proprietary payload used? Device manufacturer defined payload (e.g. Laird T&H Connectivity, iMST/SMTC LoRaMOTE, etc.), Standard payload e.g. Cayenne LPP?, JSON?, how do you want to pull data from the system? (Webhooks, MQTT, etc) where do you want to view - console, 3rd party Integration/Display options (e.g. Datacake, Cayenne, Grafana, etc.)

Have you read through the available documentation on TTN & TTI or viewed some of the Labs/Use cases - these will give you a good start and grounding for framing your requirements and asking the right questions.

Hello. I’ve just added my first Lora Gateway to the TTN…

Firstly, is the slack still active? how do I get access?

Secondly, I’m running a PineDio gateway, and I’ve made a few changes to the out of the box global conf… is this correct? or should I make changes?

pinedio@pine-gateway:~$ cat /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/global_conf.json
{
    "SX130x_conf": {
        "com_type": "SPI",
        "com_path": "/dev/spidev0.0",
        "lorawan_public": true,
        "clksrc": 0,
        "antenna_gain": 0, /* antenna gain, in dBi */
        "full_duplex": false,
        "fine_timestamp": {
            "enable": false,
            "mode": "all_sf" /* high_capacity or all_sf */
        },
        "radio_0": {
            "enable": true,
            "type": "SX1250",
            "freq": 917200000,
            "rssi_offset": -166.0,
            "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0},
            "tx_enable": true,
            "tx_freq_min": 915000000,
            "tx_freq_max": 928000000,
            "tx_gain_lut":[
                {"rf_power": 12, "pa_gain": 1, "pwr_idx": 6},
                {"rf_power": 13, "pa_gain": 1, "pwr_idx": 7},
                {"rf_power": 14, "pa_gain": 1, "pwr_idx": 8},
                {"rf_power": 15, "pa_gain": 1, "pwr_idx": 9},
                {"rf_power": 16, "pa_gain": 1, "pwr_idx": 10},
                {"rf_power": 17, "pa_gain": 1, "pwr_idx": 11},
                {"rf_power": 18, "pa_gain": 1, "pwr_idx": 12},
                {"rf_power": 19, "pa_gain": 1, "pwr_idx": 13},
                {"rf_power": 20, "pa_gain": 1, "pwr_idx": 14},
                {"rf_power": 21, "pa_gain": 1, "pwr_idx": 15},
                {"rf_power": 22, "pa_gain": 1, "pwr_idx": 16},
                {"rf_power": 23, "pa_gain": 1, "pwr_idx": 17},
                {"rf_power": 24, "pa_gain": 1, "pwr_idx": 18},
                {"rf_power": 25, "pa_gain": 1, "pwr_idx": 19},
                {"rf_power": 26, "pa_gain": 1, "pwr_idx": 21},
                {"rf_power": 27, "pa_gain": 1, "pwr_idx": 22}
            ]
        },
        "radio_1": {
            "enable": true,
            "type": "SX1250",
            "freq": 917900000,
            "rssi_offset": -166.0,
            "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0},
            "tx_enable": false
        },
        "chan_multiSF_All": {"spreading_factor_enable": [ 5, 6, 7, 8, 9, 10, 11, 12 ]},
        "chan_multiSF_0": {"enable": true, "radio": 0, "if": -400000},  /* Freq : 916.8 MHz*/
        "chan_multiSF_1": {"enable": true, "radio": 0, "if": -200000},  /* Freq : 917.0 MHz*/
        "chan_multiSF_2": {"enable": true, "radio": 0, "if":  0},       /* Freq : 917.2 MHz*/
        "chan_multiSF_3": {"enable": true, "radio": 0, "if":  200000},  /* Freq : 917.4 MHz*/
        "chan_multiSF_4": {"enable": true, "radio": 1, "if": -300000},  /* Freq : 917.6 MHz*/
        "chan_multiSF_5": {"enable": true, "radio": 1, "if": -100000},  /* Freq : 917.8 MHz*/
        "chan_multiSF_6": {"enable": true, "radio": 1, "if":  100000},  /* Freq : 918.0 MHz*/
        "chan_multiSF_7": {"enable": true, "radio": 1, "if":  300000},  /* Freq : 918.2 MHz*/
        "chan_Lora_std":  {"enable": true, "radio": 0, "if":  300000, "bandwidth": 500000, "spread_factor": 8,                             /* Freq : 917.5 MHz*/
                           "implicit_hdr": false, "implicit_payload_length": 17, "implicit_crc_en": false, "implicit_coderate": 1},
        "chan_FSK":       {"enable": false, "radio": 1, "if":  300000, "bandwidth": 125000, "datarate": 50000}                             /* Disabled */
    },

    "gateway_conf": {
        "gateway_ID": "AA555A0000000000",
        /* change with default server address/ports */
        "server_address": "au1.cloud.thethings.network",
        "serv_port_up": 1700,
        "serv_port_down": 1700,
        /* adjust the following parameters for your network */
        "keepalive_interval": 10,
        "stat_interval": 30,
        "push_timeout_ms": 100,
        /* forward only valid packets */
        "forward_crc_valid": true,
        "forward_crc_error": false,
        "forward_crc_disabled": false,
        /* GPS configuration */
        "gps_tty_path": "/dev/ttyS2",
        /* GPS reference coordinates */
        "ref_latitude": 0.0,
        "ref_longitude": 0.0,
        "ref_altitude": 0,
        /* Beaconing parameters */
        "beacon_period": 0,     /* disable class B beacon, set to 128 enable beacon */
        "beacon_freq_hz": 923300000,
        "beacon_freq_nb": 8,
        "beacon_freq_step": 600000,
        "beacon_datarate": 12,
        "beacon_bw_hz": 500000,
        "beacon_power": 27
    }
}