OctoPrint - Running (Almost)

Show off your latest creations, whether 3D printed or not
Post Reply
User avatar
JohnStack
Printmaster!
Posts: 839
Joined: Thu Jan 03, 2013 7:07 pm
Location: Carlsbad, CA
Contact:

OctoPrint - Running (Almost)

Post by JohnStack »

After some looking around and being pointed to posts (thanks Eaglesoar, Foshon), I got Octoprint up and running. I'll use this post as a build/test log with it.

For some reason, it all came up the first time. I haven't printed yet; however, the screen shot below shows OctoPrint communicating with the printer.

What you need and where I got it:

Hardware:
7-Port Powered USB Hub (Adafruit)
Raspberry Pi (get the 512K version from Adafruit, http://www.adafruit.com/products/998 )
USB Wireless USB Adapter (Adafruit, it's a tiny thing - you can barely see it plugged into the top of the hub http://www.adafruit.com/products/814)
USB Keyboard
USB Mouse
4g SD Card - formatted with FAT, all of it...
HDMI monitor (or use SSH to remote it if you are familiar with doing that)

Some of you might be intimidated by loading up a new unknown operating system but essentially, you get a Raspbian OS zip file
http://downloads.raspberrypi.org/noobs

Expand (unzip) it to the root of the SD card from your Mac or PC, stick the SD card into the Pi and power it up (after connecting the hub, the Wireless USB adapter, keyboard and mouse into the hub)

Follow Adafruit's instructions on getting the Wireless USB adapter going.

Afterwards, follow the instructions here:
https://github.com/foosel/OctoPrint/wik ... g-Raspbian

The only problem I had was keyboard mapping (and forgetting I needed a USB keyboard. I bought mine at a Frye's for $14):
If you are in the US, depending on the keyboard you use, this version of Raspbian uses a Great Britain keyboard setup. If your "~" doesn't look like that, you'll have to get it set correctly: http://elinux.org/R-Pi_Troubleshooting# ... an_Squeeze

Physical Setup:

Note that I had the PI being powered by the USB port on my Mac. You can easily use a USB phone charger for power or alternatively, run it from 5V power to a male mini-USB plug.
20130630_095338.jpg
Once I have a working hot end (hopefully in a couple of days, I'll let you know how it goes and keep adding to this until I get distracted by something else.
Screen Shot 2013-06-30 at 9.39.43 AM.png
Technologist, Maker, Willing to question conventional logic
http://dropc.am/p/KhiI1a
User avatar
jetpad
Printmaster!
Posts: 91
Joined: Sun Mar 10, 2013 10:30 am

Re: OctoPrint - Running (Almost)

Post by jetpad »

What did you select for the serial port and connection speed?

I'm picking

/dev/ttyACM0 and
250000

but I get the message

"Machine State: Error: Failed to autodetect..."

Did you have to do anything else to get the connection going between the Raspberry Pi and the printer?
User avatar
626Pilot
ULTIMATE 3D JEDI
Posts: 1716
Joined: Tue May 14, 2013 12:52 pm

Re: OctoPrint - Running (Almost)

Post by 626Pilot »

What's an OctoPrint and what do you do with it?
User avatar
JohnStack
Printmaster!
Posts: 839
Joined: Thu Jan 03, 2013 7:07 pm
Location: Carlsbad, CA
Contact:

Re: OctoPrint - Running (Almost)

Post by JohnStack »

jetpad wrote:What did you select for the serial port and connection speed?

I'm picking

/dev/ttyACM0 and
250000

but I get the message

"Machine State: Error: Failed to autodetect..."

Did you have to do anything else to get the connection going between the Raspberry Pi and the printer?
Strange but no. It picked up I think that same TTY - but I changed the baud rate to 115200. I really need to do some documentation - but in between, I got to replace another head - and then it turned out to be wiring and a bad thermistor. Really need to get some brass nubbins and a tap set.
Technologist, Maker, Willing to question conventional logic
http://dropc.am/p/KhiI1a
User avatar
JohnStack
Printmaster!
Posts: 839
Joined: Thu Jan 03, 2013 7:07 pm
Location: Carlsbad, CA
Contact:

Re: OctoPrint - Running (Almost)

Post by JohnStack »

626Pilot wrote:What's an OctoPrint and what do you do with it?
It's a print server that allows you to control your printer via a web page. It also has a feature to embed a webcam on the page - which I probably won't do since I have dropcam. R Pi has some inexpensive streaming options so it's pretty idea.

You can think of the Repetier interface on the web...basically.
Technologist, Maker, Willing to question conventional logic
http://dropc.am/p/KhiI1a
User avatar
kbob
Printmaster!
Posts: 286
Joined: Tue May 28, 2013 4:27 am
Location: Eugene, OR, US

Re: OctoPrint - Running (Almost)

Post by kbob »

John, have you looked at Repetier Server? I haven't, but it's on my (really long) list.
User avatar
jetpad
Printmaster!
Posts: 91
Joined: Sun Mar 10, 2013 10:30 am

Re: OctoPrint - Running (Almost)

Post by jetpad »

I finally got it working at 57600 baud and it seemed to work well but I sensed that it was printing a little slower than normal.

Then after several hours of printing, it just quit and I ended up with an unfinished print so now I'm switching back to printing from the SD card.
Post Reply

Return to “What are YOU making?”