Difference between revisions of "1280x800 7" LVDS LCD with Capacitive Touch for pcDuino3"

From LinkSprite Playgound
Jump to: navigation, search
(Usage)
(Step 2: Add the driver of touch screen)
Line 55: Line 55:
 
===Step 2: Add the driver of touch screen===
 
===Step 2: Add the driver of touch screen===
 
*1.Download the driver of touch screen gslx680: [http://cnlearn.linksprite.com/wp-content/uploads/2014/09/gslx680.zip gslx680]
 
*1.Download the driver of touch screen gslx680: [http://cnlearn.linksprite.com/wp-content/uploads/2014/09/gslx680.zip gslx680]
 +
*2.Unzip "gslx680.zip" to get a file "gslx680.ko", put "gslx680.ko" in this path: /lib/modules/3.4.79+/kernel/drivers/input/touchscreen
 +
(Note:open the folder as Root)
 +
 +
[[File:touchscreen path.jpg]]
 +
 +
*3.Find the file "modules" in this path: /etc/modules
 +
(Note:open the folder as Root)
 +
 +
[[File:modules path.jpg]]
 +
 +
Open it in Leafpad, add an row "gslx680":
 +
 +
[[File:leafpad modify.jpg]]
 +
 +
Save and exit.
 +
 +
*4.Input driver command:
 +
 +
$ sudo insmod /lib/modules/3.4.79+/kernel/drivers/input/touchscreen/gslx680.ko
 +
 +
Then reboot your pcDuino3 again, you can touch control the screen.
  
 
== Resources ==
 
== Resources ==
  
 
*[http://learn.linksprite.com/pcduino/lvds-screen-for-pcduino/ Install lvds on pcDuino3]
 
*[http://learn.linksprite.com/pcduino/lvds-screen-for-pcduino/ Install lvds on pcDuino3]

Revision as of 02:51, 9 January 2015

Introduction

This is a 7" LVDS LCD with capacitive touch for pcDuino3. It has a resolution of 1280x800.


Pcduino3 lvds screen V2 1.jpg

Pcduino3 lvds screen V2 2.jpg


Items Included:

  • 1 x LVDS screen
  • 1 x Driver board
  • 3 x Ribbon cable
  • 6 x Male to female jumper wires

Wire connection

We need to hook up the 6 pins headers using the male to female jumper wires in the following way:

  • gnd of the LCD driver breakout board —> GND of pcDuino
  • scl of the LCD driver breakout board —> SCL of pcDuino
  • sda of the LCD driver breakout board –> SDA of pcDuino
  • rst of the LCD driver breakout board –> D10 of pcDuino
  • int of the LCD driver breakout board –> D9 of pcDuino
  • wale of the LCD driver breakout board –> D8 of pcDuino

And make sure that the FPC ribbon is installed correctly.

Lvds pcduino 1.jpg

Lvds pcduino 2.jpg

Lvds pcduino 3.jpg

Usage

Step 1: Update kernel

  • 1.Download the kernel of pcDuino3 :kernel.zip
  • 2.Unzip the "kernel.zip",you will get a folder "kernel", then copy the folder to a USB flash disk.
  • 3.Plug the USB flash disk on your pcDuino3, and put in following command:

$ sudo su

# mount /dev/nanda /mnt/
# ls /mnt/
# rm /mnt/uImage /mnt/script.bin
# ls /media/ (This command is to check the name of your USB flash disk)
# cp /media/40C3-AE90/kernel/* /mnt/ ("40C3-AE90" is the name of your USB flash disk)
# sync

Start-input.jpg

Then reboot your pcDuino3, you will find the lvds screen is start up.

Screen start.jpg

Step 2: Add the driver of touch screen

  • 1.Download the driver of touch screen gslx680: gslx680
  • 2.Unzip "gslx680.zip" to get a file "gslx680.ko", put "gslx680.ko" in this path: /lib/modules/3.4.79+/kernel/drivers/input/touchscreen

(Note:open the folder as Root)

Touchscreen path.jpg

  • 3.Find the file "modules" in this path: /etc/modules

(Note:open the folder as Root)

Modules path.jpg

Open it in Leafpad, add an row "gslx680":

Leafpad modify.jpg

Save and exit.

  • 4.Input driver command:

$ sudo insmod /lib/modules/3.4.79+/kernel/drivers/input/touchscreen/gslx680.ko

Then reboot your pcDuino3 again, you can touch control the screen.

Resources