-
-
Notifications
You must be signed in to change notification settings - Fork 24
00 Hardware
lovebootcaptain edited this page Jun 30, 2020
·
2 revisions
this tutorial is basically for running it on a raspberry pi (zero, 1, 2, 3) and a TFT display which matches up with chips like the ones from adafruit. as long as it uses standard spi it should work with the new
dtoverlay
module in the latest jessie versions of raspbian... i think there is no need for a custom kernel. it's just a little bit configuration.
i tested it with following TFT's:
- TFT FeatherWing - 2.4" 320x240 Touchscreen For All Feathers
- Adafruit 2.4" TFT LCD with Touchscreen Breakout w/MicroSD Socket - ILI9341
- adafruit TFT's with ili9341 driver
- pimoroni hyperpixel4
no configuration needed for:
- official raspberry pi 7" display
- any HDMI display
- skip all the TFT setup parts
- this should explain how to wire up your display
SDO (MISO) TFT Data Out SPI_MISO = GPIO09
SDI (MOSI) TFT Data In SPI_MOSI = GPIO10
SCK TFT Clock SPI_CLK = GPIO11
CS TFT Chip Select SPI_CE0_N = GPIO08
D/C TFT Data / Command = GPIO24
RESET Reset = GPIO23
GND Ground = GND
VCC 3V3 supply = +3V3 or 5V
- optional if you like to use the included PiButtons script
BUTTON 1 used for restart app = GPIO19
BUTTON 2 used for shutdown pi = GPIO26
- give you the option to put some function on a hardware button (like restart the WeatherPiTFT service, shutdown/reboot your Pi, change display brightness, etc.)
- feel free to add your own functions in
PiButtons.py
You can also buy a complete set and build it yourself from my friend Hartmut over at his shop