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.
  • 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
                              • TriXwooDT Offline
                                TriXwooDT Offline
                                TriXwooD
                                wrote on last edited by
                                #21

                                Way cool!

                                I definitely have to learn this skill in next couple of months.

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

                                  have you tried both rfm69 and nrf24 working on the same time?

                                  TriXwooDT 1 Reply Last reply
                                  0
                                  • gohanG gohan

                                    have you tried both rfm69 and nrf24 working on the same time?

                                    TriXwooDT Offline
                                    TriXwooDT Offline
                                    TriXwooD
                                    wrote on last edited by TriXwooD
                                    #23

                                    @gohan the spi0 and spi1 busses are two separate devices from the pi's perspective and the two MySensors gateways running*. So if v2 worked with a rfm69, and the v3 extra! wiring is good. (didn't check but 99.9999...%, even the logo is there :-).
                                    Yes it will work. There is no conflict there.

                                    • Is it possible to make it one gateway running on the pi for both chips?**

                                    ** How do I build a mysensor bridge between 433 and nrf24l01 nodes anyway? I can run domoticz on a pi to be the intermediate. But if I am not running a pi but an arduino gateway?

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

                                      But if someone could enlighten me why I could not use two nrf24l01 devices working on the same bus using the select... (spi0.0 and spi0.1 and using CS?/CE?) (it really seems that data from the two radio's got mangled together somehow, I notice that cuz sometimes it did work... probably when only one radio was sending)
                                      I would me most gratefull :-)

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

                                        Hello,
                                        The v1 (without regulator) works for me with an rfm69, so the v2 must work, because is the same wiring. (I have to receive the pcb v2 these days)

                                        TriXwood tested the operation of a second module nrf24l01 on the spi1
                                        see https://forum.mysensors.org/topic/7702/double-spi-radio-raspberry-pi

                                        when I have time, I will test the rfm69 with nrf24l01.

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

                                          I am hoping for the good test results as it would save me quite some wiring/mess for my dual network setup. Will it be able to run both NRF24 PA LNA and RFM69HW both at max power?

                                          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