@BearWithBeard I found my problem. It turns out my arduino had a false contact on one of the ground pins I was using to power my radio. When I noticed, I resoldered the header pin on the nano and it magically started working. It works with both the normal and the long range antenna and I do see a big difference in range. Thanks for all the help again. Guess I will have some spare radios now...
Best posts made by fifo
-
RE: [SOLVED] Troubleshooting MQTT Gateway with Amplified NRF24L01+PA+LNA Long Range Antenna
-
RE: [SOLVED] Troubleshooting MQTT Gateway with Amplified NRF24L01+PA+LNA Long Range Antenna
@skywatch after many nights of tshooting I found that my power brick was the one causing the issues. Not sure why it worked with old radio and not this one. It didn't cross my mind because it was a Samsung brand name 2000ma power brick and it was working properly, but last night it completely failed even with the old radio. I had no lights on my arduino or my ethernet module. I figured it was a good time to retest and the second I put it online with the new adapter it worked. Just wishing I would have tried that earlier...
-
[SOLVED] Troubleshooting MQTT Gateway with Amplified NRF24L01+PA+LNA Long Range Antenna
Hi folks, I am having some issues with my gateway that I can't figure out. I have had my gateway setup for some time now but having issues with some nodes that are a little further away. To resolve the issue, I decided to use a long range antenna. I opted for this antenna link text. When operating from the regular NRF antenna I have no issues but when I swap it to this one, I lose communication to all my nodes, and my error led starts flashing. It flashes twice and stops. After researching a little I came across these error codes for the flashes. Each row indicates the error number so 2 flashes means Failed to Transmit messages which seems correct since I cant get it to communicate with anything.
INDICATION_ERR_HW_INIT, //!< HW initialization error my err->INDICATION_ERR_TX, //!< Failed to transmit message. INDICATION_ERR_TRANSPORT_FAILURE, //!< Transport failure. INDICATION_ERR_INIT_TRANSPORT, //!< MySensors transport hardware (radio) init failure. INDICATION_ERR_FIND_PARENT, //!< Failed to find parent node. INDICATION_ERR_GET_NODEID, //!< Failed to receive node ID. INDICATION_ERR_CHECK_UPLINK, //!< Failed to check uplink INDICATION_ERR_SIGN, //!< Error signing. INDICATION_ERR_LENGTH, //!< Invalid message length. INDICATION_ERR_VERSION, //!< Protocol version mismatch. INDICATION_ERR_NET_FULL, //!< Network full. All node ID's are taken. INDICATION_ERR_INIT_GWTRANSPORT, //!< Gateway transport hardware init failure. INDICATION_ERR_LOCKED, //!< Node is locked. INDICATION_ERR_FW_FLASH_INIT, //!< Firmware update flash initialisation failure. INDICATION_ERR_FW_TIMEOUT, //!< Firmware update timeout. INDICATION_ERR_FW_CHECKSUM, //!< Firmware update checksum mismatch.
I have tried different power supplies as I am feeding my Arduino nano with a regular USB 5V adapter you would use to charge your phone. I have the NRF power VCC pin being fed from the 3.3V pin on the arduino nano.
- I have tried multiple and all have the same effect.
- I have tried powering the radio separately as well using an external power supply from my home lab.
- At this point, I don't think the problem is power.
- I do have a capacitor 48uF 10V so I have that covered.
- Thinking it might be interference, I also covered my entire 3d printed housing with aluminum foil leaving only the antenna exposed but this did nothing except obstruct the led lights...
The Serial Monitor Log doesn't show me much of anything that gives me any clue as to what is going on.
Here are a few lines on the tail of that log.
1575208 TSF:MSG:FPAR REQ,ID=6 1575212 TSF:CKU:OK,FCTRL 1575215 TSF:MSG:GWL OK 1577435 !TSF:MSG:SEND,0-0-6-6,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 1585840 TSF:MSG:READ,5-5-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 1585845 TSF:MSG:BC 1585847 TSF:MSG:FPAR REQ,ID=5 1585850 TSF:PNG:SEND,TO=0 1585852 TSF:CKU:OK 1585854 TSF:MSG:GWL OK 1588473 !TSF:MSG:SEND,0-0-5-5,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 1589928 TSF:MSG:READ,5-5-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 1589934 TSF:MSG:BC 1589936 TSF:MSG:FPAR REQ,ID=5 1589939 TSF:CKU:OK,FCTRL 1589941 TSF:MSG:GWL OK 1592551 !TSF:MSG:SEND,0-0-5-5,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 1592772 TSF:MSG:READ,3-3-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 1592777 TSF:MSG:BC 1592779 TSF:MSG:FPAR REQ,ID=3 1592782 TSF:CKU:OK,FCTRL 1592784 TSF:MSG:GWL OK 1595167 !TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 1595585 TSF:MSG:READ,4-4-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 1595590 TSF:MSG:BC 1595592 TSF:MSG:FPAR REQ,ID=4 1595595 TSF:CKU:OK,FCTRL 1595597 TSF:MSG:GWL OK 1597721 !TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
It seems I am getting NACK. Any clue as to what I could try?