BeagleBone Black and Adafruit 2.2" TFT LCD
2015-Sep-17, Thursday 09:49 pmTake one cute little Adafruit 2.2" LCD(isplay), and make it work with BBB.
Wire up as per this post.
Connections;
- (DL not connected)
- BBB SCLK pin P9_22 to TFT SCK (yellow)
- (MISO not connected)
- BBB MOSI pin P9_18 to TFT MOSI (blue)
- BBB CE0 pin P9_17 to TFT CS (green)
- (SDCS not connected)
- BBB pin P9_12 to TFT RST (orange)
- BBB pin P9_15 to TFT D/C (purple/white)
- BBB 3.3V power pin P9_3 to TFT Vin (red)
- BBB ground pin P9_2 to TFT GND (black)
Then following the Adafruit tutorial;
Enable SPI(nterface);
- Add this line to /boot/uEnv.txt
- And reboot
Install all the things
Edit the python scripts in the examples directory to comment out the raspi pins and uncomment the BBB pins. Run. See cat. Be happy.
Wire up as per this post.
Connections;
- (DL not connected)
- BBB SCLK pin P9_22 to TFT SCK (yellow)
- (MISO not connected)
- BBB MOSI pin P9_18 to TFT MOSI (blue)
- BBB CE0 pin P9_17 to TFT CS (green)
- (SDCS not connected)
- BBB pin P9_12 to TFT RST (orange)
- BBB pin P9_15 to TFT D/C (purple/white)
- BBB 3.3V power pin P9_3 to TFT Vin (red)
- BBB ground pin P9_2 to TFT GND (black)
Then following the Adafruit tutorial;
Enable SPI(nterface);
- Add this line to /boot/uEnv.txt
optargs=capemgr.enable_partno=BB-SPIDEV0
- And reboot
Install all the things
Edit the python scripts in the examples directory to comment out the raspi pins and uncomment the BBB pins. Run. See cat. Be happy.
Beagles and cats get along just fine
Photo by chebe