Home › Forums › The libraries hosted on the site › EByte LoRa e220 UART devices LLCC68 › Frequency displayed/calculated? incorrectly in 01_getConfiguration example
- This topic has 7 replies, 3 voices, and was last updated 3 years ago by
Elija.
-
AuthorPosts
-
-
19 April 2022 at 10:39 #20252
Hi,
I successfully managed to connect an ESP32 with the E220-900T2D board and upload the 01_getConfiguration.ino example from the library.However, I think there is an issue with the display of the frequency:
Success 1 ---------------------------------------- HEAD : C1 0 8 AddH : DF AddL : 40 Chan : 18 -> 428MHz SpeedParityBit : 0 -> 8N1 (Default) SpeedUARTDatte : 11 -> 9600bps (default) SpeedAirDataRate : 10 -> 2.4kbps (default) OptionSubPacketSett: 0 -> 200bytes (default) OptionTranPower : 0 -> 22dBm (Default) OptionRSSIAmbientNo: 0 -> Disabled (default) TransModeWORPeriod : 11 -> 2000ms (default) TransModeEnableLBT : 0 -> Disabled (default) TransModeEnableRSSI: 0 -> Disabled (default) TransModeFixedTrans: 0 -> Transparent transmission (default) ---------------------------------------- Success 1 ---------------------------------------- HEAD: C1 8 3 Model no.: 20 Version : B Features : 16 ----------------------------------------
The output says I’m dealing with a 433MHz device, but it is a 868MHz device. The channel is correct (18) but the base frequency is not.
I configured my E220-900T22D to channel 18 with Ebyte’s configuration programm so 868,125MHz should be displayed.
See attached screenshot from the configuration tool of Ebyte.Best,
GulpmanAttachments:
You must be logged in to view attached files. -
19 April 2022 at 12:13 #20254
Hi Gulpman,
Yes, you must add the correct frequencies define like described here.Bye Renzo
-
19 April 2022 at 14:27 #20255
Got it, thank you very much Renzo 🙂
But… it seems there is still something not correctly shown:
For the 433MHz devices calculation seems to be correct: The base frequency used there is 410.25MHz. For the resulting frequency the channel is added up to the base frequency.
So for my previous case, 428MHz was displayed correctly (410 + 18).When I now set
#define FREQUENCY_868
The output is:
[...] Chan : 18 -> 880MHz [...]
From the E220-900T22D manual (page 15, register description 04H) it is said that the base frequency is 850.125MHz and adding 18 (for channel 18) should give 868,25MHz not 880MHz as displayed in the script.
Am I missing something here? Thanks a lot in advance.
Best, Gulpman
-
-
19 April 2022 at 17:01 #20256
Hi Gulpman,
no, you don’t miss anything :P, there is a bug, I’m going to fix it as soon as possible.Bye Renzo
-
19 April 2022 at 18:47 #20257
I forgot to say that it’s only a visualization issue, the Library work correctly.
Bye Renzo -
12 May 2022 at 16:16 #20800
Hi. Thanks to Renzo for the library, is very useful and complete.
I have a similar problem of frequency display with E220-900T30D module.
I tried to set
#define FREQUENCY_868
but the “getConfiguration” example shows me every time frequencies around 433 MHz (depending on choosen channel) but not frequencies around 868 MHz.
Is it possible that
#define FREQUENCY_868
must be set in another position of the sketch? I insert it when sketch starts, after the inclusion od libraries.
I use 1.0.3 library version.
Thanks!
Emuz24
P.S. Sorry for my english!
-
12 May 2022 at 18:34 #20803
Hi Elija,
you must add that definition before the inclusion of the library.If doesn’t work, add that define directly on EByte_LoRa_E220_Series_Library/includes/statesNaming.h file.
Bye Renzo
-
14 May 2022 at 23:05 #20811
It works fine!
Thanks a lot!
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.