From k8xxx-3dprinter
Jump to: navigation, search
Control your printer over the Internet with OctoPi on a Raspberry Pi B+ and PiCam


With this mod, you'll be able to monitor and control your printer with your PC, tablet or smart-phone over the internet (or your home network).

Things you'll need :

A Raspberry Pi 2 main-board :

RB Pi2.jpg

A Pi Cam

(or a compatible webcan (check the link here)
Pi cam.jpg

A micro-SD card and a card reader

Pi Sdcard.jpg

A 5V power supply (with a micro-USB plug)

Or better a DC-DC converter with a micro-usb plug.
DC DC converter.jpg
Connect the converter to the spare 15V terminals on the power supply so it will turn on when you turn on your printer.


A software allowing you to control your printer from a web interface.

Installation of the Octopi distribution

First, you'll have to download Octopi a Raspberry Pi distribution including Octoprint. Download the latest version : Octopi

What you're downloading is an image (.img) file.
You'll have to install this distribution on a SD-Card.

For Linux follow this guide

For Windows, install Win32DiskImager

It's better to plug your SD card in an USB 2.0 port. When your card is detected, run Win32DiskImager.

W32DI 1.jpg

1. Select the image file (.img)
2. Select the card (Device).
3. Write the image on the card.

Once the image written, close Win32DiskImager, remove the SD card and insert it on the Raspberry Pi.
RB Pi SD.jpg

Connect a USB keyboard, a USB mouse and a HDMI cable to a HDMI display.
Power on the Raspberry Pi.

Initial configuration of the Raspbian distribution (Octopi)

After the first power on wait for the auto config to complete.
Then the control panel will show up :

Use the Up-Down arrows to move into the Menus and Enter to select.Use the Tab key to reach the Ok/Cancel buttons
You can call the config window anytime from a terminal with the command : sudo raspi-config



Fist select Expand_roofs in the Menu and then 1 Expand filesystem
This option allows you to use the whole available space on your SD card.


Internationalisation options/3 Change keyboard layout

Choose your keyboard type and hit Enter.


Select change_pass / 2 Change user password
The default password is raspberry. This option allows you to change it.


You can select here the Raspberry language. Select the language(s) with the space bar.
Wait a bit for the installation to complete.


Option found in Advanced options/A2
The default host name is Octopi.


Enable if you're using a Pi-cam and disable if you're using a compatible webcam.

Configuring a static IP address

A static IP address assigns your Raspberry Pi a permanent address on your network.
To set up this address you'll have to modify the configuration file of the network interface.
On the command line, you'll have to connect as "pi" with the password "raspberry"

Then key in : sudo nano /etc/network/interfaces

Replace :
iface eth0 inet dhcp
with :
iface eth0 inet static
address | Server IP address
network | optional
broadcast | optional

Or adapt the values to your network.

Then reboot the Raspberry :
sudo reboot

With the Ping command you can check if your Raspberry is visible on your network.
On your PC, open a command window (cmd.exe) and enter PING (or your raspberry IP address).

Accessing Octoprint on your local network and configuring it

Connect the printer to the Raspberry with the USB cable and power on both.

On a PC connected to the same local network, open your browser and enter the following URL : http://nameoftheserver.local (if you kept Octopi in Hostname then the URL is http://octopi.local) or the IP address (
The first time you'll get the following window :

Octo conf.jpg

Enter a Username and Password.
Once logged, you finally can discover Octoprint's interface.
Octo int.jpg

To be continued ...

Back to Vertex 8400 Main page