Raspberry Pi 3 B/B+ and 4CH Relay case by Keepars 3d model
3dmdb logo
Thingiverse
Raspberry Pi 3 B/B+ and 4CH Relay case by Keepars

Raspberry Pi 3 B/B+ and 4CH Relay case by Keepars

by Thingiverse
Last crawled date: 4 years, 2 months ago
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 layouthttps://www.raspberrypi.org/documentation/usage/gpio/README.md

Tags