Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi Cam #2

Closed
thetobyde opened this issue May 30, 2020 · 8 comments
Closed

Pi Cam #2

thetobyde opened this issue May 30, 2020 · 8 comments

Comments

@thetobyde
Copy link

Hey Brian again,

We would really like to have the PiCam support. You said u can not implement this right now, cause you dont have a Pi Cam.
Would it help to ship mine to you?
Greetings, Toby

@BrianHepler
Copy link
Owner

I just got one in the mail, thank you. I'll get to work on this presently.

@thetobyde
Copy link
Author

thetobyde commented May 30, 2020 via email

@BrianHepler
Copy link
Owner

Okay, the touch button has been implemented. I'll see about testing this under a Pi cam now. It's coming.

@BrianHepler
Copy link
Owner

@thetobyde - Sir, I just tested this with my PiCam and it works just fine. You have to enable the camera interface via the raspi-config tool, but it appears to be working without any additional code from me.

@thetobyde
Copy link
Author

thetobyde commented Jun 3, 2020 via email

@BrianHepler
Copy link
Owner

You should be able to enter sudo raspi-config to bring up the configuration menu. Go to Interfacing Options and then highlight "Camera" (it should be the first entry). Enable the camera interface and then Finish. You will be asked to reboot, which you should do.

If you have a USB camera, unplug it from the Pi. Once you have a connection back to the pi, test the camera with the following command: raspistill -o image.jpg. When it gives you the command line back, do a ls to see if the file image.jpg is present. If it is, then your camera works.

At that point, use the MMM-Selfieshot as usual. No need to update the module. I don't know what "useCam" is. Where are you seeing this?

@mirrormonark
Copy link

hi... when use "raspistill -o image.jpg" i see this "the system should be configured for the legacy camera stack"
but when i try .. "libcamera-still -o image.jpg " my picamera Noir take me a photo.
in 2023 I had to download the "libcamera-apps" to have the function of cameras.

I tried the normal configuration -- but nothing happens.
I also tried the configuration where it says to mash but nothing happens (I was not mashing the button as touchscreen but via mouse)

@BrianHepler
Copy link
Owner

The latest version of Raspian uses a new camera stack. You can enable the legacy camera stack by following the instructions I listed above to enable the Pi camera. It's just labeled as "legacy camera support" rather than enabling the camera entirely.
In short, use sudo raspi-config to get into the RPi configuration, then turn on everything camera related that you find in that interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants