-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32 / RA8875 connection problem #1
Comments
Hello, Did you install the library in your Arduino IDE ? I ask this question because i did not have to copy lv_xg.h in the same folder as the .ino and it is perhaps a point indicating that something is goes wrong. On the other point, the pins involved are XG_PIN_LCD_RESET, XG_PIN_LCD_CS, XG_PIN_MOSI, XG_PIN_MISO, XG_PIN_SCK (which are default pin for SPI in ESP32-ARDUINO). |
It's easy to fix.
Edit lv_conf.h and modify
LV_COLOR_16_SWAP to 1
like this
#define LV_COLOR_16_SWAP 1
Le mer. 19 févr. 2020 à 06:19, momosh13 <[email protected]> a écrit :
… Thank you for reply.
So, After lot off test's i make it "work",
The library works only on DOIT ESP32 DEVKIT VI board and
this is the wiring pins
#define XG_PIN_BL (2)
#define XG_PIN_LCD_RESET (4)
#define XG_PIN_TP_CS (15)
#define XG_PIN_LCD_CS 5
#define XG_PIN_MOSI 23
#define XG_PIN_MISO 19
#define XG_PIN_SCK 18
And now i have this problem, the colors are wrong, please see the attached
pictures
[image: IMG_1964]
<https://user-images.githubusercontent.com/5689051/74804155-3ec5a880-5294-11ea-922e-fbc804647130.jpg>
[image: IMG_1963]
<https://user-images.githubusercontent.com/5689051/74804156-408f6c00-5294-11ea-989f-6b2675a0abde.jpg>
Please help me to fix this.
Thank you
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AC5IXGC2R7TTO5R6E3MG4K3RDS6OXA5CNFSM4KHA4ZIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMGMXNA#issuecomment-588041140>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC5IXGHC7SU77ZGC6EH37CDRDS6OXANCNFSM4KHA4ZIA>
.
--
Patrick Pollet
*Ce message et toutes les pièces jointes sont confidentiels et exclusifs
pour le destinataire du message. N'importe quelle autre distribution,
utilisation ou reproduction est non autorisée et interdite. Si vous
receviez ce message par erreur, informez svp l'expéditeur immédiatement et
supprimez le message de votre système. *
*This message and any attachments are confidential, for the exclusive use
of the addressee and may be legally privileged. Any other distribution, use
or reproduction is unauthorised and prohibited. If you received this
message in error, please notify the sender immediately and delete the
message from your system. *
|
There's no code for Teensy 4.0 in the source but it's not difficult to add it. |
hi, all. I cabled like @momosh13 descriped. Bu the screen stays dark. Any ideas? |
|
It's easy to fix. Edit lv_conf.h and modify LV_COLOR_16_SWAP to 1 like this
#define LV_COLOR_16_SWAP 1
Le jeu. 9 juil. 2020 à 17:20, pacmenDE <[email protected]> a écrit :
… Thank you for reply.
So, After lot off test's i make it "work",
The library works only on DOIT ESP32 DEVKIT VI board and
this is the wiring pins
#define XG_PIN_BL (2)
#define XG_PIN_LCD_RESET (4)
#define XG_PIN_TP_CS (15)
#define XG_PIN_LCD_CS 5
#define XG_PIN_MOSI 23
#define XG_PIN_MISO 19
#define XG_PIN_SCK 18
And now i have this problem, the colors are wrong, please see the attached
pictures
[image: IMG_1964]
<https://user-images.githubusercontent.com/5689051/74804155-3ec5a880-5294-11ea-922e-fbc804647130.jpg>
[image: IMG_1963]
<https://user-images.githubusercontent.com/5689051/74804156-408f6c00-5294-11ea-989f-6b2675a0abde.jpg>
Please help me to fix this.
Thank you
Hi @momosh13 <https://github.com/momosh13> , can you tell me how have
connected the display with power supply?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC5IXGFNZFRL2IJTTYDALW3R2XN4TANCNFSM4KHA4ZIA>
.
--
Patrick Pollet
*Ce message et toutes les pièces jointes sont confidentiels et exclusifs
pour le destinataire du message. N'importe quelle autre distribution,
utilisation ou reproduction est non autorisée et interdite. Si vous
receviez ce message par erreur, informez svp l'expéditeur immédiatement et
supprimez le message de votre système. *
*This message and any attachments are confidential, for the exclusive use
of the addressee and may be legally privileged. Any other distribution, use
or reproduction is unauthorised and prohibited. If you received this
message in error, please notify the sender immediately and delete the
message from your system. *
|
Hi Patrick, thank you for your reply. |
As i remember it needs almost 1 A to works.
… Le 9 juil. 2020 à 19:01, pacmenDE ***@***.***> a écrit :
Hi Patrick, thank you for your reply.
I think I have a power issue.
Can you say something about powering of the display?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi, you must connect all power pins to the board.
Regards Patrik
Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
…________________________________
From: TridentTD <[email protected]>
Sent: Wednesday, October 21, 2020 2:33:53 PM
To: patrickpollet1966/XGLCD-LVGL <[email protected]>
Cc: Cavallaro, Patrik, GF <[email protected]>; Comment <[email protected]>
Subject: Re: [patrickpollet1966/XGLCD-LVGL] ESP32 / RA8875 connection problem (#1)
@patrickpollet1966<https://github.com/patrickpollet1966> @momosh13<https://github.com/momosh13>
Hi, all.
I have some problems to display Buydisplay's TFT 5inch RA8875 capacitive touch + ESP32.
I wire and config as the following.
[image]<https://user-images.githubusercontent.com/15370479/96719629-d5260d00-13d3-11eb-9dea-439543db4151.png>
#define XG_PIN_DC 16
#define XG_PIN_SD_CS 26
#define XG_PIN_TP_CS 33
#define XG_PIN_TP_IRQ 27
#define XG_PIN_MOSI 23 //MOSI
#define XG_PIN_MISO 19 //MISO
#define XG_PIN_SCK 18 //SCK
#define XG_PIN_LCD_CS 5
#define XG_PIN_BL 4
#define XG_PIN_LCD_RESET 2
How to solve for displaying the TFT 5inch?
Thank you very much.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKWSAARP5L2J3ABCFVGDCO3SL3ILDANCNFSM4KHA4ZIA>.
Diese E-Mail ist ausschließlich für den angeführten Adressaten bestimmt. Sie kann Informationen enthalten, welche vertraulich sind und durch die Verschwiegenheit geschützt werden. Diese E-Mail darf nur von den genannten Adressaten gelesen, ausgedruckt, aufbewahrt, kopiert und verbreitet werden. Sollten Sie diese Mitteilung irrtümlich erhalten haben, bitten wir Sie, uns umgehend zu benachrichtigen, sämtliche Ausdrucke zu vernichten und diese E-Mail zu löschen.
|
Hello,
I am afraid it's not possible to supply the screen with the 3V3 from the
ESP32 board (the internal regulator will not provide enough current).
Furthermore I am wondering if the screen does not need 5V in fact.
Please check in the screen datasheet.
Le mer. 21 oct. 2020 à 14:33, TridentTD <[email protected]> a écrit :
… @patrickpollet1966 <https://github.com/patrickpollet1966> @momosh13
<https://github.com/momosh13>
Hi, all.
I have some problems to display Buydisplay's TFT 5inch RA8875 capacitive
touch + ESP32.
I wire and config as the following.
[image: image]
<https://user-images.githubusercontent.com/15370479/96719629-d5260d00-13d3-11eb-9dea-439543db4151.png>
#define XG_PIN_DC 16
#define XG_PIN_SD_CS 26
#define XG_PIN_TP_CS 33
#define XG_PIN_TP_IRQ 27
#define XG_PIN_MOSI 23 //MOSI
#define XG_PIN_MISO 19 //MISO
#define XG_PIN_SCK 18 //SCK
#define XG_PIN_LCD_CS 5
#define XG_PIN_BL 4
#define XG_PIN_LCD_RESET 2
How to solve for displaying the TFT 5inch?
Thank you very much.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC5IXGF7XKAIUIZ7KOHM4ELSL3ILDANCNFSM4KHA4ZIA>
.
--
Patrick Pollet
*Ce message et toutes les pièces jointes sont confidentiels et exclusifs
pour le destinataire du message. N'importe quelle autre distribution,
utilisation ou reproduction est non autorisée et interdite. Si vous
receviez ce message par erreur, informez svp l'expéditeur immédiatement et
supprimez le message de votre système. *
*This message and any attachments are confidential, for the exclusive use
of the addressee and may be legally privileged. Any other distribution, use
or reproduction is unauthorised and prohibited. If you received this
message in error, please notify the sender immediately and delete the
message from your system. *
|
I just checked my own board (it's a 7" display but it's the same).
J8 is open an i provide the supply (5V) from an external power supply as
USB may be too weak for the 7", perhaps it may works for the 5".
Le mer. 21 oct. 2020 à 16:44, TridentTD <[email protected]> a écrit :
… @pacmenDE <https://github.com/pacmenDE>
Thank you , I will connect all power pins to the board.
@patrickpollet1966 <https://github.com/patrickpollet1966>
Thank you for the reply.
I have looked at In the screen datasheet as your advice
[image: image]
<https://user-images.githubusercontent.com/15370479/96735269-95682100-13e5-11eb-907f-b7033869add0.png>
My TFT 5inch 's J8 status now is short (3.3V).
If I remove lead solder at the J8 to open for 5V like
[image: image]
<https://user-images.githubusercontent.com/15370479/96735657-fd1e6c00-13e5-11eb-9bcc-1a2f44741fc6.png>
Can I use power supply like the following wire?
[image: image]
<https://user-images.githubusercontent.com/15370479/96735816-250dcf80-13e6-11eb-8f08-7da2193aacf1.png>
(Sorry for my poor English)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC5IXGEEXO7EFUFF4B63MLDSL3XUJANCNFSM4KHA4ZIA>
.
--
Patrick Pollet
*Ce message et toutes les pièces jointes sont confidentiels et exclusifs
pour le destinataire du message. N'importe quelle autre distribution,
utilisation ou reproduction est non autorisée et interdite. Si vous
receviez ce message par erreur, informez svp l'expéditeur immédiatement et
supprimez le message de votre système. *
*This message and any attachments are confidential, for the exclusive use
of the addressee and may be legally privileged. Any other distribution, use
or reproduction is unauthorised and prohibited. If you received this
message in error, please notify the sender immediately and delete the
message from your system. *
|
Hello all. |
Hi
Fist this is unbelievable, Thank you for this library.
Please, i need help to make this work.
2 problems.
WEMOS LOLIN32 and Adafruit ESP32 Feather, i'm having hard time to connect RA8875 with any of this boards, lv_test_label_1 compiles fine, uploads fine, but noting is happening. I thing this the pins are
#define XG_PIN_DC 16
#define XG_PIN_LCD_RESET 17 //34
#define XG_PIN_SD_CS 4
#define XG_PIN_TP_CS 33
#define XG_PIN_TP_IRQ 27
#define XG_PIN_LCD_CS 5
#define XG_PIN_MOSI 23
#define XG_PIN_MISO 19
#define XG_PIN_SCK 18
but when i'm checking the pins with oscilloscope, noting comes out of my ESP32 boards, so i don't know what to do.
Please help me.
Thank you in advance.
The text was updated successfully, but these errors were encountered: