XPT2046 with SSD1963 (parallel) #1033
Replies: 5 comments 5 replies
-
I read the above twice but still do not understand how many or what questions are being asked! Here is a guess... If you are short of pins, you may be able to free up pins by trying the following:
If the question is about a touch library then there are several independant ones available, for example this one I am sure will work if correctly invoked. |
Beta Was this translation helpful? Give feedback.
-
Wrong link above, this is the one I meant to link to as the pins for DIN.DOUT etc are user defined. Not sure if it will work with the SD library though as the pins are bit bashed. |
Beta Was this translation helpful? Give feedback.
-
I had a really old copy of TFT_eTouch and see it has progressed to use effective filtering. I updated my copy and see it works very well with no false signals. I think that will be my "goto" touch library for the cheaper resistive touch screens. The capacitive touch controller give a much nicer user touch experience (the type used on mobile phones) should you take the project to another stage. The TFT_eTouch library is probably the best solution for you at the moment as you can pass the constructor a pointer to the SPI class, so will be straightforward to incorporate in your existing code. E.g this should work:
Post back if this works as other parallel screen users may be interested. |
Beta Was this translation helpful? Give feedback.
-
I tried several libraries until they returned a value.
While I was actually short of one pin more that I needed, I decided the go "another" way with the touch-panel. best regards, |
Beta Was this translation helpful? Give feedback.
-
I think the "calibrate" sketch of this library should work but the library assumes pin 3 for the touch CS, so if you are still using pin 5 or another pin then you need to tweak the sketch or the library setup file. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I switched to a new display for my locomotion project. ( https://www.digitalplayground.be/locomotion.html )
We started this project with an ILI9488 (3.5" - 320x480), but we needed extra display-space, so we switched to SSD1963 (5" - 480x800)
in combination with ESP32, this works perfect. However, we are getting a bit short on pins :-)
We have come a long way with this project. (It's actually our first Arduino project, and if you look a the result at out website, it's a pity that we are blocked with one issue left ...)
Almost all our extra peripheral runs on I2C (in IO21 & IO22 of ESP32 - push-buttons, joystick module (ADC) and rotary encoder)
We need the serial port to send screenshots to the PC (IO1 & IO3)
Almost all pins are occupied by the 8-bit parallel connection of the SSD1963
We have an SD-card attached that also works fine
We are currently struggling with the touch-screen. (also an XPT2046, like on the ILI9488)
However, we use alternative pins for SPI,
We still have GPIO 0 available for the CS of the touch-part of the screen,
and would like to use the same SPI pins for the rest of the touch-interface.
We already did have a look at a lot of XPT2406 libraries (Utouch, Urtouch, ThingPulse, and the library from Paul Stoffregen)
Can someone help us out with a modified Extensions/Touch.cpp or an indication of using one of the afore mentioned libs and how to make them work with our SPI defined for our SD card ?
Thanks in advance,
Kris
Beta Was this translation helpful? Give feedback.
All reactions