RE:
I'm trying to build a proper OctoPi installation, where the Octoprint is not installed on the home folder of the Pi user, and that has proper sudoers for what it needs to do. Also, I'm going the ReadOnly OS route, I should be able to redistribute a dump of my SD Card if people are interested, but don't expect more from me, at least for the moment.
RE:
I simply go to the web interface (that I am in quite often anyways) and click the Shutdown system button.
I think you kindda missed the point. The problem is that it requires discipline (that I certainly don't have) to remember to gracefully shutdown the Pi when you hit the printer switch. I think the reason is that the two things seem unrelated (as in fact they should be because IMHO you shouldn't be using the printers PSU to provide additional power to anything).
RE: RPi Zero 2 W PrusaPrint Support
I have a Retroflag GPi case that uses a Pi Zero W and it has a nice feature where you change the power switch from hardware to software mode and then install a plugin that shuts it all down. Really nice, you flip the power switch and you watch the OS shut down and then the screen goes black.
With the Prusa you have a hard switch on the power supply, you can even use the panic button without risking corruption of the card I think. If you had an external Pi you could have a capacitor on the buck converter that signals the board to shut down when external power is lost and feeds the needed power from the capacitor. The standard Pi Zero install on a Prusa limits you to what is built into the motherboard for power conversion etc so I don't think there is any way to let the Pi know power is going until it is too late. Only solution I could see is to do a secondary power board off the power supply that feeds the Einsy and gives you a soft off.
RE: RPi Zero 2 W PrusaPrint Support
How has everyone using a Pi Zero 2 W on their Prusa been with thermals? I have my Pi Zero 2 W connected to the header pins on the Prusa Controller board and with OctoPrint I did a quick 16 minute test. It printed just fine, but I then went to install a plugin to OctoPrint and couldn't install due to throttle errors. I felt the board, and it was pretty warm/hot. Is this normal/safe? is there some way to cool the Pi Zero 2 while installed onto the Prusa Controller board?
Thanks Everyone!
RE: RPi Zero 2 W PrusaPrint Support
I opted to mount the pi zero 2 outside the Einsy cover in the Flirc aluminum case. No issues (so far) with thermals even with multiple plugins running and webcam. Zero 2 seems to stay below 50 °C and handles all I have thrown at it with ease.
Here is a link to my mount design for the zero in the aluminium case if anyone is interested: https://www.prusaprinters.org/prints/91348-rpi-zero-w2-flirc-case-piggy-back-mount-for-prusa-
RE:
Now if I could just get the heat map bed leveling add-in working again with Python 3.
RE: RPi Zero 2 W PrusaPrint Support
I have my Zero 2 W mounted inside as normal, but it does get to about 72 C (inside a printer enclosure as well) so it runs at 0.80 GHz but the print job runs fine and I have several plugins installed (including Resource Monitor to view temp).
RE: RPi Zero 2 W PrusaPrint Support
72°C is a bit hot, but except more throttling, you should not have any issue.
That being said, your Pi & Electronics would still be happier outside of your enclosure to get lower temperatures ^^
Einsy Rambo Case Redesign for Cooling
I finally got a temp warning in OctoPrint when I was printing some PETG in my enclosure. I went ahead and redesigned the Einsy case to add a 40mm fan. I found a fan on Amazon that will run off a USB brick and found a Y splitter for the power cord running into my printer. I haven't printed it yet (too many holiday prints running) but designed it to pretty easy to print.
https://www.prusaprinters.org/prints/99441-40mm-cooling-fan-mount-for-einsy-rambo-with-raspbe
Better case design with passive cooling
After further thinking, I have redesigned the case to flip the Raspberry Pi so it gets good passive cooling.
https://www.prusaprinters.org/prints/117786-flipped-raspberry-pi-zero-2-enclosure-for-einsy-ra
RE: RPi Zero 2 W PrusaPrint Support
Hello,
Just saying 66°C is perfectly fine for a Raspberry Pi chipset, it's going to start throttle at 80°C (and by throttling I mean it's going to reduce its frequency, not that it's going to stop working).
RE: RPi Zero 2 W PrusaPrint Support
Yah, that is just the idle temp with nothing running. When printing PETG my enclosure gets closer to 90°F and OctoPrint starts popping warnings. I would hate to see how much it would complain when I print PC Blend in my enclosure.
RE: RPi Zero 2 W PrusaPrint Support
ahhh if you have a printer in an enclosure, yeah, you might want to get all the electronics outside of the enclosure 🙂
RE: RPi Zero 2 W PrusaPrint Support
Hi,
today I messed up my sd card by powering off the printer while octoprint server was running. The RPi Zero 2 is connected via gpio. Is it possible to connect a power supply additional to gpio connection? Thanks.
RE: RPi Zero 2 W PrusaPrint Support
The standard install uses pins 4, 6, 8, and 10. 8 and 10 are TX and RX (transmit and receive data). Pin 4 is 5V power and 6 is GND. My understanding is that the Pi doesn't like 2 power sources, but you could flip pins 4 and 6 to the other side of the board and not draw power from the Einsy RAMBo. Chris' Basement on YouTube has some videos on using capacitor banks for backup power. You would need to use some pins on the Pi to signal time to shut down when power is lost, but that is doable.
I have been liking my new 'flipped' case above as I can finally see the status LED on the Pi so I can tell when it is shut down.
RE: RPi Zero 2 W PrusaPrint Support
an other solution would be to use an immutable version, were the OS is mounted as RO, and only some specifics partitions (lets say for exemple the one where you upload gcodes) are mounted in RW mode.
RE: RPi Zero 2 W PrusaPrint Support
"My understanding is that the Pi doesn't like 2 power sources" Nothing like 2 power sources including the 2 power sources.
IMHO I believe the notion of powering the Pi from the printer is fundamentally flawed. About the only place it might make sense is a print farm where the printers are never switched off. Just my 2 cents. I might add that most Pi's seem to be picky about power supply voltage (thus genuine Raspberry wall wart is 5.1 or 5.2)
RE:
an other solution would be to use an immutable version, were the OS is mounted as RO, and only some specifics partitions (lets say for exemple the one where you upload gcodes) are mounted in RW mode.
I know it shows my ignorance but none of that made any sense at all. I wonder how many board members share my ignorance.
One thing though, most Octoprint user don't upload GCode files to the SD card (it's sooo slooow)
RE: RPi Zero 2 W PrusaPrint Support
Raspian is a Linux flavor; therefore, the base system where the OS resides can be set as read only, /home read write. One caveat is when there's an update. But being a Linux OS one can do as one wishes.
Stay safe and healthy, Phil
RE: RPi Zero 2 W PrusaPrint Support
an other solution would be to use an immutable version, were the OS is mounted as RO, and only some specifics partitions (lets say for exemple the one where you upload gcodes) are mounted in RW mode.
I know it shows my ignorance but none of that made any sense at all. I wonder how many board members share my ignorance.
One thing though, most Octoprint user don't upload GCode files to the SD card (it's sooo slooow)
Yeah, in that cas, when I talk about SD card (which I don't in my post), it means the one on the Raspberry Pi, hosting a minimal Linux distribution (Raspbian/Ubuntu/DietPi/...) and the application Octoprint (mostly a collection of Python scripts running on top of the previous Linux distribution).
Some distribution allow you to work in "Immutable" mode, meaning the OS drive is going to be mounted as a Read Only device, that avoids a lot of SD Card corruption that can occur with device being powered off improperly while the OS is still running.
I hope it clears the misunderstanding you had, and that it gave you enough info to understand a bit of what was going on (if not, feel free to ask, I'll try to answer) 🙂