Thingiverse
OctoPrint Dual instances control box by Sp4wN
by Thingiverse
Last crawled date: 3 years, 1 month ago
This is a control box for OctoPrint running on Raspberry Pi 3 B+ with two OctoPrint instances.
EDIT: I decided to add a illustrated wiring diagram, but since mains power is involved I want to say once more, it is not my responsibility if something goes wrong, like shorting or getting electrified and blowing up your devices, it is all your own responsibility if something goes wrong, therefor I can't be blamed if something happens.
Here is the link to the wiring diagram: https://i.imgur.com/pYo7L1e.png
That being said, I made this box to control power and LED lights on both printers through GPIO pins of the Raspberry Pi within OctoPrint.
Box is made to hold a Raspberry Pi 3 (B+), two 2 channel relay modules, a passive USB hub and a power supply.
The reason why I did not use a 4 channel relay module is keeping mains power and 12V separate as possible, the lower compartment of the box is mainly for mains power and a small 12V 5A power supply. Upper part is a tray you don’t have to mount it, just lay it in there, on this tray there is 2 relay modules mounted and the Raspberry Pi itself, there is also room for a small USB hub.
The reason why I used a power supply was to power relay modules and the LED lights on both printers, you can power the relay modules through the Raspberry Pi, but I did not want to draw more power from Pi since it has already 2 printers and 2 cameras connected to the USB ports. Besides that, you have to run a cable for switching the LED's anyway, this way it is directly powered from the control box.
To keep the box small as possible, the connectors of the mains power and other stuff on upper tray is very close to each other, it requires some patience to put everything together, be careful when installing the USB connections, make sure mains in not plugged in while working on it. The SD cards is removable when the box is closed. There is also a little gap to check the LED’s of the Raspberry Pi.
I remixed couple models on the upper tray, using PSU control plugin for OctoPrint on both instances, and I used this tutorial to get lights working on both instances: https://www.thingiverse.com/thing:1428478
######################################################################
Parts list I used on request:
1x Raspberry Pi 3… doh! :D
I used 12V relay modules and not 5V relay module, reason as explained before, I don’t want to draw current from Raspberry Pi for the relays, it is tricky to connect this one, if you mix things up you end up blowing your Raspberry Pi, with these relay modules you remove the jumper and connect the 12V on the 3 pin header on outer pins at JD-VCC and GND, cut away the middle VCC pin if you accidently connect 12V here it can hurt your Pi, than connect the desired GPIO pins to IN1 and IN2, to make this work you need to connect +5V pin from pi to the VCC pin next to IN1 and IN2, DO NOT CONNECT wires on GND next to IN1 and IN2, this way it is completely isolated.
2x Relay modules: https://www.aliexpress.com/item/12V-2-Channel-2-Channel-Relay-Module-Shiled-Relay-Expansion-Board-Low-Level-Triggered-For-Arduino/32669152426.html
You can also get a 5V relay module and connect it to the Pi without any need of power supply, that is up to you: https://www.aliexpress.com/item/1PCS-2-channel-New-2-channel-relay-module-relay-expansion-board-5V-low-level-triggered-2/32273357570.html
The 12V 5A power supply I have used:https://www.amazon.com/gp/offer-listing/B00MEKLTKY/ref=dp_olp_0?ie=UTF8&condition=all&qid=1531919932&sr=8-2
You can also get a small 2A power supply, this will defiantly fit in there:https://www.aliexpress.com/item/DC12V-1A-2A-3A-5A-8-5A-10A-15A-20A-30A-lighting-Transformers-LED-Driver-Power/32677602188.html Make sure you get the 2A one, bigger ones might be tight fit, 2A is mostly enough to power couple relays and LED lights.
C14 Male panel socket:https://www.aliexpress.com/store/product/2017-Hot-5-Pcs-3P-IEC-320-C14-Male-Plug-Panel-Power-Inlet-Sockets-Connectors-AC/2949063_32804170262.html
2x C13 Female panel socket:https://www.aliexpress.com/store/product/Chassis-Female-15A-250V-3PIN-05231-AC-IEC-C13-C14-Inline-Socket-Plug-Adapter-Mains-Power/4058098_32870604221.html
2x 12V DC power supply socket for LED’s:https://www.aliexpress.com/item/5Pcs-3A-12V-For-DC-Power-Supply-Jack-Socket-Female-Panel-Mount-Electrical-Socket-Connector-5/32804739048.html
The 12V 40mm Fan I have used:https://www.amazon.com/Scythe-Mini-KAZE-Silent-SY124010L/dp/B000LB0M8S
This fan is silent, but if you want you can get another one, it does cool the Pi nicely.
USB Printer cable, you need this one because most other cables have long USB connector and wont fit in the box, or you can buy a similar one:https://www.aliexpress.com/item/Ugreen-USB-2-0-Type-A-Male-to-B-Male-Printer-Cable-Sync-Data-Charger-Cable/32416310263.html
Dupont wires:https://www.aliexpress.com/item/WAVGAT-Dupont-line-120pcs-20cm-male-to-male-male-to-female-and-female-to-female-jumper/32501238474.html
USB Hub I have used is a ISY IHU-1001 it is sold at Mediamarkt and Saturn in Europe, I am not sure but next USB Hubs should fit in there too:https://www.amazon.com/dp/B00DQFGH80https://www.amazon.com/QICENT-Ports-Super-Speed-5Gbps/dp/B07547LLH7/
As always use crimp connectors and ferrules on your wires!
EDIT: I decided to add a illustrated wiring diagram, but since mains power is involved I want to say once more, it is not my responsibility if something goes wrong, like shorting or getting electrified and blowing up your devices, it is all your own responsibility if something goes wrong, therefor I can't be blamed if something happens.
Here is the link to the wiring diagram: https://i.imgur.com/pYo7L1e.png
That being said, I made this box to control power and LED lights on both printers through GPIO pins of the Raspberry Pi within OctoPrint.
Box is made to hold a Raspberry Pi 3 (B+), two 2 channel relay modules, a passive USB hub and a power supply.
The reason why I did not use a 4 channel relay module is keeping mains power and 12V separate as possible, the lower compartment of the box is mainly for mains power and a small 12V 5A power supply. Upper part is a tray you don’t have to mount it, just lay it in there, on this tray there is 2 relay modules mounted and the Raspberry Pi itself, there is also room for a small USB hub.
The reason why I used a power supply was to power relay modules and the LED lights on both printers, you can power the relay modules through the Raspberry Pi, but I did not want to draw more power from Pi since it has already 2 printers and 2 cameras connected to the USB ports. Besides that, you have to run a cable for switching the LED's anyway, this way it is directly powered from the control box.
To keep the box small as possible, the connectors of the mains power and other stuff on upper tray is very close to each other, it requires some patience to put everything together, be careful when installing the USB connections, make sure mains in not plugged in while working on it. The SD cards is removable when the box is closed. There is also a little gap to check the LED’s of the Raspberry Pi.
I remixed couple models on the upper tray, using PSU control plugin for OctoPrint on both instances, and I used this tutorial to get lights working on both instances: https://www.thingiverse.com/thing:1428478
######################################################################
Parts list I used on request:
1x Raspberry Pi 3… doh! :D
I used 12V relay modules and not 5V relay module, reason as explained before, I don’t want to draw current from Raspberry Pi for the relays, it is tricky to connect this one, if you mix things up you end up blowing your Raspberry Pi, with these relay modules you remove the jumper and connect the 12V on the 3 pin header on outer pins at JD-VCC and GND, cut away the middle VCC pin if you accidently connect 12V here it can hurt your Pi, than connect the desired GPIO pins to IN1 and IN2, to make this work you need to connect +5V pin from pi to the VCC pin next to IN1 and IN2, DO NOT CONNECT wires on GND next to IN1 and IN2, this way it is completely isolated.
2x Relay modules: https://www.aliexpress.com/item/12V-2-Channel-2-Channel-Relay-Module-Shiled-Relay-Expansion-Board-Low-Level-Triggered-For-Arduino/32669152426.html
You can also get a 5V relay module and connect it to the Pi without any need of power supply, that is up to you: https://www.aliexpress.com/item/1PCS-2-channel-New-2-channel-relay-module-relay-expansion-board-5V-low-level-triggered-2/32273357570.html
The 12V 5A power supply I have used:https://www.amazon.com/gp/offer-listing/B00MEKLTKY/ref=dp_olp_0?ie=UTF8&condition=all&qid=1531919932&sr=8-2
You can also get a small 2A power supply, this will defiantly fit in there:https://www.aliexpress.com/item/DC12V-1A-2A-3A-5A-8-5A-10A-15A-20A-30A-lighting-Transformers-LED-Driver-Power/32677602188.html Make sure you get the 2A one, bigger ones might be tight fit, 2A is mostly enough to power couple relays and LED lights.
C14 Male panel socket:https://www.aliexpress.com/store/product/2017-Hot-5-Pcs-3P-IEC-320-C14-Male-Plug-Panel-Power-Inlet-Sockets-Connectors-AC/2949063_32804170262.html
2x C13 Female panel socket:https://www.aliexpress.com/store/product/Chassis-Female-15A-250V-3PIN-05231-AC-IEC-C13-C14-Inline-Socket-Plug-Adapter-Mains-Power/4058098_32870604221.html
2x 12V DC power supply socket for LED’s:https://www.aliexpress.com/item/5Pcs-3A-12V-For-DC-Power-Supply-Jack-Socket-Female-Panel-Mount-Electrical-Socket-Connector-5/32804739048.html
The 12V 40mm Fan I have used:https://www.amazon.com/Scythe-Mini-KAZE-Silent-SY124010L/dp/B000LB0M8S
This fan is silent, but if you want you can get another one, it does cool the Pi nicely.
USB Printer cable, you need this one because most other cables have long USB connector and wont fit in the box, or you can buy a similar one:https://www.aliexpress.com/item/Ugreen-USB-2-0-Type-A-Male-to-B-Male-Printer-Cable-Sync-Data-Charger-Cable/32416310263.html
Dupont wires:https://www.aliexpress.com/item/WAVGAT-Dupont-line-120pcs-20cm-male-to-male-male-to-female-and-female-to-female-jumper/32501238474.html
USB Hub I have used is a ISY IHU-1001 it is sold at Mediamarkt and Saturn in Europe, I am not sure but next USB Hubs should fit in there too:https://www.amazon.com/dp/B00DQFGH80https://www.amazon.com/QICENT-Ports-Super-Speed-5Gbps/dp/B07547LLH7/
As always use crimp connectors and ferrules on your wires!
Similar models
thingiverse
free
ANET A8 Case For RPi OctoPrint by Melcos
... charger with heat sinkhttps://www.aliexpress.com/item/5a-xl4015-dc-dc-4-38v-to-1-25-36v-24v-12v-9v-5v-step-down/32637499768.html
thingiverse
free
Case for Raspberry Pi3 and 4 channel relay module by clubby
...4 channel relay module by clubby
thingiverse
a case for the raspberry pi 3 and a 4 channel relay module. i use it for octoprint.
thingiverse
free
Power Raspberry Pi from PSU & power printer on/off from OctoPrint by Roowan
...des and 2 screw holes.
links to components used (amazon):xt60 y splitter24v to usb 5v step down module5v one channel relay module
thingiverse
free
2 relay module box / Raspberry PI by Clem_V
...2 relay module box / raspberry pi by clem_v
thingiverse
2 relay module box / raspberry pi
thingiverse
free
Anet A8 electronics case for Octoprint by damasohc
...wer-for-chitu-motherboard-p-1086965.html
relay: http://www.volumerate.com/product/diy-5v-2-ch-relay-module-board-deep-blue-397864
thingiverse
free
Orange Pi PC OctoPrint with relay module for Ender 3 by unhild
...also you need 8 m3x6 screws
print vertically. optimized for a line width 0.5 (it's ok with 0.4 nozzle) and layer height 0.25.
thingiverse
free
Octoprint automation led lights by Domo-Com
... ws2812 5050 driven with an arduino nano...
-i order also step by step motors to drive (or try :) my pi camera with octoprint ;)
thingiverse
free
4-Channel Relay Module Case by thehair
... of the status led's
the style of the case was based upon this raspberry pi case (http://www.thingiverse.com/thing:922740).
thingiverse
free
Network Ethernet Relay Box (Raspberry Pi Zero) by Z__Y
...tml?spm=a2g0s.9042311.0.0.27424c4dtkppsk
5x 6mm m2 screws: (can find on ebay or hardware store)
some wires to connect relay to pi
thingiverse
free
Anycubic Kossel OctoPrint System Mounter by KABCO
...eries if same holes design.
*2https://www.aliexpress.com/item/32641300009.html
*3https://www.aliexpress.com/item/32961915881.html
Sp4Wn
thingiverse
free
P1 Monitor watermeter ZTATZ sensor mount by Sp4wN
... reading hole for the watermeter is better placed, i didn't want to print new version since it takes almost 9 hours to print.
thingiverse
free
Tevo Michelangelo Camera Mount by Sp4wN
...e lapse:https://www.youtube.com/watch?v=es4om_k_tww
forgot to level the bed, it is higher on 2 corners but it is about the mount.
thingiverse
free
Logitech C270 LED light ring by Sp4wN
...mple, i just put the camera on the printer but c270 needs better mount on my printer: https://www.youtube.com/watch?v=zhaczj1jkc4
thingiverse
free
Anycubic 4Max 85mm Circular Fan Duct by Sp4wN
...s, but that shouldn't be a problem for any printer.
print with petg or abs, otherwise it will hang on one side after a while!
thingiverse
free
Wifi Video Door Bell Angle Bracket (Elec IDC-25 Alecto) by Sp4wN
...deo door bell i have is a elec idc-25, but same door bell is sold with different brand names like alecto, doorsafe and some more.
thingiverse
free
Cat Mate Pet Fountain Front Gap Cover by Sp4wN
...9;s back and use support for the small opening.
in the print picture you see the name of our cat but the one i uploaded is blank.
thingiverse
free
Tevo Michelangelo Dial Indicator Mount by Sp4wN
...m/watch?v=0adjcdecoxy
disclaimer: if you damage your printer while drilling or using this mount, i won’t take any responsibility.
thingiverse
free
IKEA Innamo table tablecloth clips. by Sp4wN
... petg, i tried with pla and after couple warm days (+25c) all clips deformed.
printed with anycubic 4max, 10 clips at same time.
thingiverse
free
20ml Dropper Bottle (54) Paint Rack Straight (27mm)
...rack straight (27mm) thingiverse this is my remix of sp4wn#39;s excellent paint rack. when i started transferring my citadel...
Octoprint
thingiverse
free
Ender 3 Raspberry Pi 4 Case by gspro
...also fit on the ender 3 to use for octoprint so remixed two designs together and thought i would...
thingiverse
free
Poppy Ear Saver - Lest We Forget by tollbringer
...command. to test, enter m600 in the terminal of octoprint or something like pronterface....
thingiverse
free
Anycubic Mega Zero Control Box extension for Heated Bed Mosfet and Octoprint Pi by rixxka2000
...cy is not spot on
you will need 4x m3 40mm screws to attach base through to original top cover.
any questions please ask
thanks
thingiverse
free
Small Ball Mounting System (i.a. for CAMs like Pi, C270, GoPro) by wolwin_de
...system (i.a.for cams like pi, c270, gopro) for my octoprint station i used a combination of several components ......
thingiverse
free
Thicker clamp for Raspberry Pi 4 Touchscreen Case for Octoprint by rampardes
...med because of the heat, so i've created thicker one. i am not sure how long this is going to last, but i'll update here.
thingiverse
free
Pi Camera Light Ring for 10MM LED's by djarmysgt
...thingiverse couldnt find a great lighting source for my octoprint camera, so i decided to design my own. hopefully...
thingiverse
free
Bar stock mount for Logitech C270 / Logitech C310 by ragingcomputer
...about because i wanted a stiffer mount for the octoprint cam on my maker select plus / wanhao i3....
thingiverse
free
7" LCD Display (ELECROW) with RASPI 3 (B/B+) - Multi-Remix by wolwin_de
...lcd display (elecrow) with raspi 3 (b/b+) for my octoprint station i used a combination of several components: unit...
thingiverse
free
Kossel Mini FSR Bed Upgrade (MicroMake D1) by Lucidwolf
...i am running a modified version of an seemecnc octoprint plugin that sets my temperature and then runs a...
thingiverse
free
Ender 3 Raspberry Pi Camera Mount with Lense by Night0w1
...and wanted to get a better angle for my octoprint timelapses. this added the m3 bolt holder from the...
Instances
3ddd
$1
Dering Hall Torino Chandelier
...or model for easy change or setup.
object at 0.0.0, clean and light scene.
the archive contains the obj file and more previews.
3ddd
$1
Currey & Company Balthazar
...or model for easy change or setup.
object at 0.0.0, clean and light scene.
the archive contains the obj file and more previews.
3ddd
$1
Currey & Company Orion
...or model for easy change or setup.
object at 0.0.0, clean and light scene.
the archive contains the obj file and more previews.
3ddd
$1
Giorgetti Dia
...or model for easy change or setup.
object at 0.0.0, clean and light scene.
the archive contains the obj file and more previews.
3ddd
$1
Nina Bed
...or model for easy change or setup.
object at 0.0.0, clean and light scene.
the archive contains the obj file and more previews.
3ddd
$1
Gio Ponti Bar Stool
...or model for easy change or setup.
object at 0.0.0, clean and light scene.
the archive contains the obj file and more previews.
3ddd
$1
One Kings Lane Hemispheres Chandelier
...owpoly geometry for turbosmooth.
object at 0.0.0, clean and light scene.
the archive contains the obj file & more previews.
3ddd
$1
Crystorama Luna
... easy change or setup.
object at 0.0.0, clean and light scene.
the archive contains the obj & 3ds file & more previews.
3ddd
$1
Holly Hunt Emerald Sconce
...
lowpoly geometry for turbosmooth.
object at 0.0.0, clean and light scene.
the archive contains the obj file and more previews.
3ddd
$1
Century Furniture Faux-Bamboo Black Desk
...metry for turbosmooth.
object at 0.0.0, clean and light scene.
the archive contains the obj & 3ds file & more previews.
Dual
3d_export
$49
LG L70 Dual Black 3D Model
... cellular 2g 3g ips lcd
lg l70 dual black 3d model download .c4d .max .obj .fbx .ma .lwo .3ds .3dm .stl humster3d 103896 3dexport
3d_export
$49
Nokia 225 Red 3D Model
...3dexport nokia 225 cell phone mobile cellular 2g keyboard dual tft lcd red nokia 225 red 3d model download...
3d_export
$49
LG L65 Dual White 3D Model
...ouchscreen touch screen
lg l65 dual white 3d model download .c4d .max .obj .fbx .ma .lwo .3ds .3dm .stl humster3d 103755 3dexport
3ddd
$1
Мобильный телефон Nokia Asha 210 dual-sim
...ual-sim
3ddd
nokia , телефон
profi 3д модель мобильного телефона nokia asha 210 dual-sim
3d_ocean
$15
Microsoft Lumia 535 Orange
...microsoft lumia 535 orange 3docean android cell dual lumia microsoft nokia phone sim smart windows - realistic,...
3d_ocean
$17
SMA's Dual Material Packs-Porcelain for Cinema 4D
...tion: this is my dual material series based on custom made hi-res 4k porcelain textures. the library contains 20 material. 10 ...
3d_ocean
$15
Element 3D - Microsoft Lumia 535 Green
...3d - microsoft lumia 535 green 3docean android cell dual lumia microsoft nokia phone sim windows - realistic, detailed...
3d_ocean
$15
Microsoft Lumia 535 White
...microsoft lumia 535 white 3docean android cell dual lumia microsoft nokia phone sim windows - realistic, detailed...
3d_ocean
$25
SMA's Dual Material Pack - Wood-S02 - Parquet C4D
...arquet description: here i present you with wood series 02 – parquet dual materials library for cinema 4d. all textures used a...
3d_ocean
$10
Modular Dungeon Set|Dual Teeth Wall Pack (8 of 20)
...ngeon set. (also has an all-in-one pack if you plan on buying them all) this dual teeth wall pack comes with a high quality lo...
Control
3d_export
$95
Starship Bridge Command Center 3D Model
...3d model 3dexport interior spaceship command center bridge panel control console future futuristic captain starship bridge command center 3d...
3d_export
$20
Racing Track Toy 3D Model
...3d model 3dexport racing track cars road black yellow control racing track toy racing track toy 3d model cgaxis...
3d_export
$49
PS Vita 3D Model
...model 3dexport ps vita playstation portable game console motion controler psp gaming electronics game ps vita 3d model swan3dstudios...
3d_ocean
$69
T-34/85 Interior/Engine Bay Full Winter Camo
...and engine bay. the model contains a highly detailed interior(control, gauges, machine gun, ammo, radio, main gun)...
3d_ocean
$99
T34/76 Tank with Interior HDRI
...highly detailed interior. the model contains a highly detailed interior(control, gauges, machine gun, ammo, radio, main gun). the model...
3d_ocean
$99
T-34-85 with Interior Winter Camo
...detailed interior . the model contains a highly detailed interior(control, gauges, machine gun, ammo, radio, main gun) fully modeled...
3d_ocean
$5
Retro Joystick
...retro joystick 3docean amiga caricature cartoon computer console controler game gaming joystick old play polygon red retro screen...
3d_ocean
$99
T34/76 with Interior Camo 3D Model
...highly detailed interior. the model contains a highly detailed interior(control, gauges, machine gun, ammo, radio, main gun). the model...
3d_ocean
$99
T-34/76 Interior/Engine Bay Full HDRI
...and engine bay. the model contains a highly detailed interior(control, gauges, machine gun, ammo, radio, main gun)...
3ddd
$1
IinfraredRooms_Helo_HSI20
...equipped with valance spot lighting, digital interior and exterior control, built in sound system with radio and cd player,...
Box
3d_export
$6
A holiday package box 3D Model
... 3d model
3dexport
box package holiday christmas gift present bow bow-knot
a holiday package box 3d model school73 90922 3dexport
3d_export
$99
Mercedes Atego 2014 short 3D Model
...container box truck medium mercedes-benz delivery rigid german european boxruck heavy short swb realistic mercedes atego 2014 short 3d...
3d_export
$50
Fast Food Restaraunt Set 3D Model
...3d models tables chair seats pan tray bottles support boxs interiors furniture fast food restaraunt set 3d model humster3d...
3d_export
$20
Photorealistic Cardboard Banker Box High Res 3D Model
...package high resolution texture materials photoreal
photorealistic cardboard banker box high res 3d model vkmodels 47833 3dexport
3d_export
$21
Photoreal Cardboard Carton High Res 3D Model
...carton high res 3d model 3dexport corrugated cardboard shipping box carton container store warehouse prop dirty package high resolution...
3d_export
$5
Cardboard Box 3D Model
...cardboard box 3d model
3dexport
cardboard box 3d model vermeirenvic 70512 3dexport
3d_export
$59
Chocolate Candy Pieces in Heart Box 8 3D Model
...realistic valentine choc vray v-ray scanline max materials
chocolate candy pieces in heart box 8 3d model vkmodels 49335 3dexport
3d_export
$40
Box 3D Model
...box 3d model
3dexport
box 3d model andress 69970 3dexport
3d_export
$19
Convexshapes Kitchen Decorations Tea break 3D Model
...tea break 3d model 3dexport kitchen stuff decorations tea box gold teaspoon cup kettle break convex 3ds max cinema...
3d_export
$39
Convexshapes Kitchen DecorationsSet5 3D Model
...kitchen decorationsset5 3d model 3dexport kitchen stuff decorations cuttlery box wine bottle chess corkscrew luxurious set convex 3ds max...