Single Channel Gateway part 2

Trying to set one of the RM1xx modules to act as Single Ch Gateway. Since it’s a gateway related topic thought to post it here, in case others want to use RM1xx as Single Ch Gateway for proof of concept (if possible)

Couple of issues:

  1. What pin is CS_A (NSS), DIO 0,. Trying to match the pins witch Single Channel gateway guide.

10 (CS_A) NSS 22 GPIO6
SV pin 1 DIO 0 7 GPIO7
SV pin 7 RESET 11 GPIO0

Found here: http://www.mobilefish.com/developer/lorawan/lorawan_quickguide_build_lora_gateway.html

Do I define CS_A (NSS), DIO 0 in RM1xx module software with any available SIO_ pin? I’m on Mini board.

  1. I’ve compiled the single_chan_pkt_fwd as described in this post. I guess this code will run on RPi or another microcontroller. What gets loaded to RM1xx LoRAWAN module to receive data from another RM1xx module and pass it to Raspberry pi.

that’s not possible with the code you mentioned.

It’s not possible to use RM1xx to act as a single ch gateway with RPi? I thought single_ch_pkt_fwd runs on RPi and just grabs data off of LoRA module.

Is it the matter of editing the code from here to match RM1xx pins? https://github.com/tftelkamp/single_chan_pkt_fwd

I thought these modules follow a standard for LoRa communication.

the RM1xx lora modules are not compatible with the rfm95 modules used in the single channel gateways, apples and pears.

I thought all these modules are just a breakout for SX chips and saw the library indicate it works with SX1272. Can one RFM95W, such as this: http://www.digikey.com/product-detail/en/adafruit-industries-llc/3072/1528-1667-ND/6005357

Acting as a single channel gateway receive data packets from RM1xx module?

Found this in a different thread, doesn’t get much into details if it actually worked: Anyone tried Laird RM1XX modules?

I suggest that you start catching up a bit :wink:

On a related - but more realistic - note anyone tried to use the Laird RM186 modules with single channel gateway?

Doesn’t seem to be any way of removing the 3 default LoRaWAN frequencies, while the gateway only listens on one.

Maybe I need to setup a private network and issue LoRaMAC commands to the module, or perhaps using the Channel Map in the OTAA join, but again I guess it’d have to be a private network server.

Has anyone done anything with this?

I doubt it… the rfm95/sx1272 is 3x cheaper and makes way more sense to use, plus there is a lot of code and experience out there.

Sorry I might not have made my question clear enough.

I’m asking if anyone was using the RM186 together with a Single Channel Gateway (which could be anything, a Pi, ESP8266, LoPy -not the RM186)

Essentially I’m looking for some way to lock the RM186 to a single frequency, perhaps via MAC commands or the channel map. It’s not just the RM186 that needs this, so I think this topic is the best place to ask.

1 Like

There seems to be 2 different software packages for single channel gateways with the ESP8266:

and

Is the first one better?

I was just got a couple of RM191 and was hoping to get Adafruit RFM95W to setup a single channel gateway. Seems like that Mini PCI-E + MTAC + Pi hack more likely.

For the RM191 you should be able to use a single channel via the ChannelsMask command.

However this is not available in the RM186, it expects the 3 mandatory LoRaWAN EU bands.

ESP-1ch-Gateway-v4.0 with RFM96 433Mhz
Hi
If I have the RFM96 433Mhz modules. can I use them with the ESP-1ch-Gateway-v4.0 ? if so what do I need to change in config file for it to work? (I saw that I need to change “freqs” array in loraModem.h but the “#define CFG_sx1276_radio” is the same…)

Alex from Pycom gave a video session today on setting up the LoPy as a single channel gateway:

I was surprised as it’s actually a small Python script which does it all, very readable, and has support for nice features like OTAA.

1 Like

@diegoalvarez Hi Diego, I am also in Australia and I am having trouble trying to get my node communicating with the gateway. Are you using the Arudino-LMIC library with the ttn sketch? What changes did you make to the sketch to get it working?

Hi all, shiva115, just FYI there are 4 people in Cairns, Australia currently trying to make single channel gateways work using a variety of different libraries, examples and codebases. From Pi to Arduino. Our common thread is we are all using the rfm95. No success so far. We have many, many questions, and lots of observations as a group, but essentially, haven’t given up. Note: We are not coding our own AU systems, just making mods to existing systems. It seems there is no combination of codebase that is robust, reliable or even works, that includes both single channel gateway and node working via TTN. If anyone has a combo that they know works, feel free to share :slight_smile:

Hey, fyi, 4:14 AM here, and I have it working!!! A single channel gateway that sends and receives! And a node that hits the right frequencies! 2x ESP8266 and 2x RFM95

Interested to know how

How do I setup an Arduino with RFM95 Node to use always the same channel (for use with a single channel gateway)?
The following code doesn’t work (found here: Single Channel Gateway part 2) . The channel is still switched:

for (int channel=1; channel<72; ++channel) {
  LMIC_disableChannel(channel);
}
LMIC.freq = 868100000;

Second Question:
If I use the single channel gateway from @JBraam with the settings (GW_SF = “ALL”), I get “rx timeout”.
The node and the ESP8266 single channel gateway are in 0.5m distance of each other. With the settings (GW_SF = “SF7”) it works.

Got the first question solved:
In the lmic library I set in the lmic.h file MAX_CHANNELS = 1

Now the arduino node uses always the same channel for TX.

1 Like