I purchased a RaspberryPi a while back from this site:
They should sell for 35 dollars for the model B, if you purchase it for anything more, the site is marking marking up the price.
You will also need to purchase an SD card with at least 4 Gigs, or a micro SD with adapter. I use the micro because i had a few laying around because of my cell phone.
I use the 32 because its more space then i would ever need.
Once you have the hardware, its time to find the software. with Linux there is always more than one way to do things.
Here is a list of supported operating systems for the PI
These are new installs and if we wanted to add OctoPi to them it is easily done....BUT it is easier just to Download the OctoPi image and install that so your Pi is 99% ready to rock.
OctoPi link can be found on this page:
as of writing this weezy 2014-01-07 is the newest version of the raspbian OS with OctoPi pre-installed.
you will need to download a few more tools before we can start up the PI.
with everything downloaded and your SD card installed into your COMPUTER we can get started.
Take your SDFormatter.zip extract and install it.
Take your 2014-01-07-wheezy-octopi.zip and extract it so its now a .img file
Take your win32diskimager.zip and extract it.
I've placed all of these in a nice little folder:
open SDFormatter and ensure the correct drive letter and size are selected before hitting format.
once the drive is formatted go ahead and open win32diskimager and navigate to the .img file that we already unzipped. ensure the correct drive letter of your sd card is selected because we will be writing to it.
once that is complete safely remove your drive from your computer and were ready to start configuring the Pi.
Lets connect to the Pi for the first time without connecting to the printer, we want to ensure everything is going smooth.
Plug in a RJ45 for the network, the SD card, a webcam(if you want), and a micro USB for power in that order.
we are going to need to know the IP our router has given the Pi in order to SSH into it using PuTTY. I use dd-wrt on my home network so this is easily achieved by looking at the DHCP client list, or active client list under STATUS>LAN
ok so i know my Pi is .103 so i need to open putty and type that info in. then click open
default login as: pi
default email@example.com's password: raspberry
because this is your first time, we need to configure Pi to our liking.
Code: Select all
and hit enter.
we want to select option 1 to make full use of our SD card memory.
and if you want you can change the default password in option 2
that's all i care about so go down to finish and it will exit, if a reboot is wanted to required, you can type
Code: Select all
if you reboot putty will lose connection for a second, wait then right click the bash window top bar and select restart connection. log in again and we should be all configured.
now we should be done with PuTTY so go ahead and minimize and open Chrome or IE web browser. in the address bar enter http://octopi.local. if nothing comes up enter the IP address we found earlier.
your screen should look something like this:
if that works we are almost ready to connect it to the printer.
Connect to the printer with Repetier Host and open up the EEPROM, we will need to change to Kbaud setting to 57600 save, now open your Repetier connection settings and set it to the same Kbaud. ensure you can reconnect to the printer with these new settings. OK great now the RAMBo is configured correctly to talk to the Pi.
with everything disconnected from the pi go ahead and start plugging in the RJ45, webcam, printer, and last the power. let the system boot up, and then we will use a web browser again to open Octo.
because potentially this is now visible to the internet, its a good idea to set up a username and password so others cant spy on your printer. Octoprint should automatically ask you about this.
on the left hand side we have our printers connection info:
serial port is where the printer is plugged into, if you have the webcam installed there will be 2 options of possible connections.
select one of the serial connections, set the baud rate to 57600 and try to click connect.
if that was the correct serial port you should get a updated "state":
Your temps should be displayed to the right on the "Temperature" tab:
go ahead and test this out to ensure a good connection with the printer:
Your webcam will be shown with live footage on the "control tab" along with printer positions and home control.
"terminal" tab is displaying the communications pi is having with your printer, this is also where you will see errors during prints when you have them.
The rest of the tabs are pretty self explanatory.
on the left, below "state" we have the option to upload some .gcode files to our Pi.****
*** NOTE: ive already ran into errors uploading .gcode files that work in repetier host, but don't work on the Pi. This is totally 100% my fault for these failures because of my sloppy pre/post gcode commands. make sure your g28 are G28 and everything is capitalized. also make sure to comment out anything that is not standard gcode stuff. like @Repetier Host commands. They will cause errors and will require the Pi be rebooted to fix.
once the file is uploaded and in the list, you can click the printer icon and watch it work!
Here is the hollow cube printed in hollow mode with 2 loops @ .5 scale. only a 5 minute print.
im tired of typing let me know if i missed anything