BriComp
Well-known member
As far as using the libraries, as long as you don't use any of the features that are specific to the E22 or E220, your code will work with all the libraries without change.
I have my version of Kris's E32 library in a folder EBYTE_E32 with the .h and .cpp files renamed as EBYTE_E32.h and EBYTE_E32.cpp. I just changed the file names. All the file contents are same except that the EBYTE.cpp file (now EBYTE_E32.cpp) has #include <EBYTE.h> changed to #include <EBYTE_E32.h>.
I have only done this so that it is easy to see which Ebyte file is which.
With this change:-
If you wish to use an E32 then in your program use #include <EBYTE_E32.h>.
If you wish to use an E220 then simply change your program to use #include <EBYTE_E220.h>.
and recompile your program.
If you use any of the enhanced features which are specific to the E22 or E220 then swapping between modules will require program changes.
Such changes as reading the RSSI level or using some of the higher UART data rates only available on the E22 and E220.
As far as selecting the module, personally I myself would opt for the E220.
When selecting your Ebyte module, don't forget to purchase the relevant Aerial for the module. 868/900 MHz aerials are different to 434MHz aerials.
I have my version of Kris's E32 library in a folder EBYTE_E32 with the .h and .cpp files renamed as EBYTE_E32.h and EBYTE_E32.cpp. I just changed the file names. All the file contents are same except that the EBYTE.cpp file (now EBYTE_E32.cpp) has #include <EBYTE.h> changed to #include <EBYTE_E32.h>.
I have only done this so that it is easy to see which Ebyte file is which.
With this change:-
If you wish to use an E32 then in your program use #include <EBYTE_E32.h>.
If you wish to use an E220 then simply change your program to use #include <EBYTE_E220.h>.
and recompile your program.
If you use any of the enhanced features which are specific to the E22 or E220 then swapping between modules will require program changes.
Such changes as reading the RSSI level or using some of the higher UART data rates only available on the E22 and E220.
As far as selecting the module, personally I myself would opt for the E220.
When selecting your Ebyte module, don't forget to purchase the relevant Aerial for the module. 868/900 MHz aerials are different to 434MHz aerials.
Last edited: