π¬ NRF2RFM69
-
just one more question... I have on the Gateway a RFM69HW and a node with a RFM69W module. In the Gateway Sketch is the HW type enabled
#define MY_RFM69_FREQUENCY RF69_868MHZ #define MY_IS_RFM69HWBut there is no comunication from the node... I use Mysensors 2.1.1.
Any idea? -
@gohan It at the Moment only a test. So I have one EasyPCB NRF board with FTDI as Gateway and another EasyPCB board with DHT22 Sensor attached as Node. On both is a 4,7uF electrolytic condensator attached Close to the NRF socket. Both boards are at the Moment with RFM69W 868. The sensor node is battey powered.
-
Get latest 2.2 library and use new rfm69 driver. Did you remember to close the IRQ contact in the easypcb?
@gohan Oh Sh* must check this... I've tried it yesterday on both devices the 2.2 Dev. But will Keep ypu informed...
Don't find the jumperfor the IRQ on the Rev 9 board. can you please post a Picture. Seems that this one is definitly not closed...
--> Edit... found it in the documentation but still the same.
Think the next Point to check for me are the antennas... :-( -
in principle there is traffic between node and Gateway..
159631 !TSM:FPAR:NO REPLY 159637 TSM:FPAR 169848 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 171868 !TSM:FPAR:NO REPLY 171874 TSM:FPAR 179087 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 181106 !TSM:FPAR:FAIL 181112 TSM:FAIL:CNT=4 181118 TSM:FAIL:DIS 181123 TSF:TDI:TSL 191131 TSM:FAIL:RE-INIT 191137 TSM:INIT 191143 TSM:INIT:TSP OK 191150 TSM:INIT:STATID=10 191158 TSF:SID:OK,ID=10 191164 TSM:FPAR 198377 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 200396 !TSM:FPAR:NO REPLY 200402 TSM:FPAR 207616 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 209635 !TSM:FPAR:NO REPLY 209641 TSM:FPAR 216854 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 218873 !TSM:FPAR:NO REPLY 218880 TSM:FPAR 226093 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 228112 !TSM:FPAR:FAIL 228118 TSM:FAIL:CNT=5 228124 TSM:FAIL:DIS 228128 TSF:TDI:TSL 238135 TSM:FAIL:RE-INIT 238141 TSM:INIT 238147 TSM:INIT:TSP OK 238153 TSM:INIT:STATID=10 238161 TSF:SID:OK,ID=10 238168 TSM:FPAR 248385 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 250404 !TSM:FPAR:NO REPLY 250411 TSM:FPAR 257624 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 259643 !TSM:FPAR:NO REPLY 259649 TSM:FPAR 269731 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 271751 !TSM:FPAR:NO REPLY 271757 TSM:FPAR0;255;3;0;9;189196 TSF:PNG:SEND,TO=0 0;255;3;0;9;189206 TSF:CKU:OK 0;255;3;0;9;189214 TSF:MSG:GWL OK 0;255;3;0;9;191236 !TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;244555 TSF:MSG:READ,10-10-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;244574 TSF:MSG:BC 0;255;3;0;9;244582 TSF:MSG:FPAR REQ,ID=10 0;255;3;0;9;244594 TSF:PNG:SEND,TO=0 0;255;3;0;9;244604 TSF:CKU:OK 0;255;3;0;9;244613 TSF:MSG:GWL OK 0;255;3;0;9;257744 !TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;269957 TSF:MSG:READ,10-10-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;269977 TSF:MSG:BC 0;255;3;0;9;269985 TSF:MSG:FPAR REQ,ID=10 0;255;3;0;9;269996 TSF:PNG:SEND,TO=0 0;255;3;0;9;270006 TSF:CKU:OK 0;255;3;0;9;270014 TSF:MSG:GWL OK 0;255;3;0;9;281585 !TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;289732 TSF:MSG:READ,10-10-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;289753 TSF:MSG:BC 0;255;3;0;9;289761 TSF:MSG:FPAR REQ,ID=10 0;255;3;0;9;289771 TSF:PNG:SEND,TO=0 0;255;3;0;9;289781 TSF:CKU:OK 0;255;3;0;9;289789 TSF:MSG:GWL OK 0;255;3;0;9;297015 !TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;306757 TSF:MSG:READ,10-10-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;306776 TSF:MSG:BC 0;255;3;0;9;306784 TSF:MSG:FPAR REQ,ID=10 0;255;3;0;9;306796 TSF:PNG:SEND,TO=0 0;255;3;0;9;306806 TSF:CKU:OK 0;255;3;0;9;306814 TSF:MSG:GWL OK 0;255;3;0;9;316682 !TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;322084 TSF:MSG:READ,10-10-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;322103 TSF:MSG:BC 0;255;3;0;9;322111 TSF:MSG:FPAR REQ,ID=10 0;255;3;0;9;322123 TSF:PNG:SEND,TO=0 0;255;3;0;9;322131 TSF:CKU:OK 0;255;3;0;9;322142 TSF:MSG:GWL OK 0;255;3;0;9;333180 !TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 -
@Markus. You have an RF issue. Typically for nrf24l01+ I'd use a different power supply or a different module.
Are you sure both modules are set to the same channel and frequency? What antennas are you using?
Do you have HW modules? -
@alexsh1 I use at the Moment RFm69W 868 modules not NRF. Because the RFMs are mounted on the NRF connector on an EasyPCB. I use at the Moment single wire antennas with a lenght of 8,3 cm.
-
@alexsh1 should be, becaus ist not defined explicit in the Sketch. By Default in the MYS Lib 2.2 dev is it 868 mhz. And when i try to define the frequency in the Sketch. Like
#define MY_RFM69_FREQUENCY RF69_868MHZ
I get the error message.'RF69_868MHZ' was not declared in this scope -
@alexsh1 should be, becaus ist not defined explicit in the Sketch. By Default in the MYS Lib 2.2 dev is it 868 mhz. And when i try to define the frequency in the Sketch. Like
#define MY_RFM69_FREQUENCY RF69_868MHZ
I get the error message.'RF69_868MHZ' was not declared in this scope -
@mfalkvidd you are right... Ist now added in the GW and node Sketch, but still the same Problem.
-
I think at the end will it be a power problem. It seems that the sensor node powered with 2x AA cells can not handle the Radio on TX/RX. The same on the Gateway site which is also a Easy PBB powered fom the FTDI Connector connected to USB. The question now is how can i fix this power Problems ? Or more, how can i make sure that this is definitly not the reason.
-
@gohan 10uF electrolyt cap direct on the radios already tierd beside the 4,7uF on the Radio socket.
@gohan ohhhh helllll... its working.. As usual.. the Problem was infront of the Monitor... :-) So, two Problems. the first mistake i did was to use a HW module as Gateway. The power source was a FTDI adaptor which has only max Output current of 50mA (HW module Needs 120mA Minimum). The result was randomly reboot of the Gateway. The second and main Problem was the Jumper of the IRQ on the Easy PCB boards. I checked only the domumentation and there is the Jumper wrong descriped. So i placed the Jumper wrong. I have corrected this now on my two test boards and use a W module on the Gateway.. now its working :-)
Many thanks for all the Patience... :-)