💬 NRF2RFM69


  • Admin

    @joaoabs

    It's not a specific value.. I just added the footprint, so that it was available, if someone wanted to add a capacitor.



  • First of all, thank you to the creator of this very convenient PCB.
    I ordered 10 of those but got confused when I tried to make a RPi 3 gateway and Arduino node.

    In the "Connecting the Radio" guide, the instructions are to connect NRF's IRQ pin to Arduino No 2 pin.
    This is where RFM's D100 pin is supposed to be connected. As far as I could tell from the PCB this is correct, as RFM's D100 pin is broken out to where NRF's IRQ pin is.

    However, in the "Building a Raspberry Pi Gateway" guide, it says to connect RFM's D100 pin to RPi's pin 22, which is where NRF's CE pin is supposed to be connected, not IRQ. As for IRQ, it says it's "optional", but if you do connect it, this should be to RPi's pin 15.

    So, if you connect the radio to the RPi following the NRF instructions, you get a different circuit than if you connect it following the RFM instructions (and using the pin matching you get from the "connecting the radio" guide). When I did the former, the gateway wasn't working, but when I did the latter, it worked.

    I don't know why this difference exists, but I think it's important to point out for anyone wanting to use the PCB with an RPi.



  • @symos IRQ is not utilised for nrf24l01+ in MySensors. There is a provision for future, but just ignore IRQ for now.


  • Admin

    @alexsh1

    You can enable interrupt usage for NRF24, depending on your hardware and needs.

    see the #MY_RF24_IRQ_PIN define, which is used around here


  • Mod

    see the #MY_RF24_IRQ_PIN define, which is used around here

    Or the documentation at https://www.mysensors.org/apidocs/group__RF24SettingGrpPub.html#ga23c9926f77307bf1b0263432232e4f4a 😉



  • @tbowmo I wonder what would be an example of using it?!
    I knew it would be supported at a certain time in the future but I did not realise it it supported already.



  • On a related note, if anyone is trying to get the NRF2RFM69 board or similar working with the awesome Sensebender Gateway and W5100 Ethernet board, here’s what I had to do today as far as the CS and IRQ defines are concerned.

    [FYI: I’m coming back to MySensors after a long hiatus and am in the process of updating (some from v1.3!) all my gateways and sensors...]

    Aside from the usual radio selection, I had use the new driver and point the RFM69 NSS and IRQ pins at the nRF CS and IRQ nets. Also, if you want to, you can point the RFM69 RESET pin at the nRF CE net:

    #define MY_RFM69_NEW_DRIVER
    #define MY_RF69_RESET 34  // Note: Should be MY_RFM69_RST_PIN, but this didn’t work.
    #define MY_RFM69_IRQ_PIN 31
    #define MY_RFM69_IRQ_NUM digitalPinToInterrupt(MY_RFM69_IRQ_PIN)
    #define MY_RFM69_CS_PIN 29
    #define MY_DEBUG_VERBOSE_RFM69  // Note: Only if you want to check the pins, RSSI, etc.
    

    0_1547615836181_MySensors Gateway & Nodes - Small.jpg

    Hope that helps someone.


  • Admin

    @acb

    You do know that there is solder pads for RFM69HW on the back of the gateway, right? And the board defs for the gateway are configured to use those pins for the RFM69 by default.


  • Mod

    Adding image for reference
    alt text



  • @alexsh1 Thanks, though I'm not sure you understood exactly what I'm saying.
    If I connect the radio to the RPi 3 following the NRF instructions and using the NRF2RFM69 adapter, it is NOT working.

    For it to work, I MUST connect the "IRQ" pin of the NRF2RFM69 (which corresponds to RFM's D100 pin) to RPi's pin 22 (which is where CE is supposed to go, according to instructions) and leave CE unconnected.

    So if someone is using the NRF2RFM69 adapter and tries to connect the radio to the RPi 3 as if it were an NRF, it won't work. I think this is confusing and that's why I posted it.



  • Yes @tbowmo, I saw the solder pads on the back - although thanks for the reminder (and image @mfalkvidd)!

    I’m not using those (yet) since I didn’t want to “permanently” attach one of my “precious” RFM69HWs to it whilst I’m tinkering with all these lovely new radios you now support. RFM95 next I hope, after checking out the FOTA and signing! You guys have really done great work!

    I also wanted to range-test with a few different externally mounted antennas I had lying around and so I combined pads for a surface mount U.fl and edge SMA on my own NRF2RFM69.

    Not a great deal of room around the SBGW’s pin breakout (P1) for a helical - although I really respect the design choices - so I figure I’ll probably breakout those pins to pigtail an SMA.

    But this is getting a bit off-topic Re: NRF2RFM69 and probably better suited to the Sensebender Gateway thread.

    Bringing it back on-topic a little:

    Do you know if there is a version of this board that is pad-compatible with the C-versions of these HopeRF RFM69s before I go searching? (Since I believe the C-versions are also pad-compatible with the RFM95s…)


  • Banned

    This post is deleted!

 

260
Online

8.5k
Users

9.3k
Topics

98.4k
Posts