OctoPrint Cube - 2 channel relay Control

OctoPrint Cube - 2 channel relay Control

thingiverse

Deutsch: Achtung!!! das Verkabeln von 230V ist Gefährlich und erfordert Fachwissen!!! Das Verkabeln und der Betrieb dieser Box erfolgt auf eigenem Risiko!!! Ihr braucht: -1x RapberryPi 3 B+ -1x 2 Kanal 5V Relais Arduino Raspberry Pi -1x Micro SD for Octoprint OS -1x Micro B USB Power Kabel -1x MeanWell, RS-15-5 230V/5V Netzteil -4x Jumperkabel (kurz) -1x Kaltgerätekabel -1x Kaltgeräte Einbaubuchse -230V Wippschalter (2 Kanal) -2x 30x30x7-8 5V Fan Lüfter -5V Led Stripes für den Drucker -2x Paar JST Stecker (Fan+LED) Schrauben: 4x Senkkopfschrauben Din7991 M2,5x10 (Deckel) 6x Senkkopfschrauben Din7991 M2,5x8 (Seitendeckel unten + Kalt.-Buchse) 2x Senkkopfschrauben Din 7991 M3x8 (Netzteil) 4x Inbusschrauben Din912 M2,5x5 (Relais) 4x Inbusschrauben Din912 M2,5x10 (Kabelklemmung) 4x Inbusschrauben Din912 M2,5x18 (Raspberry) 8x Inbusschrauben Din912 M2,5x8 (Fan) 20x20mm Moosgummi Pads (Boden) Spenden sind willkommen!!! Achtung!!! das Verkabeln von 230V ist Gefährlich und erfordert Fachwissen!!! Das Verkabeln und der Betrieb dieser Box erfolgt auf eigenem Risiko!!! Update 02.2020: 101_Cube_Pi4.stl für Raspberry Pi 4 + 105_Relaisbuegel_Pi4 Update 02.2020: 104_Seitenwand_R_V2 für 1x 50x50x10-12 Fan 5V ---------------------English----------------------------------------------------------------------------------- Watch out! the wiring of 230V is dangerous and requires expertise !!! The wiring and operation of this box is at your own risk !!! You need: -1x RapberryPi B 3+ -2 channel 5V relay Arduino Raspberry Pi -1x Micro SD for Octoprint OS -1xMicro B USB Power Cable -1x MeanWell, RS-15-5 230V / 5V power supply -4x jumper cable (short) -1x power cable -1x IEC device socket -1x 230V rocker switch (2 channels) -2x 30x30x7-8 5V fan fan -5V Led Stripes for the printer -2x pairs of JST connectors (fan + LED) screws: 4x countersunk screws Din7991 M2,5x10 (cover) 6x countersunk screws Din7991 M2,5x8 (side cover bottom + cold. Socket) 2x screw head screws Din 7991 M3x8 (power supply) 4x screws Din912 M2,5x5 (relay) 4x screws Din912 M2,5x10 (cable clamp) 4x screws Din912 M2,5x18 (Raspberry) 8x screws Din912 M2,5x8 (Fan) 20x20mm sponge rubber pads (bottom) Donations are welcome !!! Update 02.2020: 101_Cube_Pi4.stl for Raspberry Pi 4 + 105_Relaisbuegel_Pi4 Update 02.2020: 104_Seitenwand_R_V2 for 1x 50x50x10-12 Fan 5V Watch out! the wiring of 230V is dangerous and requires expertise !!! The wiring and operation of this box is at your own risk !!! -------------------------------Octoprint GPIO Setup------------------------------------------------------- Load last Octoprint here: https://octoprint.org/download/ WiringPi installieren: gpio -v sudo apt-get install git-core sudo apt-get update sudo apt-get upgrade cd git clone git://git.drogon.net/wiringPi gpio -v gpio readall GPIOS Stellungen/Schaltungen in Autostart legen: skript schreiben mit: nano drucker.sh #!/bin/bash gpio mode 28 out #Drucker ON gpio mode 29 in # LED OFF gpio mode 29 out #LED ON sleep 1 gpio mode 29 in #LED OFF Danach freischalten mit chmod +x drucker.sh Danach testen ob das relais schaltet mit dem Befehl ./drucker.sh Dann das Skript in den Autostart einfügen mit: sudo nano /etc/rc.local dort den Pfad zum skript eingeben ... /home/pi/drucker.sh Exit 0 Mit STRG+X und J und Enter speichern. Mit Sudo reboot testen ------------------------------------------Plugins----------------------------------------------------------------- Install Plugin: "Automatic Shutdown" and "System Command Editor" Beispiel 1: Name: Drucker On Action: printeron Command: gpio mode 28 out Beispiel 2: Name: Drucker Off Action: printeroff Command: gpio mode 28 in (Relais manuell steuern zum testen) gpio mode 28 out (AN) gpio mode 28 in (OFF)

Download Model from thingiverse

With this file you will be able to print OctoPrint Cube - 2 channel relay Control with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on OctoPrint Cube - 2 channel relay Control.