Notifications
Clear all

Pi Camera module  

Stránka 1 / 2
  RSS
navy2x
(@navy2x)
New Member
Pi Camera module

Sorry if this is a repeat question, I did not see it in this forum yet however. I am a relatively new user and I just got PrusaLink set up today.

I see that USB webcam is supported on the current rc2, does this mean a pi camera module is also supported such as Arducam conneted to the CSI interface on the pi zero 2? Or is this already supported is some other fashion?

Thanks!

Napsal : 02/01/2023 8:55 pm
Zbigniew Trzepizur
(@zbigniew-trzepizur)
Trusted Member
RE:

The CSI-connected camera support was in place in some form in RC2 briefly but didn't work for me. Soon after, they have pulled and then re-released RC2 without the support (USB cams only) due to some problems. I hope those are just temporary and we'll see full CSI-cam support soon but let's wait for @tojik to comment.

Napsal : 03/01/2023 12:01 pm
Tojik
(@tojik)
Member Moderator
RE: Pi Camera module

Yup, I tried to get RC2 out but i stopped short after creating the tag. I had no release notes yet. I pulled the PiCamera support attempt after realising that literally only the RPi Camera V2 module worked. Now getting up to speed with the forum and stuff, then it's RPi Camera time again.

Napsal : 03/01/2023 4:32 pm
Zbigniew Trzepizur
(@zbigniew-trzepizur)
Trusted Member
RE: Pi Camera module

Hmm... I have RPi Camera V2, although the "NoIR" version (this one: https://www.raspberrypi.com/products/pi-noir-camera-v2/) and it wasn't working for me. It was getting to the point where it was seeing the camera and offering to configure it (don't remember the exact wording) but then nothing was happening after I clicked this.

Napsal : 03/01/2023 5:01 pm
navy2x
(@navy2x)
New Member
Topic starter answered:
RE: Pi Camera module

Ahh gotcha, thanks for the replies. Good luck with the progress, I'm happy to help test with my RPi camera (Arducam IMX219) if you get it up and running. 

I have a USB Arducam ( https://www.amazon.com/gp/product/B0972KK7BC/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) on the way, should this one work since its USB?

Napsal : 03/01/2023 5:17 pm
Tojik
(@tojik)
Member Moderator
RE: Pi Camera module

I hope it will. I tested over 10 different webcams, so if this one behaves like a webcam, it should show up.

Napsal : 03/01/2023 5:24 pm
ChiTownGuy
(@chitownguy)
Estimable Member
RE: Pi Camera module

I tried connected my an old webcam to the RPI Zero 2 W usb port and I was unable to see it.  Where should I be looking for it Prusa Link screen?

Napsal : 05/01/2023 9:03 pm
Tojik
(@tojik)
Member Moderator
RE:

For camera support you'll need the 0.7.0 RC2. You can download it here: https://github.com/prusa3d/Prusa-Link/releases/download/0.7.0rc2/PrusaLink-0.7.0rc2.img.gz
You should see your cameras in PrusaLink local web interface. In there, you can link the cameras to Connect, so you'll see your images in there too.

Napsal : 05/01/2023 10:07 pm
ChiTownGuy
(@chitownguy)
Estimable Member
RE: Pi Camera module

Can that be upgraded from the Prusa Link interface or do I need to remove the uSD card and reimage it?

By default ssh is disabled so I can't ssh into it.

 

Napsal : 05/01/2023 10:25 pm
Tojik
(@tojik)
Member Moderator
RE: Pi Camera module

Sorry, it cannot be upgraded in place, you'll need to re-flash the image. You can backup most of your printer settings in connect under settings -> Lan settings

Napsal : 05/01/2023 10:28 pm
ChiTownGuy
(@chitownguy)
Estimable Member
RE: Pi Camera module

This might be a feature to add in the future.  Having to remove the RPI from the printer and remove and re-image the card is kind of a big deal.

It would be nice if the standard Debian apt or apt-get was able to update the OctoPrint/PrusaLink server.

The installation documentation says to not enable SSH or create a login.  Is there a specific reason for this or is it just to avoid unnecessary complications on the setup process?

Most of my Raspberry Pi based systems have a sudo apt update and then a sudo apt upgrade running as a daily cron job.

 

Napsal : 05/01/2023 11:13 pm
Tojik
(@tojik)
Member Moderator
RE: Pi Camera module

Yup, that would be convenient. So far, we're modifying the image too much inbetween versions, so you'd end up without some image specific features like automatic config copying from the boot partition (broken for prusa_printer_settings.ini in 0.7.0 RC2 tho :/ fixed it yesterday). We know we need an updater, but the focus is still cameras. Pi cameras specifically.

Napsal : 05/01/2023 11:23 pm
ChiTownGuy
(@chitownguy)
Estimable Member
RE: Pi Camera module

I was going to order a pi camera for just that purpose I just haven't selected one yet.  And then I need to select a mount for it.

That is why I am planning on using an old webcam I have laying around for now.

 

Thank you for your efforts.

Napsal : 05/01/2023 11:34 pm
Steven Machado
(@steven-machado)
New Member
RE: Pi Camera module

Currently using a Zero 2w 7.0r2 with Arducam Pi Camera connected to the pi.. just waiting to find out when to push the trigger to update as ssh pi wont let me in saying the password is wrong when I know the default >:(

Napsal : 06/01/2023 4:44 am
Tojik
(@tojik)
Member Moderator
RE: Pi Camera module

We changed the defaults and probably did not tell anybody, the official guide is still being made. The default user is now "jo" and we are working towards not having a default password. Not there yet. So it's still the default

Napsal : 06/01/2023 10:15 am
Mark Hähnel
(@mark-hahnel)
Active Member
RE: Pi Camera module

Do i understand correctly that in the current 0.7.0rc2 only the official Pi Camera V2 is working over CSI?
That would explain why my MakerHawk IR CSI camera is not working on my Pi Zero 2W.

Best regards,
Mark 

Napsal : 09/01/2023 11:49 am
Tojik
(@tojik)
Member Moderator
RE: Pi Camera module

Hi, no CSI cameras work in 0.7.0 RC2, I had one solution ready and that turned out to be very unreliable

Napsal : 09/01/2023 12:47 pm
Mark Hähnel
(@mark-hahnel)
Active Member
RE: Pi Camera module

Ah, okay, thank you! Then i will wait for a future release to setup my camera!

Napsal : 09/01/2023 12:48 pm
ChiTownGuy
(@chitownguy)
Estimable Member
RE: Pi Camera module

Tojik,

Thank you for your help.  I installed the file you pointed me to.   Connected my generic WinBook USB Wifi camera to the Pi Zero 2 W and everything is working perfectly.

I have a couple of questions:

1.  When the camera is set to manual trigger mode how do I trigger it?

2.  Is they any way to either stream live video or increase the trigger speed to something faster than 10 seconds.  I would recommend a setting of live and then instead of having 10, 30 or 60 seconds just let the user set the trigger time in 100mS increments from 100mS up to some maximum based of the size of your counter.  If you use a 16 bit counter its like 109 minutes, if you use a 32 bit counter it's so high that it's not worth mentioning.

Thanks again,

          Mike

Napsal : 09/01/2023 5:37 pm
Tojik
(@tojik)
Member Moderator
RE:

The setting UI is not the problem and PrusaLink is written in python so we are not limited by data types either. We however need to upload the photos in a reasonable interval, because each photo costs money. More photos - more money lost. We are thinking about only shooting when the printer is actually doing something like moving or printing to save even more bandwidth. The local video preview would be probably nice, but it's a different and harder thing to code compared to photos and we'd have to disable it on the original zero. Maybe it'll get re-visited someday.
The easiest way to let you see what's happening would be to add a manual refresh button tho.

The manual trigger scheme allows you to trigger the camera using the web API, but so far, it is not used.

Napsal : 09/01/2023 6:32 pm
Stránka 1 / 2
Share: