ESP32 + ILI9488 working but not quite right #2529
Unanswered
JayNaire
asked this question in
Q&A - Touch
Replies: 3 comments 3 replies
-
Have you run a touch calibration sketch? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is SDO disconnected as noted here: |
Beta Was this translation helpful? Give feedback.
1 reply
-
Run this sketch and look at the output in a serial monitor window when corners are touched. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
linux->vscode-platformio->esp32doit-devkit-v1 espressif32
I had an ESP32 + ILI9341 working perfectly. uint16_t calData[5] = { 393, 3164, 265, 3356, 2 }
Using examples/Generic/Touch_calibrate/Touch_calibrate.ino the dots are drawn on the screen precisely at the tip of the stylus.
I substituted an ILI9488 screen for the ILI9341. ( uint16_t calData[5] = { 370, 2747, 327, 3386, 6 } )
Everything works except that the dots don't correspond to the stylus. The further to the left of the screen the stylus is, the further to the left of the stylus the dot is drawn. Max. distance is ~10mm resulting in a "dead" 10mm margin on the left of the screen. A similar thing happens vertically except the top margin is about 5mm.
Coordinates reported to Serial bear this behaviour out eg: x,y = 0,269 occurs when the stylus is 10mm from the left screen edge.
If you touch the stylus inside the dead margin random dots start appearing roughly at the right y coordinate but incorrect x.
I tried another ILI9488 screen with the same results.
Does this behaviour ring any bells please?
Beta Was this translation helpful? Give feedback.
All reactions