chebe: (AsciiC)
Further experiments with the LCD screen.

Install two libraries;
Adafruit_ILI9340
Adafruit_GFX


Uno pins;
- 13/SCLK to SCLK
- 12/MISO to MISO (not needed)
- 11/MOSI to MOSI
- 10/SS to CS
- 9 to DC
- 8 to RST

Arduino Uno breadboarded to 2.2inch LCD

Uno works smoothly
Photo by chebe





LilyPad Maincontroller pins;
- 13/SCLK to SCLK
- 12/MISO to MISO (not needed)
- 11/MOSI to MOSI
- 10 to CS
- 9 to DC
- 8 to RST

Arduino Lilypad Maincontroller breadboarded to 2.2inch LCD

Lilypad Maincontroller works as well!
Photo by chebe

chebe: (Pi)
Take 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
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.

BeagleBone Black (in blue case) breadboarded to 2.2inch LCD

Beagles and cats get along just fine
Photo by chebe

Page generated 2017-Jul-20, Thursday 06:28 pm
Powered by Dreamwidth Studios