OctoPrint Cube - 2 channel relay Control
thingiverse
Watch out! the wiring of 230V is hazardous and demands expertise!!! The wiring and operation of this box is at your own risk!!! You need: -1x Raspberry Pi B 3+ -2 channel 5V relay Arduino Raspberry Pi -1x Micro SD for Octoprint OS -1x Micro 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 hazardous and demands 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 Settings/switches 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)
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.