• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Octoptint enclosure control box for Ender 3 3D Printer File Image 1
Octoptint enclosure control box for Ender 3 3D Printer File Image 2
Octoptint enclosure control box for Ender 3 3D Printer File Image 3
Octoptint enclosure control box for Ender 3 3D Printer File Image 4
Octoptint enclosure control box for Ender 3 3D Printer File Image 5
Octoptint enclosure control box for Ender 3 3D Printer File Image 6
Octoptint enclosure control box for Ender 3 3D Printer File Image 7
Octoptint enclosure control box for Ender 3 3D Printer File Image 8
Octoptint enclosure control box for Ender 3 3D Printer File Image 9
Octoptint enclosure control box for Ender 3 3D Printer File Image 10
Octoptint enclosure control box for Ender 3 3D Printer File Image 11
Octoptint enclosure control box for Ender 3 3D Printer File Image 12
Octoptint enclosure control box for Ender 3 3D Printer File Image 13
Octoptint enclosure control box for Ender 3 3D Printer File Image 14
Octoptint enclosure control box for Ender 3 3D Printer File Image 15
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 1
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 2
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 3
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 4
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 5
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 6
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 7
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 8
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 9
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 10
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 11
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 12
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 13
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 14
Octoptint enclosure control box for Ender 3 3D Printer File Thumbnail 15

Octoptint enclosure control box for Ender 3

McPcholkin avatarMcPcholkin

May 15, 2019

thingiverse-icon
DescriptionCommentsTags

Description

My variant for Octoprint control box.

Based on Raspberry Pi 3B and Octoprint

Because my printer lives inside thermal box LCD and power supply moved to the wall, i decide add more control to my printer (for example turn off bright LED strip from phone app when go to sleep) and couple safety features to prevent printer be ON after print end.

It can separately control printer power supply, print bed light, LCD back-light and more.
Gap on LAN port fixed in stl and f3d files.

Materials:

  1. Raspberry Pi 3B
  2. LCD module from Ender 3 (optional)
  3. Optocoupler to control LCD backlight (optional)
  4. Heat Sink for Pi CPU (optional)
  5. Heat Sink for Pi LAN chip (optional)
  6. Thermal GLUE for Heat Sink (optional)
  7. 10 Core Ribbon Cable (optional, need to extend LCD cable)
  8. Female Connector 2x5 (optional, need to extend LCD cable)
  9. Male Connector 10P (optional, need to extend LCD cable)
  10. Female DC Socket 5.5 x 2.1 mm
  11. Male DC Barrel Jack 5.5x2.1mm
  12. T Plug Connector
  13. Thyristor AC Switch (Or solid state relay, any "arduino compatible")
  14. 4010 Fan (optional, 5V or 12V, i plug 12V to 5V rail, it spin silently)
  15. Relay Module Board
  16. LED 5mm
  17. Resistors 330R, 1K, 10K
  18. Tactile Push Button 12mm w Cap
  19. Prototype board
  20. AC to DC 5V 2A power supply (i salvage one from cheep phone adapter)
  21. Glass Fuse Holder
  22. Glass Fuse 3A
  23. Small Screws to hold boards to case (left from some electronics)
  24. Screws to hold LCD (left from printer modifications)
  25. Screws M3x10 (to hold top cover)
  26. Female Pin Header (to connect GPIO and modules)
  27. Male Pin Header (to connect fan and modules)
  28. AC Female C13 C14 Socket (salvaged from old PC power supply)
  29. AC Male C13 C14 Socket (salvaged from old PC power supply)
  30. Double sided tape (to hold sockets in place when solder wires)

Most materials you may already have if you interest in DIY

I use Thyristor because relay can stuck and left power supply always ON

NamePinGPIOAPI IDUse
LED13519Act LED (not in plugin)
LED233133Test LED
Key13212Cancel Pulled down (R10K)
Key23616PSU ON Pulled down (R10K)
Key3295Heat Pulled down (R10K)
Key4316Light Pulled down (R10K)
PSU74Printer thyristor
Relay111172Print bed LED light
Relay213274---
LCDBacklight15221LCD Backlight Optocoupler

Button 1 - Cancel current job
Button 2 - Turn ON Power supply
Button 3 - Heat tool to 240C (to change filament after printer start)
Button 4 - Switch print bed light (24v LED strip)

Used plugins:

  • Cancel Object
  • Enclosure Plugin
  • Fan Speed Plugin
  • Heater Timeout
  • Navbar Temperature Plugin
  • PSU Control
  • Tab Order
  • Themeify

Nice video about plugins: The best Octoprint Plugins by Teaching Tech

LED1 used as SD ACT LED (green on Pi board), simple way to make this work:

ssh [email protected].*** (Octoprint server, user: pi, password: raspberry)
sudo -s                       (get root shell)
echo "# Use external LED as SD ACT LED" >> /boot/config.txt
echo "dtoverlay=pi3-act-led,gpio=19" >> /boot/config.txt
echo "   " >> /boot/config.txt
reboot

Shell line to power ON PSU:

curl -s -H "Content-Type: application/json" -H "X-Api-Key: API_KEY_HERE" -X POST -d '{ "command":"turnPSUOn" }' http://127.0.0.1/api/plugin/psucontrol

URLs to control Enclosure Plugin from other device (i use Printoid app on my phone)

http://192.168.1.***/plugin/enclosure/setIO?status=**{STATUS}**&index_id=**{OUTPUT_ID}**&apikey=**{APIKEY}**
OUTPUT_ID is the automatic generated number id from octoprint-enclosure setting
STATUS is can be true to turn it on and false to turn the output off

To control LCD Backlight i move one resistor on display and put Optocoupler in line.

To prevent printer get power from Pi i just put strip of electrical tape inside USB plug of cable that connects to printer on + contact.

As size reference i used this model of Raspberry Pi 3B by Kevin Schneider

Fusion 360 source included.

####Update 2020-02-11:
Plugin "Cancel Objects" is not working properly (after cancel one object it mess up all print), i replace it with plugin "Exclude Region" it work nice.

Add pause to change filament script

####Update 2023-07-18:
Change PowerOn Key to pin 36 (GPIO 16) because now pin 40 GPIO 21 is used by PCM to provide a data output signal to an external audio device such as a DAC chip.
Change Cancel Key to pin 32 (GPIO 12) because now pin 38 GPIO 20 is used by PCM to input data from an I2S audio device, such as a microphone.

License:

Creative Commons - Attribution - Non-Commercial

Related Models

The $30 3D scanner V7 updates preview image

The $30 3D scanner V7 updates

daveyclk profile image

daveyclk

75,792

Rugged Box (Parametric) preview image

Rugged Box (Parametric)

Whity profile image

Whity

34,708

Filament spool storage box + silica & filament tag preview image

Filament spool storage box + silica & filament tag

Kahany profile image

Kahany

1,937

Digital Sundial preview image

Digital Sundial

Mojoptix profile image

Mojoptix

67,346

Tool box parametric preview image

Tool box parametric

Yanev profile image

Yanev

10,026

Parts Storage Stackable Box / Custom Nameplate preview image

Parts Storage Stackable Box / Custom Nameplate

Meyui profile image

Meyui

4,762

Labyrinth Gift Box preview image

Labyrinth Gift Box

sneakypoo profile image

sneakypoo

49,467

Prusa Enclosure V2 - MMU2S preview image

Prusa Enclosure V2 - MMU2S

Ondřej Stříteský profile image

Ondřej Stříteský

3,996