Replies: 14 comments 4 replies
-
Thanks for this, I was struggling getting my first app running on my cyd. This made it very easy for me to get it going. |
Beta Was this translation helpful? Give feedback.
-
@thebrando glad to help. pay it forward when you can. |
Beta Was this translation helpful? Give feedback.
-
July 2024 I am having complie issue with this can someone confirm its still good. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the Template, i got it to work. TEMPLATE FOR USING CHEAP YELLOW DISPLAY WITH SQUARELINE STUDIO AND PLATFORMIO ARDUINO FRAMEWORK Extract: Copy lv_conf.h and replace User_Setup.h: Test the Template: CYD2USB Variant: tft.setRotation(1); // Landscape orientation 1 = CYC usb on right, 2 for ver Create and Upload your own SLS Project: |
Beta Was this translation helpful? Give feedback.
-
Thanks. I'm traveling now but will review it when I return.
…On Mon, Jul 15, 2024, 01:01 amirzohaib ***@***.***> wrote:
Thanks for the Template, i got it to work.
I rewrote the Readme (That text file should be at the Parent directory
with large "README FIRST!!" written.
I made it a bit more beginner friendly
TEMPLATE FOR USING CHEAP YELLOW DISPLAY WITH SQUARELINE STUDIO AND
PLATFORMIO ARDUINO FRAMEWORK
Extract:
Extract the zip to a folder where you wish to keep your new project.
(You may want to keep a folder just for the template and duplicate that
for each new project).
In Visual Studio Code with Platformio, open the template folder with 'Open
Project'.
When you first open the folder containing this template, platformio will
ask to build the project,
click yes and it will download the necessary libraries and dependencies.
you might need to install a GIT downloader if download fails
Copy lv_conf.h and replace User_Setup.h:
These files have been modified to work with CYD,
These files are in the directory "NECESARY TEMPLATE FILES"
copy lv_conf.h to .pio\libdeps\cyd\lv_conf.h
copy and replace User_Setup.h to .pio\libdeps\cyd\TFT_eSPI
(these paths are noted in the comment at the top of each file)
Test the Template:
This template includes a simple project from Squareline Studio ("SLS")
The project has a blue button. When it is pressed, the ball will drop and
bounce off the button.
It is already in the src/ui directory. You can build and upload this
project to your CYD as a test if you like.
Click Platform IO - Project Tasks - cyd - General - Upload to build and
upload the san
Check that all of the fonts you used in the SLS project are turned on.
These start at line 366 of lv_conf.h
"1" indicates that you need the font, "0" indicates that you do not need
the font.
For this example you will need #define LV_FONT_MONTSERRAT_16 1 in your
lv_conf
CYD2USB Variant:
For Much better colors on the CYD2USB Variant, add all this to the void
setup() in main.cpp
tft.setRotation(1); // Landscape orientation 1 = CYC usb on right, 2 for
ver
tft.invertDisplay(1); // if your colors are inverted
tft.writecommand(ILI9341_GAMMASET); //Gamma curve selected
tft.writedata(2);
delay(120);
tft.writecommand(ILI9341_GAMMASET); //Gamma curve selected
tft.writedata(1);
Create and Upload your own SLS Project:
Make sure your project has the following Settings
Width:320
Height: 240
Depth: 16-bit
Board Group: Arduino
Board: Arduino with TFT_eSPI (Note the LVGL Version, make sure its the
same as in platfomio.ini lib-dep)
Set UI Files Export Path: the path to your projects's src/ui folder.
for example: C:\Users\owner\Documents\PlatformIO\Projects\CYD
Project\src\ui
Set LVGL Include Path to lvgl.h
From the Template folder, go to \src\ui and delete everything
You will be exporting your SLS ui into that directory and replacing the
ball example.
You should now be able to build your project and further edit the main.cpp
code to add necessary real-world
interfaces, etc.
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQI5JX3YAH3HFNWFBL4OKDZMNQS7AVCNFSM6AAAAABBB26SU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBUG4ZDMMQ>
.
You are receiving this because you authored the thread.Message ID:
<witnessmenow/ESP32-Cheap-Yellow-Display/repo-discussions/102/comments/10047262
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Thanks man, extremely helpfull. |
Beta Was this translation helpful? Give feedback.
-
Does this work for the Capacitive USBC variant? |
Beta Was this translation helpful? Give feedback.
-
I don't know what " Does this work for the Capacitive USBC variant" is.
There was only one version of the CYD when I wrote this.
…On Sun, Aug 25, 2024 at 1:16 PM gpena208777 ***@***.***> wrote:
Does this work for the Capacitive USBC variant?
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQI5JW7JEV7HKBSBT7ZLB3ZTINPJAVCNFSM6AAAAABBB26SU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBUGQZTCMA>
.
You are receiving this because you authored the thread.Message ID:
<witnessmenow/ESP32-Cheap-Yellow-Display/repo-discussions/102/comments/10444310
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
NOTE THAT THE ZIP HAS BEEN UPDATED TO INCLUDE A FULL README FIRST.md FILE. See the updated link to the zip in the first message of this string. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much!! |
Beta Was this translation helpful? Give feedback.
-
Hi, demo compiles but won't upload: A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip argument? board is ESP32-8048S043 |
Beta Was this translation helpful? Give feedback.
-
Are you using the "Cheap Yellow Display"? That is not an S3...
…On Wed, Dec 18, 2024 at 4:26 PM smileymiley ***@***.***> wrote:
Hi, demo compiles but won't upload:
A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip
argument?
*** [upload] Error 2
board is ESP32-8048S043
Any suggestions?
Thanks
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQI5JXI65WO25GUJWEZ66D2GHSAFAVCNFSM6AAAAABBB26SU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRRGA2TENA>
.
You are receiving this because you authored the thread.Message ID:
<witnessmenow/ESP32-Cheap-Yellow-Display/repo-discussions/102/comments/11610524
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
It's yellow and cheap!
Sunton ESP32-8048S043
https://www.makerfabs.com/sunton-esp32-s3-4-3-inch-ips-with-touch.html
Thanks
m
…On Wed, 18 Dec 2024 at 22:36, peteDDD ***@***.***> wrote:
Are you using the "Cheap Yellow Display"? That is not an S3...
On Wed, Dec 18, 2024 at 4:26 PM smileymiley ***@***.***>
wrote:
> Hi, demo compiles but won't upload:
>
> A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip
> argument?
> *** [upload] Error 2
>
> board is ESP32-8048S043
> Any suggestions?
> Thanks
>
> —
> Reply to this email directly, view it on GitHub
> <
#102 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ANQI5JXI65WO25GUJWEZ66D2GHSAFAVCNFSM6AAAAABBB26SU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRRGA2TENA>
> .
> You are receiving this because you authored the thread.Message ID:
>
<witnessmenow/ESP32-Cheap-Yellow-Display/repo-discussions/102/comments/11610524
> @github.com>
>
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF6ULU2E7B5G5JHZU3JLFYL2GH2GHAVCNFSM6AAAAABBB26SU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRRGEYDCMY>
.
You are receiving this because you commented.Message ID:
<witnessmenow/ESP32-Cheap-Yellow-Display/repo-discussions/102/comments/11611013
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
So our most bananas but some sell for $6.2M. The CYD board that I was
using is the ESP32-2432S032 which uses a ESP32-WROOM processor.
I like the board you found. Costs about twice as much but much more
capability that the original CYD.
If the problem is in the upload, not the compile, that is curious.
I am sorry that I can't test it myself since I don't have one... but put
one in my basket for the future.
Looking at the downloads listed on the sales page (links below), they show
the uploading using the Espressif "Flash Download Tool".
Here is a link that should help you a lot:
https://forum.squareline.io/t/squareline-gui-sunton-esp32-8048s043-4-3-800x480-capacitive-touch-display/2130/4
There is a full platformio project there that the fellow created after he
sorted this out.
Please let me know how you make out and what you learn.
download link ESP32-8048S043:
http://pan.jczn1688.com/directlink/1/ESP32%20module/4.3inch_ESP32-8048S043.zip
<http://pan.jczn1688.com/directlink/1/ESP32%20module/4.3inch_ESP32-8048S043.zip?spm=a2g0o.detail.1000023.1.5e05wfeowfeooY&file=4.3inch_ESP32-8048S043.zip>
download link ESP32-4827S043:
http://pan.jczn1688.com/directlink/1/ESP32%20module/4.3inch_ESP32-4827S043.zip
<http://pan.jczn1688.com/directlink/1/ESP32%20module/4.3inch_ESP32-4827S043.zip?spm=a2g0o.detail.1000023.2.5e05wfeowfeooY&file=4.3inch_ESP32-4827S043.zip>
On Thu, Dec 19, 2024 at 9:38 AM smileymiley ***@***.***>
wrote:
… It's yellow and cheap!
Sunton ESP32-8048S043
https://www.makerfabs.com/sunton-esp32-s3-4-3-inch-ips-with-touch.html
Thanks
m
On Wed, 18 Dec 2024 at 22:36, peteDDD ***@***.***> wrote:
> Are you using the "Cheap Yellow Display"? That is not an S3...
>
> On Wed, Dec 18, 2024 at 4:26 PM smileymiley ***@***.***>
> wrote:
>
> > Hi, demo compiles but won't upload:
> >
> > A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip
> > argument?
> > *** [upload] Error 2
> >
> > board is ESP32-8048S043
> > Any suggestions?
> > Thanks
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#102 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/ANQI5JXI65WO25GUJWEZ66D2GHSAFAVCNFSM6AAAAABBB26SU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRRGA2TENA>
>
> > .
> > You are receiving this because you authored the thread.Message ID:
> >
>
<witnessmenow/ESP32-Cheap-Yellow-Display/repo-discussions/102/comments/11610524
>
> > @github.com>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#102 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AF6ULU2E7B5G5JHZU3JLFYL2GH2GHAVCNFSM6AAAAABBB26SU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRRGEYDCMY>
> .
> You are receiving this because you commented.Message ID:
>
<witnessmenow/ESP32-Cheap-Yellow-Display/repo-discussions/102/comments/11611013
> @github.com>
>
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQI5JVIX4VZ36ARL62IDLL2GLK5TAVCNFSM6AAAAABBB26SU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRRHAZDMNQ>
.
You are receiving this because you authored the thread.Message ID:
<witnessmenow/ESP32-Cheap-Yellow-Display/repo-discussions/102/comments/11618266
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
I have worked out some of the finer points of developing projects for the CYD using Squareline Studio for UI development with Visual Studio Code/Platformio. I am happy to share my this template which includes an interactive UI demo that also use the RGB LED. One can then simply remove the files from the UI folder and export new files from Squareline Studio. There are also notes and some .h files you can copy to build your own template (if for some reason you would want to). The Squareline Studio project file is also included.
Feel free to add this to the git hub for ESP32-Cheap-Yellow-Display
This is NOT intended to be a tutorial on Squareline Studio. For that I can suggest the following:
1: the tutorial series by Squareline Studio starting here basics 1
followed by
2: this tutorial which shows how to tie the UI to real world interfaces (like what I did with the RGB LED) https://www.youtube.com/watch?v=PTKjjDPNIdM
Here is the template: UPDATED 23 September 2024
CYD_Squareline_Studio_VSC_Platformio_demo_Template.zip
Beta Was this translation helpful? Give feedback.
All reactions