• 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: USB to SPI Pi5-Active-Cooler-C Magnetic Encoder Servo Motor 45KG.CM 24V 360° RS485 High Precision And Large Torque User Guide Raspberry Pi 5 Official Red-White Case SpotPear Allwinner UGV Rover ROS2 PT AI OpenCV Robot Car MediaPipe For Jetson Orin Nano 1.14inch LCD DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 3.5 inch QSPI LCD N16R8 Touchscreen Display 6-Axis /Camera /SD Raspberry Pi 5 NVMe Sipeed NanoCluster Mini Cluster Board mini data center For Raspberry Pi CM45 / Computer /LM3H /M4N Milk-V Duo S User Guide Total Raspberry Pi IR Array Thermal Imaging Camera Far infrared 80×62 Pixels 45/90 Degree FOV Raspberry Pi Pico GNSS expansion board L76K GPS Beidou (BDS) GLONASS QZSS A-GNSS For RP2040/RP2350 ESP32 S3 Development Board 1.75 inch AMOLED Display TouchScreen SD slot 6-axis sensor Xiaozhi AI Deepseek MK20 Computer AI Deepseek Mechanical Voice Keyboard Linux 20x0.85inch LCD Screen Customize keys + 2.8 inch Secondary Display ESP-NOW Control CSI Camera Raspberry Pi Pico 2 RP2350 1.43 inch AMOLED TouchScreen Development Board 466x466 1.43inch Display QMI8658 6-Axis | PCF85063 RTC | SD | Battery Port