firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Feature Request]: Request: Support for LILYGO T-Echo Lite in Meshtastic Firmware

Open robbo987 opened this issue 6 months ago • 23 comments

Platform

NRF52

Description

Hey Meshtastic team,

I’d love to see both the T-Echo Lite fully supported in the Meshtastic firmware. These compact LoRa devices seem like a perfect fit for Meshtastic’s off-grid communication goals, and adding support would give the community more awesome hardware options!

Relevant Links

Product Page: https://lilygo.cc/products/t-echo-lite

GitHub: https://github.com/Xinyuan-LilyGO/T-Echo-Lite

Thanks for checking this out! You all are doing amazing work,

Cheers!

robbo987 avatar Jun 04 '25 13:06 robbo987

Something has started.

Image

Szetya avatar Jun 04 '25 20:06 Szetya

My 4 T-Echo Lite are bored and would also appreciate a Meshtastic firmware :) Is there any code or work in progress to look at at least? :) I tried pasting the normal T-echo .UF2 file and it didn't like it.

adrianTNT avatar Jun 06 '25 19:06 adrianTNT

My 4 T-Echo Lite are bored and would also appreciate a Meshtastic firmware :) Is there any code or work in progress to look at at least? :) I tried pasting the normal T-echo .UF2 file and it didn't like it.

Try it. The GPS may not work. There is no HW_Vendor so it will show up as a normal t-echo.

firmware.zip

Szetya avatar Jun 06 '25 20:06 Szetya

Nice. I installed it now. Thank you!

Do you know if the solar port and battery charging should work? I am not sure if that is related to the firmware or it is more hardware related and works permanently.

What would it take for this firmware/device to be fully supported on Meshtastic website? I don't understand if this is like a fork of official code or is something that needs to be checked and approved in the official Meshtastic repo? (I am not very familiar with GitHub functions).

Maybe IF the 2 T-Echo are very similar, it would be easier to keep firmware as one ("T-Echo / T-Echo Lite")?

adrianTNT avatar Jun 07 '25 08:06 adrianTNT

Nice. I installed it now. Thank you!

Do you know if the solar port and battery charging should work? I am not sure if that is related to the firmware or it is more hardware related and works permanently.

Yes, it should work because the charging is hardware. Under the USB connector the I2C also works, I tried it with an M5 cardkb.

What would it take for this firmware/device to be fully supported on Meshtastic website? I don't understand if this is like a fork of official code or is something that needs to be checked and approved in the official Meshtastic repo? (I am not very familiar with GitHub functions).

I would need to create a PR to get it supported. But I'm not an experienced github user either.

Maybe IF the 2 T-Echo are very similar, it would be easier to keep firmware as one ("T-Echo / T-Echo Lite")?

The two devices are not very similar. Neither the PIN connection, nor the display, not even the display orientation.

Szetya avatar Jun 07 '25 09:06 Szetya

I would need to create a PR to get it supported. But I'm not an experienced github user either.

Yes, maybe that would help to get things started and have others work on the code too.

The two devices are not very similar. Neither the PIN connection, nor the display, not even the display orientation.

Got it.

I have the GPS module too, for me GPS is not a must at this point, but let me know if it would help to test anything.

adrianTNT avatar Jun 07 '25 11:06 adrianTNT

I cannot guarantee that the GPS will work. Maybe yes, maybe no. :D

firmware_gps.zip

Szetya avatar Jun 07 '25 12:06 Szetya

Maybe yes, maybe no. :D

"Fifty fifty" :)

I tested it now but I don't see any GPS data. If it doesn't work that's OK, but It seems the exact same firmware as the "no gps" one, maybe you posted same file by mistake? Both .uf2 files are 1,294,336 bytes

adrianTNT avatar Jun 09 '25 01:06 adrianTNT

@Szetya @adrianTNT

Great!! Thanks for sharing this.


I tested it now but I don't see any GPS data.

It will obviously only work if you have installed the GPS module L76K, or compatible. https://github.com/Xinyuan-LilyGO/T-Echo-Lite/issues/2

