• 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: Modbus RTU 8-ch Relay Module (D) ESP32-S3 Development Board 1.47 inch LCD 1.47B Display 1.47inch Screen SD 172×320 RGB LED ESP32-S3 IR Infrared Thermal Imaging Camera B 45/90 80×62 ESP32-S3-WROOM ESP32-P4 Module Core Board PSRAM 32MB Flash 16MB N16R32 Onboard ESP32-C6 Raspberry Pi 5 Raspberry Pi Prism NVIDIA Jetson TX2 NX Module Sipeed Lichee Tang Nano1K FPGA MINI Development Board GW1NZ-1 Industrial Modbus RTU RS485 8-ch 30A High Current Relay Module (E) With Digital Input pcb800099-v.9 ESP32 S3 LCD Development Board 1.3 inch Display 1.3inch Screen ST7789 240x240 Mini TV SD-Port QST QMI8658 Gyro Sensor LVGL For Arduino Servo PWM motor WP5320 WP5335 35/20KG.CM 180° PWM digital servo double ball bearings STM32 programmer Raspberry Pi PICO LoRa Rasperry Pico 2 RP2350 7.3 inch e-Paper Ink Display E6 Full Color Electronic PhotoPainter 800x480 For Calendar/Quotes/Paintings/Posters RS485 Bus Raspberry Pi 5 PD Power Raspberry Pi Screen JETSON-IO-BASE-A DeepSeek ESP32-S3 Voice Chat Robot espHome XiaoZhi Ball