Tomasz-Mankowski / ADS7846-X11-daemon

ADS7846 linux user space daemon/driver for Orange Pi
GNU General Public License v2.0
6 stars 2 forks source link

calibpoints all zero #4

Open alorbach opened 7 years ago

alorbach commented 7 years ago

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.

Tomasz-Mankowski commented 7 years ago

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

alorbach commented 7 years ago

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?

alorbach commented 7 years ago

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.

alorbach commented 7 years ago

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?

alorbach commented 6 years ago

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?

Tomasz-Mankowski commented 6 years ago

Congrats!

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