
A while ago work bought an Ultimaker 2 to produce cool things at work, A Raspberry Pi B+, and Pi Cam were also acquired for it with a view to using OctoPi (a copy of OctoPrint developed for the R-Pi).
OctoPi can be downloaded from the official mirror, and burnt to an Micro SD card using these instructions, and set up the WiFi card to connect to the work network, the Unit does not have VNC installed, as the OctoPi software does not require desktop access to the R-Pi.
Once the card is set up, I made a shell script I have called update.sh in the home directory to make it easy to keep the version of OctoPi up to date with the development branch:
#!/bin/bash cd ~/OctoPrint git pull && git checkout devel ~/oprint/bin/python setup.py install sudo service octoprint restart

Setting up the Ultimaker2 with the R-Pi by plugging the 3D printer into one of the USB ports, and the WiFi card into the other.
(The Case is from ThingiVerse), I also plan on making a clip to hold the camera and the PiCam to the side of the printer to allow the camera to get a good angle for the TimeLaps videos.
I hope to be able to print natively from OctoPi, As the Ultimaker uses GCodeFlavor UltiGCode, where as OctoPrint only supports RepRap (Volumetric).
The settings to connect to the 3D Printer are
- Serial Port: /dev/ttyACM0
- baudrate: 250000.
The Start GCode in Cura is:
;Sliced at: {day} {date} {time} ;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density} ;Print time: {print_time} ;Filament used: {filament_amount}m {filament_weight}g ;Filament cost: {filament_cost} ;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line ;M109 S{print_temperature} ;Uncomment to add your own temperature line G21 ;metric values G90 ;absolute positioning M82 ;set extruder to absolute mode M107 ;start with the fan off G28 X0 Y0 ;move X/Y to min endstops G28 Z0 ;move Z to min endstops G1 Z15.0 F{travel_speed} ;move the platform down 15mm G92 E0 ;zero the extruded length G1 F200 E3 ;extrude 3mm of feed stock G92 E0 ;zero the extruded length again G1 F{travel_speed} ;Put printing message on LCD screen M117 Printing...
While Printing this test piece the extruder made a whipping noise, and the print was not clean:
Looking at the settings in Cura, I changed the temperatures to Printing Temperature 180, and the Bed Temperature of 60, and uncommented the two temperature lines (M190, and M109) in the start.gcode file.
Running a second print with the same test piece has cleaned up the fluffiness, but it is still extruding too much.
2 thoughts on “OctoPrint and an Ultimaker 2”
Thanks for the information. Do you have an update to the start script that addresses the excessive extruding issue yet? Whenever I try to print with my octopi I end up with it trying to push too much PLA too fast and skipping on the feeder. I can’t seem to figure that out so its kind of useless to me at the moment.
Also, did you develop a stop script?
Joe
nothing yet 🙁