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
  1. Home
  2. Bug Reports
  3. No softspi support for RFM69

No softspi support for RFM69

Scheduled Pinned Locked Moved Bug Reports
rfm69softspiethernett
16 Posts 5 Posters 8.6k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TD22057T Offline
    TD22057T Offline
    TD22057
    Hardware Contributor
    wrote on last edited by
    #6

    Thanks. Chat message sent w/ my email to get the files. I won't have time to mess with the radios until next week but then I can set up a git pull request with your changes if you like. I decided to spend the $7 and get a Mega for my gateway and duplicate your set up (except w/ the MqttClientGateway). Did you apply the ethernet shield reset fix to the mega+ethernet? More info here: http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors/156

    G 1 Reply Last reply
    0
    • G Offline
      G Offline
      gieemek
      wrote on last edited by
      #7

      I'm using Arduino Mega in my gate because I want to add LCD display in the future . Uno has too little ram to do it.
      Now when I compile MQTTgateway sketch with my RFM69 soft spi library in the arduino ide it takes 18 838 bytes, variables 882 bytes, so this should be fit for Uno.

      G 1 Reply Last reply
      0
      • G Offline
        G Offline
        gieemek
        wrote on last edited by
        #8

        I had no problems with resetting the gate so far, but I must point out, if I have this problem.

        1 Reply Last reply
        0
        • TD22057T Offline
          TD22057T Offline
          TD22057
          Hardware Contributor
          wrote on last edited by
          #9

          Nice. I bought a Mega with an LCD touch screen too. I also thought it would be interesting to have a gateway that can show you messages it receives on a screen and other information.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gieemek
            wrote on last edited by
            #10

            OK, finally I put my library and files at GitHub repositories. You can find it at https://github.com/gieemek

            1 Reply Last reply
            0
            • TD22057T TD22057

              Thanks. Chat message sent w/ my email to get the files. I won't have time to mess with the radios until next week but then I can set up a git pull request with your changes if you like. I decided to spend the $7 and get a Mega for my gateway and duplicate your set up (except w/ the MqttClientGateway). Did you apply the ethernet shield reset fix to the mega+ethernet? More info here: http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors/156

              G Offline
              G Offline
              gieemek
              wrote on last edited by
              #11

              @TD22057 said:

              Thanks. Chat message sent w/ my email to get the files. I won't have time to mess with the radios until next week but then I can set up a git pull request with your changes if you like. I decided to spend the $7 and get a Mega for my gateway and duplicate your set up (except w/ the MqttClientGateway). Did you apply the ethernet shield reset fix to the mega+ethernet? More info here: http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors/156

              I don't need to reset my gateway after power lost (Arduino Mega 2560 + ethernet shield + RFM69HW radio) - everythng working good.

              1 Reply Last reply
              0
              • G gieemek

                I'm using Arduino Mega in my gate because I want to add LCD display in the future . Uno has too little ram to do it.
                Now when I compile MQTTgateway sketch with my RFM69 soft spi library in the arduino ide it takes 18 838 bytes, variables 882 bytes, so this should be fit for Uno.

                G Offline
                G Offline
                gieemek
                wrote on last edited by
                #12

                @gieemek said:

                I'm using Arduino Mega in my gate because I want to add LCD display in the future . Uno has too little ram to do it.
                Now when I compile MQTTgateway sketch with my RFM69 soft spi library in the arduino ide it takes 18 838 bytes, variables 882 bytes, so this should be fit for Uno.

                Ooops, I have made a mistake. My MQTTGateway.ino sketch with RFM_softSPI library compiles to 28 474 bytes, variables 1 003 bytes. Sorry for my earlier notes.

                1 Reply Last reply
                0
                • TD22057T Offline
                  TD22057T Offline
                  TD22057
                  Hardware Contributor
                  wrote on last edited by
                  #13

                  Thanks! The connection diagrams are a nice touch. I'll take a look and try it out (probably w/ the MQTTClientGateway) as soon as I can.

                  How hard would it be to make a version of RFM69 that would support soft and hard spi? I haven't run diff's yet to see what your modifications were but it would be nice if this was a fork of the LowPowerLap library so Felix could fold back in to his version code. Having two versions of the same file that I have to switch between might get confusing in the future.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gieemek
                    wrote on last edited by
                    #14

                    Modifications were easier than I expected, only that I am successfull (I'm not a programmer).
                    For now, the program did not switching between soft and hard SPI and I fail to realize it fast - really frequently change the file is uncomfortable.
                    I want to send my library to LowPowerLab to check it.
                    If you are interested in further modification of this library, I can send you by mail a list of changes I made.

                    1 Reply Last reply
                    0
                    • korttomaK Offline
                      korttomaK Offline
                      korttoma
                      Hero Member
                      wrote on last edited by korttoma
                      #15

                      @gieemek
                      @TD22057
                      Any chance that you ore someone else has adapted this RFM69 SoftSPI solution to the MySensors 2.0 Library version?

                      • Tomas
                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        gieemek
                        wrote on last edited by
                        #16

                        I modified MyConfig.h file and RFM69 driver to allow you build gateway (ethernet or MQTT) with W5100 ethernet and RFM69 radio modules using SoftSPI bus. You can find it at: https://github.com/gieemek/RFM69_softSPI-for-MySensors-2.1.1

                        1 Reply Last reply
                        1
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        11

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.1k

                        Posts


                        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                        • Login

                        • Don't have an account? Register

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