Raspberry Pi 3 B/B+ And 4CH Relay Case 3D Printer Model

Author: @
License: CC BY
File formats: stl,py
Download type: zip
Size:187.4KB

The file 'Raspberry Pi 3 B/B+ And 4CH Relay Case 3D Printer Model' is (stl,py) file type, size is 187.4KB.

Summary

A case for a raspberry pi 3 B/B+ that includes space for a 4 channel relay.

Designed around the Sain smart 4 channel relay board

https://www.amazon.ca/SainSmart-101-70-101-4-Channel-Relay-Module/dp/B0057OC5O8/ref=sr_1_3?ie=UTF8&qid=1529882645&sr=8-3&keywords=4+channel+relay

Edit 1:
Included a python script example for toggling the relays/rpi pins on and off

If your using these with octoprint use the system command editor plugin https://plugins.octoprint.org/plugins/systemcommandeditor/

Then to run the script, create a new system command and in the command input put:
python3 {PATH TO SCRIPT}/toggle.py {PIN}

**** NOTE. script uses GPIO.BCM pin layout
https://www.raspberrypi.org/documentation/usage/gpio/README.md

RPI3_B_B+_4CH_Relay_Case_Base.stl 709.2KB
RPI3_B_B+_4CH_Relay_Case_Top.stl 214.0KB
toggle.py 288.0B