I purchased a RaspberryPi a while back from this site:
http://www.newark.com/raspberry-pi/rasp ... aspi-group
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.
http://www.amazon.com/SanDisk-MicroSDHC ... ds=microSD
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
http://www.raspberrypi.org/downloads
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:
http://octoprint.org/download/
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.
SDFormatter: https://www.sdcard.org/downloads/format ... a_windows/
win32diskimager v0.9:http://sourceforge.net/projects/win32diskimager/
PuTTY: http://www.chiark.greenend.org.uk/~sgta ... nload.html
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:
[img]https://lh6.googleusercontent.com/-RzAs ... pture1.PNG[/img]
open SDFormatter and ensure the correct drive letter and size are selected before hitting format.
[img]https://lh5.googleusercontent.com/-lENL ... pture2.PNG[/img]
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.[img]https://lh5.googleusercontent.com/-qbBg ... pture3.PNG[/img]
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
[img]https://lh3.googleusercontent.com/-JD4q ... pture4.PNG[/img]
ok so i know my Pi is .103 so i need to open putty and type that info in. then click open
[img]https://lh5.googleusercontent.com/-ifGv ... pture5.PNG[/img]
default login as: pi
default [email protected]'s password: raspberry
because this is your first time, we need to configure Pi to our liking.
type in
Code: Select all
sudo raspi-config
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
sudo reboot
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:
[img]https://lh5.googleusercontent.com/-TATG ... pture7.PNG[/img]
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:
[img]https://lh3.googleusercontent.com/-Ypqg ... pture8.PNG[/img]
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":
[img]https://lh4.googleusercontent.com/-_DkQ ... pture9.PNG[/img]
Your temps should be displayed to the right on the "Temperature" tab:
[img]https://lh3.googleusercontent.com/-ivUi ... ture10.PNG[/img]
go ahead and test this out to ensure a good connection with the printer:
[img]https://lh6.googleusercontent.com/-9hXz ... ture11.PNG[/img]
Your webcam will be shown with live footage on the "control tab" along with printer positions and home control.
[img]https://lh6.googleusercontent.com/-XgMf ... ture14.PNG[/img]
"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.
[img]https://lh3.googleusercontent.com/-sj3v ... ture16.PNG[/img]
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!
[img]https://lh5.googleusercontent.com/-Z319 ... ture12.PNG[/img]
Here is the hollow cube printed in hollow mode with 2 loops @ .5 scale. only a 5 minute print.
[img]https://lh5.googleusercontent.com/-uL9H ... ture13.PNG[/img]
[img]https://lh6.googleusercontent.com/-Xiwg ... ture15.PNG[/img]
[img]https://lh6.googleusercontent.com/-P-jp ... ture17.PNG[/img]
[img]https://lh6.googleusercontent.com/-bjCA ... ture18.PNG[/img]
im tired of typing let me know if i missed anything