jethome-ru / zigbee-firmware

128 stars 27 forks source link

cc2538 low signal #1

Closed 1igeza closed 3 years ago

1igeza commented 3 years ago

I've got: https://www.aliexpress.com/item/4000848221784.html?spm=a2g0s.9042311.0.0.438e4c4dOodsHr I tried it with external antenna and with internal after switching resistor, but in both cases I have low signal. Any idea how can it be fixed? I'm using it as a router. The coordinator is cc1352 without amplifier and Lqi from 4m distance without any objects between is 6 (cc2538 with external antenna). I have another router cc2530 with external antenna next to cc2538 and it has better lqi: 22 with the same distance from coordinator. Bez tytułu IMG_20200918_162237

0x3EC commented 3 years ago

Hi, 1igeza!

It is not a good idea to place the power wires and interface close to the RF area. Fix it.

Have you tried changing the antenna to cc2538?

1igeza commented 3 years ago

Thank you for reply, I'm testing cc2538 with internal antenna. I can compare it to cc1352(tx power about 4,5 dBm) without amplifier. Distance between cc2538(router) and cc1352(coordinator) is about 50cm. Antenna in both devices is pointing in this same direction. So if the RX Sensitivity in both devices is about -103 dBm, that's mean the signal should be at similar level using internal antenna? 3 1

I have one more question, The firmware I'm using is jh_2538_router_20200522.hex, in zigbee2mqtt I don't see LQI and I'm getting "Failed to execute routing table for 'Router cc2538'", I sniff the traffic and probably this firmware doesn't support it, Is that correct or I am doing something wrong?

ZigBee Device Profile, Routing Table Response, Status: Not Supported
    Sequence Number: 65
    Status: Not Supported (132)
    Table Size: 0
    Index: 0
    Table Count: 0
0x3EC commented 3 years ago

Yes, the values should be similar.

_I have one more question, The firmware I'm using is jh_2538_router20200522.hex, in zigbee2mqtt I don't see LQI and I'm getting "Failed to execute routing table for 'Router cc2538'", I sniff the traffic and probably this firmware doesn't support it, Is that correct or I am doing something wrong? This is due to the fact that z2m does not support this device. We will try to solve it.

A good question about the routing table. I'll figure out what's the matter.

Thanks!

1igeza commented 3 years ago

Today I updated coordinator to CC1352P_2_20201026.hex, upgraded zigbee2mgtt and pair again Router cc2538. I don't know what helped but now routing table works as it should. 1

hacker-cb commented 3 years ago

CC1352P_2_20201026.hex is not our firmware. Our firmwares are here. All have prefix JH_2538_2592_

1igeza commented 3 years ago

I know, I'm using your firmware (jh_2538_router_20200522.hex) in router cc2538 and with routing table from cc2538 I had a problem. Now it's working perfectly.