Notifications
Clear all

OctoPrint on MK3?  

Page 5 / 7
  RSS
vaxxi
(@vaxxi)
Estimable Member
Re: OctoPrint on MK3?

Yep, from Josef's Facebook it seems.

Posted : 13/12/2017 1:09 pm
jweaver
(@jweaver)
Honorable Member
Re: OctoPrint on MK3?

Those are long header pins... i have loads but they are all short.. anyone know where to source them (in the UK)?

Edit: ignore that. Searching for “long header pins” gave me what i want...

Posted : 13/12/2017 1:11 pm
rufflez
(@rufflez)
Estimable 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.

I was using using Remote Desktop from Google or TeamViewer. Both are free secure options.

Octopi has built in reverse proxy that supports authentication.
I used this article and app to connect to my printer remotely.

https://printoid.net/access-octoprint-from-the-internet/

Posted : 13/12/2017 3:06 pm
gorkish
(@gorkish)
Eminent Member
Re: OctoPrint on MK3?

There is an STL of the a mounting frame recently posted at here on GitHub however it looks kind of hastily designed and not much like the image posted earlier in the forum (unfortunately this post wa is completely unattributed so no way to look into the matter)

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

Is there a benefit to direct wiring vs USB when using a Rpi 3 ?

Posted : 13/12/2017 9:36 pm
rufflez
(@rufflez)
Estimable Member
Re: OctoPrint on MK3?


Is there a benefit to direct wiring vs USB when using a Rpi 3 ?

No, way more work and probably won't have enough power for the pi3 (guessing, but the pi3 is recommended to run with 12.5 watts 5V @2.5Amp). The pi Zero W requires far less power.
I don't think the pin outs on the zero and the 3 are the same, if they aren't you can't mount it behind the einsy, so you don't get any space savings. You'll be running jumper wires anyway. If they are the same, you'll be doing a lot of de-soldering or if you find an extension break out that I guess would work. The pins need to be 18mm long if you mound it behind. Save the headache. Mount the pi somewhere and run 1 cable to the machine.

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



Is there a benefit to direct wiring vs USB when using a Rpi 3 ?

No, way more work and probably won't have enough power for the pi3 (guessing, but the pi3 is recommended to run with 12.5 watts 5V @2.5Amp). The pi Zero W requires far less power.
I don't think the pin outs on the zero and the 3 are the same, if they aren't you can't mount it behind the einsy, so you don't get any space savings. You'll be running jumper wires anyway. If they are the same, you'll be doing a lot of de-soldering or if you find an extension break out that I guess would work. The pins need to be 18mm long if you mound it behind. Save the headache. Mount the pi somewhere and run 1 cable to the machine.

I don't disagree with most of what you say, but I'm reserving judgement on whether it will be worth it. To me it will come down to two numbers:

  • max bits per second transmission from Octoprint through USB

  • max bits per second transmission from Octoprint through direct wire serial
  • If they are the same, then I'm completely with you: USB is way easier, as you'll need an external power supply and external mount anyway.

    Anybody have a pi0 connected? Can you run >250Kbps? If that is a hardware limit of the Pi or arduino hardware, then USB is likely the way to go.

    Posted : 14/12/2017 1:25 am
    kelchm
    (@kelchm)
    Eminent Member
    Re: OctoPrint on MK3?

    I'm having a difficult time finding header pins of the appropriate dimensions on digikey. Anyone have a link they could share?

    Posted : 14/12/2017 2:26 am
    rufflez
    (@rufflez)
    Estimable Member
    Re: OctoPrint on MK3?




    Is there a benefit to direct wiring vs USB when using a Rpi 3 ?

    No, way more work and probably won't have enough power for the pi3 (guessing, but the pi3 is recommended to run with 12.5 watts 5V @2.5Amp). The pi Zero W requires far less power.
    I don't think the pin outs on the zero and the 3 are the same, if they aren't you can't mount it behind the einsy, so you don't get any space savings. You'll be running jumper wires anyway. If they are the same, you'll be doing a lot of de-soldering or if you find an extension break out that I guess would work. The pins need to be 18mm long if you mound it behind. Save the headache. Mount the pi somewhere and run 1 cable to the machine.

    I don't disagree with most of what you say, but I'm reserving judgement on whether it will be worth it. To me it will come down to two numbers:

  • max bits per second transmission from Octoprint through USB

  • max bits per second transmission from Octoprint through direct wire serial
  • If they are the same, then I'm completely with you: USB is way easier, as you'll need an external power supply and external mount anyway.

    Anybody have a pi0 connected? Can you run >250Kbps? If that is a hardware limit of the Pi or arduino hardware, then USB is likely the way to go.

    I have a pi zero that I have octoprint on. I can test it if you want when I get my mk3.

    Posted : 14/12/2017 2:30 am
    maxx78
    (@maxx78)
    Estimable Member
    Re: OctoPrint on MK3?

    Thanks for the answers. I was looking at it from an electronics/software angle.

    The mounting /wiring is not an issue for me.

    Posted : 14/12/2017 7:19 am
    frederic.s
    (@frederic-s)
    New Member
    Re: OctoPrint on MK3?

    I think soldering is not the problem, but i think it will not work instantly Prusa have to develop a plugin for Octroprint to use the serial port and get the information from the power panic pin.

    We have to wait for that.

    Posted : 14/12/2017 1:57 pm
    Bigdogbro1
    (@bigdogbro1)
    Estimable Member
    Re: OctoPrint on MK3?

    I would think the pins are the standard .025" square in a plastic carrier that you could break off the number of pins needed. Just buy what length pin needed from Digikey. I will need to wait for my printer to show up in January/Feb to see what length pin is needed. Hopefully by that time Prusa will have more complete information on what to do and it's ready to go.

    From my earlier post:
    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.

    Rob

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

    Posted : 14/12/2017 4:16 pm
    kelchm
    (@kelchm)
    Eminent Member
    Re: OctoPrint on MK3?


    I would think the pins are the standard .025" square in a plastic carrier that you could break off the number of pins needed. Just buy what length pin needed from Digikey.

    I should clarify, there are headers matching the specified dimensions for sale on digikey, but they are non-stock items which have a MOQ in the thousands. As an example, https://www.digikey.com/product-detail/en/amphenol-fci/75844-119-06LF/75844-119-06LF-ND/1527942 looks to be pretty close to perfect, but has a MOQ of 1000.

    Posted : 14/12/2017 6:56 pm
    Koen Kooi
    (@koen-kooi)
    Eminent Member
    Re: OctoPrint on MK3?




    Is there a benefit to direct wiring vs USB when using a Rpi 3 ?

    No, way more work and probably won't have enough power for the pi3 (guessing, but the pi3 is recommended to run with 12.5 watts 5V @2.5Amp). The pi Zero W requires far less power.
    I don't think the pin outs on the zero and the 3 are the same, if they aren't you can't mount it behind the einsy, so you don't get any space savings. You'll be running jumper wires anyway. If they are the same, you'll be doing a lot of de-soldering or if you find an extension break out that I guess would work. The pins need to be 18mm long if you mound it behind. Save the headache. Mount the pi somewhere and run 1 cable to the machine.

    I don't disagree with most of what you say, but I'm reserving judgement on whether it will be worth it. To me it will come down to two numbers:

  • max bits per second transmission from Octoprint through USB

  • max bits per second transmission from Octoprint through direct wire serial
  • If they are the same, then I'm completely with you: USB is way easier, as you'll need an external power supply and external mount anyway.

    Anybody have a pi0 connected? Can you run >250Kbps? If that is a hardware limit of the Pi or arduino hardware, then USB is likely the way to go.

    The USB port is a serial-to-usb converter, so it doesn't really matter which you use, it's all the same speed. The serial-to-usb does give you a poor mans flow control, though.

    Posted : 14/12/2017 8:27 pm
    Koen Kooi
    (@koen-kooi)
    Eminent Member
    Re: OctoPrint on MK3?


    I think soldering is not the problem, but i think it will not work instantly Prusa have to develop a plugin for Octroprint to use the serial port and get the information from the power panic pin.

    We have to wait for that.

    Octoprint has supported serial ports from the get go, so the only work needed is power-panic. The fastest way is to connect the power-panic pin to a GPIO and configure it as KEY_POWER using gpio-keys in the devicetree. When powerpanic activates the power button event will be sent to the OS, which by default triggers a shutdown. Octoprint won't be involved.
    If you need more advanced behaviour, then yes, extending octoprint will be needed.

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

    How do we retrieve data off the RP0W SD card?

    Such as video and time lapses?

    Would it be more advantageous to pull the SD card for those tasks? And if so, is there any accommodations to do so on the MK3 case? Or is the card in the Pi pretty much a permanent addition once placed inside the einsy case?

    Posted : 15/12/2017 2:23 am
    Bigdogbro1
    (@bigdogbro1)
    Estimable Member
    Re: OctoPrint on MK3?



    I would think the pins are the standard .025" square in a plastic carrier that you could break off the number of pins needed. Just buy what length pin needed from Digikey.

    I should clarify, there are headers matching the specified dimensions for sale on digikey, but they are non-stock items which have a MOQ in the thousands. As an example, https://www.digikey.com/product-detail/en/amphenol-fci/75844-119-06LF/75844-119-06LF-ND/1527942 looks to be pretty close to perfect, but has a MOQ of 1000.

    Look around for a "wire-wrap" type pin header they have the longer pins. Anything can work even separate pins. It's just a soldered in jumper pin.

    In stock but expensive: https://www.digikey.com/product-detail/en/hirose-electric-co-ltd/HIF3H-40P-2.54W/H123890-ND/4306246

    Try Mouser, Jameco or others.

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

    Posted : 15/12/2017 2:24 am
    lignumaqua
    (@lignumaqua)
    Eminent Member
    Re: OctoPrint on MK3?

    I've tried to get Octoprint working with a Pi Zero W directly connected to the Einsy using the GPIO pins as shown in the diagrams earlier in this thread but have had no success in connecting. Printed the small plate and soldered the pins.

    Octoprint runs fine, but I cannot connect to the serial port on the Einsy.

    Tried:

    1. Disabling Serial console on Pi

    2. Ensuring UART is enabled

    3. Connecting Octoprint to various ports including /dev/serial0, /dev/ttyS0, /dev/ttyAMA0

    4. Tried various baud rates.

    Nothing so far works. Octoprint gets stuck in 'connecting'. Log shows that a connection to the serial port in the Pi is working, but no response from Einsy. Is there something I need to do to enable the serial port on the Einsy?

    Posted : 15/12/2017 8:14 am
    stahlfabrik
    (@stahlfabrik)
    Honorable Member
    Re: OctoPrint on MK3?

    From my experiences with raspberry pi serial it should be /dev/ttyAMA0

    But you tried that - all I am saying is you could focus on this device

    Posted : 15/12/2017 9:30 am
    vaxxi
    (@vaxxi)
    Estimable Member
    Re: OctoPrint on MK3?

    Perhaps the printer firmware doesn't yet have the Pi connectivity part coded?

    Posted : 15/12/2017 10:45 am
    Page 5 / 7
    Share: