Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

LCD Shields

notro edited this page Jul 9, 2013 · 36 revisions

1.8" TFT LCD Shield board

Product page: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=43286

2.8" TFT + Touch Shield Board

Product page: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=48956

ITEAD Raspberry PI LCD Adapter Kit

Product page: http://imall.iteadstudio.com/im130425001.html
Forum post: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=64&t=43702

It's not possible to use the touch panel as a Linux mouse with this adapter. The Touch IC is not wired to the Raspberry Pi SPI bus.

PiOLED

Product page: http://electronics.ilsoft.co.uk/PiShield.aspx

This shield has a joyswitch, and it can be used as a mouse or as a "keyboard". Since the shield doesn't have pullup resistors, we use the internal ones.

Mouse

sudo modprobe gpio_mouse
sudo modprobe gpio_mouse_device pullup polarity=1 up=23 down=17 left=18 right=27 bleft=22
FRAMEBUFFER=/dev/fb1 startx

Ref: gpio_mouse_device

Keyboard, arrow keys and Enter key

sudo modprobe gpio_keys
sudo modprobe gpio_keys_device pullup active_low keys=23:103,17:108,18:105,27:106,22:28

Ref: gpio_keys_device

This keyboard can be used with AdvanceMAME. Set in advance.rc

device_keyboard raw

Ref: MAME

Add to /etc/modules to make it permanent.

On Rev. 1 boards use GPIO 21 instead of 27.

piwik

Clone this wiki locally