mindwave
Posts: 36
Joined: Mon Aug 29, 2011 5:24 pm
Contact: Website

New HQ Camera and Caera Guide apps

Thu Jul 09, 2020 1:16 am

Hey guys,

I think I may have reached my own conclusion but having someone smarter or more experenced than I am is always a great source of input.

Bought the new HQ Camera module along with the 'long lens' and from the CLI everything works as expected.

However working with the Camera Guide (really a great tool guys!) Im having a problem right off the start w/ the Ch5listing.py

understand that although I coded for a living in the 80s and 90s that was a LONG time ago in programming and now I ride heard on "Big iron"

So i want to learn as I go, BUT the example errors out on line 5 (which is a doctype statement)

So after reading through this area and not finding a definite Ill just ask.

Is the python example code in the manuial still valid w/ a RASPI4 and the New Module?

I saw someone in an unrelated poost make a comment that perhaps the py library hadnt been updated to reflect the new module.

But I dont know enough to say THATS the problem,. por OK now start reading and learning!

Any and all suggestions are GREATLY appreciated.

Thanks\\j\

User avatar
HermannSW
Posts: 2896
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: New HQ Camera and Caera Guide apps

Thu Jul 09, 2020 6:57 am

mindwave wrote:
Thu Jul 09, 2020 1:16 am
So i want to learn as I go, BUT the example errors out on line 5 (which is a doctype statement)
"doctype" sounds like you copied from browser showing the PDF.
Try this (same) script, runs without errors:

Code: Select all

from picamera import PiCamera
from time import sleep

camera = PiCamera()

camera.start_preview()
for effect in camera.IMAGE_EFFECTS:
    camera.image_effect = effect
    camera.annotate_text = "Effect: %s" % effect
    sleep(5)
camera.stop_preview()
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264

mindwave
Posts: 36
Joined: Mon Aug 29, 2011 5:24 pm
Contact: Website

Re: New HQ Camera and Caera Guide apps

Thu Jul 09, 2020 12:33 pm

herman

you were exactly right. part of the learning process

however i did find my major issue, going to ask for suggestions, as i dont think i can pplace my hands on the real solution

tried running raspistill and got the message that the camera couldnt be found

ok thats bad.

started examining everything from lens back and found that my ribbon cable has ONE data line that appears to have started to lift off the cable.

i saw a reference in a video last week where a guy said he cut above his line, and then used a rasp to take the coating off the cable, so im going to try that

i know i have another ribbon cable here, but we just moved and i havent unboxed that one yet....any suggestions?\

Return to “Camera board”