Go to advanced search

by jateu01
Fri Apr 24, 2020 11:48 am
Forum: Beginners
Topic: Camera preview only showing on HDMI and not GPIO LCD
Replies: 8
Views: 426

Re: Camera preview only showing on HDMI and not GPIO LCD

Hi All,


This is all that i had been given with lcd. See image i know its blury zoom out a little.
by jateu01
Fri Apr 24, 2020 11:38 am
Forum: Beginners
Topic: Camera preview only showing on HDMI and not GPIO LCD
Replies: 8
Views: 426

Re: Camera preview only showing on HDMI and not GPIO LCD

Hi Gordon,

No its a fairly simple lcd.

Many thanks
by jateu01
Fri Apr 24, 2020 10:48 am
Forum: Beginners
Topic: Camera preview only showing on HDMI and not GPIO LCD
Replies: 8
Views: 426

Camera preview only showing on HDMI and not GPIO LCD

Hi All Thanks to gordon77 for his great help wit the following code to save sequential file names and actions related to button presses. its works flawlessly. The project is all contained in a LCD case with all buttons and Pi4 all in the same case as LCD and powered by a power bank. The problem I am...
by jateu01
Wed Apr 22, 2020 2:30 pm
Forum: Graphics, sound and multimedia
Topic: gpio display and hdmi display
Replies: 8
Views: 8314

Re: gpio display and hdmi display

I have a project where I am requiring everything to me on board and in cased. The video output is being powered by the gpio lcd. Here is the issue. I am using the pi cam to take pictures and I wish to use the lcd for preview. But when I run pi4 the lcd shows the os screen but it will not present the...
by jateu01
Wed Apr 22, 2020 10:59 am
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Good day Gordon, I have changed the preview settings to - f for full screen and now the image appears on a second screen I plug into hdmi socket 1? This is all odd. Apparently you can't an hdmi screen in when the lcd is connected and working. However I've manged to get it working. This is confusing....
by jateu01
Tue Apr 21, 2020 7:19 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Leds sorted still cant get preview screed on lcd. Do Ihave to define a position?

Many thanks

J
by jateu01
Tue Apr 21, 2020 3:44 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Hi Gordon, Apologies for the long delay. I have managed to get everything soldered and tested. I've buttoned up the lcd switches etc in a case and all mechanically works. But I cannot get the preview to come up on screen. Also the preview led works but will not come up. I've managed to ger the scrip...
by jateu01
Mon Apr 13, 2020 12:42 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Hi Gordon.

Already searched and reinstalled xterm all sorted and fine now.

Program looks like it's working perfectly so far. I have a few parts to arrive once in I'll solder it all together and closed up and tested out side.

Thanks again.

J
by jateu01
Mon Apr 13, 2020 11:34 am
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Hi Gordon,

Now when i try to execute the script i get the following - Failed to execute child process "xterm" (no such file of directory). Any idea what this is !

Many thanks

J
by jateu01
Sun Apr 12, 2020 9:38 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Good evening Gordon, Thank you for the latests. I was going to suggest we put date and time in that way I would never repeat. Does this include minutes too? Sorry in using my phone and I can't scroll across for some reason. Apologies for delay I've had my children for the Easter break and also new c...
by jateu01
Sat Apr 04, 2020 7:08 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Really silly one I cannot save the autostart file to include the python file.
by jateu01
Sat Apr 04, 2020 7:04 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Gordon that is exactly what happens, the currently saved files get overwritten. I know in reality that I would pull the Flash drive and copy to the PC but this is a gift for a friend. They might not do that and then overwrite all of their hard work. Something for me to look into for the future. Thes...
by jateu01
Sat Apr 04, 2020 6:37 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

OK came is working and it is a flex issue. However if I save a still and in the folder I have still 11 to 13. The saving will count fro 1 to 10 no problem and then I would have expected it to save the next file as 14 but it will not save any more files! Will test more once I have a new flex. Many th...
by jateu01
Sat Apr 04, 2020 6:34 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Gordon ill get a new flex for camera and test then.

Many thanks again for all the help.

J
by jateu01
Sat Apr 04, 2020 6:18 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Camera error has only happened since I changed those commands.
by jateu01
Sat Apr 04, 2020 6:12 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

#!/usr/bin/env python3 # import libraries required from gpiozero import Button from gpiozero import LED from signal import pause import time import glob import os import subprocess import signal import sys #setup gpios used. Note gpio numbers NOT pin numbers video_button = Button(21) still_button =...
by jateu01
Sat Apr 04, 2020 6:05 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

That is the correct address for the flash drive.
by jateu01
Sat Apr 04, 2020 5:59 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Just check flex and its fine. It looks like the glob comment has caused it. The python code is currently within my flash drive as I've had to reintastt rasperian a few times. Is it because I have moved the code to the flash drive now I have a camera issue?

Many thanks

J
by jateu01
Sat Apr 04, 2020 5:54 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

My camera flex has failed and I can't do anymore testing till a new one arrives.

I'll update ASAP.

Many thanks

J
by jateu01
Sat Apr 04, 2020 5:41 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

I had assumed thst this was the case but it will not work. Every time I capture no file appears. Of if say a file is marked 9 it will capture 1 to 8 akd then won't save after 9.

Many thanks

J
by jateu01
Sat Apr 04, 2020 5:28 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Hi Gordon. Fair on about preview. We are almost there. Just a few silly thing i cant figure out. Code as follows with, There are two issues and sequential saving of the Video and Stills. I have asked to code to save to a Flash drive and it does but unless the folders are empty when i turn pi off and...
by jateu01
Sat Apr 04, 2020 4:42 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Hi Gordon.

I can not get preview to switch on or off. Once I run code preview pops up and I can't get it to switch off. Even crashed the pi.

Many thanks
by jateu01
Fri Apr 03, 2020 4:10 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Hi Gordon,

The unit printed it the pikon.

So how do I get a toggle based preview and a preview with every photo or video.

From what I've just seen your the right person for this task..

Thank you again for your help.

J
by jateu01
Fri Apr 03, 2020 3:42 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

My apologies Gordon, I will try and make it clearer. I need a on off function to turn preview on then turn it off when no longer needed. The issue is that I am going to be taking images of planets and the moon. It take ages to align etc so having a on off preview function is needed. As it's very pre...
by jateu01
Fri Apr 03, 2020 2:22 pm
Forum: Beginners
Topic: Saving sequential file names for images without time-lapse
Replies: 65
Views: 1564

Re: Saving sequential file names for images without time-lapse

Hi Gordon, I don't actually know what it is your asking. I've been able to manipulate the code so I can save to Flash drive. ho ever the idea of preview was to line up the optics and then turn off. so when i turn on preview i need to see through camera. I will not have a keyboard on side with me whe...

Go to advanced search