• sales

    +86-0755-88291180

Raspberry Pi 1.54inch LCD-Retropie-Display configuration tutorial (device tree)

Official image version
retropie-buster-4.7-xxxx.img

Board versionRaspberry Ri Zero/Zero 2/3B/4B/CM4

Firstly , you need update your retropie os . Make sure all software updated ok, No errors.
If have any errors, You need try again or check your internet.
Some errors will make display not work
sudo apt-get update
sudo apt-get upgrade -y

Download lcd154.dtbo to your pi
sudo cp lcd154.dtbo /boot/overlays/

sudo nano /boot/config.txt
Add the following code

dtparam=spi=on

dtoverlay=lcd154:rotate=270

hdmi_force_hotplug=1

max_usb_current=1

hdmi_group=2

hdmi_mode=1

hdmi_mode=87

hdmi_cvt 480 480 60 6 0 0 0

hdmi_drive=2

display_rotate=0
dtoverlay=dwc2,dr_mode=host
avoid_warnings=1


Download rpi-fbcp.zip to your pi
unzip rpi-fbcp.zip

cd rpi-fbcp/build/

sudo install fbcp /usr/local/bin/fbcp

 

sudo nano /etc/rc.local
Add the following code
sleep 7

fbcp &
like the following picture


To reboot with using this command sudo reboot

Then the LCD will display ok

TAG: IO BASE MINI Board TTL UART To CAN Mini Raspberry Pi 5 PCIe to 2.5G Ethernet Adapter Board Plug and Play Mechanical Keyboard ESP32 S3 Development Board 1.5 inch Round Rotary OLED TouchScreen Smart Knob Display 1.5inch Display 466x466 LVGL for Arduino LuckFox RS232 to RS485 Raspberry Pi 0.96inch RGB OLED EchoEar ESP32 S3 AI Development Board with 1.85-inch LCD Display Cute Cat Pet Chatting Robot N32R16 ESP32-S3 Development Board 4 inch LCD TouchScreen Display 480x480 RS485 /SHT20 /Relay For Arduino LVGL 86 TVbox Spotpear Raspberry Pi 5 Fan Raspberry Pi CM5 Compute Module 5 Dual Gigabit Ethernet RJ45 Expansion IO Base Board Raspberry Pi 5 Audio Card Raspberry Pi Install Espressif IDF Plugin Tutorial User Guide UGV Rover PT Kit AI OpenCV Robot Car MediaPipe For Jetson Orin Raspberry Pi 5 PD Activation Module Luckfox Pico MINI Power Manager Module