• 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: ESP32 Development Board C3 1.28 inch Round Rotary LCD Smart Screen 1.28inch Knob Display 240x240 LVGL for Arduino SP3232EEN ESP32 Thermal imaging Omni-Directional Lidar Raspberry Pi Pico 2 RP2350A Audio Box 1.85-inch LCD Round 1.85inch TouchScreen Speaker 360x360 Milk-V Duo S Usage of USB Type A interface Magnetic Encoder Servo Motor 85KG.CM 12V/24V 360° RS485 High Precision And Large Torque Raspberry Pi 5 Raspberry Pi 3.5 inch e-Paper link (G) RYBW 384x184 For Arduino / Jetson Nano / STM32 Arduino MLX90641 Jetson Orin 5G/4G/3G expansion board GNSS GPS RM520N-GL H618 Raspberry Pi Prism Industrial Isolated Converter 1.14inch LCD Raspberry Pi CSI-to-HDMI Raspberry Pi Pico 2 RP2350-Tiny/Tiny-Kit Super Mini Board RP2350A GPS LCD Driver Board Raspberry Pi Pico 1.14inch LCD Luckfox Pico