Relay Control OctoPrint Wanhao i3 3D Printer File Image 1
Relay Control OctoPrint Wanhao i3 3D Printer File Image 2
Relay Control OctoPrint Wanhao i3 3D Printer File Image 3
Relay Control OctoPrint Wanhao i3 3D Printer File Image 4
Relay Control OctoPrint Wanhao i3 3D Printer File Image 5
Relay Control OctoPrint Wanhao i3 3D Printer File Thumbnail 1
Relay Control OctoPrint Wanhao i3 3D Printer File Thumbnail 2
Relay Control OctoPrint Wanhao i3 3D Printer File Thumbnail 3
Relay Control OctoPrint Wanhao i3 3D Printer File Thumbnail 4
Relay Control OctoPrint Wanhao i3 3D Printer File Thumbnail 5

Relay Control OctoPrint Wanhao i3

Jeffeb3 avatarJeffeb3

March 19, 2016

thingiverse-icon

Description

Introduction ---------------- I have a Wanhao Duplicator i3, a raspberry pi 2 running octoprint (the octopi image), an LED light over the printer, and a 4 relay board from sainsmart. There are places with instructions, tips, etc. But I wanted to share how I did it with this specific printer, and I wanted to illustrate exactly how I managed to control the printer power, and the light, with some rudamentary automation. CAUTION ---------------- Duh, this is AC power. The printer can create a lot of juice, but it's nothing compared to the power coming from the walls. This can definitely kill you, so be cautious. If you don't know what you're doing, then stop. GPIO Scripts ---------------- octopi comes with the gpio stuff installed, so just running "gpio" on the command line gives me several options. I made 4 scripts to control the relays. They were all in "/usr/local/bin/". I had to make them as root, and I had to add permissions "sudo chmod a+rx