💬 MySensors Gateway for Raspberry PI
-
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@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
-
@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
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.
-
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? -
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? -
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
-
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? :-)
-
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? :-)
-
@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?
-
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 :-) -
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-piwhen I have time, I will test the rfm69 with nrf24l01.
-
Very nice design ! I will buy a bunch of these.
I'm using a BMP180 on my raspberry now, that would be great to add an I2C port somewhere in a potential v5 :) -
I did a quick update of the PCB.
It's not perfect but it does fullfill my (selfish) needs ;)
0_1509659115842_MySensorsPiGw.kicad_pcbQQ.
-
@llegoff nice board!!! I think 🤔 I am going to build this. However just wondering if this will support rfm69hcw?
Thanks -
@gohan I have a lot c version with me :)