Notifications
Clear all

RPi Zero 2 W PrusaPrint Support  

Page 1 / 4
  RSS
cryptkicker
(@cryptkicker)
New Member
RPi Zero 2 W PrusaPrint Support

Now that the RPi Zero 2 W has been released, are there PrusaPrint setting updates to support it?

Will the RPi Zero 2 W be capable of running PrusaPrint and webcam with only the CPU upgrade?

Zero 2 W remains unchanged for other specs:

  • WiFi single-band 2.4 GHz
  • 512 MB Memory

 

Related References

This topic was modified 2 years ago by cryptkicker
Posted : 28/10/2021 4:46 pm
Krisas Man
(@krisas-man)
Active Member
Compatability? Power Draw?

Clearly the pinout and connector location matches, but I see they are recommending a 5V 2.5A power supply, so a bit more than the original Pi Zero.  As this is being drawn through the RAMBo board, it would be nice to have verification that this won't damage the board.  Other than that I think the rest needs to come from the OctoPrint team (which I hear has been positive on Twitter).

Posted : 28/10/2021 7:11 pm
K7ZPJ
(@k7zpj)
Reputable Member
The Raspberry Pi Zero 2 was just released and it gets an OctoPrint stamp of approval!

See announcement on the Octoprint forum:   https://community.octoprint.org/t/the-raspberry-pi-zero-2-was-just-released-and-it-gets-an-octoprint-stamp-of-approval/38338

 

Posted by: @krisas-man

Clearly the pinout and connector location matches, but I see they are recommending a 5V 2.5A power supply, so a bit more than the original Pi Zero.  As this is being drawn through the RAMBo board, it would be nice to have verification that this won't damage the board.  Other than that I think the rest needs to come from the OctoPrint team (which I hear has been positive on Twitter).

 

Posted : 28/10/2021 10:24 pm
Krisas Man
(@krisas-man)
Active Member
Prusa approved?

Yah, it sounded like this was coming from Octoprint.  Now for the thumbs up from Prusa?

Posted : 29/10/2021 3:11 am
Thelvaen
(@thelvaen)
Active Member
power draw

As far as I remember Prusa specs for the boards, it should be able to deliver up to 1A for the Pi meaning a max of 5W.

Tests done by Jeff Geerling ( ) shows a 2.12W consumption when the CPU is loaded and with the WiFi enabled, so I guess you should not worry to much. The 2.5A PSU might be recommended when you power other things through the Pi.

Please note that the Pi Camera (not an USB one), will add between 0.4W to 1.4W depending on the model to your consumption. That should still be under the max 5W you can get from the header connector without frying your board.

Note : you can use a cheap USB power meter like that one : https://www.amazon.com/MakerHawk-3-7-30V-Voltage-Multimeter-Voltmeter/dp/B07FMQZVW2 to be sure your Pi Zero is not consuming too much power before installing it.

Posted by: @krisas-man

Clearly the pinout and connector location matches, but I see they are recommending a 5V 2.5A power supply, so a bit more than the original Pi Zero.  As this is being drawn through the RAMBo board, it would be nice to have verification that this won't damage the board.  Other than that I think the rest needs to come from the OctoPrint team (which I hear has been positive on Twitter).

 

Posted : 29/10/2021 9:36 am
Thelvaen
(@thelvaen)
Active Member
Power draw complement

After some verification, the regulator on the board is designed for 2A constant draw on the 5V rail.

ATMega 2560 takes up to 150mA, TMC2130 up to 20mA (x5), fan 50mA, and a couple of other things, meaning you should be able to get 1A without trouble from the rail.

Posted : 29/10/2021 10:04 am
willemdemoor
(@willemdemoor)
New Member
Power comparison

I did a little checking on power draw between my existing Pi Zero W and my new Pi Zero 2 W.
Please note: due to the Zero 2's unwillingness to boot from the same card, I used different cards (both 16GB) and both had the same webcam  (Pi clone) attached. Power was measured with a USB power meter (so not supplied on the gpio-headers, shouldn't make a  difference?) and the Pi's were not connected to the printer.

Power consumption Zero W:
0.353A - peak (during boot) 
0.160 to 0.225A - idle (logged in on Octoprint-webserver)

Power consumption Zero 2 W:
0.442A - peak (during boot)
0,180 to 0.220A - idle (logged in on Octoprint-webserver)
0.500A - peak during backup restoration (probably unpacking archive) 

Booting is a lot faster though, next step: integrating in printer, should be ok I hope...

Posted : 29/10/2021 3:21 pm
Thelvaen
(@thelvaen)
Active Member
RE: We're good 🙂

0.5A => 2.5W we're in the theoretical range I gave earlier, and it's cool to have some experimental feedback giving the same numbers 🙂

Posted by: @willemdemoor

I did a little checking on power draw between my existing Pi Zero W and my new Pi Zero 2 W.
Please note: due to the Zero 2's unwillingness to boot from the same card, I used different cards (both 16GB) and both had the same webcam  (Pi clone) attached. Power was measured with a USB power meter (so not supplied on the gpio-headers, shouldn't make a  difference?) and the Pi's were not connected to the printer.

Power consumption Zero W:
0.353A - peak (during boot) 
0.160 to 0.225A - idle (logged in on Octoprint-webserver)

Power consumption Zero 2 W:
0.442A - peak (during boot)
0,180 to 0.220A - idle (logged in on Octoprint-webserver)
0.500A - peak during backup restoration (probably unpacking archive) 

Booting is a lot faster though, next step: integrating in printer, should be ok I hope...

 

Posted : 29/10/2021 3:59 pm
Disseny Wenzke
(@disseny-wenzke)
New Member
It runs, but missing serial connection

I'm running a raspberry pi zero 2 connected to MK3s, but unable con connect using internal serial connection....

No low voltage messages, I'm using it without cammera.

Posted : 29/10/2021 7:50 pm
PrusaUK liked
towlerg
(@towlerg)
Noble Member

As noted in another thread, if you power the Zero2 from the printers PSU, you will have to find a way to ensure that you gracefully shut down the Pi before you power down the printer.

