• 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 board manager tutorial User Guide Raspberry Pi 3.97 inch e-Paper link (G) RYBW 800x480 For Arduino / Jetson / STM32 /ESP32 ESP32 S3 Development Board 1.75 inch AMOLED Display TouchScreen SD slot 6-axis sensor Xiaozhi AI Deepseek LuckFox Core3566 ESP32-S3 Industrial ESP32-S3 SIM7670G 4G Development Board With Camera LTE Cat-1/4G/GNSS/GPS Global Band Portable WIFI Accelerometer Industrial USB TO 4CH RS232/485/422/TTL Serial UART Converter FT4232HL ESP32 S3 ESP32 C3 Pi5 Active Cooler Industrial RS485 Modbus RTU Relay RP2040 Industrial CAN FD ETH RJ45 bidirectional converter CAN2.0A/2.0B Raspberry Pi 5 USB A C Mini PD Trigger Activation Power Adapter To Solve Non-PD-Power system error warning Raspberry Pi 1.3inch X1004 101M-8001280-IPS-CT-K User Guide DeepSeek AI Voice Chat ESP32 S3 Development Board 1.8 inch AMOLED Display 368×448 1.8inch TouchScreen Programmable Watch QMI8658 /MIC /Audio /Battery