Ultimaker 2 Raspberry Pi and relay support

by Solenoid, published

Ultimaker 2 Raspberry Pi and relay support by Solenoid Aug 23, 2016
0 Share
Download All Files

Thing Apps Enabled

Order This Printed View All Apps



Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

2976Views 155Downloads Found in 3D Printer Accessories


This is a support for a Raspberry Pi (B+, 2, 3) and a relay for the Ultimaker 2.

The idea is to install OctoPi on the Raspberry Pi and control the 3D printer remotely. The power to the printer can be turned on and off remotely (instead of having to toggle the button behind the printer), so the Ultimaker extruder fan does not work all the time. This part will hold the Raspberry Pi and relay under the printer, hidden from view.

The support is full of holes in order save plastic and avoid it curling up on the edges.

The printer will remain usable just like before and should not void the warranty (unless you mess up something).

Parts list


  • Disconnect power from Ultimaker
  • Install OctoPi, follow these instructions
  • Open the Ultimaker electronics box under the printer by unscrewing two bolts
  • Solder wires on the Ultimaker 2 board as shown on the pictures
  • Connect the relay and the Raspberry Pi with prototyping cables as shown on the pictures, the signal wire goes on the GPIO 18 of the RPi
  • Connect the wires to the relay between the center and the NO terminals (NO = normally open)
  • Reassemble everything
  • Connect power on the Ultimaker (do not turn on via the button)
  • Power on the Raspberry Pi (follow the usage instructions if it's your first time)
  • Follow these instructions to add the options to control the relay from OctoPi

Custom Section

Ultimaker 2 electronics box, held in place with 2 bolts. You can see the 3 holes under the box where the 3D printed part will be attached

3D printed part to hold the Raspberry Pi and the relay

Raspberry Pi 3 and relay attached on the 3D printed part and connected via prototyping cables

Wire soldered in parallel with the Ultimaker toggle button (on position)

All elements mounted on the Ultimaker 2

Closed electronics box with the wires going to the relay (NO position)

Closer look

New options to turn the 3D printer on and off from OctoPrint installed on the RPi

More from 3D Printer Accessories

view more

All Apps

3D Print your file with 3D Hubs, the world’s largest online marketplace for 3D printing services.

App Info Launch App

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

3D Print a wide range of designs with Treatstock. Easy to use tools to get the perfect result. The global 3D printing network that connects you with high-quality and fast working print services nea...

App Info Launch App

Just started attaching the support from the bottom but realised there's nothing to grip on the UM2, just plain holes. Went for a closer look here and see that you have put the screws from inside, right? Plenty of grip on the PLA so fine I guess. I have M3 bolts though so will probably use them.

Still, I got to get inside there. What's the easiest way? Don't want to take too much apart. One of the side plates?

Oh, I'm retarded. Of course I could just go in from the front :)

You don't need to disassemble anything on the UM2, simply set the printer on its side, push the table away (upwards) and attach the support from the inside.

Does the Pi piggyback on the UM2 PSU?

I used a dedicated supply for the Pi, but if you find a way to piggyback the UM2 PSU I'd be very interested.

Seems doable: https://ultimaker.com/en/community/15515-powering-raspberry-pi-from-ultimaker-2-main-board

I'm hooking up a web camera too so probably the Pi needs too much power to use the 5V. So should hook it straight to the 24V from the PSU and step down. I ordered a couple of these right now: http://www.ebay.co.uk/itm/222192714797

Would be great if the main power switch on the UM2 then actually switched the Pi's power and then OctoPrint in turn controlled the UM2 power. Oh, the mods :)

I'd advise against tapping power from an existing 5V regulator on the UM2, the components were designed to do specific tasks and the Pi is very demanding power-wise. A step-down from the 24V is the way to go if you want to get power from the UM2 supply.

Oct 6, 2016 - Modified Oct 6, 2016

Can you switch the relay with 3.3v GPIO? I tought you need to use a Transistor cause the relay switcht at 5v?

It seems it works at 3.3V, I haven't had any issues at least...

Comments deleted.