• sales

    +86-0755-88291180

RPi RGB AND VGA Board

1. Insert the SD card to your computer.open the file "config.txt" at the SD card root directory by your computer

2.Change to  the following code at the end of the file,Then save the changed file

Red color  is the  added code or changed code

2.1
 If 800x480 Resolution LCD(such us 5 inch,7 inch):

#[pi4]

# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
#max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d
dtoverlay=dpi24
enable_dpi_lcd=1

display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f005
hdmi_timings=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 32000000 6
disable_overscan=1

[pi4]

# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
dpi_timings=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 26000000 6

 

2.2 If 1024x600 Resolution LCD(such us 7 inch,10.1 inch) :
 

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
dpi_timings=1024 1 40 48 128 600 1 13 3 45 0 0 0 60 0 37000000 6
[all]
#dtoverlay=vc4-fkms-v3d
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f005
hdmi_cvt 1024 600 60 6 0 0 0
disable_overscan=1

​         
2.3 If VGA and your vga display Resolution is 1024x600

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d

dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f005
hdmi_cvt 1024 600 60 6 0 0 0
disable_overscan=1

 

(If your VGA monitor is a different Resolution,change 1024 600 at "hdmi_cvt 1024 600 60 6 0 0 0" to fit yourself VGA monitor)

 

3.Insert the SD card to your Pi. Then work
PS:
1. If RGB LCD(5 inch,7 inch,10.1 inch) , do not need the Jumpers
If VGA,need connect the Jumpers like the picture.



2.please do not unplug or plug the RGB LCD when powered

TAG: Arduino-check-library-path ESP32 1.9inch LCD and Audio Speaker Raspberry Pi AI HAT+ Official Original Hailo-8/8L 13/26Tops For Pi5 PCIe M.2 Gen3 STM32 1.5inch LCD Raspberry Pi PICO LoRa Industrial Modbus POE ETH RJ45 To Relay 30CH RTU/Modbus TCP-Ethernet For IOT Raspberry Pi CM5 4G/5G Dual Ethernet Port ETH Gigabit/2.5G Expansion Board with RJ45 IO Base and GPIO EVAL-ADXL354CZ ESP32-S3 Development Board 4 inch LCD TouchScreen Display 480x480 RS485 /SHT20 /Relay For Arduino LVGL 86 TVbox ESP32-S3 Smart 86 Box Development Board with 4 inch 480x480 Display Touch Screen For AI and DeepSeek Changeable Photo Frames Wiki Raspberry Pi Pico 7inch DVI LCD Raspberry Pi Compute Module 5 PoE BASE A IO Board RJ45 For CM5 Lite/eMMC X1200 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For 18650-Li-Battery (NOT includ) ESP32-S3 Development Board 1.47 inch LCD Screen Display 172x320 SD-Port LVGL USB ESP32-S3R2 ESP32-P4-ETH RJ45 POE DSI/MIPI 10.1 inch LCD Display Touchscreen/CSI Camera/Audio Speaker AI Deepseek 2.66inch e-Paper e-link Module 360x184 4-Color Red Yellow Black White For Arduino Raspberry Pi STM32 Jetson Tutorial Information Wiki Program Code User Guide SpotPear