Did you install this?


Image

eabase avatar Jun 10 '25 13:06 eabase

@Szetya

Do you mind sharing the source code for your firmware? (Also as Adrian said, plase check, as the 2 FW links seem to be the same.)

eabase avatar Jun 10 '25 13:06 eabase

@Szetya

Do you mind sharing the source code for your firmware? (Also as Adrian said, plase check, as the 2 FW links seem to be the same.)

Hello! Please be a little patient. My GPS module will arrive soon, so I don't want to practice blindly. The two FWs are different, compare them to Total Commander. Image For the code I had to modify an external directory so the situation is a bit more complicated, I should start a PR there first but I'm not a good coder and I have no experience with github.

Szetya avatar Jun 10 '25 14:06 Szetya

Did you install this? [GPS IMAGE]

Was the question for me? Yes, I tested with that GPS module installed.

But I am unsure if I should edit any settings under GPS pins in the Meshtastic app. Do I type 1.13 and 1.15 in the 2 boxes of the Meshtastic app? It only accepts integer.

Compared to other devices: the normal T-Echo, that one has 0,0,0 in the 3 boxes. A Seeedstudio T1000-E has 0,0,43 in the 3 boxes

This table is from the T-Echo Lite docs

GPS pin nRF52840 pin
UART_RX IO 1.13
UART_TX IO 1.15
1PPS IO 0.29
WAKE_UP IO 1.10
POWER_RT9080_EN IO 1.11

Image

adrianTNT avatar Jun 11 '25 02:06 adrianTNT

Although still blind, I made 2 attempts.

GPS_test_firmware.zip

Szetya avatar Jun 11 '25 13:06 Szetya

@Szetya Can I make a small donation? Because this code helps us. Maybe you can tell me your PayPal ID, or reach me to my gmail, same as username.

adrianTNT avatar Jun 11 '25 17:06 adrianTNT

@adrianTNT Thank you but I don't want to accept any support from anyone.That's not why I'm doing this. Have you seen this? :)

Image

Szetya avatar Jun 11 '25 17:06 Szetya

Thank you but I don't want to accept any support from anyone. That's not why I'm doing this.

I was expecting an answer like that, maybe to avoid future pressure to make mods and so :) Eider way, I respect that and apreciate the work.

I hope I can get into coding these too soon. If the source/code is not somethnig sensitive, I would be curious how it looks, to see how hard it would be for me to also get started.

Have you seen this? :)

I haven't, is it a 3D print case or some new Lilygo product? The normal T-Echo is already kind of small, the T-Beam supreme is nice and vertical like that, I will need a case for that one :) And the "lite" version has no ... light? (on display) :/

Just got the SeeedStudo T-1000E, this thing is savage, I though it is just some light attempt to simulate a Meshtastic device, but this is a great node. I got 2KM range inside the city between large buildings

Image

I have another small project started, with the same T-Echo Lite, I call it ... [drum roll] ... Mentostastic :)) This Mentos box is so nice, small, it clicks in place, rounded corners, flexible plastic, fits great in pocket, the open slot is good for USB, I will try to put a tiny solar panel on it, and use it with default internal antenna.

Image

Image

adrianTNT avatar Jun 11 '25 18:06 adrianTNT

My module arrived today. GPS works. So everything is fine.

Image

T-Echo-lite_GPS_OK.zip

Szetya avatar Jun 16 '25 15:06 Szetya

Thank you. I will test it soon.

I also tested the previous ones that contained 2 files (firmware_gps_RxRxSwapped.uf2 and firmware_gps_RxRxUnswapped) but it didn't work, I didn't mention it because I was thinking I am doing something wrong at my end and waited for others testers 😬

@Szetya does this node have any special solar functions? e.g can it show in the chart when solar is charging battery and when not? Or show voltage chart more accurately while charging (solar or not)? I seen most devices just show 100% while charging, would be nice to see progress.

