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. OpenHardware.io
  3. 💬 MySensors Gateway for Raspberry PI

💬 MySensors Gateway for Raspberry PI

Scheduled Pinned Locked Moved OpenHardware.io
raspberrymysensors gateway
49 Posts 14 Posters 9.6k Views 12 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.
  • openhardware.ioO Offline
    openhardware.ioO Offline
    openhardware.io
    wrote on last edited by openhardware.io
    #1

    https://www.openhardware.io/view/470/MySensors-Gateway-for-Raspberry-PI

    1 Reply Last reply
    0
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #2

      Hi.

      Looks nice :simple_smile:
      If i can give some advices.. :

      • have you tested it when both radio modules are soldered ? I think you may have some issues then, because you have missing pullups for radio modules.
      • i would add some decoupling capacitors + some filtering. Because RPI has not the best noise-free power supply. that could decrease sensitivity and range. but maybe still enough for the range you need.
      • your RF transmission line is a bit "funky".. I don't know how long it is, but you may need to impedance match this route to your SMA connector (else some detuning, and worse rf).
        And i wouldn't have put the pin hole for a wire antenna like that (after drills in the mismatched transmission..). Also i think it's useless, for a wire antenna you already can use the drill of your sma connector.

      My 2cents ;)

      NeverDieN 1 Reply Last reply
      2
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #3

        I'd add a place for a voltage regulator from 5v to 3.3 for the more powerful radio versions, since being the gateway it could be worth using them

        1 Reply Last reply
        0
        • llegoffL Offline
          llegoffL Offline
          llegoff
          wrote on last edited by
          #4

          Hello,

          • It's for NRL24L01 only, or RFM69HW only, we can't solder both module.
          • It would probably be better to add a 3.3v regulator and capacitors
          • i find a impedance calculator, the width of the transmission line should be 2.41mm
            alt text

          thanks for the comments.

          for you what is the better connertor, SMA or U.FL ?

          I will modify the pcb

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

            I'd vote for sma as many projects are also using it.

            1 Reply Last reply
            0
            • scalzS scalz

              Hi.

              Looks nice :simple_smile:
              If i can give some advices.. :

              • have you tested it when both radio modules are soldered ? I think you may have some issues then, because you have missing pullups for radio modules.
              • i would add some decoupling capacitors + some filtering. Because RPI has not the best noise-free power supply. that could decrease sensitivity and range. but maybe still enough for the range you need.
              • your RF transmission line is a bit "funky".. I don't know how long it is, but you may need to impedance match this route to your SMA connector (else some detuning, and worse rf).
                And i wouldn't have put the pin hole for a wire antenna like that (after drills in the mismatched transmission..). Also i think it's useless, for a wire antenna you already can use the drill of your sma connector.

              My 2cents ;)

              NeverDieN Offline
              NeverDieN Offline
              NeverDie
              Hero Member
              wrote on last edited by NeverDie
              #6

              @scalz said in 💬 MySensors Gateway for Raspberry PI:

              i would add some decoupling capacitors + some filtering. Because RPI has not the best noise-free power supply. that could decrease sensitivity and range. but maybe still enough for the range you need.

              Especially this. +1

              I've read of others grappling with this issue on a Pi, and reportedly its a huge problem. So, heads up. Not sure if all the Pi's are the same in this respect, though, or whether some models have less of a problem with it than others. Maybe you can side-step the brunt of the noise by just picking the right model of Pi in the first place? Anyone happen to know how the different Pi models compare to one another with respect to noise?

              Sounds like a good project!

              1 Reply Last reply
              0
              • llegoffL Offline
                llegoffL Offline
                llegoff
                wrote on last edited by
                #7

                The U.FL connector is smaller and will reduce the length of the track. The U.FL SMA cords are not very expensive, and so you can place the SMA connector where you want on the case of the Raspberry Pi.

                On the pcb v1, R4 is a resistance of 0ohm, which in the case where no SMA connector is used, to connect the track to the wire antenna connector J3

                1 Reply Last reply
                0
                • llegoffL Offline
                  llegoffL Offline
                  llegoff
                  wrote on last edited by
                  #8

                  change to V2

                  1 Reply Last reply
                  0
                  • luizrrochaL Offline
                    luizrrochaL Offline
                    luizrrocha
                    wrote on last edited by
                    #9

                    Hi, great project. I want one as soon as possible !

                    Quick silly question: it supports the PA+LNA version of the NRF24L01, right ?

                    gohanG 1 Reply Last reply
                    0
                    • luizrrochaL luizrrocha

                      Hi, great project. I want one as soon as possible !

                      Quick silly question: it supports the PA+LNA version of the NRF24L01, right ?

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

                      @luizrrocha yes, just don't use the unshielded ones

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Andrea_J
                        wrote on last edited by
                        #11

                        Hello, I'm new to this forum.
                        Is it possible to have both radio active at the same time on a RPi gateway? Why did you choose to have just one at a time?
                        Thank you,
                        Andrea

                        mfalkviddM gohanG 2 Replies Last reply
                        0
                        • A Andrea_J

                          Hello, I'm new to this forum.
                          Is it possible to have both radio active at the same time on a RPi gateway? Why did you choose to have just one at a time?
                          Thank you,
                          Andrea

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

                          @Andrea_J welcome!

                          So far, nobody has spent the time necessary to figure out how to support multiple radios. There have been some attempts, but no successes. You are very welcome to try.

                          1 Reply Last reply
                          0
                          • A Andrea_J

                            Hello, I'm new to this forum.
                            Is it possible to have both radio active at the same time on a RPi gateway? Why did you choose to have just one at a time?
                            Thank you,
                            Andrea

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

                            @Andrea_J In theory you could have 2 instances of mysensor gateway running from separate directories, but given that adding an arduino as gateway is very cheap I don't know if it is worth the effort, but if you are willing to try, let us know the results :D

                            sundberg84S 1 Reply Last reply
                            0
                            • gohanG gohan

                              @Andrea_J In theory you could have 2 instances of mysensor gateway running from separate directories, but given that adding an arduino as gateway is very cheap I don't know if it is worth the effort, but if you are willing to try, let us know the results :D

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

                              Or just two arduino gateways with different radios on two usb ports on the raspberry controller... works like a charm and as @gohan said quite cheap.

                              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
                              0
                              • A Offline
                                A Offline
                                Andrea_J
                                wrote on last edited by
                                #15

                                Thank you all for your answers!
                                I'm not a programmer, the best I can do is to try to implement the software others created, sorry.
                                But it would be very nice to have a controller and both radio on a single Rpi.
                                If I'm not wrong, the RPi having 2 SPI chip enable, has the possibility to control those two radio. So it shold be just a software question, not a hardware one, isn't it?

                                mfalkviddM 1 Reply Last reply
                                0
                                • A Andrea_J

                                  Thank you all for your answers!
                                  I'm not a programmer, the best I can do is to try to implement the software others created, sorry.
                                  But it would be very nice to have a controller and both radio on a single Rpi.
                                  If I'm not wrong, the RPi having 2 SPI chip enable, has the possibility to control those two radio. So it shold be just a software question, not a hardware one, isn't it?

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

                                  @Andrea_J correct.

                                  But as @sundberg84 already said, running multiple radios on the same rpi is already supported by using usb. Build a serial gateway, plug it in and you're done.

                                  1 Reply Last reply
                                  0
                                  • TriXwooDT Offline
                                    TriXwooDT Offline
                                    TriXwooD
                                    wrote on last edited by
                                    #17

                                    I tried two radios and 2 instances of mysensor gateway running from separate directories... not really succesfull... on spi0 (spi0.0 and spi0.1) using the select line.

                                    going to try spi0 and spi1 next...

                                    https://forum.mysensors.org/topic/7702/double-spi-radio-raspberry-pi

                                    1 Reply Last reply
                                    1
                                    • TriXwooDT Offline
                                      TriXwooDT Offline
                                      TriXwooD
                                      wrote on last edited by TriXwooD
                                      #18

                                      Got two radios working using spi0.0 and spi1.0, no luck with running both radio's on spi0 (spi0.0 and spi0.1) probably has to do with the cs/ce lines...

                                      see link above...

                                      qr code and logo is a large enough space that could hold a second radio (lora/nrf24 choice combi? :-)

                                      llegoffL 1 Reply Last reply
                                      0
                                      • TriXwooDT TriXwooD

                                        Got two radios working using spi0.0 and spi1.0, no luck with running both radio's on spi0 (spi0.0 and spi0.1) probably has to do with the cs/ce lines...

                                        see link above...

                                        qr code and logo is a large enough space that could hold a second radio (lora/nrf24 choice combi? :-)

                                        llegoffL Offline
                                        llegoffL Offline
                                        llegoff
                                        wrote on last edited by
                                        #19

                                        @TriXwooD
                                        Hello, I route the v3, with a connector for an NRF on the spi1, and maybe a button for inclusion.
                                        available soon ...

                                        1 Reply Last reply
                                        0
                                        • llegoffL Offline
                                          llegoffL Offline
                                          llegoff
                                          wrote on last edited by
                                          #20

                                          Hello V3 is online

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


                                          15

                                          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