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
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 |