Request for new definition to support Ebyte E22 modules[Board]: #4984
Replies: 6 comments 1 reply
-
Ok so ebyte got back to me, they don't know meshtastic and can't offer any support, I have managed to find the bits in the code I was looking for regarding power limits and regions and max tx power and pa ramp time etc, and I've spent about 40 hours now trying different things with no luck, Me being into hardware and not doing much code I really wanted the team here to have another look into this issue and maybe write a profile specifically for the E23 modules, I say modules plural as we now have the E22-900M33S which has different setup requirements than the E22-900M30S ( 33 only needs 9db drive) ( this need to be at radio_begin otherwise we are potentially going to damage modules during channel changes as I've noted this also updates output power as part of the ch settings) I have noted EBYTE_E22 in the code but I don't know just how much work has been done to fully support it let alone the issue I mentioned with the latest module so that would need it's own definition I don't feel moving this from and issue as I reported it to a discussion helps, there has been endless discussion and there is obviously an issue here Anyway I'm hoping we can resolve this issue and get on with using these modules to their full potential |
Beta Was this translation helpful? Give feedback.
-
Use this variant https://github.com/meshtastic/firmware/blob/master/variants/EBYTE_ESP32-S3/variant.h, all details are in the comments, choose the RF switching mode you prefer, simply connect the module to your chosen ESP32S3 pin in your variant file, and feed the 30S/33S module a stable 5 V. You can adapt the board.json and pins_arduino.h file for the standard ESP32. I recommend outputting maximum 8 dBm from the SX1262 for the E22-900M33S, this should get you 33 dBm output, the datasheet has this information. The 33S will need more current, make sure your 5 V power supply can handle it. Use common GND. The datasheet says anything above 9 dBm will damage the board. On the E22-900M30S, you can safely output 22 dBm from the SX1262 to get 30 dBm module output, check the correlation for the E22-900M30S only. |
Beta Was this translation helpful? Give feedback.
-
Hi, sadly I've had to pack down my workbench ATM as forced to move out where i live under extreme duress going through a bad time at the moment but I'm glad to see some progress and believe me I'm itching to get back to my happy place messing with electronics but could be a while, maybe get nestpebble to try it out, i know hes also got the modules and keen to get the 33s working I'm still trying to keep up to date on the feed but unable to do anything practical right now |
Beta Was this translation helpful? Give feedback.
-
Hi @NancyDeville , just happened upon your last message and just wanted to send happy thoughts your way :) The community is here for you. |
Beta Was this translation helpful? Give feedback.
-
Thanks you so much i really appreciate that !!, desperatly trying not to go into it in accordance with the rules of the group and it not being a meshtastic thing but i love the community here at meshtastic and appreciate your kind thoughts at this difficult time, I really hope to be back up and running again soon and continuing development once i get a new workspace setup, im gutted as i had so much in development and had parts i was waiting for arrive last week and right now should be getting on with that quietly with the tv on in the background but i had to quickly throw it all into carrier bags and its a total mess atm and im desperatly trying to not damage too much in the process, the way its looking i will end up moving from the UK to Tenerife as i have family connections there and i see a brighter future by doing that its just so much to do right now on my own and with health issues in the mix, I will try to keep up with the feed on the issues i was involved in but i just cant do anything atm other than offer ideas and/or advice |
Beta Was this translation helpful? Give feedback.
-
Just getting into this and using the 33S as well as an ESP32 S3 with the larger 16MB flash and 8MB PSRAM. My plan was to use your variant, but I believe I need to specify a different board.json given the flash and PSRAM differences. I'd also planned to limit the radio to 8dbi in the variant.h file and then use the app to restrict it farther to remain in compliance with local regulations. Is it easier to just specify another ESP32S3 board (Pico for instance) which supports PSRAM? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Discussed in #3948
Originally posted by NancyDeville May 21, 2024
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 TX_EN/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
Beta Was this translation helpful? Give feedback.
All reactions