works fine with 1.4.1 but not with 2.3.2



  • hi all,

    long time no see 🙂

    have a strange issue that prbly is already answered somewhere but cannot find it

    i have a very simple setup with only an arduino Pro mini and an NRF24 (the famous 1242AF) that works fine with mysensors 1.4.1 but with the latest version does not (!RF24:INIT:SANCHK FAIL) with the below debug output

    any ideas ?

    many thanx in advance

    ////////////// 1.4.1
    sensor started, id 33
    send: 33-33-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
    send: 33-33-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
    send: 33-33-0-0 s=255,c=3,t=11,pt=0,l=18,st=ok:Temperature Sensor
    send: 33-33-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
    NumSensors:
    1
    send: 33-33-0-0 s=0,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    send: 33-33-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:23.9

    ////////////////////////////2.3.2
    16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=8,REL=255,VER=2.3.2
    28 TSM:INIT
    30 TSF:WUR:MS=0
    32 RF24:INIT:PIN,CE=9,CS=10
    36 RF24:SBY
    36 RF24:WBR:REG=0,VAL=14
    45 RF24:WBR:REG=3,VAL=3
    47 RF24:WBR:REG=4,VAL=95
    49 RF24:WBR:REG=5,VAL=76
    53 RF24:WBR:REG=6,VAL=33
    55 RF24:WBR:REG=29,VAL=4
    57 RF24:RBR:REG=29,VAL=0
    61 RF24:WBR:REG=16,VAL=115
    63 RF24:WBR:REG=29,VAL=4
    65 RF24:RBR:REG=6,VAL=0
    69 !RF24:INIT:SANCHK FAIL
    71 !TSM:INIT:TSP FAIL
    73 TSM:FAIL:CNT=1
    75 TSM:FAIL:DIS
    77 TSF:TDI:TSL
    77 RF24:SLP
    79 RF24:WBR:REG=0,VAL=12


  • Mod

    @Bmlsx could you post the entire sketches (for both 1.4.1 and 2.3.2)?



  • hi,

    I use the examples

    from 1.4.1 the humidity sensor and from 2.3.2 the mock sensor



  • @Bmlsx You're better off taking 2.x.x humidity sensors example. Alternatively, you should check if all the configuration options you're currently using are valid and used.



  • hi again

    had some progress

    i found one sensebender micro board i had from the early days

    and with the factory installed scketch I connected the NRF and it was working !!!

    when i deployed an example from 2.3.2 again the same error

    it must be something that changed over the years and now it is not compatible with my old RF24 HW



  • @Bmlsx Check the configuration defines and/or just post the sketch.



  • problem solved by throwing away 5 yo+ NRF24 and buying new ones

    why 1.4.1 was working with those old NRFs remains a mystery


  • Mod

    @Bmlsx mystery indeed. Thanks for reporting back.


Log in to reply
 

Suggested Topics

  • 2
  • 3
  • 5
  • 14
  • 5
  • 12
  • 1
  • 6

168
Online

9.5k
Users

10.1k
Topics

105.0k
Posts