Adafruit Feather RFM9X LoRa Radios
Frank C last edited by Frank C
I'm trying to connect a Feather bord using the Lora radio to mysensors and i can't get any reception. I've looked through the forums and documentation but I can't see if it is actually supported by mysensors, any help appreciated in pointing me in the correct direction? or if anyone knows if it is compatiable ? thanks
pierrot10 last edited by pierrot10
@frank-c Could you send pictures of your board?
Which Feather board are you using? I recommand you a Feather MO
Adafruit Feather M0 Basic Proto
Adafruit Feather M0 Adalogger
Adafruit Feather M0 RFM69HCW
with a such radio module?
[https://www.adafruit.com/product/3072](Adafruit RFM95W LoRa Radio)
I am looking for a web page which help me a lot, but unfortunately I can find it for the moment.
But here is alink which may help
Prepare the Device
Thanks very much @pierrot10, that is exactly what i was looking for :). I've got 2x Adafruit Feather 32u4 LoRa Radio, which has the the ATmega32u4 chipset. I believe the M0 model has the newer ATSAMD21G18 chipset. I think apart from the libraries, it should work the same.
pierrot10 last edited by pierrot10
@frank-c Hello. That's correct, MO has ATSAMD21.
The main difference is the clock and first of all the Flash
At the Feather M0's heart is an ATSAMD21G18 ARM Cortex M0 processor, clocked at 48 MHz and at 3.3V logic, the same one used in the new Arduino Zero. This chip has a whopping 256K of FLASH (8x more than the Atmega328 or 32u4) and 32K of RAM (16x as much)! This chip comes with built in USB so it has USB-to-Serial program & debug capability built in with no need for an FTDI-like chip.
I am not sure but with the LMIC library you may just have enough space with Adafruit RFM95W LoRa Radio. With my project I using other library and the MO is necessary.
Yes you code will work with MO.
If you are a beginer, look at this .
I use a Adafruit Feather M0 Adalogger with RFM95 but the connection is a bit tricky and I can not find the web page which helped me, some year ago but may this can help
RFM95 => Feather MO board
CS => 24
RST => 29
DIO_1 => 25
DIO_2 => 28
IRQ => 27
MISO => MISO
MOSI => MOSI
SCK => SCK
But if do not need to work with an SD car, you should bette user an MO radio board .
Any way, look at this It should be a good start (look at Prepare the Device)
Thanks @pierrot10, that is fantastic!
I actually have a dead feather 32u4 now, so will order more, but after reading what you say it sounds like the M0 model with the newer updated chipset is a better option.
Just a question on running the base lora radio (feather M0) to a raspberry pi, i presume it will work okay using the standard serial/USB connection. I haven't tried it, as my radio is dead.
Anyway I better order these new ones and getting making, thanks
@pierrot10 I've got my two new M0 ATSAMD21 boards talking, so the hardware is good :), i used the radioheads library. These definately sound a better chip than the 32u4, although I'll have to see how they go on battery comsumption.
This might sound dumb but I can't compile mysensors scripts (serial gateway) with my boards, I'm using adafruits board defination. Looking at mysensors i can't see this board, except the Sensebender (ATSAMD21), but it has a completely different pin layout. Does that mean I need to map each ping to the correct reference in the code to get this to work with mysensors ?
pierrot10 last edited by
I do not know if I can help because I do not know mysensors script.
If you can send pictures of your board and how you connected the wire it can help.
From Arduino IDE, make sure, you select the correct board. Go to Tool -> Board and select the 'Adafruit Feather MO' board
2 weeks ago, I sent you a picture of my connection. I do not think it will work for you, because I am using LoRaWAN with Arduino LMIC library.
Apparently you do LoRa with a client and a server (radiohead). Thoses examples should help you
Yes, this works using the radiohead library and those sketches. I didn't need to connect any extra wires. I'm not looking at connecting to LoRaWAN at the moment, just mysensors.
I read the board is similar to Arduino Zero also, so i will try using that as a base and try fixing forward so the feather M0 with lora can work with mysensors, if nobody has had this working yet? (mysensors with adafruit feather m0 LoRa RFM9*).