@ripple_biz
Thank you for that link to the Adafruit ESP32 uploader.
LilyGO has problems with forking the TFT_eSPI, LVGL and other libraries, so it is nice to be able to upload a .bin of a compiled 'good' program.
-Terry

Posts made by teastain2
-
RE: T-Deck pager firmware
-
RE: T_Display S3 no wifi WPA conecct
@thejaxco Ideally a (famous) 18650 type battery.
But any rechargeable battery between 3.3V to 5V volts. -
RE: Lilygo t-can485 spi connection
@tiak See here!
https://github.com/Xinyuan-LilyGO/T-CAN485
The empty header next to the Power In socket has GPIO and so could be setup in your sketch as Standard Speed bit-banged SPI.
You should pour over the pages of the Espressif documents for your ESP32 and see it any of them are High-Speed, etc
-Terry -
RE: Trouble flashing LoRa32 V2.1_1.6 (Paxcountrer) with new code
@crisant Right away I don't recommend the blank Arduino IDE "New Sketch" without something for it to do, such as a delay(100);.
People have found that they cannot connect afterwards because of the short scan time not allowing any other activity!
I made this sketch to test that the board is working by printing to the serial port://words preceded by "//"" are comments and are not executed bool ticktock; //declare ticktock as a boolean flag void setup() { //runs once on start up Serial.begin (115200); //open the serial port for USB cable } void loop() { //runs in circles! ticktock = !ticktock; //every pass through reverse the flag if (ticktock) { //test current value of the ticktock flag Serial.println("tick"); } else { //prints one or the other to the USB port Serial.println("tock"); } delay (1000); //wait for a second and run again! }
I went to their GitHub repository for uploading instructions and they are different than a normal ESP32
https://github.com/LilyGO/ESP32-Paxcounter#uploading
so try following their ESP32 with LORA instructionsAlso when you pull down the board type menu in Arduino IDE where you select your board type, there is also the available ports.
Check to see that the USBmodem is stable.
Sometimes when I get the Failed Uploading error I have to reboot my computer. This has been a "bug" I have faced for years.
-Terry -
RE: Display removal, T-Display-S3
@brekel Folks have cracked the LilyGO T-Display S3 display inserting into a plastic breadboard...ouch!
-
RE: Display removal, T-Display-S3
@brekel I don't have a touch screen LilyGO T-Display S3.
Even the the LCD cable would be a stretch to extend 10mm, and again that 10mm would require a lateral displacement offset of the LCD relative to the PCB, like a Z.
-Terry -
RE: Display removal, T-Display-S3
@brekel
Yes.
The screen is held down with spongy two sided tape and the ribbon cable plugs into a connector on the board.
You might soften the the tape with rubbing alcohol.
They are very fragile. -
RE: T-Display-S3 and JST Pin 43
@patofoto Well, it took months and months but finally some guys over on the GitHub for ESP-Arduino finally found it!
https://github.com/espressif/arduino-esp32/issues/8324#issuecomment-1725784617
The helper util file in the onewire lib had an outdated notion that there could not possibly be pins greater that 33.
I edited mine and now it works!
Wow, what a ride!
-Terry -
RE: T-Beam Range
@_flyflo_
"The Guy with the Swiss Accent" is an expert in Arduino and RF.
Check out his posts for more info!
https://www.youtube.com/@AndreasSpiess -
RE: Help needed building a distance measuring device using an T-Display S3 amoled and ultrasonic sensors
@teastain2 OK, so I made this as a starter for you, but I cannot do the entire project!
Give me your email address and I will send you the program.
-Terry -
RE: Help needed building a distance measuring device using an T-Display S3 amoled and ultrasonic sensors
@djvandeflow Well, that is a big project!
These components are intended for hobbyists to develop their experiences with programming and build cool "experiments".
Most of these support sites are for-hobbyists, by-hobbyists and we're generally not interested in paid work but willing to give free advice, YES!
I can whip up a fast program to test my ultrasonic sensor outputting to a LilyGO T-Display S3 AMOLED and send you the sketch, if you want, but that's about all I can do from here!
-Terry -
RE: Help needed building a distance measuring device using an T-Display S3 amoled and ultrasonic sensors
@djvandeflow That is a very popular sensor, it should be easy to program.
Which T-Display do you have? "LilyGO T-Display S3" or "LilyGO T-Display S3 AMOLED"?
What is your project trying to do?
Are you experienced programming Arduino IDE ? -
RE: Help needed building a distance measuring device using an T-Display S3 amoled and ultrasonic sensors
@djvandeflow Exactly what ultrasonic sensors board are you using?
Note: the T-Display S3 amoled and T-Display S3 are different boards!
-Terry -
RE: Sharing power between two T-Display-S3 devices
@pbatch You can use an external 5V source and bring it in through the USB port.
Alternately connect it to the battery charging port (if there is no battery connected to it.)
-Terry -
RE: Arduino compile problems
@mikemcg I don't have a T-RGB to use, but I'll try to help.
But, most LilyGO boards' hardest to compile sketch is the factory.ino!
I can compile the GFX.ino for the T-RGB with no problems.
You might try a simple generic Serial.print test program to debug your rig.//words preceded by "//"" are comments and are not executed bool ticktock; //declare ticktock as a boolean flag void setup() { //runs once on start up Serial.begin (115200); //open the serial port for USB cable } void loop() { //runs in circles! ticktock = !ticktock; //every pass through reverse the flag if (ticktock) { //test current value of the ticktock flag Serial.println("tick"); } else { //prints one or the other to the USB port Serial.println("tock"); } delay (1000); //wait for a second and run again! }
I am using:
-(MacOS, M1)
-Arduino IDE 2.2.1 , but 1.8.19 is fine but you must update all libraries
-ESP 2.0.11 (Board definition)
-I used Github to down load (clone) the complete set of files.
You really should copy all of the files (from the downloaded repository) folder marked Lib into your 'libraries' folder, overwriting and replacing the originals, but don't do a Arduino library update after that! LilyGO boards are very fussy about using THEIR versions of some standard libraries, not good form, tho'.
-All my libraries are current, except the aforementioned LilyGO supplied set.-and the comm setup is:
"ESP32S3 Dev Module"
Upload Speed: "921600"
USB Mode: "Hardware CDC and JAG"
USB CDC On Boot: "Enabled"
USB Firmware MSC On Boot: "Disabled"
USB DFU On Boot: "Disabled"
Upload Mode: "UARTO / Hardware CDC"
CPU Frequency: "240MHz (WiFi)"
Flash Mode: "QIO 80MHz"
Flash Size: "16MB (128Mb)"
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)"
Core Debug Level: "F' PSRAM: "OPI PSRAM"
Arduino Runs On: "Core 1"
Events Run On: "Core 1"Hope that helps -Terry
-
RE: T-Beam SUPREME - Charging battery when off
@luffe LilyGO products...generally yes, they charge all the time while plugged in to USB.
You should conduct a simple test with your actual unit, as the documentation is very sparse.
(I could not find a schematic for your board)
-Terry -
RE: T-Display-S3 AMOLED Cases
@tbutcher
I believe that the LilyGO T-Display S3 case was designed by a user and PRed to the LilyGO LilyGO T-Display S3 GitHub repository !The LilyGO T-Display S3 is vastly more popular and a year older, and cheaper!
So check the LilyGO T-Display S3 AMOLED GitHub:
https://github.com/Xinyuan-LilyGO/T-Display-S3-AMOLED/issues
periodically.
Consider raising your own Issue! -
RE: T-Display-S3 AMOLED Cases
@tbutcher The dimension are ever so slightly different and the switches are very different actuators.
The AMOLED is shorter. Width is the same, but the thickness is slightly different due to the 3D Antenna.
-Terry -
RE: T-RGB Example Compile Errors
@cchobbyfun
Well, Arduino IDE 2.0 is much nicer to use with very little learning curve!
ESP 2.0.11 board defs are most likely mandatory but older ones may still work.
I would update all libraries and, then, I would copy the contents of the Lib directly to your libraries and overwrite all, as 'replace'. In that order.
["I typically download the zip from Git Hub and launch from the extracted files. Is that good enough? If I have that local file structure do I need any of the libraries installed? "] should be OK. -
RE: T-RGB Example Compile Errors
@cchobbyfun Similar to a fuse blowing in a car and causing 15 OBDII 'Check Engine' messages, this stream of errors points to a terrible problem with Libraries called 'deprecation' where a once useful library stops working.
I would do a complete Arduino IDE Library update.
I am using the "Arduino_GFX_Library.h" straight from the LilyGO supplied GitHub repository.
LilyGO can be annoying by modifying standard libraries to work with their custom designs...without re-naming the LilyGO_Arduino_GFX_Library.h (e.g.)
So for my successful test I cloned the LilyGO repository for the T-RGB and ran the example from inside the examples folder.
-Terry