1

I am running Raspbian 4.19.34 with HDMI monitor (FullHD). I bought 5" LCD which connects to Raspberry using GPIO pins (by rpi rgb lcd and vga board).

I am trying to get it to work like 2 screens.

Target for my project is to make 2 programs. One to run on main display (HDMI) to present to user and one to display status info (5" LCD).

omxplayer with --display did not work (no value worked).

How to make use of 2nd screen? (in custom app or at least omxplayer)

The setup was designed to work with only 1 raspberry so having 2 communication over network is out of the way.

Abit Gray
  • 13
  • 1
  • 4
  • Hi and welcome! Can you please add to your question: the steps that you followed to configure omxplayer? – David Apr 21 '19 at 22:27
  • @David The omxplayer is one of few apps which does not need framebuffer (/dev/fb0 is main) to render on screen. It is set using --display argument (see --help or man omxplayer page). Usually the value is 5 (HDMI) or 4. – Abit Gray Apr 23 '19 at 08:08

1 Answers1

0

Question

5" LCD connect to Rpi using GPIO pins (by rpi rgb lcd and vga board).

2 screens, 2 programs, one HDMI, one to display status info 5" LCD.

Answer

Ah, the difficulty is that though you can use hardware HDMI to VGA adapter to interface to the VGA display, BUT then you can only use either HDMI or VGA any time.

Is your status info graphical? If it is only textual, then you can consider using cheap I2C LCD display with 20 characters by 2/4 lines. Then it becomes very easy now.

For graphics, there are also I2C 800 x 600 dots LCD display, which is not too difficult to handle than text display.

rpi vga screen

Update 2019apr23hkt0813

I skimmed the RGB/VGA card setup guide which tells you how to edit the Rpi config.txt for the RGB/VGA configuration. I think this meanss that they designed this VGA card for those who prefer to use ONLY ONE 5/7" SMALL MONITOR, instead of HDMI. So I think if you want to use two displays, you can forget this VGA card and look for options, ...

References

Raspberry Pi RGB VGA 800x480 Kit

How to setup the RGB VGA board for Rpi

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

Add the following code at the end of the file,Then save the changed file

If 800x480 Resolution LCD(such us 5 inch,7 inch): dtoverlay=dpi24 ...

Insert the SD card to your Pi. Then work

tlfong01
  • 4,665
  • 3
  • 10
  • 24