adrianTNT avatar Jun 17 '25 01:06 adrianTNT

@Szetya

T-Echo-lite_GPS_OK.zip

Can you please provide the full source code for this? I would like to add/change a few minor things. (Only looking at the UF2 binary HEX values are not very helpful.)

@adrianTNT

does this node have any special solar functions?

This would be clear if we had the source code...

eabase avatar Jun 17 '25 13:06 eabase

@Szetya

T-Echo-lite_GPS_OK.zip

Can you please provide the full source code for this? I would like to add/change a few minor things. (Only looking at the UF2 binary HEX values are not very helpful.)

Will you do the PR? Need two, need to add the display to the meshtastic/GxEPD2 library . I don't know how to use github and I don't intend to understand it. 😉

Szetya avatar Jun 17 '25 14:06 Szetya

@Szetya

T-Echo-lite_GPS_OK.zip

Can you please provide the full source code for this? I would like to add/change a few minor things. (Only looking at the UF2 binary HEX values are not very helpful.)

Will you do the PR? Need two, need to add the display to the meshtastic/GxEPD2 library . I don't know how to use github and I don't intend to understand it. 😉

t-echo-lite.zip

Szetya avatar Jun 17 '25 15:06 Szetya

Need two, need to add the display to the meshtastic/GxEPD2 library...

I don't see the Meshtastic code in there... :(

eabase avatar Jun 18 '25 00:06 eabase

Need two, need to add the display to the meshtastic/GxEPD2 library...

I don't see the Meshtastic code in there... :(

The code for meshtastic is here on github https://github.com/meshtastic/firmware

Szetya avatar Jun 18 '25 02:06 Szetya

@Szetya

The code for meshtastic is here

Yes, of course, I understand that it sounds like a stupid question, but I pretty sure the firmware needed to be modified separately for each device. The structure here is very confusing when you're not already used to developing in this framework.

For example: https://github.com/meshtastic/firmware/tree/master/variants/t-echo https://github.com/meshtastic/firmware/blob/master/boards/t-echo.json

And the following doesn't really help explaining how the parts/libraries are connected. https://meshtastic.org/docs/development/firmware/build/

So, for example. If I want to change the font size or text shown in the (T-echo Lite) Meshtastic FW, where (and how) is that done?

I would have expected it to be somewhere here: https://github.com/meshtastic/firmware/tree/master/src/graphics

eabase avatar Jun 19 '25 10:06 eabase

2.7.1 version available.

firmware_2_7_1.zip

Szetya avatar Jun 22 '25 14:06 Szetya

@Szetya

2.7.1 version available.

Do you have a changelog?

Also add here: https://github.com/Xinyuan-LilyGO/T-Echo-Lite

eabase avatar Jun 23 '25 18:06 eabase

@Szetya

2.7.1 version available.

Do you have a changelog?

https://github.com/meshtastic/firmware/releases

Szetya avatar Jun 23 '25 18:06 Szetya

@Szetya ... So, for example. If I want to change the font size or text shown in the (T-echo Lite) Meshtastic FW, where (and how) is that done?

I would have expected it to be somewhere here: https://github.com/meshtastic/firmware/tree/master/src/graphics

I found some code on Meshtastic website mentioning fonts and customizations, (e.g Use a glyph editor to create a new font file [...] I thought it might be relevant to what you asked here.

For me it's also confusing which parts are edited in Meshtastic source code and which by other code (like the code / firmware created by @Szetya here). But didn't look enough into it.

adrianTNT avatar Jun 24 '25 19:06 adrianTNT

Works well! Thanks for building these :-)

I noticed the 2.7.1 build doesn't seem to have GPS working. Any idea why?

jstockdale avatar Jun 27 '25 17:06 jstockdale

Works well! Thanks for building these :-)

I noticed the 2.7.1 build doesn't seem to have GPS working. Any idea why?

Hi! In principle, all you need to do is enable it in the Android app. I also noticed that it is disabled by default.

Szetya avatar Jun 27 '25 17:06 Szetya