CircuitPython Ebyte E32 Library
CircuitPython driver for Ebyte’s E32 UART LoRa modules that use the SX1278/SX1276 chipsets.
Legal Preamble
I’m not responsible for what you do with your module, act responsibly.
You should also really check the Legal Aside section.
Features
Supports all standard E32 UART modules.
Extra support on a per-frequency and per-power basis:
More descriptive constants for TX power.
Maximum packet size calculators. (TODO)
Entirely optional via separate modules.
Minified versions for devices with tiny storage space:
~75% smaller for .py files
~5% smaller for .mpy files (Due to shortened local variables, mostly)
Limitations
No built-in packet size limit:
Wildly different between frequencies & operating parameters.
Not documented clearly enough in LoRA and LoRaWAN documentation.
No built-in protocol:
All LoRa packets are glued back-to-back when received.
No LoraWAN support
Missing support for some modules:
Modules with
170,400and900prefix. (Will improve overtime)
Dependencies
Recommended Links
License
This project is licensed under the MIT license.
Table of Contents
Technical Details
Examples
API Reference
- ebyte_e32
AirDataRateCHANNEL_MAXCHANNEL_MINE32DeviceE32Device.addressE32Device.channelE32Device.data_rateE32Device.deinit()E32Device.flush_uart()E32Device.forward_error_correctionE32Device.get_config()E32Device.get_raw_config()E32Device.get_raw_version()E32Device.get_version()E32Device.in_bufferE32Device.io_drive_modeE32Device.modeE32Device.prepare_uart()E32Device.read()E32Device.reset()E32Device.send()E32Device.tx_modeE32Device.tx_powerE32Device.uart_parityE32Device.uart_rateE32Device.update_config()E32Device.wait_aux()E32Device.wake_up_time
E32DeviceConfigE32DeviceVersionForwardErrorCorrectionIODriveModeModesSerialBaudRateSerialParityTX_POWER_MAXTX_POWER_MINTransmissionModeWakeUpTime- ebyte_e32.exceptions
E32GenericError- ebyte_e32.f443
CHANNEL_COUNTFREQUENCY_MAXIMUMFREQUENCY_MINIMUMFREQUENCY_STEP- ebyte_e32.f868
CHANNEL_COUNTFREQUENCY_MAXIMUMFREQUENCY_MINIMUMFREQUENCY_STEP- ebyte_e32.f915
CHANNEL_COUNTFREQUENCY_MAXIMUMFREQUENCY_MINIMUMFREQUENCY_STEP- ebyte_e32.t20
TransmitPower- ebyte_e32.t30
TransmitPower- ebyte_e32.t33
TransmitPower- ebyte_e32.t37
TransmitPower