Adafruit Feather M0 RFM69 Packet Radio (433 or 900 MHz)



  • Hi Guys, any of you tried to use this hardware?
    Its possible to run Mysensors using that?
    Best regards.



  • @Tagore.PDE I never looked at this hardware (Adafruit) as it is so overpriced. Your call anyway. For less money you can buy Moteino (LowPowerLabs) and it works with MySensors out of the box.

    It has a new processor - ATSAMD21G18 ARM Cortex M0. I have my doubts that MySensors will compile on it. Maybe it is better to ask @hek ? I know there were attempts to bring it in, but not sure about the latest status:

    https://forum.mysensors.org/topic/529/sam-architecture-due-teensy-3


  • Admin

    The upcoming MySensors gateway runs on SAMD so I guess feather works.


  • Hardware Contributor

    @Tagore-PDE I have some homemade FeatherM0, I assembled for playing as it was out of stock.
    No problem for compiling Mysensors for ATSAM boards. I have Atsam GW&nodes..
    But there is no eeprom onboard, and it's quite mandatory for Mysensors 😉 if you add one (24LC32 for instance), of course that will work. very well though 🙂


  • Hardware Contributor

    @hek
    Is there a description for the wiring needed by m0/m3?


  • Hardware Contributor

    @FotoFieber
    I don't think there is a wiring diagram.
    I have no M3, only M0, but these are Arm mcu, and one of their feature is their multiplexing:

    • SPI pins, I2C pins etc.. are not fixed. Almost all pins can be IRQ, SDA, MOSI etc..

    Completely different than 328p that most people knows and which has functions pins fixed !

    How is it handled in Arduino?

    • Need to have the corresponding variant board files installed or created. where pins and functionalities are setup (with help of datasheet, there are a few Arduino Core restrictions).
    • For i2c or others functionalities you can set pins during i2c initialisation etc..

    So the wiring depends a bit of the board you're using, or if it's standalone/homemade board with different pinouts etc.. Which board do you want to use? Simply use spi port specified on the board. And for IRQ pins use almost your preferred pin.

    For Adafruit feather m0 for instance, follow their howto setup Arduino files etc..and use the Mysensors defines. That's all.

    There can also be some differences.. Timers, libs etc..and SAMD family is not as low power as 328p, but has lot of nice features, and memory 🙂

    Note : I'm not sure if M3 mcu are compiling for the moment with Mysensors..



  • @hek said:

    The upcoming MySensors gateway runs on SAMD so I guess feather works.

    Hi @hek , thx for the reply, any eta on this?
    Regards.

    Hi @scalz , can please help me out to get some feathers running? that would be really helpfull 🙂
    Regards.


  • Admin

    The library and board files for the MySensors gw is already finished.

    https://github.com/mysensors/ArduinoBoards/tree/master/boards


  • Hardware Contributor

    @Tagore-PDE what do you want to know? what's your radio module?


  • Hardware Contributor

    @scalz
    Thanks for your detailed answer.

    I ordered some really minimalistic boards to play with and don't know what I end up with them. 😆

    The M0 board I ordered is
    http://www.ebay.com/itm/182216811895

    And the M3 boards are
    http://www.ebay.com/itm/400569863658
    http://www.ebay.com/itm/112035273840


  • Hardware Contributor

    @Fotofieber
    I was more talking about Atmel M0 mcu which are well integrated into Arduino.

    So your boards are ST mcu. They seems to be nice (but a bit memory limited), and cheap. I have a nucleo board from ST which is also very nice because they are cheap (10$) and they have the programmer&debugger embedded and you can detach it.
    But even if this ST mcu is M0, Arduino boards core files can differ.

    That said, there is STM32duino for arduino, but I've never used it with Mysensors. And I'm not playing actually with ST.
    It could work out of the box depending of mysensors features used (compiling) but not really sure, I don't know the state of integration for these module in Arduino.
    You would need to use at least the spi port referenced by your board and the STM32duino. SPi port is spi port. For other pins like interrupt, CS etc.., that would need to check how pin are defined in STM32duino.

    I'm not sure if that will work easily out of the box...(https://www.hackster.io/rayburne/4-dollar-90-mips-32-bit-72-mhz-arm-arduino-f6e5c9)
    I know there are few other people working on ATSAM boards for mysensors 😉
    On my side, few months ago I have designed a lipo charger board for ATSAM. sort of featherM0 that i have improved for using with mysensors (spi flash for ota, eeprom for mysensors config, etc..)..I will release it if it can help 😉
    My project was looking to this https://forum.mysensors.org/topic/3551/my-32bits-atsam-node-project
    Since, i have made other atsam boards for fun 🙂 and I can't wait my esp32 module order which could change the game and my opinion...

    I could try a bit later (actually busy), with my nucleo board...but i can't tell when for the moment..


Log in to reply
 

Suggested Topics

13
Online

11.4k
Users

11.1k
Topics

112.7k
Posts