Teaching Documents: User Guide
First: setup
Note-1: LCD Power(Your PI must powered by 5V 2A or 5V 3A is better)
Note-2: insert the touch screen driver line and HDMI line
Note--3: When the screen is unstable and flash, you need to power the lcd external power supply ,After powering , wait for a few minutes until the LCD display stable
Second:driving the LCD
For driving the LCD , you can use our configured image provided :
IMAGE/
install the image please reference :(your SD card must be 8G) Install Raspbian.doc
Also, you can install the driver at youself Raspbian OS. Copy the “Driver”document to your Pi, Then On the LXTerminal, enter
sudo ./LCD7-USB-CAP-show After reboot ,The LCD can display and touch
Third:Virtual Keyboard
Use our configured image provided Use yourself image
sudo apt-get update sudo apt-get install libfakekey-dev libpng-dev libxft-dev autoconf libtool –y Copy “Software/ matchbox-keyboard “ to your Pi cd matchbox-keyboard ./autogen.shmake sudo make install sudo apt-get install libmatchbox1 -y sudo nano /usr/bin/toggle-matchbox-keyboard.sh
And copy in the text below;
#!/bin/bash
#This script toggle the virtual keyboard
PID=`pidof matchbox-keyboard` if [ ! -e $PID ]; then
killall matchbox-keyboard
else
matchbox-keyboard -s 50 extended&
fi
sudo chmod +x /usr/bin/toggle-matchbox-keyboard.sh sudo nano /usr/local/share/applications/toggle-matchbox-keyboard.desktop
Copy in this text;
[Desktop Entry]
Name=Toggle Matchbox Keyboard
Comment=Toggle Matchbox Keyboard
Exec=toggle-matchbox-keyboard.sh
Type=Application
Icon=matchbox-keyboard.png
Categories=Panel;Utility;MB
X-MB-INPUT-MECHANSIM=True
nano ~/.config/lxpanel/LXDE-pi/panels/panel
Find this section of config (it is near the bottom);
Plugin {
type = launchbar Config { Button { id=lxde-screenlock.desktop } Button { id=lxde-logout.desktop } }
and change it to;
Plugin {
type = launchbar Config { Button { id=toggle-matchbox-keyboard.desktop } Button { id=lxde-screenlock.desktop } Button { id=lxde-logout.desktop } }
Save and exit, After reboot ,you can use the software keyboard