Portable Pi with Touchscreen


21 posts
by tetravalence » Wed Sep 19, 2012 7:24 pm
Hello,
I'd like to share my progress on a portable Raspberry Pi system with a 3.5" display and a 4-wire resistive touchscreen. The interface is all through I2C, leaving the USB ports open. Everything runs off of a single 12V power supply, with 12V going directly to the display and 5V to the Pi through a step-down buck converter. Drivers are fully implemented as kernel modules and the input is configured and calibrated through Xorg and work on the default Raspbian.
There are still some issues to work out, and I have to get it all packaged in one secure setup, but all in all it's coming along quite well. If there is enough interest, I can post instructions.

upload.jpg
The system all tethered up and in action
upload.jpg (42.95 KiB) Viewed 11783 times


You can see pictures of the work as it went along here
http://tetravalence.imgur.com/

And a video of it in action here:
https://www.youtube.com/watch?v=uwEwHFglq8M
Posts: 16
Joined: Thu Jul 19, 2012 5:14 pm
by crookedmouth » Wed Sep 19, 2012 11:10 pm
That is awesome and very small.

It will be cool when Android gets fully ported, you can switch between both OS's and have Android work as intended.

Nice work!
User avatar
Posts: 66
Joined: Tue Sep 18, 2012 1:13 am
by malakai » Wed Sep 19, 2012 11:19 pm
Interested post info please :D
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)
User avatar
Posts: 1383
Joined: Sat Sep 15, 2012 10:35 am
by jimw83 » Fri Sep 21, 2012 2:27 am
Great work. Would love to see the instructions.
Posts: 1
Joined: Fri Sep 21, 2012 2:24 am
by tetravalence » Fri Sep 21, 2012 5:00 am
Here's the general idea until I find the time to write a detailed guide.
On the hardware side:
Soldered the TSC2007 IC onto a TSSOP-to-DIP adapter
Soldered a 4-wire-ribbon-to-SMT adapter to the DIP adapter and inserted the ribbon
Soldered wires for 3.3V, GND, SDA, SCL, and PENIRQ (can be connected to any GPIO that isn't in use) and connected to the respective GPIO pins
Mounted the touch panel on the TFT LCD

On the software side:
Installed the kernel source and configured for building modules
Compiled and installed the TSC2007 driver (luckily there's already a platform-independent one in the kernel source tree) along with the necessary platform data driver for the existing driver, which I wrote.
Calibrated using xinput_calibrator

Perhaps I should write an entry in the wiki? I'm going to be busy in the next few days, but I'll get to the guide soon enough! I still have to tweak some of the parameters to make the interface more natural, but it's functioning for now.
Attachments
tsc2007.tar.gz
Here's a tar with the kernel modules.
(20 KiB) Downloaded 286 times
Posts: 16
Joined: Thu Jul 19, 2012 5:14 pm
by Miek770 » Fri Sep 21, 2012 4:37 pm
Just wanted to express my immense interest for this project!
Posts: 2
Joined: Fri Sep 21, 2012 4:10 pm
by ChalkElec » Sat Sep 22, 2012 4:48 pm
Hi guys, we are offering 10" capacitive touchscreen for RPi. It is using the HDMI/LVDS adapter to run this baby. Check out our webshop (http://www.chalk-elec.com/?page_id=1280 ... t=priceAsc) and video http://youtu.be/Sx_vFY7ioEQ
Cheers! :idea:
Posts: 15
Joined: Sat Feb 11, 2012 11:17 am
by aaa801 » Wed Oct 03, 2012 11:05 am
ChalkElec wrote:Hi guys, we are offering 10" capacitive touchscreen for RPi. It is using the HDMI/LVDS adapter to run this baby. Check out our webshop (http://www.chalk-elec.com/?page_id=1280 ... t=priceAsc) and video http://youtu.be/Sx_vFY7ioEQ
Cheers! :idea:

Stop thread hijacking.

Are you planning to sell the completed screens?
Posts: 427
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire
by Dan30888 » Wed Oct 03, 2012 4:19 pm
Hi I have a 4 wire resistive touch membrane I would like to connect to my raspberry pi. I am planning to use my pi as a car media player through the cars built in display and would like to add the touch capability to it. As the screen is built in buying a LCD touch screen isn't an option this leaves me with only being able to add the resistive touch membrane. Is it possible to connect it to my pi? It is a USB touch membrane if that helps.
Posts: 1
Joined: Wed Oct 03, 2012 4:14 pm
by ChalkElec » Fri Nov 02, 2012 2:26 am
aaa801 wrote:
ChalkElec wrote:Hi guys, we are offering 10" capacitive touchscreen for RPi. It is using the HDMI/LVDS adapter to run this baby. Check out our webshop (http://www.chalk-elec.com/?page_id=1280 ... t=priceAsc) and video http://youtu.be/Sx_vFY7ioEQ
Cheers! :idea:

Stop thread hijacking.

Are you planning to sell the completed screens?


Hello aaa801, sorry I just meant to share our solution to all RPi fans out there. We are already selling the whole solution which you can check it out. http://www.chalk-elec.com/?page_id=1280
Thanks! :idea:
Posts: 15
Joined: Sat Feb 11, 2012 11:17 am
by msmithy12 » Fri Nov 02, 2012 11:22 am
watch the youtube vid and see how CPU hungry their drivers are. That really put me off their product.


FYI I have a touchscreen with my pi which was sourced from a UK supplier (made in china i assume) and was delivered in 3 days! I would suggest a google search or a forum search if you clicked this looking for a larger screen. I wont put up a direct link cos i'm not trying to forum hijack, just hoping people are searching all the forum before ordering. (tip look for in car monitors)
I assume I know what I`m talking about... I probably don`t

Home: 256mb Made in UK, Rasbmc, 40" Sony Bravia KDL-40v3000
Work: 256mb Made in China, Rasbian, 6" Lilliput touchscreen
Posts: 88
Joined: Fri Aug 10, 2012 8:57 am
by TillM » Sat Nov 03, 2012 4:06 pm
msmithy12 wrote:watch the youtube vid and see how CPU hungry their drivers are. That really put me off their product.


This is complete FUD! No I don't work for them or have any association with them, but I do have two of their touchscreens for the raspi that are working quite well for me. The makers explained why the cpu was spiking on their blog and it has nothing to do with their touchscreen drivers. The drivers for these touchscreens are standard in linux hid_ntrig and they work very well on any linux computer. The problems with the raspi is it's too slow to do this kind of stuff until broadcom or someone else releases a hardware accelerated Xorg driver.
Posts: 33
Joined: Wed Oct 17, 2012 7:54 am
by msmithy12 » Tue Nov 06, 2012 4:07 pm
My bad! Just a bit dubious of asian markets (get a lot of sub standard stuff from there in my 9-5) glad people are enjoying these displays. As i said previous i tried a lilliput display that worked well after a day or 3 playing with calibrators. Im hoping to use my pi and touch screen as a front end to drive a PIC via I2C that will do some timing and testing things.

(at risk of being accused of hijacking a thread will a touchscreen work in RISCos? Just heard that RISC os is better for time crucial stuff?)
I assume I know what I`m talking about... I probably don`t

Home: 256mb Made in UK, Rasbmc, 40" Sony Bravia KDL-40v3000
Work: 256mb Made in China, Rasbian, 6" Lilliput touchscreen
Posts: 88
Joined: Fri Aug 10, 2012 8:57 am
by sghsmorgan » Sun Jan 06, 2013 5:52 pm
Very interested!
Posts: 27
Joined: Sun Jan 06, 2013 5:48 pm
by ++bahjatk++ » Tue Jan 08, 2013 5:21 pm
How did you power both the Pi and the screen using the same power source ?
Is it as simple as connect two wires to the + wire, and two wires to the - wire ?
Posts: 36
Joined: Sun Dec 30, 2012 10:02 am
by ktbsupremo » Wed Jan 09, 2013 1:26 pm
Hi there,
can you give more details about the power source you have used.
I'm trying to make a portable laptop out of it but am tight for money any help would be appreciated xD
Posts: 5
Joined: Fri Nov 23, 2012 1:41 pm
by robotmaker » Fri Jan 18, 2013 3:46 pm
This is really cool! Exactly the kind of thing I'm looking for for one of my projects! :D do you think you could put this on instructables? http://m.instructables.com/ It's a really cool diy site that has contests and I'd really vote for you if you entered it! If you won you could even get a MacBook. People just usually vote for the first really cool thing they see, like this!
Hope we can get enough people working on Jedi Knight that we can get it running well on the Pi! Jepi Knights!
o_/
||
/\
User avatar
Posts: 27
Joined: Sun Jul 29, 2012 10:49 pm
by sghsmorgan » Thu Jan 31, 2013 6:03 pm
Any info from the OP yet?
Posts: 27
Joined: Sun Jan 06, 2013 5:48 pm
by thk02 » Tue Feb 05, 2013 7:39 am
I'm interested to realize a project with my students. Can you send me all technical informations ?
Posts: 1
Joined: Tue Feb 05, 2013 7:35 am
by nexusrex » Mon Sep 02, 2013 8:01 pm
and do you know what i will need
because i want to make a portable gaming pi with raspbian image and i want a cheap touchscreen
and what is the name of the touch screen from digikey and the controller
and how you connect the controller of the screen to the pi
has digikey shiping to egypt
Posts: 233
Joined: Thu Jul 04, 2013 2:25 pm
by jedhodson » Sun Feb 02, 2014 4:18 am
Hi
Is it possible for the TSC2007 to work on an android OS with the Pi.
If so please say how.

Jed
Posts: 7
Joined: Fri Jan 31, 2014 7:03 am