[SOLVED] MySensors Raspberry Pi Gateway + Domotics Controller



  • I finally made up my mind to move from MySensors Ver 2.1.1 to the new 2.3.2 release. Before now, I had been using a Nano - Rf24 Gateway connected to USB of a Pi2 with Domoticz controller running. This had served me well over the years with minimal issues. I have several Nodes running 2.1 sketches scattered around my home.

    From research, I noticed it was possible to run both Gateway & Controller off the Pi without need for additional hardware. I followed the step by step release notes at and also a procedue for building-a-raspberry-pi-gateway.
    I used Cleareeprom Sketch to clear one Node (Node ID 5) and proceeded to biuld a new gateway on the Pi itself.

    My configuration values were

    ./configure --my-transport=rf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020 --my-controller-ip-address=127.0.0.1 --my-port=5003 --my-leds-err-pin=12 --my-leds-rx-pin=16 --my-leds-tx-pin=18
    

    make
    tested with sudo ./bin/mysgw
    sudo make install
    sudo systemctl enable mysgw.service
    sudo systemctl start mysgw.service

    my "tail -f /var/log/syslog" revealed the following

    /home/pi/MySensors$ tail -f /var/log/syslog
    Aug 21 11:57:54 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=2
    Aug 21 11:57:54 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:57:54 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:57:55 IoTGateway mysgw: !TSF:MSG:SEND,0-0-2-2,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:57:56 IoTGateway mysgw: TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:57:56 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:57:56 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=7
    Aug 21 11:57:56 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:57:56 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:57:56 IoTGateway mysgw: !TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:57:58 IoTGateway mysgw: TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:57:58 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:57:58 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=2
    Aug 21 11:57:58 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:57:58 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:57:59 IoTGateway mysgw: !TSF:MSG:SEND,0-0-2-2,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:57:59 IoTGateway mysgw: TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:57:59 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:57:59 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=7
    Aug 21 11:57:59 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:57:59 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:01 IoTGateway mysgw: !TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:13 IoTGateway mysgw: TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:13 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:13 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=2
    Aug 21 11:58:13 IoTGateway mysgw: TSF:PNG:SEND,TO=0
    Aug 21 11:58:13 IoTGateway mysgw: TSF:CKU:OK
    Aug 21 11:58:13 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:13 IoTGateway mysgw: !TSF:MSG:SEND,0-0-2-2,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:17 IoTGateway mysgw: TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:17 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:17 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=7
    Aug 21 11:58:17 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:58:17 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:17 IoTGateway mysgw: !TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:19 IoTGateway mysgw: TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:19 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:19 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=7
    Aug 21 11:58:19 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:58:19 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:19 IoTGateway mysgw: !TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:31 IoTGateway mysgw: TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:31 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:31 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=7
    Aug 21 11:58:31 IoTGateway mysgw: TSF:PNG:SEND,TO=0
    Aug 21 11:58:31 IoTGateway mysgw: TSF:CKU:OK
    Aug 21 11:58:31 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:31 IoTGateway mysgw: !TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:31 IoTGateway mysgw: TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:31 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:31 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=2
    Aug 21 11:58:31 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:58:31 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:32 IoTGateway mysgw: !TSF:MSG:SEND,0-0-2-2,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:33 IoTGateway mysgw: TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:33 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:33 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=7
    Aug 21 11:58:33 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:58:33 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:33 IoTGateway mysgw: !TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:33 IoTGateway mysgw: TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:33 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:33 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=2
    Aug 21 11:58:33 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:58:33 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:34 IoTGateway mysgw: !TSF:MSG:SEND,0-0-2-2,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:35 IoTGateway mysgw: TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:35 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:35 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=7
    Aug 21 11:58:35 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:58:35 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:35 IoTGateway mysgw: !TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:35 IoTGateway mysgw: TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:35 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:35 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=2
    Aug 21 11:58:35 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:58:35 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:36 IoTGateway mysgw: !TSF:MSG:SEND,0-0-2-2,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Aug 21 11:58:37 IoTGateway mysgw: TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Aug 21 11:58:37 IoTGateway mysgw: TSF:MSG:BC
    Aug 21 11:58:37 IoTGateway mysgw: TSF:MSG:FPAR REQ,ID=7
    Aug 21 11:58:37 IoTGateway mysgw: TSF:CKU:OK,FCTRL
    Aug 21 11:58:37 IoTGateway mysgw: TSF:MSG:GWL OK
    Aug 21 11:58:37 IoTGateway mysgw: !TSF:MSG:SEND,0-0-7-7,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    

    I can see 3 Nodes (Two Nodes running Ver 2.0 version sketches and one with the new Ver 2.3 sketch) trying to request for registration without luck. This tells me Transport with Rf24 is okay, but nothing else.

    What must I do? How can I get the Domoticz to accept the new requests and create the devices? I have deleted the old MySensors hardware from Domoticz but it still wont register.



  • Please someone help me...


  • Mod

    @Eme judging from the log, your gateway is receiving messages, but fails to send any (i only see nodes 2 & 7 in the log btw, not a third).
    Powering of your gateway radio could be an issue (as a radio consumes more power on send than on receive).
    Also, you had success using a serial gateway instead of running everything on rpi. Did you try that? Some users have reported issues running everything on rpi.


  • Mod

    The lines with

    !TSF:MSG:SEND,0-0-2-2,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0

    mean that the gateway is sending a response to the node, but the gateway does not receive an acknowledgement from the node.

    Are you using the very same nrf24 as you did on your nano gateway, or a different one?

    How is the nrf24 powered?

    What capacitor(s) are you using? Where are they connected?

    What antenna are you using?

    Is there any conducting material near the antenna? This can block the signal.

    Are the nodes in the same place as before or have you moved them?

    Is the gateway in the same place as before or have you moved it?

    What is the distance between the nodes and the gateway?

    Posting a few photos of your setup would help us understand the environment you are working in.



  • Hello @Eme,

    Sending only works for an unacknowledge msg. Now the question is did the gateway not send the message or did the sensor not receive the message thus not sending an ACK. Yould you ckeck on the sensor side what the debug says?



  • Thanks for your response @Yveaux , l did notice 3 nodes at the time, but perhaps it didn't show on the portion of the log l shared. Yes l had been using a USB serial gateway attached to a Pi3 for over 2 years. I have tried my best to stay away from the "Bleeding Edge" of technology by staying with a stable version that has worked for me. I've been on MySenosors Ver 2.1.1 for a very long time. Just thought to update and Bahm! I'm in trouble. Can't connect to several nodes. Luckily MQTT still works, but all my MySensors nodes are down.



  • Hello @mfalkvidd , l am a fan! I very honoured to have you look into my issue... to answer your questions...

    No it's another Rf24 but from the same batch as the one on the nano Gateway and all my nodes. I still have a spare one lying around. I'll try it see if it makes any difference.

    The Rf24 is powered directly from the Pi with a 220uf cap connected next to GPIO pins as described in the official Rasberry Pi Gateway guide. I'll post a picture of the setup.

    Everything is still on the fly with Dupont cables and Leds on a bread board until everything works well.

    Concerning proximity of nodes to Gateway and if I've moved them from their original place. Besides the Gateway now lying on my desk, all my nodes are still in their place around the hose. Node ID 2 is the Sprinkler from my kitchen downstairs (over 10 metres away between concrete walls) Node ID 7 is the Gate node outside the house (about 9 meters from my desk) and Node ID 5 which didn't show in the log (probably disconnected at the time) is right next to the PiGateway.

    See the picture of my setup



  • Thanks @eiten I thought I already shared that. I just hooked Node 5 to the laptop to get its log...

     
     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.2
    
    16 MCO:BGN:INIT REPEATER,CP=RNNRA---,FQ=16,REL=255,VER=2.3.2
    27 MCO:BGN:BFR
    28 TSM:INIT
    29 TSF:WUR:MS=0
    36 TSM:INIT:TSP OK
    38 TSM:INIT:STATID=5
    40 TSF:SID:OK,ID=5
    41 TSM:FPAR
    46 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    764 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    770 TSF:MSG:BC
    1880 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    1884 TSF:MSG:BC
    2053 !TSM:FPAR:NO REPLY
    2055 TSM:FPAR
    2059 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2810 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    2816 TSF:MSG:BC
    3924 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    3930 TSF:MSG:BC
    4066 !TSM:FPAR:NO REPLY
    4068 TSM:FPAR
    4072 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4845 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    4850 TSF:MSG:BC
    5971 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    5977 TSF:MSG:BC
    6079 !TSM:FPAR:NO REPLY
    6081 TSM:FPAR
    6085 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6887 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    6892 TSF:MSG:BC
    8008 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    8013 TSF:MSG:BC
    8092 !TSM:FPAR:FAIL
    8093 TSM:FAIL:CNT=1
    8095 TSM:FAIL:DIS
    8097 TSF:TDI:TSL
    18099 TSM:FAIL:RE-INIT
    18101 TSM:INIT
    18107 TSM:INIT:TSP OK
    18109 TSM:INIT:STATID=5
    18112 TSF:SID:OK,ID=5
    18114 TSM:FPAR
    18118 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    20059 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    20064 TSF:MSG:BC
    20125 !TSM:FPAR:NO REPLY
    20127 TSM:FPAR
    20131 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    22094 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    22099 TSF:MSG:BC
    22140 !TSM:FPAR:NO REPLY
    22142 TSM:FPAR
    22147 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    24135 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    24140 TSF:MSG:BC
    24155 !TSM:FPAR:NO REPLY
    24157 TSM:FPAR
    24161 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    26169 !TSM:FPAR:FAIL
    26170 TSM:FAIL:CNT=2
    26172 TSM:FAIL:DIS
    26174 TSF:TDI:TSL
    36177 TSM:FAIL:RE-INIT
    36179 TSM:INIT
    36186 TSM:INIT:TSP OK
    36188 TSM:INIT:STATID=5
    36191 TSF:SID:OK,ID=5
    36193 TSM:FPAR
    36197 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    38204 !TSM:FPAR:NO REPLY
    38206 TSM:FPAR
    38210 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    38228 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    38234 TSF:MSG:BC
    40218 !TSM:FPAR:NO REPLY
    40220 TSM:FPAR
    40224 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    40258 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    40263 TSF:MSG:BC
    42232 !TSM:FPAR:NO REPLY
    42234 TSM:FPAR
    42238 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    42304 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    42309 TSF:MSG:BC
    44247 !TSM:FPAR:FAIL
    44249 TSM:FAIL:CNT=3
    44250 TSM:FAIL:DIS
    44252 TSF:TDI:TSL
    54255 TSM:FAIL:RE-INIT
    54257 TSM:INIT
    54263 TSM:INIT:TSP OK
    54265 TSM:INIT:STATID=5
    54268 TSF:SID:OK,ID=5
    54270 TSM:FPAR
    54275 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    56282 !TSM:FPAR:NO REPLY
    56284 TSM:FPAR
    56288 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    56393 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    56398 TSF:MSG:BC
    58296 !TSM:FPAR:NO REPLY
    58298 TSM:FPAR
    58302 ?TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    58434 TSF:MSG:READ,7-7-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    58439 TSF:MSG:BC
    59362 TSF:MSG:READ,2-2-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    59367 TSF:MSG:BC
    
    

    It still cant find the Gateway, and I see it reads Node 7 and 2 request for registration too.



  • So the sensors do not receive Messages from the gateway, but not from other sensors. Is the nrf24 on the gateway a module with PA? Then maybe test different PA settings, this helped once on a setup here.
    BTW: Your picture is not visible: access denied



  • @eiten based on the suggestions "leaning towards" powering the rf24 from you and @mfalkvidd l fed the radio a regulated 3.3 with LD33V and l also brought the capacitator near the radio... yet I still cant register the nodes.

    Pls what does "TSF:CKU:OK:FCTRL" mean?





  • @eiten Yes what does that mean in English: 😊



  • @eiten Don't know if the Pi model matters. I used a Pi Model A with wifi.



  • @Eme did'nt I write English 😀
    So, if you look at the source:

    bool transportCheckUplink(const bool force)
    {
            if (!force && (hwMillis() - _transportSM.lastUplinkCheck) < MY_TRANSPORT_CHKUPL_INTERVAL_MS) {
                    TRANSPORT_DEBUG(PSTR("TSF:CKU:OK,FCTRL\n"));    // flood control
                    return true;
            }
    

    The transport prevented an uplink check, since the last was done less then MY_TRANSPORT_CHKUPL_INTERVAL_MS milliseconds ago (defaults to 10 seconds)
    .



  • @Eme said in MySensors Raspberry Pi Gateway + Domotics Controller:

    Pi Model A with wifi

    Sure? AFAIK A had no WiFi. Or do you use a USB dongle?



  • @eiten l think it's A+ it has Wifi and l run it "headless" with my old Nano Gateway connected to the 1 USB. But I'll looking forward to getting the Pi to work as both Gateway and Controller.

    I want to use a prototype board and drop the long lines. Plus I'll also bring the cap closer to the nrf24 to see if that helps.



  • @Eme i usually solder a tantalum directly to the pins on the top side of the board 😊



  • I have good news. I used a small prototype board for everything. made sure no line was more than 6 inches long. I soldered (My soldering sucks!) the capacitator right next to the radio and Bahm! Domoticz picked up all powered devices. 😀

    Lessons learnt, keep length of your wires short, nRf24 MUST have a decent capacitator to smoothen out power. Don't rely on GPIO pins to power it, use a regulator. Though help may come from all and sundry, its all up to you to check their suggestions... Thanks all for helping me.

    I can finally retire my Nano-Serial Gateway! Wont be upgrading for a long time to come 🤧

    20200825_090003.jpg


  • Mod

    Great work @Eme! Thanks for reporting the result.



  • @mfalkvidd so how do I change the title to reflect "SOLVED"?


  • Mod

    @Eme I did it for you, but next time choose to edit the top post, and change the topic



  • @Eme Thanks for letting us know how you solved the problem - helps us all to learn. I've recently upgraded my Raspberry Pi 1b to 4 and just got it working as an ethernet gateway with standard NRF24 radio. I'm curious about a few things as I've been trying to also use a PA LNA radio but without success;

    • Any reason you have set up your gateway as serial and not ethernet?

    • What did you mean by "Don't rely on GPIO pins to power it, use a regulator". By regulator did you mean the capacitor, did you use another regulator component - I can't see from your image

    • Did you change the power setting of you configuration file MyConfig.h -lowering the power to "RF24_PA_LOW'?


Log in to reply
 

Suggested Topics

  • 5
  • 1
  • 5
  • 2
  • 1
  • 4

27
Online

11.2k
Users

11.1k
Topics

112.5k
Posts