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

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
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
DescriptionCommentsTags

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

License:

Creative Commons - Attribution

Related Models

Sleeve Case for Raspberry Pi preview image

Sleeve Case for Raspberry Pi

walter profile image

walter

11,436

Raspberry Pi Zero frame for Einsy Rambo preview image

Raspberry Pi Zero frame for Einsy Rambo

Prusa Research profile image

Prusa Research

604

OctaTower Spiral preview image

OctaTower Spiral

Luca Visini profile image

Luca Visini

300

Cute Octopus Says Hello preview image

Cute Octopus Says Hello

MakerBot profile image

MakerBot

9,764

RaspBerry Pi 4 case preview image

RaspBerry Pi 4 case

JayCee09 profile image

JayCee09

175

Cute Articulated Octopus preview image

Cute Articulated Octopus

Ninja profile image

Ninja

66

Ender 3 Pro Rail Cover **updated to v3** preview image

Ender 3 Pro Rail Cover **updated to v3**

da_syggy profile image

da_syggy

7,774

Logitech C270 Mount Prusa i3 MK3 preview image

Logitech C270 Mount Prusa i3 MK3

In3DSpace profile image

In3DSpace

607