Picamera preview not showing on GPIO-connected LCD display, any workaround?

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Picamera preview not showing on GPIO-connected LCD display, any workaround?

Post by /RaspberryPi »

Hi everyone,
RPi Newbie here, first time posting on Reddit also. I'm making a project that requires an automatic and constant preview from the camera shown on a small LCD display.
I managed to have the camera preview upon the Pi startup by adding
raspivid -t 0 -f to the
rc.local file. I got everything working as intended on an HDMI monitor.
However, when I connected the display (https://www.waveshare.com/1.28inch-lcd-module.htm), I got nothing shown.
I think the official document states that camera preview is not supported on GPIO displays. If so, is there any workaround for this, or do I just have to find an alternative approach (different hardware or code)?
The final product will use a Pi Zero 2 W, but I'm currently doing this on a Pi 3B+ as I wait for the Zero to be shipped. I'm also running Raspberry Pi OS (Released 2022-04-04).

submitted by /u/Electrical-Notice168
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”