jgromes / RadioLib

Universal wireless communication library for embedded devices
https://jgromes.github.io/RadioLib/
MIT License
1.56k stars 390 forks source link

No communication range on Ebyte E220-900m22s, LLCC68 LoRa module for 868Mhz frequency range #1296

Closed codev123 closed 6 days ago

codev123 commented 6 days ago

Thank you sir for resolving my previous issue, currently i am working with LLCC68 LoRa module at 868Mhz frequency, when i initialize it like LLCC68 radio = new Module(20, 22, 24, 23); // Initialize LLCC68 radio and in setup int state = radio.begin(868.0, 125.0, 9, 5, 0x34, 22, 8, 0, false); //LLCC68 module it results in error -2, chip not found so when i initialise my same llcc68 868Mhz module like SX1262 radio = new Module(20, 22, 24, 23); // Initialize SX1262 radio and in setup int state = radio.begin(868.0, 125.0, 9, 5, 0x34, 22, 8, 0, false); //LLCC68 module it works correctly, it transmits and receive data without any issue. but somehow it results in very less communication range, even it full power of 22dbm, it gives on 30-50 meters communication range.

so i bought some LLCC68 module of 433Mhz, and tested my code, it works with this initialization LLCC68 radio = new Module(20, 22, 24, 23); // Initialize LLCC68 radio and in setup int state = radio.begin(433.0, 125.0, 9, 5, 0x34, 22, 8, 0, false); //LLCC68 module and gives commmunication range of 2km at 22dbm power.

what could be issue with LLCC68 868Mhz LoRa module code or initialization and how to resolve it. thank you sir

issue resolved. thankyou sir

jgromes commented 6 days ago

but i had to initialize my llcc68 868Mhz module as

You should probably enable debug mode and check whether the module you think is LLCC68 actually is LLCC68. RadioLib checks this by reading the version register. If it's reporting -2 for the LLCC68 constructor, it's probably not an LLCC68.