Crazyfeet
Posts: 3
Joined: Thu Jun 09, 2016 8:36 am

No Preview Raspberry Pi 4

Mon Aug 05, 2019 12:38 pm

Hello everybody,

I'm using the new Raspi 4 4GB wiht a Picam V2.

My code ist listed below. This code works brilliantly with my Raspi 3, but not anymore with the Raspi 4.

Code: Select all

import time
from picamera import PiCamera

camera = PiCamera()

camera.start_preview()
sleep(5)
camera.capture('/home/pi/Desktop/image.jpg')
camera.stop_preview()
I don't get any Errors or exceptions. Although the "capture" works great.

And here is the Problem.
The preview is not shown.

I want to show the preview on a Touchscreen with a DVI-Port.
So I connected the Touchscreen with a HDMI-MicroHDMI-Adapter and a DVI-HDMI-Cable.

Can anyone say where I lose the Signal?

Thanks for your help!

SkyRise
Posts: 179
Joined: Tue Jan 24, 2012 1:20 pm

Re: No Preview Raspberry Pi 4

Mon Aug 05, 2019 12:52 pm

Make sure you are using HDMI-0 and not HDMI-1.
There were several reports of HDMI-1 not being active if HDMI-0 was not in use.

Also, don't know why the previous reply disappeared but try avoid using adapters.

Crazyfeet
Posts: 3
Joined: Thu Jun 09, 2016 8:36 am

Re: No Preview Raspberry Pi 4

Mon Aug 05, 2019 8:26 pm

Sorry folks,

IT was that easy. I switched the HDMI-port ans everything works fine.
:roll:

Return to “Camera board”