Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
M

mrmin24

@mrmin24
About
Posts
10
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • No softspi support for RFM69
    M mrmin24

    I managed to get the softspi working and will upload to Git soon

    Bug Reports rfm69 softspi ethernett

  • RFM69 support on ethernet gateway
    M mrmin24

    @hek yes I did

    Development

  • RFM69 support on ethernet gateway
    M mrmin24

    OK, so I have tried implementing the SOFTSPI, but have not had any luck.

    I did the following:

    Remove any and all things related to RF24 as I won't be using it.
    //////////////////////////////////////////////
    Changed MyConfig.h to include:

    #define SOFTSPI
    #ifdef SOFTSPI
    // Define the soft SPI pins used for RF69 radio
    const uint8_t SOFT_SPI_MISO_PIN = 16;
    const uint8_t SOFT_SPI_MOSI_PIN = 15;
    const uint8_t SOFT_SPI_SCK_PIN = 14;
    const uint8_t SPI_MODE = 0;
    #define RF69_SPI_CS 6 // SS is the SPI slave select pin, for instance D10 on atmega328

    #else

    #define RF69_SPI_CS SS//SS // SS is the SPI slave select pin, for instance D10 on atmega328

    #endif
    //////////////////////////////////////////////////
    Change RF69.h to include:

    #define RF69_MAX_DATA_LEN 61

    #if defined SOFTSPI
    #include <DigitalIO.h>
    #else
    #include <SPI.h>
    #endif

    -> lower down

    class RFM69 {

    private:
    #ifdef SOFTSPI
    SoftSPI<SOFT_SPI_MISO_PIN, SOFT_SPI_MOSI_PIN, SOFT_SPI_SCK_PIN,SPI_MODE> spi;
    #define _SPI spi
    #else
    #define _SPI SPI
    #endif

    ////////////////////////////
    changed RFM69.cpp:

    • changed all SPI.xxx calls in file to _SPI.xxx
      ////////////////////////////////////////

    Everything works if I NOT #define SoftSPI and connect radio to normal SPI pins without ethernet shield.
    When I #define softspi and move radio to defined pins, the radio does not initialise.

    Maybe one of you clever people can help.

    Thanks

    Development

  • RFM69 support on ethernet gateway
    M mrmin24

    As far as I can tell, this is because softspi has not been implemented for the Rfm69. This means when using wiznet ethernet shield, the library cannot initialise the radio and hangs up. Bug report logged

    Development

  • V_access and V_sprinkler
    M mrmin24

    I am glad to see there is now V_sprinkler. what would be useful is if one can extend the definition to include sending a time in seconds for the sprinkler to stay on. This way, the node can take care of switching it off again in case the controller stops working for some reason.

    I also implemented/tested a V_Access/V_toggle type which is used to trigger a relay for 1-3 sec to open a door or gate. It also requires the time for toggle to be sent as with Sprinkler.

    Feature Requests

  • No softspi support for RFM69
    M mrmin24

    It seems that the softspi functions were not implemented as part of the Rfm69 implementation and this is not mentioned anywhere as far as I can tell. There is a big difference in the Rf24.h and Rf69.h files. This means that it is not possible to use ethernet gateway with Rfm69 and wiznet module

    Bug Reports rfm69 softspi ethernett

  • Which is better: RFM69 or NRF24L01+?
    M mrmin24

    @NeverDie Probably, but I don't think you should stress too much. The power is not "that" high.

    See http://ham.stackexchange.com/questions/140/good-wire-for-wire-antenna for what seems like valid response.

    Hardware

  • Which is better: RFM69 or NRF24L01+?
    M mrmin24

    Hi,

    Anyone got the Ethernet gateway going with RFM69? I am struggling and I am not sure, but I think there are a few issues in the V1.5 for RFM69.

    @NeverDie, a 78mm piece of wire works well for antenna.
    *Edit - Sorry, this is assuming 915MHz. See https://www.easycalculation.com/physics/electromagnetism/antenna-wavelength.php and choose quater wavelength

    Hardware

  • Updating to 1.5 and question about RFM69HW
    M mrmin24

    Hi,

    Which gateway are you using? I am struggling with RFM69 on Ethernet.

    Thanks

    General Discussion

  • RFM69 support on ethernet gateway
    M mrmin24

    Hi,

    I have managed to get the serial gateway working with RFM69 modules using latest development baseline. Does anyone know whether the Ethernet gateway is working yet with RFM69? I can't even get it to initialise properly.

    Thanks

    Development
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular