Tomasz-Mankowski/ADS7846-X11-daemon

calibpoints all zero

Opened this issue · 6 comments

Hi,

I am trying to get this display working on my orange pi one:
https://www.aliexpress.com/item/Free-shipping-5-0-inch-Touch-Screen-TFT-LCD-Designed-for-Raspberry-Pi-B-Raspberry-Pi/32340427017.html?spm=a2g0s.9042311.0.0.RMf0FE

I cam accross your tool which sounds promising.

I compiled and tried to calibrate it. It detects click events, but the coordination points are all 0.
Doesn't matter where I touch on the display, point will always be 0:0.

Check if SPI wiring is consistent across your OPi and the display header.

I am using latest Armbian 5.3 version for Orange PI One with default boot config.
May I need to set any extra options there like in spi_board0 section?

This would be the raspberry boot config for my display:
https://github.com/goodtft/LCD-show/blob/master/boot/config-5.txt

But I don't get which PINs are used from this config layout.

Thats the back layout of my display.

image

Do I need to wire IRQ and CS together like for waveshare displays you mention in the readme?

FYI I finally tested and soldered Pin 24-26 together on the display.
20171204_134004_resized

Touch does now work proberly :)
Just one issue, when I hold a touch to trigger a right click, the cursor is moving a little and a right click is never triggered.

Is this normal?

Congrats!

Right click was never implemented. Cursor movement is probably caused by hard pressing the resistive panel and ADC data is misinterpreted.