Page 1 of 1

OctoPrint - Running (Almost)

Posted: Sun Jun 30, 2013 1:25 pm
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

Re: OctoPrint - Running (Almost)

Posted: Sat Jul 06, 2013 5:03 pm
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?

Re: OctoPrint - Running (Almost)

Posted: Wed Jul 10, 2013 7:33 pm
by 626Pilot
What's an OctoPrint and what do you do with it?

Re: OctoPrint - Running (Almost)

Posted: Thu Jul 11, 2013 12:14 am
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.

Re: OctoPrint - Running (Almost)

Posted: Thu Jul 11, 2013 12:16 am
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.

Re: OctoPrint - Running (Almost)

Posted: Thu Jul 11, 2013 12:46 pm
by kbob
John, have you looked at Repetier Server? I haven't, but it's on my (really long) list.

Re: OctoPrint - Running (Almost)

Posted: Thu Jul 11, 2013 2:08 pm
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.