Can't get RFM69 working
-
Hello,
I am using stable version of MySensors not the dev branch. What version are you using ?
David
-
-
Did you connect the gateway to a controller ? or to MYSController ? You get the gateway ready message ?
For the sensor, you are using the sketch I upload ?
Debug mode is enable in MyConfig.h ?You should have some debug messages in the console when connecting to the node.
David.
-
The problem is on the uno everything seems to work fine.
for the sensor i attached the RFM to a arduino pro mini 3.3v
double checked the wiring, tried 2 different RFM's, tried 2 arduino pro mini's.
uploaden the gateway to it and i get:
0;0;3;0;9;gateway started, id=0, parent=0, distance=0but when i try to send something with the pro mini i get nothing back, while on the UNO I get:
0;0;3;0;9;send: 0-0-10-10 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1So on the pro mini i get the init message, but no message when i try to send something.
-
Yes i have the HW versions, so i replaced
bool isRFM69HW=falsebybool isRFM69HW=trueadded a capacitor.
refreshed and still no feedback after sending.
I get a serial output from the pro mini on start. but no more serial messages when i try to send a message.
-
Its working now!
Gateway doesn't work on the pro mini, but your sensor sketch is working :D
now the next thing, i get a lot of fails:
send: 10-10-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=fail:GHAS sensor send: 10-10-0-0 s=255,c=3,t=12,pt=0,l=5,sg=0,st=fail:1.1.5 send: 10-10-0-0 s=0,c=0,t=7,pt=0,l=0,sg=0,st=fail: find parent send: 10-10-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: send: 10-10-0-0 s=1,c=0,t=6,pt=0,l=0,sg=0,st=fail: send: 10-10-0-0 s=2,c=0,t=16,pt=0,l=0,sg=0,st=fail: send: 10-10-0-0 s=3,c=0,t=30,pt=0,l=0,sg=0,st=fail: [Setup duration: 7385 ms] send: 10-10-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=fail:0.0 send: 10-10-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,st=fail:0.0 send: 10-10-0-0 s=2,c=1,t=37,pt=2,l=2,sg=0,st=fail:9 find parent send: 10-10-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: send: 10-10-0-0 s=3,c=1,t=38,pt=7,l=5,sg=0,st=fail:3.30 send: 10-10-0-0 s=255,c=3,t=0,pt=1,l=1,sg=0,st=fail:100 0.0 degC 0.0 % 9 lx 3.30 v [4851 ms]but the gateway receives everything fine?
22:13:05.403 [pimatic-mysensors] debug: <- Presented Node [ '10', '0', '0', '0', '7', '' ] 22:13:05.451 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:05.497 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:05.538 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:05.980 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:06.115 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:06.246 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:07.594 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 22:13:07.594 [pimatic-mysensors] debug: <- Presented Node [ '10', '1', '0', '0', '6', '' ] 22:13:07.635 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 22:13:07.639 [pimatic-mysensors] debug: <- Presented Node [ '10', '1', '0', '0', '6', '' ] 22:13:07.680 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 22:13:07.680 [pimatic-mysensors] debug: <- Presented Node [ '10', '1', '0', '0', '6', '' ] 22:13:07.729 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0: 22:13:07.729 [pimatic-mysensors] debug: <- Presented Node [ '10', '2', '0', '0', '16', '' ] 22:13:07.774 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0: 22:13:07.775 [pimatic-mysensors] debug: <- Presented Node [ '10', '2', '0', '0', '16', '' ] 22:13:07.815 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0: 22:13:07.816 [pimatic-mysensors] debug: <- Presented Node [ '10', '2', '0', '0', '16', '' ] 22:13:07.864 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0: 22:13:07.865 [pimatic-mysensors] debug: <- Presented Node [ '10', '3', '0', '0', '30', '' ] 22:13:07.909 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0: 22:13:07.909 [pimatic-mysensors] debug: <- Presented Node [ '10', '3', '0', '0', '30', '' ] 22:13:07.950 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0: 22:13:07.954 [pimatic-mysensors] debug: <- Presented Node [ '10', '3', '0', '0', '30', '' ] 22:13:10.060 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0 22:13:10.105 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0 22:13:10.150 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0 22:13:10.244 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=1,t=0,pt=7,l=5,sg=0:0.0 22:13:10.289 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=1,t=0,pt=7,l=5,sg=0:0.0 22:13:10.342 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9 22:13:10.383 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9 22:13:10.428 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9 22:13:10.477 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:10.522 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:10.563 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:10.903 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:11.038 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:11.174 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:12.583 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30 22:13:12.628 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30 22:13:12.673 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30 22:13:12.722 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=255,c=3,t=0,pt=1,l=1,sg=0:100 -
It's perhaps due to the signing feature ...
May be you should disable it for the moment.
Disable the feature in MyConfig.h and replace the gateway constructor by:
MySensor gw(transport, hw /*, signer*/, RADIO_RX_LED_PIN, RADIO_TX_LED_PIN, RADIO_ERROR_LED_PIN); -
I'm trying to create my gateway with a arduino nano. Attached everything and on the serial output I get:
0;0;3;0;9;gateway started, id=0, parent=0, distance=0 0;0;3;0;14;Gateway startup complete.But nothing happens when i try to send something.
When I try to send something with a sensor it gets fail:
send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,st=fail:1.5.1 send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0 sensor started, id=1, parent=0, distance=0 send: 1-1-0-0 s=1,c=1,t=16,pt=2,l=2,sg=0,st=fail:1On a arduino uno it works fine. But the gateway won't work on a pro mini or a nano?
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