• 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: ESP32 C3 Zero UART To CAN Raspberry Pi 5 PCIe to 2.5G Ethernet Adapter Board Plug and Play Tutorial USB TO TTL Mini FT232 UART Communication Converter Original FT232RNL EG25-G Mini PCIe SIMCom Original 4G LTE Cat-4 Module Global Coverage GNSS PCI Express Mini Card Pi5 Pure-Copper Active Cooler spotpear DeepsSeek XiaoZhi AI Voice Chat ESP32-S3 1.54 inch LCD Kit N16R8 WROOM-1-N16R8 DevKitC-1 Development Board UART Serial Server ESP32 S3 Development Board 1.91 inch AMOLED Display Screen For Arduino LVGL With SD-Port/ QMI8658C 6-Axis Sensor USB To CAN Raspberry Pi Pico 2 RP2350B Industrial 8-Channel Relay IOT LAN Digital Input DIO /RS485 /RJ45 Ethernet /POE ESP32-P4-WIFI6 4.3inch LCD Display AI Development Board 480×800 4.3 inch TouchScreen Deepseek ESP32-S3FH4R2 Industrial USB TO RS485 Isolated Bidirectional Converter Original FT232RNL 2 Meters long IO BASE MINI Board Milk-V Duo AV to LVDS Raspberry Pi 5