I suspect that a Octoprint plugin that sensed Vin and shuts down the Pi will be created (if it doesn't already exist).

Posted : 30/10/2021 10:42 am
Thelvaen
(@thelvaen)
Active Member
RPi config.txt

there's options you have to setup on the Pi config.txt for it to enable the serial interface at that point, or you can do it with raspi-config. The default settings are to get a Serial Console on the port, useful to troubleshoot things on the Pi, but not to use it as a Serial Master.

The raspi-config option seems the safest as there's multiple ways to do so with the config.txt, but they may vary depending on the Pi, and I have yet to receive my Pi Zero 2 to fiddle with it.

So in raspi-config, you go for "Interfacing Options", then in "Serial", you then answer "No" to the question about the shell, and "Yes" to the question about the serial port, after that, you can quit the tool and reboot your Pi.

Posted : 30/10/2021 11:05 am
willemdemoor
(@willemdemoor)
New Member
port swapping

Did you install a fresh OctoPi image? If so, don't forget to enable the serial connection on the GPIO pins, as per these instructions

Can confirm my Pi Zero 2 W (including camera) has been running without issue since yesterday 👍 

Posted : 01/11/2021 8:23 am
Disseny Wenzke
(@disseny-wenzke)
New Member
I missed the port configuration

Ohh, I forget to port Swapping, I use a fresh image from octopi website instead of the old prusa image.

Thanks for the hint!

Posted : 01/11/2021 10:02 pm
Mrak3D
(@mrak3d)
New Member
advice for basic installation - changes against standart Rpi Zero setup

Hi,

Im not clear what should I do to install RPi 2 W to MK3 on top of Prusaprint guideline, regarding serial interface.

https://help.prusa3d.com/en/article/prusaprint-rpi-zero-and-octoprint_2180

Im not using any camera or aditional HW.

Just Rpi 2 for remote control of MK3 via wifi.

Pls advice. Thanks!

Posted : 02/11/2021 2:45 pm
orange5
(@orange5)
New Member
mrakbox, you would need to enable serial communication

To connect the printer you would need to enable the serial port from the cmdline util

Use the "raspi-config" utility to enable the serial UART1.  Run 'sudo raspi-config' to start the utility.

Under "3.  Interfacing Options", pick "Serial Port".

Then "No" when it asks if you want a login shell to be accessible over serial.

Then "Yes" when it asks if you want the hardware enabled.

Reboot when prompted

Posted : 02/11/2021 9:04 pm
Mrak3D
(@mrak3d)
New Member
advice for basic installation - pls more details

Hi,

thanks for reply, but you expect that I have some advanced knowledge 🙂

So what should I do when I soldered Zero for insertion to MK3 and installed standart prusaprint image on the SD card?

How do I access RPi by raspi config? Should I power it by USB cable, or insert in MK3 and power thru soldered pins?

Find IP adress, put it in PuTTY (im using W10) with new pasword...?

thanks!

Posted : 03/11/2021 7:11 am
orange5
(@orange5)
New Member
RE: more details

Hi,

Since PrusaPrint is outdated and no longer maintained, I would suggest downloading a fresh Octoprint image and write that to the sd card, instead of using PrusaPrint.The download/install instructions on the Octoprint web page are clear and will also help you setup the wifi connection.Once the Octoprint Image has been written, if you have the possibilty you could connect the hdmi output of the pi zero to a display (by powering it via USB, also additional USB keyboard would be needed) to see if it successfully boots up and run the config utility.Once booted you will be asked for a username/password, user = pi, password = raspberry

Once logged in with the above credentials, you could run 'sudo raspi-config' which will start the utility and then select:

"3. Interfacing Options",

select "Serial Port".

Then "No" when it asks if you want a login shell to be accessible over serial.

Then "Yes" when it asks if you want the hardware enabled.

At this point you might want to double check that the ssh server is running:

From the raspi-config utility:

"3. Interfacing Options",

select "SSH"

Answer "Yes" when asked if you would like the SSH server to be enabled.

Once the above steps are done you could insert the pi zero into the printer and power it on. From the printer you also need to make sure that the RPi port is enabled, to do this, from the printers LCD menu -> Settings -> RPi port, and make sure it is set to ON

At this point you should be able to connect via a web browser onto the octoprint interface.

If you don't have the possibility to connect the pi zero to a display, after writing the image and booting up the pi (via the printer for example), wait for a couple of minutes before trying to access it via SSH (first boot takes a little longer). Yes, you could use putty to access the pi zero, for this you would need the IP address assigned to the pi, which usually could be found on your router admin interface (check for connected DHCP client list), if the pi has been successfully connected to the wifi network.

Hope this helps 🙂

This post was modified 2 years ago by orange5
Posted : 03/11/2021 9:26 am
Mrak3D liked
towlerg
(@towlerg)
Noble Member

As stated above, unless you never power down our printer and you use the printers to power the the Pi, it's just a matter of time before you forget to shut down the pi before the printer and corrupt your OctoPrint install.

Posted : 03/11/2021 12:17 pm
Mrak3D
(@mrak3d)
New Member
re:

my question is not why to do it, but how 🙂

Posted by: @towlerg

As stated above, unless you never power down our printer and you use the printers to power the the Pi, it's just a matter of time before you forget to shut down the pi before the printer and corrupt your OctoPrint install.

 

Posted : 03/11/2021 1:01 pm
PrusaUK
(@prusauk)
Active Member
it won't work for me

me too. pulling my hair out. anyone have any suggestions?

Posted : 03/11/2021 5:27 pm
Page 1 / 4
Share: