[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4693: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4697: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Printrbot Talk Forum • View topic - How to setup Octoprint with your Printrbot/Printrboard

How to setup Octoprint with your Printrbot/Printrboard

Talk about, and show off your Printrbot and accessories

How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Wed-19-Sep

I can see this is going to be involved...I'll do my best to document the process. There's a lot of info out there - it's just not all in one place yet.

The goal of this mini project is to create a wireless printserver that you can connect to over a browser. This frees up your computer from being tied to the printrbot for the duration of a print. To accomplish this we'll be using a Raspberry Pi Model B equipped with a wifi dongle.

SAM_9063.JPG

== Index ==
1. Shopping List
*
* USB Wireless adapter (b/g/n) - I bought an
* SD Card - preferably class 10 or thereabouts...Unknown at this time if there are issues with XDHC cards. The wheezy raspbian image is ~2GB so at least a 4GB card is recommended
* 5v ~700ma (1500ma if you plan on powering other devices) with a usb micro-b connector
*keyboard and monitor (with an hdmi or rca video input port) for the initial set up of your RPi. After you get SSH enabled you can shell into the RPi over the network, and can dump the monitor and keyboard.

2. Prepping your Pi
* I'll be doing this with a Macbook - if you're on a PC you'll need a terminal program to access your Pi via SSH so you don't need to set up a separate screen for it.
* Formatting your SD card ()
* on setting up your RPi for the first time
* Configure your RP to recognize your SD Card

3.
*
*
* Download Raspbian
* Burning the Raspbian image to your SD Card

4. Setting up
4a) Building from Source
4b) Downloading a readymade OctoPrint/Raspbian image

5. Configuring your Wireless Dongle (I'll go through all these and see which works for me - this will take some time)
* One setup video
* Adafruit tutorial on setting up your Dongle on the command line
* Another Tutorial
  • 10

You do not have the required permissions to view the files attached to this post.
Last edited by Mochaboy on 2013-Sep-Thu-19-Sep, edited 9 times in total.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

How to setup Octoprint with your Printrbot/Printrboard

Sponsor

Sponsor
 

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Wed-20-Sep

Setting up your SD card

You have to format the card as a single MS DOS FAT partition

On a Mac you can drop down to the command line via Terminal, or you can use the Disk Utility app
Screen Shot 2013-09-11 at 9.12.37 PM.png

Volume name is whatever you want it to be - format the SD card as a MS DOS FAT partition

Click Erase when you're ready and the disk will unmount and remount as it works through the formatting procedure.
  • 1

You do not have the required permissions to view the files attached to this post.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Wed-20-Sep

<need to rework this step in light of more recent research>
  • 0

Last edited by Mochaboy on 2013-Sep-Thu-19-Sep, edited 2 times in total.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-09-Sep

  • 1

You do not have the required permissions to view the files attached to this post.
Last edited by Mochaboy on 2013-Sep-Thu-19-Sep, edited 8 times in total.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-10-Sep

Ok with the OctoPi/Raspbian image burned to the SD card, we're ready to do a first time set up. What we need to accomplish is the following:
* set up ssh
* configure the wireless dongle
* connect the rpi to the wireless network
* set up the rpi so when it reboots octoprint reloads

I'll be moving through the steps in Adafruit's Tutorial

<verify> This step requires an external keyboard and monitor to get SSH running...once that's setup - simply connect the RPi to a power source and network cable
  • 1

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-12-Sep

If you did everything right and the SD card was burned properly (note I did it wrong 3x before I realized my mistake with the raw device names), when you plug your RPi, you should see red and green lights flickering. Go ahead and connect a keyboard and monitor to the RPi and boot everything up.

You'll see a setup screen very similar to a BIOS setup screen and it is here we will configure the first set of features to take the process further.

Here's the RPi with power, keyboard and video connected
SAM_9064.JPG

Linux starts to boot once power is applied to the board
SAM_9065.JPG

You will launch into this initial setup screen:
SAM_9066.JPG
  • 1

You do not have the required permissions to view the files attached to this post.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-12-Sep

So let's spend a little time here and look at the available options: Remember this is a wireless printing specific distro so the configuration options and choices are being laid out as such.

The options I initially changed were the following:
1) Expand Filesystem (by default if you have greater than a 2GB card, only 2gb will partitioned - too lengthy to go into here, just make sure you select this option and let the configurator automatically expand the file system to use all the available space.

2) Change User Password - The default user for this distro is "pi" ... go ahead and set your password here...Once you log in for the first time, you can then go and add additional users as necessary.

5) Enable Camera - I don't have a Pi Cam but I may get one eventually, enabling this option enables the MJPG streamer so you can watch your print as you print it :)

8) Advanced Options. You'll need this to enable the SSH daemon so you can log into your Pi from another terminal (so you can dump the keyboard and monitor)
  • 1

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-13-Sep

  • 1

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-14-Sep

  • 1

Last edited by Mochaboy on 2013-Sep-Fri-07-Sep, edited 5 times in total.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-14-Sep

  • 2

You do not have the required permissions to view the files attached to this post.
Last edited by Mochaboy on 2013-Sep-Thu-17-Sep, edited 1 time in total.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-16-Sep

Woohoo - getting ready for the moment of truth.

Connect everything in this order:
* Go ahead and power up your printrbot
* Connect your Raspberry Pi to the Printrboard via the supplied USB cable
* Connect up your Raspberry Pi to a power source

Using the IP of the wireless adapter assigned in a previous step open up a browser and type the IP address in the URL bar.

For this example we will use 192.168.2.22

When the page loads you're going to see a prompt to create an administrative account to run commands from:

I'll let you read that warning...We want to make sure our installation is secure so we're going to be good Printrbotians and set up access controls to make sure the ne'er do wells don't get access to our fancy printers and print off something as nefarious as boobies while we're not looking.
Screen Shot 2013-09-12 at 6.09.30 PM.png

For this setup I will create the admin account "printradmin" and assign my own password:
Screen Shot 2013-09-12 at 6.14.59 PM.png

* troubleshooting baud rate connections...250,000 and 115,200 don't seem to work - it just hangs...
  • 1

You do not have the required permissions to view the files attached to this post.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-17-Sep

  • 1

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-18-Sep

Taking a break - been at this a solid 12 hours...

let me know if you guys find anything about those connection issues.

I'm not sure /dev/tty/AMA0 is the right usb port for the serial connection to the printrboard...I plugged it in and out and my list of devices didn't change which means the rpi doesn't see it or I may need to boot everything in some weird order...

Going to be looking at this with fresh eyes a little later.
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Wireless Printing with Octoprint on a Raspberry Pi

Postby Mochaboy » 2013-Sep-Thu-19-Sep

Woohooo it works!!!

SAM_9083.JPG
I had to reboot the printer a few times then the right tty port finally popped up.

/dev/ttyACM0

Once that became active I was able to connect to the printer :)

Set baudrate to 115200 in the octoprint config, choose /dev/ttyACM0 as the serial port and hit connect.

Screen Shot 2013-09-12 at 8.37.56 PM.png
  • 1

You do not have the required permissions to view the files attached to this post.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Thu-19-Sep

Last step is send a file to the Raspberry Pi for printing. Using Repetier Host or Slic3r or the the slicer of your choice, load up your object, slice it, then export the gcode to a file. Upload the .gcode file to the print server and you're off to the races :)

Ok NOW i'm taking a break lol.

That finished enough for you Lemm?
  • 1

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby RetireeJay » 2013-Sep-Thu-20-Sep

That's a huge amount of work! Congratulations!

For those of us who have never seen a raspberry pi, can you give us a very simple block diagram or 50,000 foot view of what it is that you accomplished? Because I'm a little confused.

You said at the outset that this project would free up the computer from being tied to the printer. Does that mean:
(1) The computer is still running the Printrbot, but it's doing it from a remote location via Wi-Fi networking ("freed up" = not tied to a physical location)? or
(2) The raspberry pi has taken the place of the computer and is running the Printrbot

If it's (1) then I think I understand - although it seems like a heck of a complicated process to merely extend a virtual serial port.

If it's (2) then lots more questions arise
(2a) Why not use the SD card instead of going to the trouble with the raspberry pi?
(2b) If the raspberry pi is really "running" the Printrbot, then that means the Printrbot doesn't know the difference between the r-pi and a full computer? Does that mean that Repetier is running on the r-pi? Or is there some other program that feeds G-code commands to the Printrbot? This requires a software handshake so the Printrbot's limited instruction queue doesn't get slammed.
(2c) So your printer is tuned up and set so perfectly that you don't need to attend to it at all when the print is getting set up, e.g. to clear away oozed bird's nests from the bed before the print really gets going? And what do you do after a print is finished? Do your prints pop off the bed so easily that you can "wipe" them out of the way with the extruder before you start another one?

I apologize for my ignorance. I know some of my questions sound a little skeptical, but since you went to all that work there must be some very good answers and some perspectives that I have overlooked. Again, I congratulate you on your expertise and your persistence. Rep points coming your way!
  • 0

Printrbot Plus operational January 2013
Brass threaded rods (5/16" X 18) & nuts for Z axis
GT2 belts & pulleys
Cable chain to reduce probability of fatigue failure in wires
E3D V5 Hot End, 0.4mm nozzle, also 0.8 and 0.25 in use occasionally
PB fan mount + 40mm fan -- using printed mount adapter, not the E3D supplied fan
Injection molded extruder gears
Optical Z "endstop" (custom designed and built)
Have used many pounds of T-Glase filament. Now also doing some work with Ninjaflex SemiFlex
Print on glass with Scotch Craft Stick or other glue stick
"My next printer is..." Prusa i3 MK3, upgraded to MK3S
User avatar
RetireeJay
My next printer is...
 
Posts: 5014
Joined: 2013-Jan-Wed-13-Jan
Location: Greenville, SC
Reputation: 498

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Thu-21-Sep

  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby gyronictonic » 2013-Sep-Fri-07-Sep

Great stuff Mocha

I only got as far as installing and running Pronterface on the Raspberry Pi. The OctoPrint is next on my list but probably not after MakerFaire NYC.

When I was setting up my RPi, I was able to use the NOOBs installer where you basically unzip the NOOBs installer files onto the SD card and plug it in the RPi. It boots up and lists about 6 different OS to install. This might be easier for those setting up their RPi.
  • 0

Backer # 626
Printbot Plus

Upgrades
- GT2, 36 teeth timing pulley
- Acme rods
- .25mm nozzle
- for the Wade Extruder
gyronictonic
Printing skirt...
 
Posts: 168
Joined: 2012-Apr-Sun-12-Apr
Reputation: 11

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Fri-07-Sep

I'm jealous - I want to go to makerfaire just too much going on right now - let me know if you blog about the event anywhere I'd love to follow along.

The installation procedures are a bear I'll admit - at least the path I chose anyway. I saw 3 ways to do it, started with the hardest, stopped midstream, and went with the Octopi release instead. I stopped short of using the NOOBS installer out of pride because I wanted to see what was getting loaded rather than doing a blind install but that may be the path for a lot of folks that aren't familiar with 'nix systems. We are after all trying to drive adoption and make it easier for people.

I'll take a look at the procedure for the noobs installer and see if I can document that as well. I'm going to go ahead and order the camera for this board so I can come full circle on the build. I'd only seen maybe half a dozen other people do this project and I want to raise that number substantially because I think this is such a nifty project (not to mention releases your primary computer from its manufacturing chains).

Time permitting I'll do a setup video that walks through all the steps - documentation's nice, but pictures are better and video's gold in that respect.
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mooselake » 2013-Sep-Sun-09-Sep

A way back you mentioned a lack of USB power. Don't know if this'll help but the older RPi's had a mod to bypass a current limiting resistors.

I've got one from the second batch, missed the first because of their server overload crash. Doesn't Octoprint need the later larger ram versions?

Kirk
  • 0

Modified KickStarter Classic Plus 7/2012
KS Thingybot Delta Pro 10/31/16
Creality Ender 3 Pro 12/2019
User avatar
Mooselake
My next printer is...
 
Posts: 3625
Joined: 2011-Dec-Tue-23-Dec
Location: Moose Swamp, Upper Michigan, USA
Reputation: 177

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Mon-10-Sep

I'm not entirely sure I got hit by that USB power problem. I'm running the latest revision of the Raspberry Pi with 512mb of ram which was what was suggested by the Octoprint docs.

The issue I was running into came down to the wlan0 configs in /etc/network/interfaces. I tried a couple of iterations of configs, but the one that worked included a power management directive (see way above).

I was fine moving to a terminal connection overssh anyway since I had to free up some deskspace. I was using my FPV ground station as a monitor/keyboard for the raspberry pi.
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Tue-23-Sep

Let's forget for a moment that a $35 computer is now controlling my printrbot, I have to say the coding behind Octoprint is just some of the best design wise I've ever seen. From a UX perspective it uses all the latest thinking in web design and is just so damn well put together :D. Can't wait to see where it evolves to.

So I sent the first print job to the new Raspberry Wireless print server and it's happily chugging away. I went ahead and sprung for the camera as well so I'll be able to monitor my prints remotely but that can wait.

First things first - we need a proper case for the Raspberry Pi. Funny thing happened here...my RPi was on the floor next to its power source, and the Macbook I just replaced it with was leaning on the coffee table. I started my print and the vibes were just enough to knock the laptop over and fall right on top of the Pi...No damage thankfully, but I'm pretty sure I hurt that macbook's feelings. Anyway - we need a proper case... I went with this one:

http://www.thingiverse.com/thing:79036

Since it's mountable and just looks cool.

So, fire up repetier host (or the slicer of your choice) from the comfort of...well anywhere in the house that you choose now that your laptop's free :)
Load up the file and slice it:
Screen Shot 2013-09-17 at 11.55.59 PM.jpg

Then hit the disk icon to save the file to a gcode file (yes you can do this from Slic3r too - I'm just used to repetier host)
Screen Shot 2013-09-17 at 11.55.09 PM.png

Then drag the file to the webpage and either upload it to local memory or the Pi's SD card. (Wow what a cool feature)
Screen Shot 2013-09-17 at 11.54.21 PM.png

The page will list all the files loaded on the Pi (very handy), just select the file you want to print and hit the print icon.
Screen Shot 2013-09-17 at 11.54.07 PM.png

That will load the job in the print panel at which point all your status indicators will populate. You can pause and resume from that panel, and if you want you can check the gcode viewer to see where in transit the head is, or if you went to the trouble of installing a camera you'll see the last image saved :)

It took some work to get this going but wow - what a great addition :D
  • 1

You do not have the required permissions to view the files attached to this post.
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Lemm » 2013-Sep-Wed-02-Sep

awesome thanks. Ordered a pi today :oops: :)
  • 0

Printrbot Jr #11045
ACME TR10x2 Z Rod
GT2 Timing Belt with 20T aluminum pulleys
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr v1 -> v2 upgrade
http://www.thingiverse.com/Lemm
User avatar
Lemm
ACME leadscrew
 
Posts: 357
Joined: 2013-Jul-Wed-09-Jul
Location: Berlin, Germany
Reputation: 24

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby jafenske » 2013-Sep-Wed-11-Sep

I think this is a cool idea. I was wondering how having to make adjustments to the z axis height is accomplished is prior to printing. Thanks
  • 0

jafenske
Loading filament...
 
Posts: 18
Joined: 2013-Jul-Wed-22-Jul
Location: Seattle, WA
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Wed-11-Sep

Mechanically and via Gcode in the printer settings, or eeprom settings panel.

The idea is
1) get as close as you can mechanically by tweaking the z axis screw
2) then fine tune via the M206 command, or editing the eeprom settings directly from repetier host (if you're on windows - that doesn't work on mac)
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Thu-12-Sep

For anyone following along - I ran into a snag saving to the SD card. I think it's a permissions issue, so if you manage to get this up and running - just save it to the Pi's local memory until I get this worked out - or if you do get sd card saves to work - share that info back :)
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Lemm » 2013-Sep-Fri-16-Sep

  • 0

Printrbot Jr #11045
ACME TR10x2 Z Rod
GT2 Timing Belt with 20T aluminum pulleys
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr v1 -> v2 upgrade
http://www.thingiverse.com/Lemm
User avatar
Lemm
ACME leadscrew
 
Posts: 357
Joined: 2013-Jul-Wed-09-Jul
Location: Berlin, Germany
Reputation: 24

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Lemm » 2013-Sep-Sun-06-Sep

  • 2

You do not have the required permissions to view the files attached to this post.
Printrbot Jr #11045
ACME TR10x2 Z Rod
GT2 Timing Belt with 20T aluminum pulleys
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr v1 -> v2 upgrade
http://www.thingiverse.com/Lemm
User avatar
Lemm
ACME leadscrew
 
Posts: 357
Joined: 2013-Jul-Wed-09-Jul
Location: Berlin, Germany
Reputation: 24

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Sep-Sun-16-Sep

I love mine.

The process of sending iterations is a little time consuming (save, export stl, load stl, slice, save gcode, upload, print) - but I gladly pay the price to have it wireless.

My camera just came in so I'll be working on setting up the time lapse monitor - I just have to get some LEDs shining on the bed first.
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby foosel » 2013-Sep-Mon-05-Sep

Just registered to say "Thank you!" to Mochaboy, both for the great step-by-step instructions as well as the positive feedback :) Always makes my day when people actually find the thing I've been spending my weekends on useful and also enjoy using it :)

If any of you run into any kind of problems with OctoPrint, please don't hesitate to file a ticket in the bug tracker. I'm also trying to document the most common pitfalls in an FAQ.

Can't post links here (forum claims too spammy), so just go to the project on Github for all you wiki/faq and bug tracker needs.
  • 0

foosel
Waiting to connect to printer...
 
Posts: 1
Joined: 2013-Sep-Mon-05-Sep
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Decipher » 2013-Oct-Mon-22-Oct

I'm curious if anyone has mounted or has thoughts on mounting the Pi Cam somewhere on their Printrbot.

I just got my Pi Cam today, and have the Printrbot Jr v2, and I figure the best place to mount the cam would be on the Bed/X-axis, so that in the timelapses the print is always centered, but the obvious issue with that is that the cable for the cam is quite short and I don't particularly want to mount the Pi itself on the bed as it's quite bulky and the power and USB cable (and in my case the Ethernet cable) are likely to give in the way at some point.
  • 0

Decipher
Waiting to connect to printer...
 
Posts: 5
Joined: 2013-Oct-Sun-23-Oct
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Lemm » 2013-Oct-Tue-01-Oct

hey
I'm just working on a baseplate for the pi + cam and some other stuff. I don't wanted to place the cam on the bot itself, but I found these balls on thingiverse http://www.thingiverse.com/thing:5578 . I think there are really good to build a cam tower which you can move around.
  • 0

Printrbot Jr #11045
ACME TR10x2 Z Rod
GT2 Timing Belt with 20T aluminum pulleys
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr v1 -> v2 upgrade
http://www.thingiverse.com/Lemm
User avatar
Lemm
ACME leadscrew
 
Posts: 357
Joined: 2013-Jul-Wed-09-Jul
Location: Berlin, Germany
Reputation: 24

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Oct-Tue-10-Oct

I'd thought about it - but I've seen time lapse shots with the camera attached to the frame and they're awful. You need a LOT of bracing/vibration absorption otherwise it's a worthless endeavor.

What I plan on doing is mounting it to a gooseneck but off the print table, basically completely isolated from the printer. The thing with timelapse, it's fun to do once or twice, but after you tick mark that off your bucket list - all you really need (in my opinion) is to see that the print hasn't gone nuclear or lifted off the platform.
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Decipher » 2013-Oct-Tue-15-Oct

Glad I asked the question, I assumed that being on the print bed would some things, but you do make a fair point.

I found the following mount, designed around a RPi camera enclosure: http://www.thingiverse.com/thing:139873
  • 0

Decipher
Waiting to connect to printer...
 
Posts: 5
Joined: 2013-Oct-Sun-23-Oct
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Lemm » 2013-Oct-Wed-01-Oct

That's what I want to do

pi assembled.JPG

The tower stands next to the printr. The Ball Links are flexible so I can move them a bit.
  • 0

You do not have the required permissions to view the files attached to this post.
Printrbot Jr #11045
ACME TR10x2 Z Rod
GT2 Timing Belt with 20T aluminum pulleys
Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr v1 -> v2 upgrade
http://www.thingiverse.com/Lemm
User avatar
Lemm
ACME leadscrew
 
Posts: 357
Joined: 2013-Jul-Wed-09-Jul
Location: Berlin, Germany
Reputation: 24

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby jafenske » 2013-Oct-Wed-09-Oct

I got my Raspberry Pi and camera a couple of weeks ago and I really like them. I also bought a LCD from Adafruit and hooked it up. That was also fun. However, I have had a really difficult time getting the camera to work. I got the camera to work using Rasperian, but I couldn't get mjpg streamer to work. So, I switched to octcopi and now the camera doesn't work. The light on the camera comes on but nothing. So I switched back to Rasperian and the camera doesn't work now on Rasperian either. Anyway, the camera should be really easy. Has anyone else had any issues?
  • 0

jafenske
Loading filament...
 
Posts: 18
Joined: 2013-Jul-Wed-22-Jul
Location: Seattle, WA
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Oct-Wed-10-Oct

I bought the camera but I haven't connected it yet - just haven't had the opportunity. I'll report back when it's operational.
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Oct-Wed-10-Oct

  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby opiesche » 2013-Nov-Tue-12-Nov

If you've got a webcam hooked up and recognized, you can simply

$sudo apt-get install vlc

in a terminal on the Pi, and then use VLC to capture the webcam and stream it via HTTP. That way you can create a WMV or H.264 stream, or whatever works best for you. This should create a WMV stream capturing the first video device found:

$cvlc v4l2:// :v4l2-vdev="/dev/video0" :sout='#transcode{vcodec=WMV2,vb=800,scale=1,acodec=wma2,ab=128,channels=2,samplerate=44100}:http{dst=:8080/printrbot.wmv}' :sout-keep

Then open a web browser to

http://192.168.3.14/printrbot.wmv

Where 192.168.3.14 is the IP address of your Pi, to start streaming the video. I haven't tried this on my Pi, and it may need additional setup to use the Pi's hardware video encoder, but it could Just Work(tm). Changing the scale parameter to 0.5 would halve the video size before encoding and should improve performance.
  • 0

opiesche
Levelling print bed...
 
Posts: 36
Joined: 2013-May-Sat-19-May
Reputation: 8

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby opiesche » 2013-Nov-Tue-13-Nov

On the webcam not working issue, can you run

$lsusb

on your Pi and post the output here? That should list your webcam including a device identifier. From there, we can go and see what firmware it needs :)

You should probably also try doing

$sudo apt-get update && sudo apt-get dist-upgrade

And then reboot when it's all done.

That'll update the OS and all software to the latest versions available in the repositories, and could solve your problem if the device's firmware was added to the kernel. Note that you can do this via the GUI as well, but I'm assuming you're connecting to your Pi via SSH (and it's easier to post commands here than explain GUI workflows ;))

A little background: many devices such as webcams or WiFi adapters don't have their own firmware onboard. This is a cost savings measure to save the bit of ROM or flash memory the device would need to store its own firmware. The OS loads a driver, and the driver pushes the firmware to the device's RAM everytime the device is connected.
There's a couple dozen different chipsets with their own unique firmware. The device identifier maps to a specific firmware needed, and the kernel picks it that way and uploads it to the device. If the device identifier isn't found, no firmware is uploaded and the device goes unrecognized and unusable. This should only be the case for a handful of devices - almost all should work out of the box these days (I've got a Logitech webcam and it's recognized automatically).
If you happen to have one of those that isn't recognized, you can normally find the necessary firmware online, drop it in the right place, and Bob's your mother's brother. Doing a full software upgrade (as shown above) also can solve this problem if it updates the kernel with a new one that comes with the necessary firmware.
  • 0

opiesche
Levelling print bed...
 
Posts: 36
Joined: 2013-May-Sat-19-May
Reputation: 8

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby opiesche » 2013-Nov-Tue-14-Nov

Oh, and (at some point I'll learn to think before posting so I don't spam threads with post after post after post... :P) it may also be helpful to

$sudo apt-get install webmin

As well (no reboot needed). Then you can connect to your Pi via https://192.168.3.14:10000, and administer the system (install packages, schedule commands, change bootup and shutdown sequence, etc. etc.) via web interface. All of this works via SSH as well, but for some tasks it's just nice to be able to web-administer a system :)
  • 0

opiesche
Levelling print bed...
 
Posts: 36
Joined: 2013-May-Sat-19-May
Reputation: 8

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Nov-Wed-14-Nov

Thanks for the walkthrough - I'll give it a shot...Time's been thin since the arrival of our second child :)
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby eckerput » 2013-Dec-Mon-10-Dec

Mochaboy I just wanted to say thanks for the guide. I setup my Octoprint this weekend (although I know nothing about Linux it only took an hour or so with your guide). It's working perfectly and replaces a soon to be obsolete old windows XP laptop. I've yet to get wireless or a webcam working, but I haven't really tried that hard yet. It prints great though and it's nice to be able to control and monitor prints on my iPod Touch from anywhere in the house.
  • 0

Printrbot LC (November 2012)
+ Bed Leveler, Bed Stabilizer, Y Belt Tensioner
eckerput
Honeycomb infill 25%...
 
Posts: 292
Joined: 2012-Nov-Sat-09-Nov
Location: Midland, Michigan
Reputation: 17

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Dec-Mon-10-Dec

Right on brother.

I wrote that guide with folks like you in mind since there was a huge chasm between the existing docs and first time user's abilities. Setting up the image is the easiest part, it's everything else that trips first time folks up.

I need to revisit this and update the to-dos I left for myself.

Enjoy!
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby magikh0e » 2013-Dec-Mon-21-Dec

Very awesome use of a raspberry pi. Thx for posting!
  • 0

Hacker's do it with all sorts of characters...
User avatar
magikh0e
Levelling print bed...
 
Posts: 29
Joined: 2013-Dec-Mon-17-Dec
Location: Toronto
Reputation: 6

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby eckerput » 2013-Dec-Tue-12-Dec

Okay looking at my setup, it seems like I shouldn't need two power cords. Has anyone used a spare molex connector from their Printrbot power supply to power the Raspberry Pi? I was thinking of buying or building something like this http://www.coolerguys.com/840556096177.html. Would this work?
  • 0

Printrbot LC (November 2012)
+ Bed Leveler, Bed Stabilizer, Y Belt Tensioner
eckerput
Honeycomb infill 25%...
 
Posts: 292
Joined: 2012-Nov-Sat-09-Nov
Location: Midland, Michigan
Reputation: 17

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby opiesche » 2013-Dec-Tue-13-Dec

The Model B is rated at 700mA @ 5V. I'd think the printrboard should be able to power it - the Pi is powered via a MiniUSB plug though, so you'd need an adapter as well (and I'd always want to check which wire from the Pb goes where on the Pi, just to be sure). But yes, it should work :)
  • 0

opiesche
Levelling print bed...
 
Posts: 36
Joined: 2013-May-Sat-19-May
Reputation: 8

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby eckerput » 2013-Dec-Tue-13-Dec

FYI, I just got this http://www.coolerguys.com/840556096177.html and it is working great for powering my Raspberry Pi using the same ATX power supply that powers my LC. The wiring is much simpler. Once I get my wireless working and affix my Pi to the spool holder the whole thing will be quite compact and relatively wireless.
  • 0

Printrbot LC (November 2012)
+ Bed Leveler, Bed Stabilizer, Y Belt Tensioner
eckerput
Honeycomb infill 25%...
 
Posts: 292
Joined: 2012-Nov-Sat-09-Nov
Location: Midland, Michigan
Reputation: 17

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby skyhigh » 2013-Dec-Tue-13-Dec

A couple of the steps seem to be missing, or say things like 'fix this'. Will the tutorial still work without them?
  • 0

skyhigh
Levelling print bed...
 
Posts: 30
Joined: 2013-Nov-Wed-12-Nov
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby eckerput » 2013-Dec-Thu-11-Dec

Just skipping the steps which have yet to be detailed worked fine for me. You can also find some good details in the links Mochaboy has in the sections. That said, I haven't tried to get wireless working yet so I can't vouch for that section.
  • 0

Printrbot LC (November 2012)
+ Bed Leveler, Bed Stabilizer, Y Belt Tensioner
eckerput
Honeycomb infill 25%...
 
Posts: 292
Joined: 2012-Nov-Sat-09-Nov
Location: Midland, Michigan
Reputation: 17

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby skyhigh » 2013-Dec-Thu-12-Dec

Well, I got it working with wireless. Thanks for the guide!
  • 0

skyhigh
Levelling print bed...
 
Posts: 30
Joined: 2013-Nov-Wed-12-Nov
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2013-Dec-Thu-20-Dec

sorry bout that guys - this darn competition has been absolutely consuming my every waking moment. Yes it will work with out those steps - those were just verification steps...I'll get back to updating this soon.
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby DumpRun » 2014-Jan-Tue-23-Jan

Hey Mochaboy, I'm having the same issue you had with getting the right serial connection to show up. I keep on getting dev/ttyAMA0. What sequence did you have to restart things to get it to show ACM0?

Disregard! Turns out I am a total NOOB and was plugging in my webcam instead of my 3d printer... I think it's about time I clean up my desktop's wiring....
  • 0

Last edited by DumpRun on 2014-Jan-Wed-09-Jan, edited 1 time in total.
DumpRun
Waiting for printbed temp...
 
Posts: 102
Joined: 2013-May-Mon-09-May
Reputation: 8

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mochaboy » 2014-Jan-Wed-00-Jan

I'm going on memory here so take this with a grain of salt.

1) power up printer (wait like 10-15 seconds for it to complete its bootloader cycle)
2) power up rpi - give it about 60 seconds to boot up fully
3) connect the pi to the printrboard then load up the webpage
4) It should just pop up

option 2
* connect everything
* power everything up connected all at once

I can't say for sure what the original issue was but right now I have everything connected into a power strip, so one switch turns on power supply, printer, and the pi and everything just works.
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby DumpRun » 2014-Jan-Wed-14-Jan

Yup, as my post said it was a user error, but thanks anyways!

I have yet to be able to get my WIFI dongle (a generic rtl8188cus model) to work with my Pi, but I managed to hook it up and use it via an ethernet connection so I'm more than pleased with it right now! I love this mod!!!
  • 0

DumpRun
Waiting for printbed temp...
 
Posts: 102
Joined: 2013-May-Mon-09-May
Reputation: 8

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby girlontherocks » 2014-Mar-Wed-03-Mar

Thanks Mochaboy!

I ended up building octoprint in my already installed version of Raspbian. I went through a bunch of customizing to get the pi to show up on my local mac network (via afp) and I didn't want to have to do that again.

My biggest hang up was that after I got OctoPrint running, I couldn't figure out how to access the settings - and it wasn't appearing in the OctoPrint menu. The config file was almost totally empty. Turns out, even though you set up a username and password, You still have to log in! Or at least I did.
  • 0

Printrbot Simple 2014
Octoprint on a Raspberry Pi
girlontherocks
Waiting to connect to printer...
 
Posts: 6
Joined: 2014-Feb-Wed-16-Feb
Reputation: 2

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby rlamar » 2014-Jul-Wed-13-Jul

Nice writeup, good work.

At one point you say that you are using the firmware "provided by PBHQ", which I assume means 'whatever firmware they installed in the factory.' Later you say that you are using Marlin firmware. Right now I am getting the repeated M105 with no apparent response from the printer (I've tried booting things in different orders, the whole shebang). I flashed the printer according to the "How to Reflash FIrmware" instructions at Printrbot's Help site when I first assembled my Printrbot Simple, and have been using it successfully with Repetier.

1) Is there any expectation that I should be able to use OctoPi with my current firmware, or must I reflash with Marlin?
2) Is there a compiled release of Marlin available? I have found it on github, but that site only seems to provide the source, with no link to a binary.
  • 0

rlamar
Waiting to connect to printer...
 
Posts: 2
Joined: 2014-Jul-Wed-13-Jul
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby RetireeJay » 2014-Jul-Wed-15-Jul

Printrbot firmware is Marlin. Of course, there are hundreds of branches of the Marlin software, so that doesn't narrow it down enough.

Here is the Github page where you can find many (most? all?) of the firmwares used in Printrbots.

If you do not have a Metal Simple, then I recommend the "Unified v3" version. For each version listed, there is a button to download the ".hex" file - that's the pre-compiled version you want.
  • 1

Printrbot Plus operational January 2013
Brass threaded rods (5/16" X 18) & nuts for Z axis
GT2 belts & pulleys
Cable chain to reduce probability of fatigue failure in wires
E3D V5 Hot End, 0.4mm nozzle, also 0.8 and 0.25 in use occasionally
PB fan mount + 40mm fan -- using printed mount adapter, not the E3D supplied fan
Injection molded extruder gears
Optical Z "endstop" (custom designed and built)
Have used many pounds of T-Glase filament. Now also doing some work with Ninjaflex SemiFlex
Print on glass with Scotch Craft Stick or other glue stick
"My next printer is..." Prusa i3 MK3, upgraded to MK3S
User avatar
RetireeJay
My next printer is...
 
Posts: 5014
Joined: 2013-Jan-Wed-13-Jan
Location: Greenville, SC
Reputation: 498

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby rlamar » 2014-Jul-Wed-22-Jul

Thanks a bunch, Jay. That was not at all clear when I sought the proper firmware to flash to my Simple 1405, in June. Printrbot provides instructions, but there was no versioning information that I could find (The file is simply named, "Simple Firmware.hex"). I wish I had a number or description for what I used, to compare with your recommendation. I will probably not try reflashing for several days, as I am in the middle of a large print job, and do not wish to delay things with recalibration.

If the firmware is already some flavor of Marlin, do you have any advice on my apparent difficulty in connecting? Octoprint seems to find the printer's serial port well enough, but the printer apparently does not respond to the M105 command.
  • 0

rlamar
Waiting to connect to printer...
 
Posts: 2
Joined: 2014-Jul-Wed-13-Jul
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby benniestacks » 2014-Sep-Tue-19-Sep

For anyone else who's having an issue with octoprint not finding your printrbot you may need a stronger power supply on your printrbot. I noticed that a green light was blinking in my printrbot jr which indicated power issue. After replacing my power supply everything works perfectly now.

Great post @Mochaboy I would have been lost without this post :)
  • 0

Bencbond
benniestacks
Waiting to connect to printer...
 
Posts: 1
Joined: 2014-Sep-Tue-19-Sep
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby ei8htohms » 2014-Oct-Sat-11-Oct

Finally set this up for my GO! v.1 and it is awesome. Thanks for putting together this guide!
  • 0

Printrbot GO v.1 - steampunk
Auto bed compensation via endstop wired bed mounts
Thrust bearings and Oldham couplers for the
8mm Igus trapezoidal leadscrews w/
Igus DryLin nuts
PB LCD/encoder
GT2 belts
X and Y motors upgraded to Kysans
Twin 30mm fans

User avatar
ei8htohms
ACME leadscrew
 
Posts: 364
Joined: 2013-Jan-Sat-18-Jan
Location: NYC
Reputation: 23

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby eckerput » 2015-Jan-Sat-11-Jan

For anyone who is wondering here is how you update your Octoprint installation.

https://github.com/foosel/OctoPrint/wik ... topi-image
  • 0

Printrbot LC (November 2012)
+ Bed Leveler, Bed Stabilizer, Y Belt Tensioner
eckerput
Honeycomb infill 25%...
 
Posts: 292
Joined: 2012-Nov-Sat-09-Nov
Location: Midland, Michigan
Reputation: 17

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby ei8htohms » 2015-Jan-Sat-12-Jan

  • 0

Printrbot GO v.1 - steampunk
Auto bed compensation via endstop wired bed mounts
Thrust bearings and Oldham couplers for the
8mm Igus trapezoidal leadscrews w/
Igus DryLin nuts
PB LCD/encoder
GT2 belts
X and Y motors upgraded to Kysans
Twin 30mm fans

User avatar
ei8htohms
ACME leadscrew
 
Posts: 364
Joined: 2013-Jan-Sat-18-Jan
Location: NYC
Reputation: 23

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby teicher » 2015-Jan-Sat-16-Jan

  • 0

teicher
Layer 300 of 1234
 
Posts: 319
Joined: 2014-Apr-Fri-20-Apr
Reputation: 16

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby ei8htohms » 2015-Jan-Sat-18-Jan

Well, that would be the question then wouldn't it? I couldn't figure out how to tell which version I was on. I was using an OctoPi image from 6-8 months ago (if I recall correctly). At any rate, it seems to have worked so...

Agreed about not having the pc tied to the printer. And with the new integration in Slic3r it's an even smoother work flow.
  • 0

Printrbot GO v.1 - steampunk
Auto bed compensation via endstop wired bed mounts
Thrust bearings and Oldham couplers for the
8mm Igus trapezoidal leadscrews w/
Igus DryLin nuts
PB LCD/encoder
GT2 belts
X and Y motors upgraded to Kysans
Twin 30mm fans

User avatar
ei8htohms
ACME leadscrew
 
Posts: 364
Joined: 2013-Jan-Sat-18-Jan
Location: NYC
Reputation: 23

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby teicher » 2015-Jan-Sun-08-Jan

Its not easy to find the version, but if you check the bottom left corner of the web page you'll see it in grey font against a white background. ;)

You might consider updating the OS on the octopi image, too

sudo apt-get update
sudo apt-get upgrade

will do that.
  • 1

teicher
Layer 300 of 1234
 
Posts: 319
Joined: 2014-Apr-Fri-20-Apr
Reputation: 16

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby bcrazycramer » 2015-Feb-Tue-18-Feb

I would like to try Octoprint but I'm not able to get growl notifications working. I have Octoprint setup on a Raspi B+, but when I launch Octoprint I don't see the growl plugin loaded.
  • 0

bcrazycramer
Waiting to connect to printer...
 
Posts: 7
Joined: 2015-Feb-Tue-17-Feb
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby mrorange26 » 2015-Mar-Tue-13-Mar

Is there a easy way to make cura work on octoprint also how do I centre my print in gcode viewer,Im using a delta printer and the print is alway in the bottom left corner off the bed on the viewer.
  • 0

mrorange26
Waiting to connect to printer...
 
Posts: 1
Joined: 2015-Mar-Tue-13-Mar
Reputation: 0

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Corey Warren » 2015-Mar-Tue-18-Mar

  • 0

Corey Warren
Waiting for printbed temp...
 
Posts: 110
Joined: 2014-Feb-Wed-14-Feb
Reputation: 5

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby teicher » 2015-Mar-Wed-19-Mar

  • 0

teicher
Layer 300 of 1234
 
Posts: 319
Joined: 2014-Apr-Fri-20-Apr
Reputation: 16

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Corey Warren » 2015-Mar-Mon-11-Mar

I finally got Cura installed and functional on my Raspberry Pi running OctoPrint. Now, I can drag an .stl file into OcoPrint and it will slice it. I did not go with the current 1.2 dev as my knowledge of Linux is very limited.

My current issue is when I upload the .stl file it doesn't center the object. I places it towards the upper, right of the print bed and if it a large object (Raspberry pi case size) it spills over to areas my nozzle cannot reach. I can't seem to find the reason or fix to this issue.

Might anyone have any insight to this issue or point me in the right direction?
  • 0

Corey Warren
Waiting for printbed temp...
 
Posts: 110
Joined: 2014-Feb-Wed-14-Feb
Reputation: 5

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby teicher » 2015-Apr-Wed-19-Apr

  • 0

teicher
Layer 300 of 1234
 
Posts: 319
Joined: 2014-Apr-Fri-20-Apr
Reputation: 16

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby Mooselake » 2015-Apr-Thu-07-Apr

Has anybody tried a Pi 2 yet?

Kirk
  • 0

Modified KickStarter Classic Plus 7/2012
KS Thingybot Delta Pro 10/31/16
Creality Ender 3 Pro 12/2019
User avatar
Mooselake
My next printer is...
 
Posts: 3625
Joined: 2011-Dec-Tue-23-Dec
Location: Moose Swamp, Upper Michigan, USA
Reputation: 177

Re: How to setup Octoprint with your Printrbot/Printrboard

Postby teicher » 2015-Apr-Thu-09-Apr

  • 0

teicher
Layer 300 of 1234
 
Posts: 319
Joined: 2014-Apr-Fri-20-Apr
Reputation: 16


Return to Showcase

Who is online

Users browsing this forum: No registered users and 1 guest