[Board]: T-Lora Pager
SOC
ESP32-S3
Lora IC
Semtech SX1262
Product Link
https://lilygo.cc/products/t-lora-pager
Description
-
[ ] display ST7796 supported/implemented into meshtastic but with no MUI capabilities, lovyanGFX supports it
-
[ ] IO expander XL9555 (0x20) supported with https://github.com/lewisxhe/SensorLib
-
[ ] audio codec ES8311 (0x18)
-
[ ] battery gauge BQ27220 (0x55)
-
[ ] IMU BHI260AP (0x28) supported with https://github.com/lewisxhe/SensorLib
-
[ ] RTC PCF85063A (0x51) supported with https://github.com/lewisxhe/SensorLib
-
[ ] power manager BQ25896 (0x6B)
-
[ ] GPS M10Q
-
[ ] NFC
-
[ ] rotary encoder
-
[ ] keyboard TCA8418 (0x34) supported/implemented into meshtastic but with a different key map and no shift capability
-
[x] haptic DRV2605 (0x5A) supported/implemented into meshtastic with https://github.com/lewisxhe/SensorLib
Looks similar to the components used in https://github.com/meshtastic/firmware/pull/6936 . I mean for those that have been newly implemented.
I just got one in the mail and was planning on trying to add support for this as my second attempt at committing to yall. Is there a 101 guide on adding new device support?
Basic functions are working. -Display -LoRa -Keyboard -GPS -Rotary encoder (settings in the configuration interface CLI, WEB, APP) Charging, discharging also BQ27220 as in T-deck pro. Battery 1300mAh see picture for online time and charge percentage (BT Off, ClientMute)
(T-beam + ST7796 shield version completed at the same time. The shield has been in the drawer for too long. :D )
@Szetya https://github.com/meshtastic/firmware/pull/6575 here is my pull request for the display shield
@Szetya #6575 here is my pull request for the display shield
Yes, yes. However, with the new Base UI, it no longer fits on ESP32. :( I had to say goodbye to wifi and a few other things. ( -D MESHTASTIC_EXCLUDE_AUDIO -D MESHTASTIC_EXCLUDE_EXTERNALNOTIFICATION -D MESHTASTIC_EXCLUDE_PAXCOUNTER -D MESHTASTIC_EXCLUDE_POWERSTRESS -D MESHTASTIC_EXCLUDE_WIFI ) I just randomly selected the ones I never used. :D
@Szetya #6575 here is my pull request for the display shield
Yes, yes. However, with the new Base UI, it no longer fits on ESP32. :( I had to say goodbye to wifi and a few other things.
huh, it fits on my t-beam, which display driver are you using?
@Szetya #6575 here is my pull request for the display shield
Yes, yes. However, with the new Base UI, it no longer fits on ESP32. :( I had to say goodbye to wifi and a few other things.
huh, it fits on my t-beam, which display driver are you using?
Lovyan 1.2.0 For some reason the full one didn't work for me.
I don't miss WiFi. I have never used it. In fact, I am looking more and more towards the nRF52840. Reasonably low power consumption, nothing more. Minimal style. However, "unfortunately" Lilygo is making increasingly beautiful devices with plastic injection moulded housings that I can't resist. (and the T-display S3 pro LR1121 is on its way) :D
@Szetya #6575 here is my pull request for the display shield
Yes, yes. However, with the new Base UI, it no longer fits on ESP32. :( I had to say goodbye to wifi and a few other things.
huh, it fits on my t-beam, which display driver are you using?
Lovyan 1.2.0 For some reason the full one didn't work for me.
im using a modified version of the ST7789 driver
@Szetya #6575 here is my pull request for the display shield
Yes, yes. However, with the new Base UI, it no longer fits on ESP32. :( I had to say goodbye to wifi and a few other things.
huh, it fits on my t-beam, which display driver are you using?
Lovyan 1.2.0 For some reason the full one didn't work for me.
im using a modified version of the ST7789 driver
Soon I think it will be time to switch to smaller drivers.
I have never been able to program at a professional level. I'm still happy when I manage to do a few things myself. ESP32 S3 1.47>>
I got one too, but I'm not sure where to start. @Szetya do you have a PR or fork I can checkout?
@Szetya do you have the T-Lora Pager branch somewhere? I'd love to try it out, please. Thanks :)
I only have local files. I don't use github, I don't know how git works, I don't know how to use it, and I don't want to learn. Also, there is an ongoing ST7796 PR by @Nasimovy that uses a different directory than the one I use. Need to get ST7796 support done first. And it would be timely because And it's about time, because the T-Display S3 pro LR1121 also has such a display.
@Szetya , im using the modified library that adapts the ST7798to work with a esp32, the s3 should work with lovyangfx, also support meshtastic mui?
Im still waiting on a tlora pager to do that.
@Szetya , im using the modified library that adapts the ST7798to work with a esp32, the s3 should work with lovyangfx, also support meshtastic mui?
Im still waiting on a tlora pager to do that.
I do not plan to use MUI. I have not tried it with ST7796. Yes, everything would be much easier with these new devices if meshtastic would support this display. TLora pager is a bit interesting because of the XL9555 gpio expander.
@Szetya would you mind uploading the zip of your T-Lora Pager build and I'll see what I can do about getting it into a PR. I'm happy to do the git side of things. I also have one of these units and would love to test it out. Thank you!
I'm Also invested in getting meshtastic running on this thing. Haven't had much luck yet but im new to this aspect of the hobby.
Thanks for all your work here. I'd also happily invest some time in getting this to work and already own a device, but would need some pointers where to get started. Imho the Pager is hardware-wise the most interesting new device for meshtastic due to the form factor. It would be nice to get all MUI features running with the rotary wheel, though I'm not sure whether this is feasible.
anyone have a guide to setting up meshtastic on the t lora pager? im a bit of a noob to these, meshcore worked out of box but there are no nodes in my area, but plenty of meshtastic so id like to jump ship. sadly im not much of a coder, i specialize more in wiring than in coding.
@mverch67 Manuel is already working on it. Just be patient! :) https://github.com/meshtastic/firmware/pull/7613
I succeeded to flash my T-pager with firmware as supplied after the PR being merged, and while playing around in VScode I also noticed a target "tlora-pager-tft" in the sources, is anyone working on this, it currently doesn't compile ('me' error or issues with the branch?
Compiling .pio/build/tlora-pager-tft/lib0e1/meshtastic-device-ui/source/graphics/LVGL/LVGLGraphics.cpp.o
Compiling .pio/build/tlora-pager-tft/lib0e1/meshtastic-device-ui/source/graphics/OLED/OLEDViewController.cpp.o
.pio/libdeps/tlora-pager-tft/meshtastic-device-ui/source/graphics/DeviceGUI.cpp:29:10: fatal error: ui.h: No such file or directory
@willumpie82 i have a Pager too, and the only firmware i found in mestastic site is the nightly build. https://nightly.link/meshtastic/firmware/workflows/main_matrix/master
but i have no idea how to flash it. can you guide ?
I succeeded to flash my T-pager with firmware as supplied after the PR being merged, and while playing around in VScode I also noticed a target "tlora-pager-tft" in the sources, is anyone working on this, it currently doesn't compile ('me' error or issues with the branch?
Compiling .pio/build/tlora-pager-tft/lib0e1/meshtastic-device-ui/source/graphics/LVGL/LVGLGraphics.cpp.o Compiling .pio/build/tlora-pager-tft/lib0e1/meshtastic-device-ui/source/graphics/OLED/OLEDViewController.cpp.o .pio/libdeps/tlora-pager-tft/meshtastic-device-ui/source/graphics/DeviceGUI.cpp:29:10: fatal error: ui.h: No such file or directory
@willumpie82 i have a Pager too, and the only firmware i found in mestastic site is the nightly build. https://nightly.link/meshtastic/firmware/workflows/main_matrix/master
but i have no idea how to flash it. can you guide ?
I succeeded to flash my T-pager with firmware as supplied after the PR being merged, and while playing around in VScode I also noticed a target "tlora-pager-tft" in the sources, is anyone working on this, it currently doesn't compile ('me' error or issues with the branch?
Compiling .pio/build/tlora-pager-tft/lib0e1/meshtastic-device-ui/source/graphics/LVGL/LVGLGraphics.cpp.o Compiling .pio/build/tlora-pager-tft/lib0e1/meshtastic-device-ui/source/graphics/OLED/OLEDViewController.cpp.o .pio/libdeps/tlora-pager-tft/meshtastic-device-ui/source/graphics/DeviceGUI.cpp:29:10: fatal error: ui.h: No such file or directory
unfortunately not plug and play yet firmware has its quirks, I guess some bright devs are working on this :D
Instead of cloning the repo and building it from source, you can download the ESP32-S3 package (it contains al the pre-compiled ESP32-S3 targets) Releases
I had to make some modifications to the script Add tlora-pager to the S3_VARIANTS targets
S3_VARIANTS=(
"t-deck"
"mesh-tab"
"t-energy-s3"
"dreamcatcher"
"ESP32-S3-Pico"
"m5stack-cores3"
"station-g2"
"t-eth-elite"
"tlora-pager"
"t-watch-s3"
"elecrow-adv-35-tft"
"elecrow-adv-24-28-tft"
"elecrow-adv1-43-50-70-tft"
)
also some how I had to change esptool to esptool.py, but that might be a local macos environment issue
Than just run:
./device-install.sh -f firmware-tlora-pager-2.7.7.5ae4ff9.bin
building from source
- clone repo
- init submodules
- open it in vscode with platformIO
- pick environment: search for "pager" (non-tft)
- upload
Good luck!
to update
I succeeded to flash my T-pager with firmware as supplied after the PR being merged, and while playing around in VScode I also noticed a target "tlora-pager-tft" in the sources, is anyone working on this, it currently doesn't compile ('me' error or issues with the branch?
Compiling .pio/build/tlora-pager-tft/lib0e1/meshtastic-device-ui/source/graphics/LVGL/LVGLGraphics.cpp.o Compiling .pio/build/tlora-pager-tft/lib0e1/meshtastic-device-ui/source/graphics/OLED/OLEDViewController.cpp.o .pio/libdeps/tlora-pager-tft/meshtastic-device-ui/source/graphics/DeviceGUI.cpp:29:10: fatal error: ui.h: No such file or directory
little update on this: I managed to get it compiling by generating a new 480x222 "config" with eezstudio, past the result in the .pio/libdeps/tlora-pager-tft/meshtastic-device-ui/generated/ui_480x222, added ui_tabview_settings.c and now it compiles and flashes. the device shows a green (meshtastic-ish) screen but goes blank after that...
I guess instead of just scaling the UI to 480x222, we have to modify the layout
I'll keep trying stuf, any help is greatly appreciated
Cool, I managed to get my Pager flashed and I'm enjoying mesh now, thanks @willumpie82, superb. Althought it's not the perfect one, but usable, the mechanical scrolling is kinda off, anyway, i will keep it as it is while waiting the official one.
I thought being smart buying the LR1121 version of the lilygo pager.. I tried the alpha 2.7.7 from the web flash site but I'm presented with a "Critical fault #3" while scrolling the menu shortly before the device reboot. Is this because of the chipset?
@enimatek-nl The LR1121 has been added in PR7956 and is available in develop branch.
@mverch67 with this ticket closed, does it means we have now official support for the T-Lora pager ? Sorry this is my first step into meshtastic (couldn't resist the aesthetic of this device) but I don't see the T-Pager as supported in the supported HW list (https://meshtastic.org/docs/hardware/devices/#lilygo)
@littlbee you find the installation in the web flasher. The support is so new that volunteering work hasn't been done yet for the docs but you're welcome to help out.