@ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.
gmccarthy
Posts
-
Alternatives for nRF24L01+ ? -
Nodemcu + RFM69. Level converter needed?@emc2 Interesting read.
@korttoma I've connected up IRQ line. Still no luck,
@TON-RIJNAARD Have tried that now as well. No luck.
Tried going back to basics and now have 2 x Arduino pros with RFM69 - both loaded with pingpong script.
Don't know where I'm going wrong but I can't even start the script - entering 1 or T does nothing. (I"ve used the script before with the NRF radio and it works)
Have also tried the latest dev version.
Just keep getting this on both arduinos:
0 MCO:BGN:INIT NODE,CP=RRNNA--,VER=2.0.1-beta 4 TSM:INIT 1 MCO:BGN:INIT NODE,CP=RRNNA--,VER=2.0.1-beta 5 TSM:INIT 7 TSM:INIT:TSP OK 8 TSM:FPAR 138 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 2145 !TSM:FPAR:NO REPLY 2147 TSM:FPAR 2277 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 4284 !TSM:FPAR:NO REPLY 4286 TSM:FPAR 4416 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 6423 !TSM:FPAR:NO REPLY 6425 TSM:FPAR 6555 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 8562 !TSM:FPAR:FAIL 8563 TSM:FAIL:CNT=1 8565 TSM:FAIL:PDT -
Nodemcu + RFM69. Level converter needed?@emc2 Thanks. Will keep digging but I"m almost out of idea as well. :(
-
Nodemcu + RFM69. Level converter needed?@emc2 This is all I see on the gateway:
0;255;3;0;9;Starting gateway (RRNGE-, 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 scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 6 cnt f r0, scandone connected with homenet, channel 1 dhcp client start... ..............ip:192.168.1.100,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.100 0;255;3;0;9;No registration required 0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1 pm open,type:2 0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:SANCHK:OK -
Nodemcu + RFM69. Level converter needed?@emc2 Yes
-
Nodemcu + RFM69. Level converter needed?@emc2 Thanks for the link.
I've connected up the missing pin and believe the wiring is all correct. Double checked the wiring on the arduino mini as well to the rfm69 (Via logic converter)
Still can't get it to communicate using DallasTemperatureSensor-RFM69.ino
Starting sensor (RRNNA-, 2.0.0) TSM:INIT TSM:RADIO:OK TSP:ASSIGNID:OK (ID=5) TSM:FPAR TSP:MSG:SEND 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDT -
Nodemcu + RFM69. Level converter needed?@korttoma That probably explains why I can't get it working. Do you know what pin it needs to connect to on the nodemcu?
On this link the DI00 is gray (https://www.mysensors.org/build/connect_radio) but here it doesnt show where to connect it (https://www.mysensors.org/build/esp8266_gateway)
-
Nodemcu + RFM69. Level converter needed?Thanks - I can only think my connections are wrong then. Can't get any comms going on the rfm69.
-
💬 Building a WiFi Gateway using ESP8266@FotoFieber Did you come right with the RFM69? I also struggling to get it working and need to confirm the wiring diagram.
-
Nodemcu + RFM69. Level converter needed?After many months of struggling with the poor range of NRF24L01+ (And having tried all the tricks) I'm not trying my luck with the RFM69 radio. (RFM69CW - 868Mhz)
When connecting the rfm69 to the nodemcu (For the ESP8266 gateway), is a 5v to 3.3v logic level converted required?
For the projects listed it says you need one when connecting it to the Arduino but wasn't sure about the Nodemcu.
Also can someone confirm the wiring - its not 100% clear.
Is this correct?
Nodemcu ---> RFM69
D2 ---> N/C
D8 ---> NSS
D5 ---> SCK
D7 ---> MOSI
D6 ---> MISO
N/C ---> D100And of course GND and VCC (3.3v)
-
DallasTemperatureSensor code miaGreat stuff - thanks very much.
You might just want to update the link here as well:
https://www.mysensors.org/build/temp
There is a link to Git -
DallasTemperatureSensor code miaI can't seem to find the code for api 2.0 for DallasTemperatureSensor.
One of the links for the temperature sensors on the build page takes you here:
https://github.com/mysensors/MySensors/blob/master/examples/DallasTemperatureSensor/DallasTemperatureSensor.inoBut I get a 404.
Is this still in the process of being converted to 2.0?
-
Alternatives for nRF24L01+ ?@TheoL
Really having some strange problems - if I use the script from the link above its successful in sending and receiving data.I've now tried the pingpong script from mysensors and its failing. If I go back to the script above it works again.
Node1:
Ying NodeReady.
Init complete, id=200, parent=255, distance=255
T received - starting test...
Sending Ping to Yang Node
find parent
send: 200-200-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:Node2:
Yang NodeReady.
Init complete, id=201, parent=255, distance=255 -
Alternatives for nRF24L01+ ?@TheoL Thanks. Will have a look into those.
In the meantime I've gone back to basics and have used the pingpong sketch from https://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo#lib and to my amazement its been running for an hour already with no errors. (And going through 2 floors!) Same hardware, power supply etc.
Might be too early to jump for joy so will leave it running for a few days and see if it falls over.
-
Alternatives for nRF24L01+ ?So after a month or two of fiddling I've had enough of the unstable nRF24L01+.
Been trying all sorts of tricks to try and these things working - the range is useless and everything I try doesn't seem to help.Tried nRF24L01+, nRF24L01+ PA, capacitor, making sure its a stable 3.3V, extending antenna on nRF24L01+, used tin foil to stop noise, change channel numbers, transfer speed, nothing seems to help. Trued multiple devices - no go.
They only seem to work right next to each other. Going through 2 rooms is impossible. Sometimes it works, then it loses comms for 30 mins.
Today I tried replacing gateway and sensor with PA - range is even worse :(Thinking of tossing them all out and going XBee. Expensive but its bound to be rock stable.
Read through so many posts on how to extend the range and am wondering if I'm the only one having headaches.
-
NRF24L01+ range of only few meters@Oitzu said:
@gmccarthy don't give up. You seem to be on the right track and already got great results.
Maybe go bare bones and try the rf24 scannerThanks. This looks interesting. Will give it a shot.
-
NRF24L01+ range of only few meters@Igor-Katkov said:
It's possible that your chips are at fault, if non of other tricks worked (capacitors, clear power, enough current, short wires, lo-noise rf spectrum channel) try other transceivers.
I've tried the cling wrap and tin foil trick - this seems to have worked. Was getting 5m or so, now I"m getting constant readings from one side of the house to the other (through multiple walls!). 20m
Update: Just as I posted this the sensor stopped working :(
I'm really having major reliability issues with these sensors and am thinking of scrapping them altogether now. Its a pity these are such a hit and miss affair.
-
[SOLVED] ESP8266 Gateway endless loopThanks - been racking by brain over this. Going back to 2.0.0 also works for me.
-
ESP8266 repeater?Interesting project - might give it a bash.
-
ESP8266 repeater?Thanks - I think I got confused and thought I could use the nodemcu as a repeater. Mmm - now what to do with that extra nodemcu I ordered :)
Will try a normal repeater.