• sales

    +86-0755-88291180

Raspberry Pi 1.3inch LCD Mini Pi TFT 240x240 User Guide

RPI 1.3inch LCD Mini Pi TFT 240x240

There's two ways you can use the 1.3" 240x240 display.

  • Be aware that you can only choose to do one way at a time. If you choose the hard way, it will install the kernel driver, which will prevent you from doing it the easy way.

  • The easy way is to use 'pure Python 3' and Pillow library to draw to the display from within Python. This is great for showing text, stats, images etc that you design yourself. If you want to do that, skip this page and go to the Python install/usage page

  • The hard way is to install a kernel module to add support for the TFT display that will make the console appear on the display. This is cute because you can have any program print text or draw to the framebuffer (or, say, with pygame) and Linux will take care of displaying it for you. If you don't need the console or direct framebuffer access, please consider using the 'pure Python' technique instead as it is not as delicate.



  • We don't recommend using the 240x240 display for GUI/PIXEL desktop, this is only for text console usage. The display is waaay too small for a desktop


Prepare the Pi!

  • Before you begin, its a good idea to get your Pi completely updated and upgraded. We assume you have burned an SD card and can log into the console to install stuff.

Run


 Download: file
  1. sudo apt update -y
  2. sudo apt-get update -y
  3. sudo apt-get upgrade -y
  • To fully update and upgrade your Pi!




  • After that is complete run
  • sudo shutdown -h now
  • to shutdown the Pi safely. Remove power and attach the miniPiTFT. Watch that the pins plug into the first 2x12 headers! The rounded corner and mounting hole should line up.
  • Attach power to the Pi and re-log in. The PiTFT should be lit but nothing on the screen.
  • Run the following at the terminal


Download: file


  1. cd ~
  2. sudo pip3 install --upgrade adafruit-python-shell click==7.0
  3. sudo apt-get install -y git
  4. git clone https://github.com/adafruit/Raspberry-Pi-Installer-Scripts.git
  5. cd Raspberry-Pi-Installer-Scripts
  6. sudo python3 adafruit-pitft.py --display=st7789_240x240 --rotation=0 --install-type=console




  • When you get asked to reboot, reboot!




  • Zat's it! You will now have the miniPiTFT with a console display on it



TAG: X1015 Raspberry Pi 5 PCIe to M.2 Key-M NVMe SSD Board Pi5 2280 Raspberry Pi 12.3 inch LCD HDMI /Type C Display In-Cell Capacitive TouchScreen 1920x720 For Jetson Nano/mini Computer PC USB To CAN FD Raspberry Pi 4 USB Audio Raspberry Pi Pico 2 RP2350 GEEK 1.14 inch LCD 240x135 65K SWD/UART/I2C For OpenOCD/CMSIS-DAP Spotpear Banana Pi Milk V Duo IO Board Raspberry Pi 5 DSI User Guide ESP32 C3 LCD Development Board 1.3 inch Display Screen ST7789 240x240 3D Transparent Refractive Prism Mini TV For Arduino Raspberry Pi Pico Display 1.54inch LCD TouchScreen Display 240×240 ST7789S For Arduino /Raspberry Pi /ESP32 /Pico /STM32 0.85inch LCD 14 inch Dual LCD Computer PC Monitor Display Double Secondary Screen Type C Mini HDMI 1080P For Windows/MacOS NV3030B Lichee-Tang-Primer-20K-FPGA-Unboxing Argon X1008 Raspberry Pi 5 PCIe to 2.5" 3.5" SATA HDD/SSD Dual Double-SATA (NOT BOOT From SATA/SSD Raspberry Pi 5 Camera User Guide ADXL354CEZ