Does anyone have any ideas to connect a Raspberry Pi to a 3.2" touchscreen display module from sainsmart? (or for any size touchscreen display for that matter)
Does anyone have any ideas to connect a Raspberry Pi to a 3.2" touchscreen display module from sainsmart? (or for any size touchscreen display for that matter)
Asuming you are talking about a four wire resistive touch panel, a good and quick way to deal with a touchscreen without too much hassle is to use a touchscreen controller like the TSC2004 form TI http://www.ti.com/product/tsc2004
Given that you don't have ADC or extra GPIOs on the Rpi using an external controller with I2C is a good approach.
-J
You're talking about one of these, right?
This module already has a touchscreen controller onboard, so no need for any additional controllers.
Rodney, you're in luck. There has been a great deal of discussion and great work done on connecting these $16 displays. I will return and add more links, but the best site is:
https://github.com/notro/fbtft/wiki
These displays require more signals than the Raspberry Pi has available on the GPIO header, so you need to build a simple SPI interface. Notro describes how to build a discrete one, or you can use one of my Guzunty programmable IO devices:
https://github.com/Guzunty/Pi/wiki
I also made a daughter board which makes a nice neat 40 way ribbon cable connection. Here it is in action: