banner



Is The Pi Zero Camera The Same As A Pi 3 B+ Camera?

jweaver

(@jweaver)

Honorable Member

Are people with Octopi on a Pi Null W using a camera?

I was only looking at the Octopi web site, looking for information on building my SD carte, and I noticed a foot note for the Pi Zero West which reads

2) Non recommended if you plan to use a webcam for a live view - the wifi interface currently causes meaning CPU load on bandwidth utilization, negatively affecting running print jobs.

This doesn't bode well for people (like me) who intended to employ the Pi Zilch W for Octopi AND a camera... And I wonder if this might explicate some of the ongoing issues?

Posted : 23/01/2018 five:55 pm

dryja123

(@dryja123)

Honorable Fellow member

Re: Are people with Octopi on a Pi Zero W using a photographic camera?

You gotta retrieve you lot can't await the globe from a inexpensive trivial $5 - $x figurer. You could e'er hook up a Pi3 to the USB but that defeats the purpose of having Einsy back up for the Pi.

Posted : 23/01/2018 six:36 pm

jweaver

(@jweaver)

Honorable Fellow member

Topic starter answered:

Re: Are people with Octopi on a Pi Zip W using a camera?


You gotta call up you can't expect the earth from a cheap little $5 - $10 computer. You lot could ever hook upward a Pi3 to the USB but that defeats the purpose of having Einsy back up for the Pi.

I totally understand.. I am more than aware that the Pi Zero is much less powerful than its larger cousins.. But this is the first time I have seen it documented that information technology hasn't got the horsepower to drive Wifi and a camera at the same time.. And merely question whether some of the people who are having problems may be using a camera.

My plan (or I should say hope) was to use the Pi to drive Octopi and a camera... But wonder if this is asking too much, so I may focus on Octopi for now and see whether they ever bring out a Zero2 with more horse-power

Posted : 23/01/2018 7:26 pm

kenneth.a

(@kenneth-a)

Active Member

Re: Are people with Octopi on a Pi Naught Due west using a camera?

It is working for me.

I'm using the Zero W running OctoPrint, communicating through the RPi serial port, with an attached USB hub/Ethernet adapter ( https://www.adafruit.com/product/2992 ], with a wired Ethernet connexion and a Logitech C930e USB photographic camera attached to the bed (same camera I've used on other printers).

That does mean I'm not using the Zero's internal WiFi.

Every bit of RC5, I've not had any problems with the sample GCode and one or two locally sliced models, not a single glitched impress. Of course, that's an anecdote and not proof information technology'll ever work.

That said, the OctoPrint interface is definitely slower than on a Pi 3, and I'll be interested in moving it to a 3 once all of the features (can ability-panic exist supported, etc.) stabilize for the Zero, and it's articulate what the tradeoffs would be of switching to a 3.

...

Posted : 23/01/2018 7:41 pm

jweaver

(@jweaver)

Honorable Member

Topic starter answered:

Re: Are people with Octopi on a Pi Zero W using a camera?


Information technology is working for me.

I'm using the Zero W running OctoPrint, communicating through the RPi serial port, with an attached USB hub/Ethernet adapter ( https://www.adafruit.com/product/2992 ], with a wired Ethernet connection and a Logitech C930e USB photographic camera fastened to the bed (same camera I've used on other printers).

Because they say that the the Wifi is CPU intensite, this is a actually smart motion and considering my printer is next to my router would be a better solution than Wifi...

I call up i mght requite that a get.. are at that place whatever guides on how to configure it, and how to disable,the wifi?

Posted : 23/01/2018 7:55 pm

Jeff

Re: Are people with Octopi on a Pi Naught West using a photographic camera?

I've upgraded my MK3 and stuck the Pi Cypher W dorsum on the header, and it has been running nicely for a few days with no skips!

Camera-wise, I'chiliad waiting on longer Pi photographic camera ribbons (I'll splice one to a short Nix photographic camera ribbon) and plan to see what it takes to actually trip upward the Pi.

Resolution, frame charge per unit, and compression are adaptable, and 640x480 at 1Hz should exist plenty to check if it's making spaghetti. I'1000 not as interested in time lapse every bit occasionally checking a view.

Posted : 23/01/2018 8:12 pm

moojuiceuk

(@moojuiceuk)

Trusted Member

Re: Are people with Octopi on a Pi Cypher West using a camera?



It is working for me.

I'm using the Zero Due west running OctoPrint, communicating through the RPi series port, with an fastened USB hub/Ethernet adapter ( https://www.adafruit.com/product/2992 ], with a wired Ethernet connection and a Logitech C930e USB camera attached to the bed (aforementioned camera I've used on other printers).

Because they say that the the Wifi is CPU intensite, this is a really smart move and considering my printer is next to my router would be a ameliorate solution than Wifi...

I call up i mght give that a become.. are there whatsoever guides on how to configure it, and how to disable,the wifi?

To disable wifi & bluetooth on the Raspberry Pi Zero W, yous need to get to the command line (either plug in a monitor and USB keyboard, or connect via SSH secure shell to go at the command line.
sudo nano /boot/config.txt

Add the following to the file:
dtoverlay=pi3-disable-bt
dtoverlay=pi3-disable-wifi

Press Ctrl + Ten to leave and Y to save. Then reboot the pi. Alternatively, take the microSD card out of the pi, insert into a PC/mac and open up the config.txt file on the fatty partition and make the changes to the config file using a text editor that way.

If you just connect up a USB to ethernet adaptor, then in almost cases it volition be automatically recognised by the kernel. If your home network has DHCP (most do) then if you plug in an ethernet cable it should be given an IP address automatically. If you want a static IP address, yous need to add the post-obit to /etc/dhcpcd.conf
interface eth0
static ip_address=*your static address y'all want*
static routers=*address of modem*
static domain_name_servers=8.8.iv.4 (google DNS as case)

Posted : 23/01/2018 x:14 pm

HackMonkey

(@hackmonkey-two)

Trusted Member

Re: Are people with Octopi on a Pi Naught West using a photographic camera?

I did some monitoring tonight running HTOP on the Pi Nix W while running a multifariousness of prints and watching the CPU usage. The camera used was the official RPi camera ane.three. which is 5mp. I have a 8mp two.one version effectually here also, but I don't think it is necessary for print monitoring. I had a agglomeration of trivial cable holders that took about xx minutes, and so seemed like a good project to exam with.

Hither is what I observed:

No photographic camera -
6% cpu while only sitting idle.
30% cpu while press.

With RPi 1.3 camera attached -
- While sitting idle -
8% cpu no stream active.
twoscore% cpu 1 stream agile.
80% cpu 2 streams agile - Small-scale lag in video, but not commands.
100% cpu 3 streams active - Major lag in both video and commands.
- While printing -
30% cpu no stream active.
60% cpu i stream agile.
100% cpu 2 streams agile - Minor lag in video, printing non effected.
100% cpu 3 streams active - Major lag in video, printing not effected.

In all the variations, I could not perceive any degradation in press. All prints finished with a minute of each other. All the prints looked the aforementioned.

Posted : 24/01/2018 x:37 am

jweaver

(@jweaver)

Honorable Member

Topic starter answered:

Re: Are people with Octopi on a Pi Cypher W using a photographic camera?


I did some monitoring tonight running HTOP on the Pi Nothing W while running a multifariousness of prints and watching the CPU usage. The camera used was the official RPi camera 1.3. which is 5mp. I accept a 8mp 2.1 version around hither besides, but I don't think it is necessary for print monitoring. I had a bunch of little cable holders that took well-nigh 20 minutes, so seemed like a good project to test with.

Running Wifi too?

Posted : 24/01/2018 10:51 am

HackMonkey

(@hackmonkey-2)

Trusted Member

Re: Are people with Octopi on a Pi Naught W using a camera?

Yes. This is the Pi Null W connected directly to the Einsy over UART. I was in constant connexion with Octopi, watching the Gcode Viewer, if not watching the photographic camera.



I did some monitoring tonight running HTOP on the Pi Zero W while running a diversity of prints and watching the CPU usage. The camera used was the official RPi photographic camera 1.three. which is 5mp. I take a 8mp 2.one version effectually here likewise, but I don't think information technology is necessary for print monitoring. I had a bunch of little cablevision holders that took most 20 minutes, so seemed like a good project to examination with.

Running Wifi too?

Posted : 24/01/2018 10:56 am

jweaver

(@jweaver)

Honorable Member

Topic starter answered:

Re: Are people with Octopi on a Pi Zippo W using a camera?


Aye. This is the Pi Zippo W connected straight to the Einsy over UART. I was in constant connection with Octopi, watching the Gcode Viewer, if not watching the photographic camera.

Awesome.. Whilst Ethernet would be OK. Its actress cabling that I don't really want.

If I tin get Octopi printing and the camera working, using Wifi I will be overjoyed, so am going stick with the standard offer for at present and run across how it goes. If its constitute later that Wifi is that much of a CPU hog, I volition simply change over to Ethernet.

Cheers

Jon

Posted : 24/01/2018 xi:21 am

N00P

Re: Are people with Octopi on a Pi Zero W using a camera?

there are two things that improved my cpu usage quite a bit.

1. Better WIFI Signal, i installed a Wifi Repeater close to the printer
two. SnapStream Plugin https://plugins.octoprint.org/plugins/snapstream/

Posted : 24/01/2018 two:10 pm

Source: https://forum.prusaprinters.org/forum/original-prusa-i3-mk3s-mk3-others-archive/are-people-with-octopi-on-a-pi-zero-w-using-a-camera/

Posted by: clarknoreed.blogspot.com

0 Response to "Is The Pi Zero Camera The Same As A Pi 3 B+ Camera?"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel