Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
G

gmccarthy

@gmccarthy
About
Posts
44
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Alternatives for nRF24L01+ ?
    G gmccarthy

    @ripperle I gave up with them and used a nodemcu with a esp8266 wifi module. Have been running without a hitch for months now.

    General Discussion

  • Nodemcu + RFM69. Level converter needed?
    G gmccarthy

    @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
    
    Troubleshooting

  • Nodemcu + RFM69. Level converter needed?
    G gmccarthy

    @emc2 Thanks. Will keep digging but I"m almost out of idea as well. :(

    Troubleshooting

  • Nodemcu + RFM69. Level converter needed?
    G gmccarthy

    @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
    
    Troubleshooting

  • Nodemcu + RFM69. Level converter needed?
    G gmccarthy

    @emc2 Yes

    Troubleshooting

  • Nodemcu + RFM69. Level converter needed?
    G gmccarthy

    @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
    
    Troubleshooting

  • Nodemcu + RFM69. Level converter needed?
    G gmccarthy

    @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)

    Troubleshooting

  • Nodemcu + RFM69. Level converter needed?
    G gmccarthy

    Thanks - I can only think my connections are wrong then. Can't get any comms going on the rfm69.

    Troubleshooting

  • 💬 Building a WiFi Gateway using ESP8266
    G gmccarthy

    @FotoFieber Did you come right with the RFM69? I also struggling to get it working and need to confirm the wiring diagram.

    Announcements

  • Nodemcu + RFM69. Level converter needed?
    G gmccarthy

    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 ---> D100

    And of course GND and VCC (3.3v)

    Troubleshooting

  • DallasTemperatureSensor code mia
    G gmccarthy

    Great 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

    Development

  • DallasTemperatureSensor code mia
    G gmccarthy

    I 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.ino

    But I get a 404.

    Is this still in the process of being converted to 2.0?

    Development

  • Alternatives for nRF24L01+ ?
    G gmccarthy

    @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

    General Discussion

  • Alternatives for nRF24L01+ ?
    G gmccarthy

    @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.

    General Discussion

  • Alternatives for nRF24L01+ ?
    G gmccarthy

    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.

    General Discussion

  • NRF24L01+ range of only few meters
    G gmccarthy

    @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 scanner

    Thanks. This looks interesting. Will give it a shot.

    Hardware

  • NRF24L01+ range of only few meters
    G gmccarthy

    @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.

    Hardware

  • [SOLVED] ESP8266 Gateway endless loop
    G gmccarthy

    Thanks - been racking by brain over this. Going back to 2.0.0 also works for me.

    Troubleshooting

  • ESP8266 repeater?
    G gmccarthy

    Interesting project - might give it a bash.

    Development

  • ESP8266 repeater?
    G gmccarthy

    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.

    Development
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular