Open vitalmuffin opened 2 weeks ago
Do you have SX1262 modules on both boards?
no on one board it's sx1262 and on the other sx1276.
12.06.2024 03:53:47 Lewis He @.***>:
Do you have SX1262 modules on both boards?
— Reply to this email directly, view it on GitHub[https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series/issues/173#issuecomment-2161940469], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ALWXXU24JOTCMPFFIWIRVSTZG6S23AVCNFSM6AAAAABJFEWNMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRHE2DANBWHE]. You are receiving this because you authored the thread. [Verfolgungsbild][https://github.com/notifications/beacon/ALWXXU23MGGWYF3BSHSVCULZG6S23A5CNFSM6AAAAABJFEWNMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUA3SL7K.gif]
Try adjusting CR and SF in Receive_Interrupt and Transmit_Interrupt to 7.
This worked! Thx alot. Can you explain why this works? And maybe you can also tell me which settings work best for long range communication (1-5 km)? I use the original antenna which came with the device. Packet size will be max 256 bytes.
SX1262 uses TCXO crystal oscillator SX1276 uses ordinary crystal oscillator, some parameters are not common As for the communication distance, it is adjusted according to the actual situation. I can't give you a definite parameter. The larger the data packet, the longer the transmission time. You should actually test it.
I could need some help with LoRa communication between an T-Beam SoftRF SX1626 and a T-Beam Mashtastic. I tried to use the transmitter and receiver code from: https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series/tree/master/examples/RadioLibExamples
but this didn't work.
then i used the base of this code (utilities.h, LoRaBoards.h, LoRaBoards.cpp) and changed the main.ino to this:
but the flag is not changed and therefore no packet is sent or received. i use arduino ide for programming. i think it maybe is just a wrong pin ? i also changed between "T_BEAM_SX1262" and "T_BEAM_SX1276" when programming but both boards give the same output which is like:
and then just stop printing anything. maybe someone has an idea how to fix this or debug it ? would be great
i think the main problem is that the dio0 or dio1 doesn't give any signal so the flag isn't changed. here is my config (boards.h):