💬 Connecting the Radio
-
This thread contains comments for the article "Connecting the Radio" posted on MySensors.org.
-
Don't forget the antenna if you use a RFM69 or you may damage your device.
-
Don't forget the antenna if you use a RFM69 or you may damage your device.
@FotoFieber - Good one, I added the warning on the build site.
-
@hek - I can look into that.
-
Hi all,
I'm using the Arduino Micro with al NRF24L01 radio. With the micro it's not posible to use the pin config of the Nano.
I got it working with the connections below.NRF24 > Micro
Miso > Miso
Mosi > Mosi
SCK > SCK
CSN > Pin D7
CE > Pin D8Thereby I put the code below in my arduino code before de "#include <SPI.h>"
// Pin Confuguration for Arduino Micro
#define MY_RF24_CE_PIN 8
#define MY_RF24_CS_PIN 7Maybe this is helpful for some other users.
Grtz Diver
-
I used RFM69 with Arduino before and a library where I have to initialize the radio with the frequency (868MHZ in my case) Does the mysensors library work for all frequencies of RFM69 without telling it which frequency to use?
@gvorster 868 is the default so you don't need to do anything. If you want to change it, add
#define MY_RFM69_FREQUENCYbefore including MySensors.h in your sketch. See https://github.com/mysensors/MySensors/blob/a31eff112e4895198bf6ec385fdeedb2910bb628/MyConfig.h#L588 for valid settings.
-
@gvorster 868 is the default so you don't need to do anything. If you want to change it, add
#define MY_RFM69_FREQUENCYbefore including MySensors.h in your sketch. See https://github.com/mysensors/MySensors/blob/a31eff112e4895198bf6ec385fdeedb2910bb628/MyConfig.h#L588 for valid settings.
-
@DiverAlpha said:
Hi all,
I'm using the Arduino Micro with al NRF24L01 radio. With the micro it's not posible to use the pin config of the Nano.
I got it working with the connections below.NRF24 > Micro
Miso > Miso
Mosi > Mosi
SCK > SCK
CSN > Pin D7
CE > Pin D8Thereby I put the code below in my arduino code before de "#include <SPI.h>"
// Pin Confuguration for Arduino Micro
#define MY_RF24_CE_PIN 8
#define MY_RF24_CS_PIN 7Maybe this is helpful for some other users.
Grtz Diver
@DiverAlpha
Thanx a lot for commenting with that information. I was having problems with the Arduino Mega. I connected the NRF24L01+ to the appropriate SPI pins on the Mega and then just defined the CE and CS pins in the code an now it works. Thanks again -
Hi all,
I tried a lot in the last coup[le of days but I can't get my network up and running...
I've got a Micro DHT sensor ans a Uno Ethernet Gateway.
The output of the Gateway:
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.5.8So I think this is nice but I'm not complete sure.
The output of the DHT sensor:
TSM:INIT
TSM:RADIO:OK
TSP:ASSIGNID:OK (ID=105)
TSM:FPAR
TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
!TSM:FPAR:FAIL
!TSM:FAILURE
TSM:PDTTo me it seems that the sensor cannot get a good connection to the gateway by the RF connection. The physical distance between de two RF modules is about 15 cm and I'm using a 10uF condensator on both of the RF modules.
Can someone tell me what I'm doing wrong?
Tnx in advance!
-
Hi all,
I tried a lot in the last coup[le of days but I can't get my network up and running...
I've got a Micro DHT sensor ans a Uno Ethernet Gateway.
The output of the Gateway:
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.5.8So I think this is nice but I'm not complete sure.
The output of the DHT sensor:
TSM:INIT
TSM:RADIO:OK
TSP:ASSIGNID:OK (ID=105)
TSM:FPAR
TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
!TSM:FPAR:FAIL
!TSM:FAILURE
TSM:PDTTo me it seems that the sensor cannot get a good connection to the gateway by the RF connection. The physical distance between de two RF modules is about 15 cm and I'm using a 10uF condensator on both of the RF modules.
Can someone tell me what I'm doing wrong?
Tnx in advance!
-
@mfalkvidd, They are now 2 meters apart from each other but still the same problem. I was thinking in this direction also but because I build those two on the same breadboard, it was a bit difficult to separate them. I now build the sensor on another breadboard and moved is 2 meters away. It can't be any longer because of the length of my USB cables.
All the logging I got from the gateway is posted in my previous post. So there is nothing about any child in there.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login