Notifications
Clear all

OctoPrint on MK3?  

Page 4 / 7
  RSS
rotarypower101
(@rotarypower101)
Estimable Member
Re: OctoPrint on MK3?

Does anyone use a iOS app to view and control Octoprint?

I am trying this free one called OctoClient .

It seems to work, but it also indeterminately creates ~10-15sec of lag randomly.

Are any of the paid implementations something to look into for extended functionality or a more stable stream?

The web interface seems to give a clean reliable and generally stable stream, so it seems the output from the Pi is working correctly.

Posted : 26/11/2017 11:47 pm
maxx78
(@maxx78)
Estimable Member
Re: OctoPrint on MK3?

I use TouchUI as an Plugin for Octoprint and open Octoprint via my browser.

http://plugins.octoprint.org/plugins/touchui/

Its not an App for the phone but gets the job done.

*Disclaimer: i don't have an Iphone*

Posted : 27/11/2017 9:21 am
Bigdogbro1
(@bigdogbro1)
Estimable Member
Re: OctoPrint on MK3?

I have my Pi Zero W with a 1080P Pi camera running wireless and streaming from the camera at 25fps. So far so good. I followed this video to get it going on my Windows7 PC. When you reboot the Pi Zero board it will take a good 30 seconds+ before Octoprint will begin to work.

MK3 Kit, Designed, built 4x4 CNC Plasma Cutting Table, Motorcycles Bigdogbro's Adventures
http://www.youtube.com/channel/UC5djrxBeeOKB9_6rHnn6G8A

Posted : 01/12/2017 2:38 am
Dan
 Dan
(@dan-13)
Eminent Member
Re: OctoPrint on MK3?

Okay, I've been sitting on this for a while hoping someone would clear it up, but it *looks* as though the Pi's GPIO 8 is being connected to the +12V2 rail, but surely that's false. From the videos, I though that maybe that socket on J19 was removed on the einsy, but it definitely looks intact on the build manual. For reference, the version in the video is the same as the version in the build manual (0.5c).

Can anyone help me reconcile this? It'll help me sleep at night and get over my nightmares about blue smoke pouring out of everyone's Pi's and Einsy's.

I'm sure it'll all be addressed very soon by Prusa in a "How to connect your Pi" guide, but my brain is a jerk when it comes to unsolved problems 😛

Posted : 01/12/2017 5:42 pm
vaxxi
(@vaxxi)
Estimable Member
Re: OctoPrint on MK3?

The pin layout might have changed since the announcement, as it was the case with the addon board. We'll see, I guess.

Posted : 01/12/2017 5:55 pm
Dan
 Dan
(@dan-13)
Eminent Member
Re: OctoPrint on MK3?


The pin layout might have changed since the announcement, as it was the case with the addon board. We'll see, I guess.

Pin 1 on J19 has been labeled as +12V2 in every schematic since V0.5a, when the rx/tx pins were lined up with the uart connections on the Pi header. The only change worth noting is that the reset pin (connected to GPIO 3) is now connected to a transistor to isolate it from the VCC pull-up on nRESET, which will invert the reset signal coming from the Pi, but that's not really related.

Posted : 01/12/2017 8:52 pm
Bigdogbro1
(@bigdogbro1)
Estimable Member
Re: OctoPrint on MK3?

I wonder what the Einsy bd. watches for a power outage?

I would think it looks for the mains 50/60 hertz AC wave dropout and after a few cycles it reacts and prepares to save head position and shut down. The power supply would need a long enough power HOLD UP storage capacity to get that done even with the Raspberry Pi Zero W board installed. If the power supply can hold up the DC outputs long enough with the Raspberry Pi Zero W board (LOAD) installed then the shutdown procedure should still function. Can't say if the Raspberry Pi Zero W board would have time to properly finish any housekeeping in time during a power loss event.

I do not see any special AC waveform monitor signal from the power supply so it must monitor the DC supply drop which is not as fast.

Rob

MK3 Kit, Designed, built 4x4 CNC Plasma Cutting Table, Motorcycles Bigdogbro's Adventures
http://www.youtube.com/channel/UC5djrxBeeOKB9_6rHnn6G8A

Posted : 02/12/2017 2:56 pm
Dan
 Dan
(@dan-13)
Eminent Member
Re: OctoPrint on MK3?


I wonder what the Einsy bd. watches for a power outage?

I would think it looks for the mains 50/60 hertz AC wave dropout and after a few cycles it reacts and prepares to save head position and shut down. The power supply would need a long enough power HOLD UP storage capacity to get that done even with the Raspberry Pi Zero W board installed. If the power supply can hold up the DC outputs long enough with the Raspberry Pi Zero W board (LOAD) installed then the shutdown procedure should still function. Can't say if the Raspberry Pi Zero W board would have time to properly finish any housekeeping in time during a power loss event.

I do not see any special AC waveform monitor signal from the power supply so it must monitor the DC supply drop which is not as fast.

Rob

There is an extra power panic board in the power supply with an AC photocoupler and a couple of FETs to pull down the nAC_FAULT signal on the einsy. That signal is hooked up to some and gates with the signals to the heaters, so the heaters shut off right away. Once the einsy reads fault pin, it can deal with storing its position and moving up the carriage. The fault signal also goes to the pi header lining up with GPIO 9, but the pi would only have about 1/2 second to deal with it before it lost power.

Posted : 04/12/2017 5:41 pm
Jeansburger
(@jeansburger)
Active Member
Re: OctoPrint on MK3?

Has anyone found a way to hook up a RPi3/2 to the Einsy board? I bought a Pi3 as it has wifi and is more powerful than the Zero so hopefully I can just do everything from the Pi. Would it still take hours just to slice a simple model on it? Obviously a regular computer CPU would do it in much less time but if that's the only data crunching the Pi has to do and it wouldn't be exponentially longer it might be worth it to set it and forget it.

Posted : 08/12/2017 3:11 am
Paul Meyer
(@paul-meyer)
Honorable Member
Re: OctoPrint on MK3?


Has anyone found a way to hook up a RPi3/2 to the Einsy board? I bought a Pi3 as it has wifi and is more powerful than the Zero so hopefully I can just do everything from the Pi. Would it still take hours just to slice a simple model on it? Obviously a regular computer CPU would do it in much less time but if that's the only data crunching the Pi has to do and it wouldn't be exponentially longer it might be worth it to set it and forget it.

This may be obvious and not what you are asking, but the common way to connect an Octopi to any printer is through USB. A Pi3 should connect to the mk3 with USB just fine. This is the way I plan to connect.

A separate question is: can a Raspberry Pi3 connect using the same direct pin connection as the PiZeroW. The answer should be yes, but it will take a bit more work. Connecting the PiZero involves soldering a pin header, basically short direct wires between the Einsy and the zero. The Pi3 will have the same connections, but won't fit in the enclosure. You'll have use a multi-wire (6?) cable to connect the two. Unclear the distance that cable can be, but I suspect if it is <30cm you should be fine.

My plan is to start out with RPi3/USB, get the printer running well, and then watch the Octoprint/Mk3 evolution for the direct piZero connection (how fast is SD upload, how well does it work) and then wire up my pi3 with an attachment to the back of the einsy case, using an external power supply (unless I can scavenge 5v from the mk3 PSU somewhere).

Posted : 08/12/2017 4:39 am
Jeansburger
(@jeansburger)
Active Member
Re: OctoPrint on MK3?



Has anyone found a way to hook up a RPi3/2 to the Einsy board? I bought a Pi3 as it has wifi and is more powerful than the Zero so hopefully I can just do everything from the Pi. Would it still take hours just to slice a simple model on it? Obviously a regular computer CPU would do it in much less time but if that's the only data crunching the Pi has to do and it wouldn't be exponentially longer it might be worth it to set it and forget it.

This may be obvious and not what you are asking, but the common way to connect an Octopi to any printer is through USB. A Pi3 should connect to the mk3 with USB just fine. This is the way I plan to connect.

A separate question is: can a Raspberry Pi3 connect using the same direct pin connection as the PiZeroW. The answer should be yes, but it will take a bit more work. Connecting the PiZero involves soldering a pin header, basically short direct wires between the Einsy and the zero. The Pi3 will have the same connections, but won't fit in the enclosure. You'll have use a multi-wire (6?) cable to connect the two. Unclear the distance that cable can be, but I suspect if it is <30cm you should be fine.

My plan is to start out with RPi3/USB, get the printer running well, and then watch the Octoprint/Mk3 evolution for the direct piZero connection (how fast is SD upload, how well does it work) and then wire up my pi3 with an attachment to the back of the einsy case, using an external power supply (unless I can scavenge 5v from the mk3 PSU somewhere).

I know you can hook it up via USB 🙂 but if you don't have to have more wires why bother. The Einsy board has 14 pins which match the raspberry pi headers (I'm looking on Mouser for 14 pin male and female 2.54mm headers) you could just make a ribbon cable and power the pi using an external. My only issue is the power pins on Pi header going to Einsy if there's an issue with the cables having a voltage difference and causing problems. But if you can turn those off on Einsy then it would be trivial to just make a cable.

Posted : 08/12/2017 4:54 pm
Paul Meyer
(@paul-meyer)
Honorable Member
Re: OctoPrint on MK3?


I know you can hook it up via USB 🙂 but if you don't have to have more wires why bother. The Einsy board has 14 pins which match the raspberry pi headers (I'm looking on Mouser for 14 pin male and female 2.54mm headers) you could just make a ribbon cable and power the pi using an external. My only issue is the power pins on Pi header going to Einsy if there's an issue with the cables having a voltage difference and causing problems. But if you can turn those off on Einsy then it would be trivial to just make a cable.

Agreed, I'll be going that way as well, although there are going to be more wires either way. Actually, a USB cable is arguably fewer wires (or at least conductors!) than your 14 pin cable. The advantage of the direct cable will be potentially a shorter direct path to a Pi3 directly mounted on the Einsy enclosure, rather than a USB cable sticking out of the side somewhere.

I don't think you need all 14 pins in the wire, I saw a "mk3 pre-wired Pi-Zero" for sale that brought out 6 pins, I believe. Don't know the official count. One thing to be careful of: I do not know if the Einsy can power a full Pi3, you may need external power, or power directly from the PSU through another path, tbd.

Posted : 08/12/2017 7:36 pm
Dan
 Dan
(@dan-13)
Eminent Member
Re: OctoPrint on MK3?

You could likely accomplish this with a 4 pin cable like this: http://a.co/eUOXufP (just one of the two cables). The 5V regulator appears to be configured with a ~2.4A current limit. I don't have a good feel for how much power the rest of the board draws, but I would bet that you could run a Pi 3 with Octoprint on that without any issues. I definitely would not connect all the pins in the connector; most of them are clearly not meant for the Pi, and one is connected directly to one of the 24V rails.

Posted : 08/12/2017 9:12 pm
jorgen.r
(@jorgen-r)
Eminent Member
Topic starter answered:
Re: OctoPrint on MK3?

What type og pins do i need til solder the zero?

Posted : 08/12/2017 9:13 pm
Bigdogbro1
(@bigdogbro1)
Estimable Member
Re: OctoPrint on MK3?

I plan on soldering only those pins needed to get the Pi Zero/W to function and not the entire header.

MK3 Kit, Designed, built 4x4 CNC Plasma Cutting Table, Motorcycles Bigdogbro's Adventures
http://www.youtube.com/channel/UC5djrxBeeOKB9_6rHnn6G8A

Posted : 09/12/2017 4:14 pm
rotarypower101
(@rotarypower101)
Estimable Member
Re: OctoPrint on MK3?

I keep reading people are dissatisfied with the performance of the RP0W compared to the RP3?

What would the RP3 give that the RP0W does not for only his task of streaming video and monitoring?

Once the RP0W is up and running, there seems to be some lag ~3-10sec for the video.

Can that be addressed with the RP3? And is it even an issue? Doesn't seem like it would be for this specific task?

Are there clever ways to directly stream the video feed through to a "remote" platform?

Currently I am simply using my screen sharing applications on iOS to share the screen on my Mac that is displaying the video from the Pi locally.

I read there are ways, but not secure?

Can anyone elaborate on how we should acomplish remote viewing this if we are curious?

And how insecure, or critical would it be to have that specific port open for this specific task? Is it more likely to have an issue as the code is open, is that the concern, that something malicious "could" be placed into the source causing issues?

Posted : 09/12/2017 6:00 pm
Paul Meyer
(@paul-meyer)
Honorable Member
Re: OctoPrint on MK3?

I would avoid just having a port open for accessing your pi video.

What you might want to do is explore a general purpose solution to securely connect a computer on the internet to your home network. This is generally done with a firewall device between your home network and the internet that can act as a vpn server. Your computer connects through the vpn to the firewall device and then appears to be on your home network and can access the pi directly.

Some home routers have vpn capabilities, I believe. I use a small PC running pfSense with OpenVPN.

Posted : 10/12/2017 5:57 am
Mike
 Mike
(@mike-8)
Estimable Member
Re: OctoPrint on MK3?

vpn is the only secure way and it is way more easy to setup than the other methods try to make your access secure.

Posted : 10/12/2017 10:35 am
vaxxi
(@vaxxi)
Estimable Member
Re: OctoPrint on MK3?

Posted : 13/12/2017 12:17 pm
maxx78
(@maxx78)
Estimable Member
Re: OctoPrint on MK3?

here did you find that ?

Posted : 13/12/2017 12:58 pm
Page 4 / 7
Share: