meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
2.99k stars 715 forks source link

Ebyte E22 modules[Board]: #3947

Closed NancyDeville closed 1 month ago

NancyDeville commented 1 month ago

SOC

ESP32

Lora IC

Ebyte E22-900M30S / Ebyte E22-900M33S

Product Link

Aliexpress

Description

I've been trying to achieve full transmit power with these Ebyte modules for around a year and so far none of my builds have performed to give full power output, they all top out at 22db representing the standard SX126x, I have tried everything at this point in terms of wiring options of TXEN/DIO2 also tried all sorts of regulators and capacitors in power supply, people on discord have sent variant.h files trying different things and nothing has worked, I'm building firmware DIY hydra, V1 /V1.1, After hours of online research I think the issue is with the settings in radio lib that in particular the register codes, txco settings, regulator mode, PA CONFIG and PA_Ramptime, Reading other projects online we also need to change max power settings in TX_PARMS from 22 to 30 for the E22-900M30S, note that also the E22-900M33S has different requirements and only needs 9db drive, and seems to have some different things in setup, I think again registers are different, Myself I'm more into hardware and I'm not really knowledgeable when it comes to writing code so I'm hoping someone can have a look at this and fill in the blanks, from what I can see it looks like we need a setup specifically for the ebyte modules that include PA and LNA, treating them totally as a standard SX1262x is not running them to their full potential as legal limits and power restrictions are written into the meshtastic radiolib