Distro
Posts: 7
Joined: Wed Apr 29, 2015 9:13 am

Connecting touch from an LCD assembly to RPi

Tue May 12, 2015 11:01 am

Hi everyone,

As I mentioned in the title, I need to connect the touch from an LCD assembly to the RPi 2.

As you can see in the picture of the touch connector pinout (img attached), I will use the following pins of it:
- 1 and 5: Power supply (5vDC) and GND.
- 8: Enable (3.3vDC).
- 2 and 3: CLD and SCA, to send data from the digitizer.

I have seen in the RPi-2-GPIO pinout that SCL and SDA pins are 5 and 3 respectively.

I suppose that is not as simple as wiring each pin to it corresponding one. How can I notify to my RPi that I have connected a touch screen and that it should process the data it sends properly for assimilating it as a mouse device?

Thank you everyone,
touchpinout.JPG
touchpinout.JPG (19.47 KiB) Viewed 354 times
Regards.

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: Connecting touch from an LCD assembly to RPi

Tue May 12, 2015 11:32 am

Always start by specifying the device type, name, make, model... and datasheet info.

Sample code may exist for it. The vendor may provide driver(s) and or sample coding. Other users may have already connected this particular touch LCD device and may be willing to share their code.

Your diagram is a standard interface but in and of itself does not say much about how the interface will be used with this particular device, whether there are gnu/linux drivers, nor which high-level language may have libraries to support it.

device please?
marcus
:ugeek:

Return to “Interfacing (DSI, CSI, I2C, etc.)”