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. Announcements
  3. 💬 Connecting the Radio

💬 Connecting the Radio

Scheduled Pinned Locked Moved Announcements
162 Posts 49 Posters 41.2k Views 40 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.
  • maghacM maghac

    Thanks - I use NRF24 radios.

    I found MY_RF24_CE_PIN which I redefined to pin 8 which worked absolutely fine.

    The problem I have now is that now cannot use the Newbie PCB anymore :cold_sweat: :wink:

    sundberg84S Offline
    sundberg84S Offline
    sundberg84
    Hardware Contributor
    wrote on last edited by
    #121

    @maghac cut the trace with a small knife and re-attach it with a wire.

    Controller: Proxmox VM - Home Assistant
    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

    1 Reply Last reply
    1
    • mfalkviddM mfalkvidd

      @maghac doh!
      How about using a software pwm library instead? I have not tried any, but I have seen this before: https://github.com/Palatis/arduino-softpwm

      maghacM Offline
      maghacM Offline
      maghac
      wrote on last edited by
      #122

      @mfalkvidd Maybe I'll give that a try.

      I think FOTA will fail as the bootloader will try to initialise the radio with the default pin, right? Then I'll need software pwm or recompile my own bootloader.

      gohanG 1 Reply Last reply
      1
      • maghacM maghac

        @mfalkvidd Maybe I'll give that a try.

        I think FOTA will fail as the bootloader will try to initialise the radio with the default pin, right? Then I'll need software pwm or recompile my own bootloader.

        gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #123

        @maghac or go for dual optiboot

        maghacM 1 Reply Last reply
        0
        • gohanG gohan

          @maghac or go for dual optiboot

          maghacM Offline
          maghacM Offline
          maghac
          wrote on last edited by
          #124

          @gohan But then I would need additional hardware to use DualOptiBoot?

          Anyone have any quick instructions on how to build a new custom version of MySensorsBootLoader using MY_RF24_CE_PIN = 8 :wink:

          I have access to ArduinoIDE on Windows or a Ubuntu 16.04 box.

          gohanG 1 Reply Last reply
          0
          • maghacM maghac

            @gohan But then I would need additional hardware to use DualOptiBoot?

            Anyone have any quick instructions on how to build a new custom version of MySensorsBootLoader using MY_RF24_CE_PIN = 8 :wink:

            I have access to ArduinoIDE on Windows or a Ubuntu 16.04 box.

            gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #125

            @maghac yes, an spi flash chip. It is not a bad solution since the firmware is transferred during normal node operation and if it fails nothing bad happens.

            sundberg84S 1 Reply Last reply
            1
            • gohanG gohan

              @maghac yes, an spi flash chip. It is not a bad solution since the firmware is transferred during normal node operation and if it fails nothing bad happens.

              sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #126

              @maghac - EasyPCB rev 10 will probably include spi flash ;)

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              1 Reply Last reply
              1
              • alowhumA Offline
                alowhumA Offline
                alowhum
                Plugin Developer
                wrote on last edited by
                #127

                It might be an idea for the "connecting the radio" page on MySensors to point to these handy boards:
                https://www.aliexpress.com/item/Free-shipping-Nano-328P-IO-wireless-sensor-expansion-board-for-XBEE-and-NRF24L01-Socket-for-arduino/32298692903.html

                Then people have to just plug in the NRF24 boards. And it also makes it much easier to connect lots of sensors. I wish I had known about these boards earlier, it would have saved me a lot of time.

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #128

                  It depends if you want to go with the nano or the pro mini like many nodes use

                  1 Reply Last reply
                  0
                  • KimmoHopK Offline
                    KimmoHopK Offline
                    KimmoHop
                    wrote on last edited by KimmoHop
                    #129

                    Just noticed, that MySensors 2.2 changed default RF24 CS pin on Mega2560 from pin 10 to pin 53 (SS) :/ I could not find any reference to the change from 2.2 change log nor from pull request (722)... No wonder RF24 worked with 2.1.1 but not with 2.2 on M2560.
                    Contrary to instruction above, I wanted to continue with old pins (same as on Uno) and set the pins explicitly to MY_RF24_CE_PIN=9 & MY_RF24_CS_PIN=10. Now transport seems quite good (with combined HW and SW ack, static GW address, no routers) :)

                    mfalkviddM 1 Reply Last reply
                    0
                    • KimmoHopK KimmoHop

                      Just noticed, that MySensors 2.2 changed default RF24 CS pin on Mega2560 from pin 10 to pin 53 (SS) :/ I could not find any reference to the change from 2.2 change log nor from pull request (722)... No wonder RF24 worked with 2.1.1 but not with 2.2 on M2560.
                      Contrary to instruction above, I wanted to continue with old pins (same as on Uno) and set the pins explicitly to MY_RF24_CE_PIN=9 & MY_RF24_CS_PIN=10. Now transport seems quite good (with combined HW and SW ack, static GW address, no routers) :)

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #130

                      @kimmohop thanks for reporting. Looks like the change was introduced in commit b132a8a81e2ba6c81bcc6e2afce7513cdddbe193. I have added a message to the release notes.

                      1 Reply Last reply
                      1
                      • alowhumA Offline
                        alowhumA Offline
                        alowhum
                        Plugin Developer
                        wrote on last edited by
                        #131

                        @gohan perhaps it can be added to the buying advice page? There the Nano is advised.

                        mfalkviddM 1 Reply Last reply
                        0
                        • alowhumA alowhum

                          @gohan perhaps it can be added to the buying advice page? There the Nano is advised.

                          mfalkviddM Offline
                          mfalkviddM Offline
                          mfalkvidd
                          Mod
                          wrote on last edited by
                          #132

                          @alowhum which of the buing pages are you referring to? https://www.mysensors.org/store/buying_guide has the pro mini.

                          1 Reply Last reply
                          0
                          • alowhumA Offline
                            alowhumA Offline
                            alowhum
                            Plugin Developer
                            wrote on last edited by
                            #133

                            @mfalkvidd: Yes that's the page I'm referring to.

                            mfalkviddM 1 Reply Last reply
                            0
                            • alowhumA alowhum

                              @mfalkvidd: Yes that's the page I'm referring to.

                              mfalkviddM Offline
                              mfalkviddM Offline
                              mfalkvidd
                              Mod
                              wrote on last edited by mfalkvidd
                              #134

                              @alowhum I'm confused. Could you clarify what you want us to change on that page?

                              1 Reply Last reply
                              0
                              • alowhumA Offline
                                alowhumA Offline
                                alowhum
                                Plugin Developer
                                wrote on last edited by
                                #135

                                Add a link to: https://www.aliexpress.com/item/Free-shipping-Nano-328P-IO-wireless-sensor-expansion-board-for-XBEE-and-NRF24L01-Socket-for-arduino/32298692903.html

                                mfalkviddM 1 Reply Last reply
                                0
                                • alowhumA Offline
                                  alowhumA Offline
                                  alowhum
                                  Plugin Developer
                                  wrote on last edited by
                                  #136

                                  While you're at it: maybe tell people about the NRF52 option?

                                  1 Reply Last reply
                                  0
                                  • alowhumA alowhum

                                    Add a link to: https://www.aliexpress.com/item/Free-shipping-Nano-328P-IO-wireless-sensor-expansion-board-for-XBEE-and-NRF24L01-Socket-for-arduino/32298692903.html

                                    mfalkviddM Offline
                                    mfalkviddM Offline
                                    mfalkvidd
                                    Mod
                                    wrote on last edited by mfalkvidd
                                    #137

                                    @alowhum thanks. That does indeed look lika nifty solution. I'll add it.

                                    For the nrf5x, I don't know which boards are user-friendly, and I haven't understood if MySensors nrf5x support is "production ready" yet or if it requires people to tweak or otherwise do special stuff to get a node working. I don't think I have seen anyone building nrf5x MySensors nodes yet.

                                    1 Reply Last reply
                                    0
                                    • alowhumA Offline
                                      alowhumA Offline
                                      alowhum
                                      Plugin Developer
                                      wrote on last edited by
                                      #138

                                      Lots of people have I think, check the NRF5 thread. I built my own first one this week (BME280 sensor). It rocks.

                                      • Arduino with built in NRF24 for $3.
                                      • The size of a postage stamp.
                                      • Powerful enough to use the simple encryption functionality.
                                      • Antenna socket: just plug in antenna for more range.
                                      1 Reply Last reply
                                      1
                                      • skywatchS Offline
                                        skywatchS Offline
                                        skywatch
                                        wrote on last edited by
                                        #139

                                        Maybe it's just me, but in the first image of a pro mini the top row of pins seem to be reversed to what I normally see.....

                                        1 Reply Last reply
                                        0
                                        • 4 Offline
                                          4 Offline
                                          42isjustanumber
                                          wrote on last edited by
                                          #140

                                          My first post at mysensors.org. Sounds like a great tool. Tried to set up an MQTT Gateway with Hardware as described above, ESP8266 and RFM69W with 868 MHz, to connect some Technoline TX29DTH-IT temperature and humidity sensors, without success. ES8266 is working , connects with my wifi network and also connects to my mosquitto server. But I do not get any connection from RFM to technoline. Is there anyone out there who was able to get this running?

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


                                          17

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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